X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/976dbff5e6c24629b712fe574489e2b63c50f0b2..e17b4db3f8167a2eb8dc831775de4b7d86948da6:/wxPython/src/gtk/_controls_wrap.cpp diff --git a/wxPython/src/gtk/_controls_wrap.cpp b/wxPython/src/gtk/_controls_wrap.cpp index 29cc52c30c..df858f6875 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 @@ -9,6 +9,7 @@ * ----------------------------------------------------------------------------- */ #define SWIGPYTHON +#define SWIG_VERSION 0x010327 #ifdef __cplusplus template class SwigValueWrapper { @@ -26,15 +27,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +107,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -#else -# define SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +126,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +144,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +187,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +205,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +318,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +440,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +462,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +521,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +534,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +611,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +632,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +644,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +684,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +712,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +748,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +791,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +825,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +845,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +878,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +897,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +926,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +935,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +948,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +982,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1002,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1046,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1073,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,8 +1094,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 +1145,7 @@ SWIG_Python_ArgFail(int argnum) if (PyErr_Occurred()) { /* add information about failing argument */ char mesg[256]; - sprintf(mesg, "argument number %d:", argnum); + PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); return SWIG_Python_AddErrMesg(mesg, 1); } else { return 0; @@ -1104,7 +1160,7 @@ SWIG_Python_ArgFail(int argnum) /* Convert a pointer value */ SWIGRUNTIME int SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; static PyObject *SWIG_this = 0; int newref = 0; @@ -1147,7 +1203,7 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) goto type_error; } } - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); if (newref) { Py_DECREF(obj); } @@ -1155,7 +1211,6 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) #endif type_check: - if (ty) { tc = SWIG_TypeCheck(c,ty); if (!tc) goto type_error; @@ -1163,7 +1218,6 @@ type_check: } else { *ptr = vptr; } - if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); } @@ -1178,7 +1232,7 @@ type_error: char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); c = doc ? strstr(doc, "swig_ptr: ") : 0; if (c) { - c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); + c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; if (!c) goto type_error; goto type_check; } @@ -1211,14 +1265,14 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) /* Convert a packed value value */ SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) c = PySwigPacked_UnpackData(obj, ptr, sz); #else if ((!obj) || (!PyString_Check(obj))) goto type_error; - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackDataName(c, ptr, sz, ty->name); #endif @@ -1245,6 +1299,12 @@ type_error: SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { PyObject *robj = 0; + if (!type) { + if (!PyErr_Occurred()) { + PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); + } + return robj; + } if (!ptr) { Py_INCREF(Py_None); return Py_None; @@ -1302,8 +1362,8 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif -SWIGRUNTIME swig_type_info ** -SWIG_Python_GetTypeListHandle() { +SWIGRUNTIME swig_module_info * +SWIG_Python_GetModule(void) { static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { @@ -1316,21 +1376,54 @@ SWIG_Python_GetTypeListHandle() { PyErr_Clear(); type_pointer = (void *)0; } - } #endif - return (swig_type_info **) type_pointer; + } + return (swig_module_info *) type_pointer; } -/* - Search for a swig_type_info structure - */ -SWIGRUNTIMEINLINE swig_type_info * -SWIG_Python_GetTypeList() { - swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); - return tlh ? *tlh : (swig_type_info*)0; +#if PY_MAJOR_VERSION < 2 +/* PyModule_AddObject function was introduced in Python 2.0. The following function +is copied out of Python/modsupport.c in python version 2.3.4 */ +SWIGINTERN int +PyModule_AddObject(PyObject *m, char *name, PyObject *o) +{ + PyObject *dict; + if (!PyModule_Check(m)) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); + return -1; + } + if (!o) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); + return -1; + } + + dict = PyModule_GetDict(m); + if (dict == NULL) { + /* Internal error -- modules must have a dict! */ + PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", + PyModule_GetName(m)); + return -1; + } + if (PyDict_SetItemString(dict, name, o)) + return -1; + Py_DECREF(o); + return 0; } +#endif -#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList +SWIGRUNTIME void +SWIG_Python_SetModule(swig_module_info *swig_module) { + static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ + + PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, + swig_empty_runtime_method_table); + PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); + if (pointer && module) { + PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); + } +} #ifdef __cplusplus } @@ -1339,105 +1432,176 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxTextUrlEvent swig_types[0] -#define SWIGTYPE_p_wxSizer swig_types[1] -#define SWIGTYPE_p_wxCheckBox swig_types[2] -#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3] -#define SWIGTYPE_p_wxEvent swig_types[4] -#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5] -#define SWIGTYPE_p_bool swig_types[6] -#define SWIGTYPE_p_wxItemContainer swig_types[7] -#define SWIGTYPE_p_wxPyListCtrl swig_types[8] -#define SWIGTYPE_p_wxPyTreeItemData swig_types[9] -#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10] -#define SWIGTYPE_p_wxStaticLine swig_types[11] -#define SWIGTYPE_p_wxControl swig_types[12] -#define SWIGTYPE_p_wxPyControl swig_types[13] -#define SWIGTYPE_p_wxGauge swig_types[14] -#define SWIGTYPE_p_wxToolBarBase swig_types[15] -#define SWIGTYPE_p_wxFont swig_types[16] -#define SWIGTYPE_p_wxToggleButton swig_types[17] -#define SWIGTYPE_p_wxRadioButton swig_types[18] -#define SWIGTYPE_p_wxChoice swig_types[19] -#define SWIGTYPE_p_wxMemoryDC swig_types[20] -#define SWIGTYPE_ptrdiff_t swig_types[21] -#define SWIGTYPE_std__ptrdiff_t swig_types[22] -#define SWIGTYPE_p_wxListItemAttr swig_types[23] -#define SWIGTYPE_p_void swig_types[24] -#define SWIGTYPE_p_int swig_types[25] -#define SWIGTYPE_p_wxSize swig_types[26] -#define SWIGTYPE_p_wxDC swig_types[27] -#define SWIGTYPE_p_wxListView swig_types[28] -#define SWIGTYPE_p_wxIcon swig_types[29] -#define SWIGTYPE_p_wxVisualAttributes swig_types[30] -#define SWIGTYPE_p_wxTextCtrl swig_types[31] -#define SWIGTYPE_p_wxNotebook swig_types[32] -#define SWIGTYPE_p_wxChoicebook swig_types[33] -#define SWIGTYPE_p_wxNotifyEvent swig_types[34] -#define SWIGTYPE_p_wxArrayString swig_types[35] -#define SWIGTYPE_p_form_ops_t swig_types[36] -#define SWIGTYPE_p_wxListbook swig_types[37] -#define SWIGTYPE_p_wxStaticBitmap swig_types[38] -#define SWIGTYPE_p_wxSlider swig_types[39] -#define SWIGTYPE_p_wxStaticBox swig_types[40] -#define SWIGTYPE_p_wxArrayInt swig_types[41] -#define SWIGTYPE_p_wxContextHelp swig_types[42] -#define SWIGTYPE_p_long swig_types[43] -#define SWIGTYPE_p_wxDuplexMode swig_types[44] -#define SWIGTYPE_p_wxBookCtrlBase swig_types[45] -#define SWIGTYPE_p_wxEvtHandler swig_types[46] -#define SWIGTYPE_p_wxListEvent swig_types[47] -#define SWIGTYPE_p_wxCheckListBox swig_types[48] -#define SWIGTYPE_p_wxListBox swig_types[49] -#define SWIGTYPE_p_wxSpinButton swig_types[50] -#define SWIGTYPE_p_wxButton swig_types[51] -#define SWIGTYPE_p_wxBitmapButton swig_types[52] -#define SWIGTYPE_p_wxRect swig_types[53] -#define SWIGTYPE_p_wxContextHelpButton swig_types[54] -#define SWIGTYPE_p_wxRadioBox swig_types[55] -#define SWIGTYPE_p_wxScrollBar swig_types[56] -#define SWIGTYPE_p_char swig_types[57] -#define SWIGTYPE_p_wxComboBox swig_types[58] -#define SWIGTYPE_p_wxTreeItemId swig_types[59] -#define SWIGTYPE_p_wxHelpEvent swig_types[60] -#define SWIGTYPE_p_wxListItem swig_types[61] -#define SWIGTYPE_p_wxNotebookSizer swig_types[62] -#define SWIGTYPE_p_wxSpinEvent swig_types[63] -#define SWIGTYPE_p_wxGenericDragImage swig_types[64] -#define SWIGTYPE_p_wxSpinCtrl swig_types[65] -#define SWIGTYPE_p_wxPaperSize swig_types[66] -#define SWIGTYPE_p_wxImageList swig_types[67] -#define SWIGTYPE_p_wxHelpProvider swig_types[68] -#define SWIGTYPE_p_wxTextAttr swig_types[69] -#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70] -#define SWIGTYPE_p_wxChoicebookEvent swig_types[71] -#define SWIGTYPE_p_wxListbookEvent swig_types[72] -#define SWIGTYPE_p_wxNotebookEvent swig_types[73] -#define SWIGTYPE_p_wxPoint swig_types[74] -#define SWIGTYPE_p_wxObject swig_types[75] -#define SWIGTYPE_p_wxCursor swig_types[76] -#define SWIGTYPE_p_wxDateTime swig_types[77] -#define SWIGTYPE_p_wxKeyEvent swig_types[78] -#define SWIGTYPE_p_unsigned_long swig_types[79] -#define SWIGTYPE_p_wxWindow swig_types[80] -#define SWIGTYPE_p_wxString 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_unsigned_char swig_types[85] -#define SWIGTYPE_p_wxMouseEvent swig_types[86] -#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87] -#define SWIGTYPE_p_wxTreeEvent swig_types[88] -#define SWIGTYPE_p_wxCommandEvent swig_types[89] -#define SWIGTYPE_p_wxStaticText swig_types[90] -#define SWIGTYPE_p_wxDatePickerCtrl swig_types[91] -#define SWIGTYPE_p_wxControlWithItems swig_types[92] -#define SWIGTYPE_p_wxToolBarToolBase swig_types[93] -#define SWIGTYPE_p_wxColour swig_types[94] -#define SWIGTYPE_p_wxToolBar swig_types[95] -#define SWIGTYPE_p_wxBookCtrlSizer swig_types[96] -#define SWIGTYPE_p_wxValidator swig_types[97] -static swig_type_info *swig_types[99]; +#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_wxToolbook swig_types[149] +#define SWIGTYPE_p_wxToolbookEvent swig_types[150] +#define SWIGTYPE_p_wxTreeCtrl swig_types[151] +#define SWIGTYPE_p_wxTreeEvent swig_types[152] +#define SWIGTYPE_p_wxTreeItemId swig_types[153] +#define SWIGTYPE_p_wxTreebook swig_types[154] +#define SWIGTYPE_p_wxTreebookEvent swig_types[155] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156] +#define SWIGTYPE_p_wxValidator swig_types[157] +#define SWIGTYPE_p_wxVisualAttributes swig_types[158] +#define SWIGTYPE_p_wxWindow swig_types[159] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161] +#define SWIGTYPE_p_wxXPMHandler swig_types[162] +#define SWIGTYPE_ptrdiff_t swig_types[163] +#define SWIGTYPE_std__ptrdiff_t swig_types[164] +#define SWIGTYPE_unsigned_int swig_types[165] +static swig_type_info *swig_types[167]; +static swig_module_info swig_module = {swig_types, 166, 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) -------- */ @@ -1460,7 +1624,7 @@ static swig_type_info *swig_types[99]; 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 /*@@*/ @@ -1499,7 +1663,7 @@ SWIG_AsVal_long(PyObject* obj, long* val) return 1; } else { - SWIG_type_error("number", obj); + SWIG_Python_TypeError("number", obj); } return 0; } @@ -1513,7 +1677,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 +1691,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 +1699,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1549,7 +1713,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1563,14 +1727,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); @@ -1603,7 +1767,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1617,7 +1781,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1626,36 +1790,35 @@ 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 /*@@*/ - static PyObject* t_output_helper(PyObject* target, PyObject* o) { - PyObject* o2; - PyObject* o3; - - if (!target) { - target = o; - } else if (target == Py_None) { - Py_DECREF(Py_None); - target = o; - } else { - if (!PyTuple_Check(target)) { - o2 = target; - target = PyTuple_New(1); - PyTuple_SetItem(target, 0, o2); - } - o3 = PyTuple_New(1); - PyTuple_SetItem(o3, 0, o); - - o2 = target; - target = PySequence_Concat(o2, o3); - Py_DECREF(o2); - Py_DECREF(o3); - } - return target; - } + static PyObject* t_output_helper(PyObject* result, PyObject* obj) + { + PyObject* o2; + PyObject* o3; + if (!result) { + result = obj; + } else if (result == Py_None) { + Py_DECREF(result); + result = obj; + } else { + if (!PyTuple_Check(result)) { + o2 = result; + result = PyTuple_New(1); + PyTuple_SET_ITEM(result, 0, o2); + } + o3 = PyTuple_New(1); + PyTuple_SetItem(o3, 0, obj); + o2 = result; + result = PySequence_Concat(o2, o3); + Py_DECREF(o2); + Py_DECREF(o3); + } + return result; + } static const wxString wxPyGaugeNameStr(wxGaugeNameStr); @@ -1675,14 +1838,14 @@ static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObje self->Insert(item, pos); } static PyObject *wxListBox_GetSelections(wxListBox *self){ - wxArrayInt lst; - self->GetSelections(lst); - PyObject *tup = PyTuple_New(lst.GetCount()); - for(size_t i=0; iGetSelections(lst); + PyObject *tup = PyTuple_New(lst.GetCount()); + for(size_t i=0; iGetWindowStyle() & wxLB_OWNERDRAW) @@ -1708,7 +1871,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) { long v = 0; if (SWIG_AsVal_long(obj, &v) && v < 0) { - SWIG_type_error("unsigned number", obj); + SWIG_Python_TypeError("unsigned number", obj); } else if (val) *val = (unsigned long)v; @@ -1716,7 +1879,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; @@ -1730,7 +1893,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); @@ -1777,12 +1940,89 @@ 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)); +} + + +#if UINT_MAX < LONG_MAX +/*@/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.27/python/pymacros.swg,72,SWIG_define@*/ +#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long +/*@@*/ +#endif + + +SWIGINTERNINLINE int + SWIG_CheckUnsignedLongInRange(unsigned long value, + unsigned long max_value, + const char *errmsg) +{ + if (value > max_value) { + if (errmsg) { + PyErr_Format(PyExc_OverflowError, + "value %lu is greater than '%s' minimum %lu", + value, errmsg, max_value); + } + return 0; + } + return 1; + } + + +#if UINT_MAX != ULONG_MAX +SWIGINTERN int + SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) +{ + const char* errmsg = val ? "unsigned int" : (char*)0; + unsigned long v; + if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { + if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { + if (val) *val = static_cast(v); + return 1; + } + } else { + PyErr_Clear(); + } + if (val) { + SWIG_type_error(errmsg, obj); + } + return 0; +} +#else +SWIGINTERNINLINE unsigned int + SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) +{ + return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); +} +#endif + + +SWIGINTERNINLINE unsigned int +SWIG_As_unsigned_SS_int(PyObject* obj) +{ + unsigned int v; + if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) { + /* + this is needed to make valgrind/purify happier. + */ + memset((void*)&v, 0, sizeof(unsigned int)); + } + return v; +} + + +SWIGINTERNINLINE int +SWIG_Check_unsigned_SS_int(PyObject* obj) +{ + return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); } static const wxString wxPyToolBarNameStr(wxToolBarNameStr); @@ -1851,7 +2091,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, @@ -1876,6 +2116,7 @@ public: // use the virtual version to avoid a confusing assert in the base class DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage); + DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage); PYPRIVATE; }; @@ -1885,7 +2126,8 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl); IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText); IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr); IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage); - +IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage); + static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){ wxListItem item; @@ -1943,7 +2185,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, @@ -1987,83 +2229,6 @@ public: IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl); - -#if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,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@*/ -#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long -/*@@*/ -#endif - - -SWIGINTERNSHORT int - SWIG_CheckUnsignedLongInRange(unsigned long value, - unsigned long max_value, - const char *errmsg) -{ - if (value > max_value) { - if (errmsg) { - PyErr_Format(PyExc_OverflowError, - "value %lu is greater than '%s' minimum %lu", - value, errmsg, max_value); - } - return 0; - } - return 1; - } - - -#if UINT_MAX != ULONG_MAX -SWIGINTERN int - SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) -{ - const char* errmsg = val ? "unsigned int" : (char*)0; - unsigned long v; - if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { - if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); - return 1; - } - } else { - PyErr_Clear(); - } - if (val) { - SWIG_type_error(errmsg, obj); - } - return 0; -} -#else -SWIGINTERNSHORT unsigned int - SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) -{ - return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); -} -#endif - - -SWIGINTERNSHORT unsigned int -SWIG_As_unsigned_SS_int(PyObject* obj) -{ - unsigned int v; - if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) { - /* - this is needed to make valgrind/purify happier. - */ - memset((void*)&v, 0, sizeof(unsigned int)); - } - return v; -} - - -SWIGINTERNSHORT int -SWIG_Check_unsigned_SS_int(PyObject* obj) -{ - return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); -} - static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){ wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); if (data == NULL) { @@ -2143,7 +2308,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; @@ -2207,6 +2372,8 @@ public: DEC_PYCALLBACK_BOOL_(HasTransparentBackground); + DEC_PYCALLBACK_VOID_(OnInternalIdle); + PYPRIVATE; }; @@ -2240,7 +2407,9 @@ IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours); IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes); IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground); - + +IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle); + static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; } @@ -2268,7 +2437,7 @@ static int _wrap_ButtonNameStr_set(PyObject *) { static PyObject *_wrap_ButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2282,7 +2451,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 ; @@ -2318,7 +2487,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; } } @@ -2343,7 +2512,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; } } @@ -2396,7 +2565,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 @@ -2419,7 +2588,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 ; @@ -2459,7 +2628,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; } } @@ -2484,7 +2653,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; } } @@ -2538,7 +2707,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[] = { @@ -2563,7 +2732,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 @@ -2579,7 +2748,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; @@ -2589,7 +2758,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 ; @@ -2600,21 +2769,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; @@ -2631,7 +2800,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 ; @@ -2666,7 +2835,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; } } @@ -2694,7 +2863,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; } } @@ -2739,7 +2908,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 @@ -2762,7 +2931,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 ; @@ -2801,7 +2970,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; } } @@ -2829,7 +2998,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; } } @@ -2875,7 +3044,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 ; @@ -2895,7 +3064,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; @@ -2905,7 +3074,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 ; @@ -2925,7 +3094,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; @@ -2935,7 +3104,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 ; @@ -2955,7 +3124,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; @@ -2965,7 +3134,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 ; @@ -2985,7 +3154,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; @@ -2995,7 +3164,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 ; @@ -3030,7 +3199,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 ; @@ -3065,7 +3234,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 ; @@ -3100,7 +3269,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 ; @@ -3135,7 +3304,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 ; @@ -3150,11 +3319,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; } { @@ -3172,7 +3341,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 ; @@ -3191,7 +3360,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: @@ -3200,7 +3369,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 ; @@ -3219,7 +3388,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: @@ -3241,7 +3410,7 @@ static int _wrap_CheckBoxNameStr_set(PyObject *) { static PyObject *_wrap_CheckBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3255,7 +3424,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 ; @@ -3291,7 +3460,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; } } @@ -3316,7 +3485,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; } } @@ -3369,7 +3538,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 @@ -3392,7 +3561,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 ; @@ -3432,7 +3601,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; } } @@ -3457,7 +3626,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; } } @@ -3511,7 +3680,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 ; @@ -3539,7 +3708,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 ; @@ -3567,7 +3736,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 ; @@ -3580,7 +3749,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; } { @@ -3598,7 +3767,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 ; @@ -3624,7 +3793,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 ; @@ -3637,12 +3806,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; @@ -3655,7 +3824,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 ; @@ -3683,7 +3852,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 ; @@ -3711,7 +3880,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 ; @@ -3722,21 +3891,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; @@ -3759,7 +3928,7 @@ static int _wrap_ChoiceNameStr_set(PyObject *) { static PyObject *_wrap_ChoiceNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3773,7 +3942,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 ; @@ -3809,7 +3978,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; } } @@ -3846,7 +4015,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; } } @@ -3897,7 +4066,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 @@ -3920,7 +4089,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 ; @@ -3960,7 +4129,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; } } @@ -3997,7 +4166,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; } } @@ -4048,8 +4217,36 @@ static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwarg } +static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxChoice *arg1 = (wxChoice *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxChoice const *)arg1)->GetCurrentSelection(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + 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 ; @@ -4060,21 +4257,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; @@ -4097,7 +4294,7 @@ static int _wrap_ComboBoxNameStr_set(PyObject *) { static PyObject *_wrap_ComboBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4111,7 +4308,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 ; @@ -4151,7 +4348,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; } } @@ -4195,7 +4392,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; } } @@ -4254,7 +4451,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 @@ -4277,7 +4474,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 ; @@ -4321,7 +4518,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; } } @@ -4365,7 +4562,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; } } @@ -4425,7 +4622,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 ; @@ -4457,7 +4654,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 ; @@ -4498,7 +4695,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[] = { @@ -4523,7 +4720,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[] = { @@ -4548,7 +4745,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[] = { @@ -4573,7 +4770,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 ; @@ -4586,7 +4783,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; } { @@ -4604,7 +4801,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 ; @@ -4623,7 +4820,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: @@ -4632,7 +4829,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 ; @@ -4651,7 +4848,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: @@ -4660,7 +4857,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 ; @@ -4678,11 +4875,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; } { @@ -4713,7 +4910,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 ; @@ -4726,7 +4923,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; } { @@ -4744,7 +4941,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 ; @@ -4759,11 +4956,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; } { @@ -4781,7 +4978,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 ; @@ -4817,8 +5014,36 @@ static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kw } +static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxComboBox *arg1 = (wxComboBox *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxComboBox const *)arg1)->GetCurrentSelection(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString *arg2 = 0 ; bool result; @@ -4862,7 +5087,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 ; @@ -4878,7 +5103,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; } { @@ -4909,7 +5134,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 ; @@ -4922,7 +5147,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; } { @@ -4940,7 +5165,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[] = { @@ -4965,7 +5190,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 ; @@ -4980,11 +5205,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; } { @@ -5002,7 +5227,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 ; @@ -5030,7 +5255,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[] = { @@ -5055,7 +5280,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[] = { @@ -5080,7 +5305,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[] = { @@ -5105,7 +5330,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 ; @@ -5133,7 +5358,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 ; @@ -5161,7 +5386,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 ; @@ -5189,7 +5414,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 ; @@ -5217,7 +5442,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 ; @@ -5245,7 +5470,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 ; @@ -5256,21 +5481,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; @@ -5293,7 +5518,7 @@ static int _wrap_GaugeNameStr_set(PyObject *) { static PyObject *_wrap_GaugeNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5307,7 +5532,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 ; @@ -5341,13 +5566,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; } } @@ -5365,7 +5590,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; } } @@ -5410,7 +5635,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 @@ -5433,7 +5658,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 ; @@ -5471,13 +5696,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; } } @@ -5495,7 +5720,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; } } @@ -5541,7 +5766,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 ; @@ -5554,7 +5779,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; } { @@ -5572,7 +5797,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 ; @@ -5591,7 +5816,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: @@ -5600,7 +5825,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 ; @@ -5613,7 +5838,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; } { @@ -5631,7 +5856,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 ; @@ -5650,7 +5875,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: @@ -5659,7 +5884,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 ; @@ -5687,7 +5912,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 ; @@ -5700,7 +5925,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; } { @@ -5718,7 +5943,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 ; @@ -5737,7 +5962,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: @@ -5746,7 +5971,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 ; @@ -5759,7 +5984,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; } { @@ -5777,7 +6002,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 ; @@ -5796,7 +6021,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: @@ -5805,7 +6030,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 ; @@ -5816,21 +6041,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; @@ -5853,7 +6078,7 @@ static int _wrap_StaticBitmapNameStr_set(PyObject *) { static PyObject *_wrap_StaticBitmapNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5873,7 +6098,7 @@ static int _wrap_StaticBoxNameStr_set(PyObject *) { static PyObject *_wrap_StaticBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5893,7 +6118,7 @@ static int _wrap_StaticTextNameStr_set(PyObject *) { static PyObject *_wrap_StaticTextNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5907,7 +6132,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 ; @@ -5940,7 +6165,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; } } @@ -5965,7 +6190,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; } } @@ -6008,7 +6233,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 @@ -6031,7 +6256,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 ; @@ -6068,7 +6293,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; } } @@ -6093,7 +6318,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; } } @@ -6137,7 +6362,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 ; @@ -6148,21 +6373,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; @@ -6179,7 +6404,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 ; @@ -6208,7 +6433,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; } } @@ -6226,7 +6451,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; } } @@ -6261,7 +6486,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 @@ -6284,7 +6509,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 ; @@ -6317,7 +6542,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; } } @@ -6335,7 +6560,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; } } @@ -6371,7 +6596,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 ; @@ -6399,7 +6624,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 @@ -6414,7 +6639,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: @@ -6423,7 +6648,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 ; @@ -6434,21 +6659,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; @@ -6465,7 +6690,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 ; @@ -6498,7 +6723,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; } } @@ -6523,7 +6748,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; } } @@ -6566,7 +6791,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 @@ -6589,7 +6814,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 ; @@ -6626,7 +6851,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; } } @@ -6651,7 +6876,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; } } @@ -6694,8 +6919,39 @@ static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *k } +static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxStaticText *arg1 = (wxStaticText *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "width", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, 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)->Wrap(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + 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 ; @@ -6706,21 +6962,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; @@ -6737,7 +6993,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 ; @@ -6769,7 +7025,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; } } @@ -6797,7 +7053,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; } } @@ -6832,7 +7088,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 @@ -6855,7 +7111,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 ; @@ -6891,7 +7147,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; } } @@ -6919,7 +7175,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; } } @@ -6955,7 +7211,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 ; @@ -6975,7 +7231,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; @@ -6985,7 +7241,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 ; @@ -7020,7 +7276,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 ; @@ -7055,7 +7311,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 ; @@ -7066,21 +7322,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; @@ -7103,7 +7359,7 @@ static int _wrap_ListBoxNameStr_set(PyObject *) { static PyObject *_wrap_ListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -7117,7 +7373,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 ; @@ -7153,7 +7409,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; } } @@ -7190,7 +7446,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; } } @@ -7241,7 +7497,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 @@ -7264,7 +7520,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 ; @@ -7304,7 +7560,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; } } @@ -7341,7 +7597,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; } } @@ -7393,7 +7649,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 ; @@ -7416,7 +7672,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) { @@ -7445,7 +7701,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 ; @@ -7478,7 +7734,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; } { @@ -7502,7 +7758,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 ; @@ -7553,7 +7809,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; @@ -7567,7 +7823,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; } { @@ -7587,7 +7843,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 ; @@ -7602,12 +7858,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; } } @@ -7626,7 +7882,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 ; @@ -7639,7 +7895,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; } { @@ -7657,7 +7913,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 ; @@ -7670,7 +7926,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; } { @@ -7688,7 +7944,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 ; @@ -7702,7 +7958,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; } } @@ -7721,7 +7977,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 ; @@ -7744,7 +8000,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; } } @@ -7773,7 +8029,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 ; @@ -7799,7 +8055,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 ; @@ -7812,7 +8068,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; } { @@ -7830,7 +8086,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 ; @@ -7871,7 +8127,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 ; @@ -7884,7 +8140,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; } { @@ -7902,7 +8158,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 ; @@ -7943,7 +8199,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 ; @@ -7971,7 +8227,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 ; @@ -7987,7 +8243,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; } { @@ -8009,7 +8265,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 ; @@ -8025,7 +8281,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; } { @@ -8047,7 +8303,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 ; @@ -8062,7 +8318,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; } { @@ -8088,7 +8344,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 ; @@ -8099,21 +8355,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; @@ -8130,7 +8386,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 ; @@ -8166,7 +8422,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; } } @@ -8203,7 +8459,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; } } @@ -8254,7 +8510,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 @@ -8277,7 +8533,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 ; @@ -8317,7 +8573,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; } } @@ -8354,7 +8610,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; } } @@ -8406,7 +8662,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; @@ -8420,7 +8676,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; } { @@ -8440,7 +8696,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 ; @@ -8455,12 +8711,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; } } @@ -8479,7 +8735,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 ; @@ -8498,7 +8754,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: @@ -8507,7 +8763,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; @@ -8533,7 +8789,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: @@ -8542,7 +8798,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 ; @@ -8558,11 +8814,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; } { @@ -8573,7 +8829,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: @@ -8595,7 +8851,7 @@ static int _wrap_TextCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TextCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8609,7 +8865,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 ; @@ -8653,13 +8909,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; @@ -8672,7 +8928,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[] = { @@ -8697,7 +8953,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[] = { @@ -8722,7 +8978,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 ; @@ -8754,7 +9010,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 ; @@ -8786,7 +9042,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 ; @@ -8810,7 +9066,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; } } @@ -8829,7 +9085,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 ; @@ -8842,12 +9098,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; @@ -8860,7 +9116,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 ; @@ -8910,7 +9166,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 ; @@ -8925,12 +9181,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; } } @@ -8949,7 +9205,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 ; @@ -8962,7 +9218,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; } { @@ -8980,7 +9236,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 ; @@ -8993,7 +9249,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; } { @@ -9011,7 +9267,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 ; @@ -9039,7 +9295,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 ; @@ -9067,7 +9323,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 ; @@ -9095,7 +9351,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 ; @@ -9123,7 +9379,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 ; @@ -9151,7 +9407,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 ; @@ -9179,7 +9435,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 ; @@ -9207,7 +9463,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; @@ -9221,7 +9477,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; } { @@ -9241,7 +9497,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 ; @@ -9270,7 +9526,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 ; @@ -9299,7 +9555,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 ; @@ -9331,7 +9587,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 ; @@ -9357,7 +9613,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 ; @@ -9394,7 +9650,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 ; @@ -9413,7 +9669,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: @@ -9422,7 +9678,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 ; @@ -9441,7 +9697,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: @@ -9450,7 +9706,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 ; @@ -9469,7 +9725,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: @@ -9478,7 +9734,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 ; @@ -9497,7 +9753,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: @@ -9506,7 +9762,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 ; @@ -9534,7 +9790,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 ; @@ -9574,7 +9830,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; @@ -9591,7 +9847,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 ; @@ -9627,7 +9883,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; } } @@ -9652,7 +9908,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; } } @@ -9705,7 +9961,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 @@ -9728,7 +9984,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 ; @@ -9768,7 +10024,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; } } @@ -9793,7 +10049,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; } } @@ -9847,7 +10103,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 ; @@ -9879,7 +10135,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 ; @@ -9920,7 +10176,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 ; @@ -9936,11 +10192,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; } { @@ -9964,7 +10220,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; @@ -9978,7 +10234,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; } { @@ -9989,7 +10245,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: @@ -9998,7 +10254,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; @@ -10012,7 +10268,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; } { @@ -10036,7 +10292,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 ; @@ -10055,7 +10311,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: @@ -10064,7 +10320,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 ; @@ -10092,7 +10348,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 ; @@ -10120,7 +10376,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 ; @@ -10148,7 +10404,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 ; @@ -10176,7 +10432,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 ; @@ -10213,7 +10469,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 ; @@ -10245,7 +10501,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[] = { @@ -10270,7 +10526,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 ; @@ -10288,11 +10544,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; } { @@ -10323,7 +10579,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 ; @@ -10338,11 +10594,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; } { @@ -10360,7 +10616,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; @@ -10404,7 +10660,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 ; @@ -10451,7 +10707,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[] = { @@ -10476,7 +10732,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[] = { @@ -10501,7 +10757,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 ; @@ -10514,7 +10770,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; } { @@ -10532,7 +10788,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 ; @@ -10573,7 +10829,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 ; @@ -10614,7 +10870,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; @@ -10652,7 +10908,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 ; @@ -10670,11 +10926,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; } { @@ -10702,7 +10958,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 ; @@ -10718,7 +10974,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; } { @@ -10746,7 +11002,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; @@ -10784,7 +11040,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 ; @@ -10813,7 +11069,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 ; @@ -10829,11 +11085,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; } { @@ -10844,7 +11100,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: @@ -10853,7 +11109,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 ; @@ -10874,7 +11130,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; } { @@ -10896,7 +11152,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 ; @@ -10909,7 +11165,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; } { @@ -10927,7 +11183,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 ; @@ -10972,7 +11228,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 ; @@ -11011,7 +11267,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[] = { @@ -11036,7 +11292,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[] = { @@ -11061,7 +11317,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[] = { @@ -11086,7 +11342,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 ; @@ -11114,7 +11370,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 ; @@ -11142,7 +11398,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 ; @@ -11170,7 +11426,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[] = { @@ -11195,7 +11451,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[] = { @@ -11220,7 +11476,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 ; @@ -11248,7 +11504,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 ; @@ -11276,7 +11532,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 ; @@ -11289,7 +11545,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; } { @@ -11307,7 +11563,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[] = { @@ -11332,7 +11588,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 ; @@ -11351,7 +11607,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: @@ -11360,7 +11616,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 ; @@ -11379,7 +11635,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: @@ -11388,7 +11644,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 ; @@ -11403,11 +11659,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; } { @@ -11425,7 +11681,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[] = { @@ -11450,7 +11706,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 ; @@ -11463,7 +11719,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; } { @@ -11481,7 +11737,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 ; @@ -11522,7 +11778,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 ; @@ -11538,11 +11794,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; } { @@ -11566,7 +11822,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 ; @@ -11577,21 +11833,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; @@ -11608,7 +11864,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 ; @@ -11624,7 +11880,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; } { @@ -11636,11 +11892,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; } { @@ -11658,7 +11914,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 ; @@ -11687,7 +11943,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 ; @@ -11706,7 +11962,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: @@ -11715,7 +11971,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 ; @@ -11734,7 +11990,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: @@ -11756,7 +12012,7 @@ static int _wrap_ScrollBarNameStr_set(PyObject *) { static PyObject *_wrap_ScrollBarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -11770,7 +12026,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 ; @@ -11802,7 +12058,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; } } @@ -11820,7 +12076,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; } } @@ -11865,7 +12121,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 @@ -11888,7 +12144,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 ; @@ -11924,7 +12180,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; } } @@ -11942,7 +12198,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; } } @@ -11988,7 +12244,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 ; @@ -12007,7 +12263,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: @@ -12016,7 +12272,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 ; @@ -12035,7 +12291,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: @@ -12044,7 +12300,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 ; @@ -12063,7 +12319,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: @@ -12072,7 +12328,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 ; @@ -12091,7 +12347,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: @@ -12100,7 +12356,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 ; @@ -12128,7 +12384,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 ; @@ -12141,7 +12397,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; } { @@ -12159,7 +12415,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 ; @@ -12180,24 +12436,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; } } @@ -12216,7 +12472,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 ; @@ -12227,21 +12483,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; @@ -12264,7 +12520,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 @@ -12284,7 +12540,7 @@ static int _wrap_SpinCtrlNameStr_set(PyObject *) { static PyObject *_wrap_SpinCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -12298,7 +12554,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 ; @@ -12327,7 +12583,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; } } @@ -12345,7 +12601,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; } } @@ -12380,7 +12636,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 @@ -12403,7 +12659,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 ; @@ -12436,7 +12692,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; } } @@ -12454,7 +12710,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; } } @@ -12490,7 +12746,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 ; @@ -12509,7 +12765,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: @@ -12518,7 +12774,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 ; @@ -12537,7 +12793,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: @@ -12546,7 +12802,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 ; @@ -12565,7 +12821,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: @@ -12574,7 +12830,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 ; @@ -12587,7 +12843,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; } { @@ -12605,7 +12861,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 ; @@ -12618,7 +12874,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; } { @@ -12636,7 +12892,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 ; @@ -12649,7 +12905,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; } { @@ -12667,7 +12923,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 ; @@ -12682,11 +12938,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; } { @@ -12704,7 +12960,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 ; @@ -12732,7 +12988,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 ; @@ -12743,21 +12999,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; @@ -12774,7 +13030,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 ; @@ -12813,7 +13069,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; } } @@ -12838,25 +13094,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; } } @@ -12899,7 +13155,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 @@ -12922,7 +13178,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 ; @@ -12965,7 +13221,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; } } @@ -12990,25 +13246,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; } } @@ -13052,7 +13308,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 ; @@ -13071,7 +13327,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: @@ -13080,7 +13336,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 ; @@ -13093,7 +13349,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; } { @@ -13111,7 +13367,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 ; @@ -13152,7 +13408,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 ; @@ -13167,11 +13423,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; } { @@ -13189,7 +13445,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 ; @@ -13208,7 +13464,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: @@ -13217,7 +13473,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 ; @@ -13236,7 +13492,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: @@ -13245,7 +13501,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 ; @@ -13260,11 +13516,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; } { @@ -13282,7 +13538,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 ; @@ -13293,21 +13549,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; @@ -13324,7 +13580,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; @@ -13337,13 +13593,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; } } @@ -13362,7 +13618,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 ; @@ -13381,7 +13637,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: @@ -13390,7 +13646,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 ; @@ -13403,7 +13659,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; } { @@ -13434,7 +13690,7 @@ static int _wrap_RadioBoxNameStr_set(PyObject *) { static PyObject *_wrap_RadioBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13454,7 +13710,7 @@ static int _wrap_RadioButtonNameStr_set(PyObject *) { static PyObject *_wrap_RadioButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13468,7 +13724,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 ; @@ -13510,7 +13766,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; } } @@ -13554,13 +13810,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; } } @@ -13619,7 +13875,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 @@ -13642,7 +13898,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 ; @@ -13688,7 +13944,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; } } @@ -13732,13 +13988,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; } } @@ -13798,7 +14054,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 ; @@ -13811,7 +14067,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; } { @@ -13829,7 +14085,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 ; @@ -13848,7 +14104,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: @@ -13857,7 +14113,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 ; @@ -13889,7 +14145,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; @@ -13933,7 +14189,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 ; @@ -13952,7 +14208,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: @@ -13961,7 +14217,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; @@ -13988,7 +14244,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) @@ -14005,7 +14261,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; @@ -14019,7 +14275,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; } { @@ -14043,7 +14299,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 ; @@ -14059,7 +14315,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; } { @@ -14090,7 +14346,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 ; @@ -14105,12 +14361,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; } } @@ -14129,7 +14385,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 ; @@ -14144,12 +14400,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; } } @@ -14168,7 +14424,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 ; @@ -14187,7 +14443,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: @@ -14196,7 +14452,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 ; @@ -14215,7 +14471,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: @@ -14224,7 +14480,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 ; @@ -14242,26 +14498,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: @@ -14270,7 +14526,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 ; @@ -14281,21 +14537,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; @@ -14312,7 +14568,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 ; @@ -14348,7 +14604,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; } } @@ -14373,7 +14629,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; } } @@ -14426,7 +14682,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 @@ -14449,7 +14705,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 ; @@ -14489,7 +14745,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; } } @@ -14514,7 +14770,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; } } @@ -14568,7 +14824,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 ; @@ -14596,7 +14852,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 ; @@ -14609,7 +14865,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; } { @@ -14627,7 +14883,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 ; @@ -14638,21 +14894,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; @@ -14675,7 +14931,7 @@ static int _wrap_SliderNameStr_set(PyObject *) { static PyObject *_wrap_SliderNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14689,7 +14945,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 ; @@ -14727,25 +14983,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; } } @@ -14763,7 +15019,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; } } @@ -14808,7 +15064,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 @@ -14831,7 +15087,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 ; @@ -14873,25 +15129,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; } } @@ -14909,7 +15165,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; } } @@ -14955,7 +15211,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 ; @@ -14974,7 +15230,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: @@ -14983,7 +15239,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 ; @@ -14996,7 +15252,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; } { @@ -15014,7 +15270,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 ; @@ -15029,11 +15285,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; } { @@ -15051,7 +15307,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 ; @@ -15070,7 +15326,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: @@ -15079,7 +15335,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 ; @@ -15098,7 +15354,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: @@ -15107,7 +15363,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 ; @@ -15120,7 +15376,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; } { @@ -15138,7 +15394,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 ; @@ -15151,7 +15407,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; } { @@ -15169,7 +15425,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 ; @@ -15182,7 +15438,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; } { @@ -15200,7 +15456,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 ; @@ -15213,7 +15469,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; } { @@ -15231,7 +15487,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 ; @@ -15250,7 +15506,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: @@ -15259,7 +15515,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 ; @@ -15278,7 +15534,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: @@ -15287,7 +15543,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 ; @@ -15300,7 +15556,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; } { @@ -15318,7 +15574,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 ; @@ -15337,7 +15593,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: @@ -15346,7 +15602,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 ; @@ -15361,12 +15617,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; } } @@ -15385,7 +15641,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 ; @@ -15404,7 +15660,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: @@ -15413,7 +15669,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[] = { @@ -15438,7 +15694,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 ; @@ -15451,7 +15707,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; } { @@ -15469,7 +15725,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[] = { @@ -15494,7 +15750,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 ; @@ -15513,7 +15769,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: @@ -15522,7 +15778,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 ; @@ -15541,7 +15797,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: @@ -15550,7 +15806,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 ; @@ -15565,11 +15821,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; } { @@ -15587,7 +15843,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 ; @@ -15598,21 +15854,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; @@ -15635,7 +15891,7 @@ static int _wrap_ToggleButtonNameStr_set(PyObject *) { static PyObject *_wrap_ToggleButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15649,7 +15905,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 ; @@ -15685,7 +15941,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; } } @@ -15710,7 +15966,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; } } @@ -15763,7 +16019,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 @@ -15786,7 +16042,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 ; @@ -15826,7 +16082,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; } } @@ -15851,7 +16107,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; } } @@ -15905,7 +16161,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 ; @@ -15918,7 +16174,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; } { @@ -15936,7 +16192,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 ; @@ -15964,7 +16220,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 ; @@ -16005,7 +16261,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 ; @@ -16016,21 +16272,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; @@ -16053,7 +16309,7 @@ static int _wrap_NotebookNameStr_set(PyObject *) { static PyObject *_wrap_NotebookNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16067,7 +16323,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 ; @@ -16086,7 +16342,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: @@ -16095,7 +16351,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; @@ -16109,7 +16365,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; } { @@ -16129,7 +16385,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 ; @@ -16157,7 +16413,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 ; @@ -16176,7 +16432,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: @@ -16185,7 +16441,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 ; @@ -16202,7 +16458,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; } { @@ -16235,7 +16491,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; @@ -16249,7 +16505,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; } { @@ -16273,7 +16529,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 ; @@ -16302,7 +16558,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 ; @@ -16331,7 +16587,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 ; @@ -16350,7 +16606,7 @@ static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -16359,7 +16615,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; @@ -16373,7 +16629,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; } { @@ -16384,7 +16640,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: @@ -16393,7 +16649,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 ; @@ -16409,11 +16665,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; } { @@ -16433,7 +16689,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 ; @@ -16465,7 +16721,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; @@ -16492,7 +16748,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; @@ -16501,8 +16757,154 @@ static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, } +static PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; + unsigned int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; + unsigned int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "internalBorder", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetInternalBorder(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_IsVertical",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "fit", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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)->SetFitToCurrentPage(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; bool result; @@ -16516,7 +16918,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; } { @@ -16536,7 +16938,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; @@ -16550,7 +16952,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; } { @@ -16570,7 +16972,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 ; @@ -16598,7 +17000,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 ; @@ -16627,13 +17029,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; } } @@ -16662,7 +17064,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 ; @@ -16685,7 +17087,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); @@ -16697,13 +17099,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; } } @@ -16732,7 +17134,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; @@ -16746,7 +17148,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; } { @@ -16757,7 +17159,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: @@ -16766,7 +17168,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 ; @@ -16780,7 +17182,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; } } @@ -16799,7 +17201,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 ; @@ -16810,21 +17212,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; @@ -16841,7 +17243,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 ; @@ -16858,25 +17260,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; } } @@ -16895,7 +17297,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 ; @@ -16914,7 +17316,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: @@ -16923,7 +17325,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 ; @@ -16936,7 +17338,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; } { @@ -16954,7 +17356,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 ; @@ -16973,7 +17375,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: @@ -16982,7 +17384,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 ; @@ -16995,7 +17397,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; } { @@ -17020,7 +17422,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 ; @@ -17049,7 +17451,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; } } @@ -17067,7 +17469,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; } } @@ -17102,7 +17504,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 @@ -17125,7 +17527,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 ; @@ -17158,7 +17560,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; } } @@ -17176,7 +17578,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; } } @@ -17212,7 +17614,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 ; @@ -17231,7 +17633,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: @@ -17240,7 +17642,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 ; @@ -17272,7 +17674,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 ; @@ -17304,7 +17706,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 ; @@ -17334,7 +17736,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))); @@ -17345,7 +17747,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; @@ -17372,7 +17774,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; @@ -17382,7 +17784,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 ; @@ -17402,7 +17804,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; @@ -17412,7 +17814,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 ; @@ -17423,21 +17825,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; @@ -17454,7 +17856,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 ; @@ -17471,25 +17873,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; } } @@ -17515,7 +17917,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 ; @@ -17544,7 +17946,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; } } @@ -17562,7 +17964,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; } } @@ -17597,7 +17999,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 @@ -17620,7 +18022,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 ; @@ -17653,7 +18055,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; } } @@ -17671,7 +18073,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; } } @@ -17706,21 +18108,267 @@ static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxListbook *arg1 = (wxListbook *) 0 ; - bool result; + wxListView *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxListbook const *)arg1)->IsVertical(); + result = (wxListView *)(arg1)->GetListView(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject * Listbook_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxEventType arg1 = (wxEventType) wxEVT_NULL ; + int arg2 = (int) 0 ; + int arg3 = (int) -1 ; + int arg4 = (int) -1 ; + wxListbookEvent *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) 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; + } + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_int(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 = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) 0 ; + wxString const &arg6_defvalue = wxPyEmptyString ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxChoicebook *result; + wxPoint temp3 ; + wxSize temp4 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char *kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_long(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1); + { + if (temp6) + delete arg6; + } + return resultobj; + fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxChoicebook *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxChoicebook *)new wxChoicebook(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxChoicebook *arg1 = (wxChoicebook *) 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 ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxPyEmptyString ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + wxPoint temp4 ; + wxSize temp5 ; + bool temp7 = false ; + 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 *) "name", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, 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 = &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_long(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -17728,52 +18376,88 @@ static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + { + if (temp7) + delete arg7; + } return resultobj; fail: + { + if (temp7) + delete arg7; + } return NULL; } -static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxListbook *arg1 = (wxListbook *) 0 ; - wxListView *result; +static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxChoicebook *arg1 = (wxChoicebook *) 0 ; + wxChoice *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxListView *)(arg1)->GetListView(); + result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0); return resultobj; fail: return NULL; } -static PyObject * Listbook_swigregister(PyObject *, PyObject *args) { +static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxChoicebook *arg1 = (wxChoicebook *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DeleteAllPages(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj); + SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; int arg4 = (int) -1 ; - wxListbookEvent *result; + wxChoicebookEvent *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -17782,64 +18466,792 @@ static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *k (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) 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; + } + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_int(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 = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) wxBK_DEFAULT ; + wxString const &arg6_defvalue = wxPyEmptyString ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxTreebook *result; + wxPoint temp3 ; + wxSize temp4 ; + bool temp6 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char *kwnames[] = { + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_long(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1); + { + if (temp6) + delete arg6; + } + return resultobj; + fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxTreebook *)new wxTreebook(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 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 ; + long arg6 = (long) wxBK_DEFAULT ; + wxString const &arg7_defvalue = wxPyEmptyString ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + wxPoint temp4 ; + wxSize temp5 ; + bool temp7 = false ; + 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 *) "name", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, 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 = &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_long(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp7) + delete arg7; + } + return resultobj; + fail: + { + if (temp7) + delete arg7; + } + return NULL; +} + + +static PyObject *_wrap_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + wxWindow *arg3 = (wxWindow *) 0 ; + wxString *arg4 = 0 ; + bool arg5 = (bool) false ; + int arg6 = (int) wxNOT_FOUND ; + bool result; + bool temp4 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + 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); + if (SWIG_arg_fail(3)) SWIG_fail; + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_bool(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = static_cast(SWIG_As_int(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6); + + 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_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + wxWindow *arg3 = (wxWindow *) 0 ; + wxString *arg4 = 0 ; + bool arg5 = (bool) false ; + int arg6 = (int) wxNOT_FOUND ; + bool result; + bool temp4 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + 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); + if (SWIG_arg_fail(3)) SWIG_fail; + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_bool(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = static_cast(SWIG_As_int(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6); + + 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_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + wxString *arg3 = 0 ; + bool arg4 = (bool) false ; + int arg5 = (int) wxNOT_FOUND ; + bool result; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, 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 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_bool(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_int(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp3) + delete arg3; + } + return resultobj; + fail: + { + if (temp3) + delete arg3; + } + return NULL; +} + + +static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + wxString *arg3 = 0 ; + bool arg4 = (bool) false ; + int arg5 = (int) wxNOT_FOUND ; + bool result; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, 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 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_bool(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_int(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp3) + delete arg3; + } + return resultobj; + fail: + { + if (temp3) + delete arg3; + } + return NULL; +} + + +static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DeletePage(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_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(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_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + bool arg3 = (bool) true ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos",(char *) "expand", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_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; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ExpandNode(arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->CollapseNode(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_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + int result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + wxTreeCtrl *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject * Treebook_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxEventType arg1 = (wxEventType) wxEVT_NULL ; + int arg2 = (int) 0 ; + int arg3 = (int) wxNOT_FOUND ; + int arg4 = (int) wxNOT_FOUND ; + wxTreebookEvent *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4); + result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1); return resultobj; fail: return NULL; } -static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj); + SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Toolbook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; wxSize *arg4 = (wxSize *) &arg4_defvalue ; - long arg5 = (long) 0 ; + long arg5 = (long) wxBK_DEFAULT ; wxString const &arg6_defvalue = wxPyEmptyString ; wxString *arg6 = (wxString *) &arg6_defvalue ; - wxChoicebook *result; + wxToolbook *result; wxPoint temp3 ; wxSize temp4 ; bool temp6 = false ; @@ -17853,11 +19265,11 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -17874,7 +19286,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; } } @@ -17886,14 +19298,13 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar } } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); + result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1); { if (temp6) delete arg6; @@ -17908,32 +19319,31 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxChoicebook *result; +static PyObject *_wrap_new_PreToolbook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxToolbook *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolbook",kwnames)) goto fail; { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxChoicebook *)new wxChoicebook(); + result = (wxToolbook *)new wxToolbook(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1); return resultobj; fail: return NULL; } -static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxChoicebook *arg1 = (wxChoicebook *) 0 ; +static PyObject *_wrap_Toolbook_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxToolbook *arg1 = (wxToolbook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -17941,7 +19351,7 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k wxSize const &arg5_defvalue = wxDefaultSize ; wxSize *arg5 = (wxSize *) &arg5_defvalue ; long arg6 = (long) 0 ; - wxString const &arg7_defvalue = wxPyEmptyString ; + wxString const &arg7_defvalue = wxEmptyString ; wxString *arg7 = (wxString *) &arg7_defvalue ; bool result; wxPoint temp4 ; @@ -17958,13 +19368,13 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, 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 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -17981,7 +19391,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; } } @@ -18016,27 +19426,27 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxChoicebook *arg1 = (wxChoicebook *) 0 ; - bool result; +static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxToolbook *arg1 = (wxToolbook *) 0 ; + wxToolBarBase *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxChoicebook const *)arg1)->IsVertical(); + result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -18044,74 +19454,45 @@ static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxChoicebook *arg1 = (wxChoicebook *) 0 ; - wxChoice *result; +static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxToolbook *arg1 = (wxToolbook *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl(); + (arg1)->Realize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxChoicebook *arg1 = (wxChoicebook *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->DeleteAllPages(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) { +static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj); + SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; - int arg3 = (int) -1 ; - int arg4 = (int) -1 ; - wxChoicebookEvent *result; + int arg3 = (int) wxNOT_FOUND ; + int arg4 = (int) wxNOT_FOUND ; + wxToolbookEvent *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18120,284 +19501,54 @@ static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; - wxBookCtrlSizer *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "nb", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RecalcSizes(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; - wxSize result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->CalcMin(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; - wxBookCtrlBase *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxBookCtrlBase *)(arg1)->GetControl(); + result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1); return resultobj; fail: return NULL; } -static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * ToolbookEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebook *arg1 = (wxNotebook *) 0 ; - wxNotebookSizer *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "nb", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxNotebookSizer *)new wxNotebookSizer(arg1); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RecalcSizes(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ; - wxSize result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->CalcMin(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ; - wxNotebook *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxNotebook *)(arg1)->GetNotebook(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = wxPyMake_wxObject(result, 0); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj); + SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent, obj); Py_INCREF(obj); 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 ; @@ -18416,7 +19567,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: @@ -18425,7 +19576,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 ; @@ -18453,7 +19604,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 ; @@ -18472,7 +19623,7 @@ static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -18481,7 +19632,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 ; @@ -18500,7 +19651,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: @@ -18509,7 +19660,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 ; @@ -18528,7 +19679,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: @@ -18537,7 +19688,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 ; @@ -18556,7 +19707,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: @@ -18565,7 +19716,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 ; @@ -18584,7 +19735,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: @@ -18593,7 +19744,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 ; @@ -18619,7 +19770,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 ; @@ -18647,7 +19798,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 ; @@ -18675,7 +19826,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 ; @@ -18703,7 +19854,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 ; @@ -18735,7 +19886,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 ; @@ -18767,7 +19918,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 ; @@ -18787,7 +19938,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; @@ -18797,7 +19948,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 ; @@ -18829,7 +19980,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 ; @@ -18861,7 +20012,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 ; @@ -18893,7 +20044,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; @@ -18907,7 +20058,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; } { @@ -18927,7 +20078,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[] = { @@ -18952,7 +20103,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; @@ -18966,7 +20117,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; } { @@ -18986,7 +20137,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; @@ -19030,7 +20181,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; @@ -19074,7 +20225,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 ; @@ -19109,7 +20260,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 ; @@ -19144,7 +20295,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 ; @@ -19185,7 +20336,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[] = { @@ -19210,7 +20361,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 ; @@ -19239,7 +20390,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 ; @@ -19265,7 +20416,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 ; @@ -19300,7 +20451,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 ; @@ -19334,7 +20485,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; } { @@ -19362,7 +20513,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; } } @@ -19385,13 +20536,13 @@ 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; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -19424,7 +20575,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 ; @@ -19460,11 +20611,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; } { @@ -19492,7 +20643,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; } } @@ -19515,13 +20666,13 @@ 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; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp4) @@ -19554,7 +20705,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; @@ -19577,7 +20728,7 @@ static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19586,7 +20737,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 ; @@ -19602,7 +20753,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); @@ -19615,7 +20766,7 @@ static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19624,7 +20775,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; @@ -19647,7 +20798,7 @@ static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19656,7 +20807,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 ; @@ -19672,7 +20823,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); @@ -19685,7 +20836,7 @@ static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19694,7 +20845,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; @@ -19708,7 +20859,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; } { @@ -19728,7 +20879,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 ; @@ -19747,7 +20898,7 @@ static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19756,7 +20907,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; @@ -19770,7 +20921,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; } { @@ -19781,7 +20932,7 @@ static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19790,7 +20941,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; @@ -19804,7 +20955,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; } { @@ -19815,7 +20966,7 @@ static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19824,7 +20975,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; @@ -19838,7 +20989,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; } { @@ -19858,7 +21009,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; @@ -19872,7 +21023,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; } { @@ -19892,7 +21043,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[] = { @@ -19917,7 +21068,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 ; @@ -19945,7 +21096,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 ; @@ -19960,11 +21111,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; } { @@ -19982,7 +21133,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 ; @@ -19997,11 +21148,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; } { @@ -20019,7 +21170,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 ; @@ -20034,11 +21185,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; } { @@ -20056,7 +21207,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; @@ -20070,7 +21221,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; } { @@ -20088,7 +21239,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 ; @@ -20103,7 +21254,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; @@ -20122,7 +21273,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; @@ -20136,7 +21287,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; } { @@ -20147,7 +21298,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: @@ -20156,7 +21307,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; @@ -20170,7 +21321,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; } { @@ -20190,7 +21341,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; @@ -20204,7 +21355,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; } { @@ -20224,7 +21375,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 ; @@ -20240,7 +21391,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; } { @@ -20271,7 +21422,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; @@ -20285,7 +21436,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; } { @@ -20309,7 +21460,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 ; @@ -20325,7 +21476,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; } { @@ -20356,7 +21507,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; @@ -20370,7 +21521,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; } { @@ -20394,7 +21545,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 ; @@ -20409,11 +21560,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; } { @@ -20431,7 +21582,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 ; @@ -20463,7 +21614,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 ; @@ -20476,7 +21627,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; } { @@ -20494,7 +21645,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 ; @@ -20507,7 +21658,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; } { @@ -20525,7 +21676,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 ; @@ -20545,7 +21696,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; @@ -20555,7 +21706,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 ; @@ -20575,7 +21726,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; @@ -20585,7 +21736,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 ; @@ -20604,7 +21755,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: @@ -20613,7 +21764,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 ; @@ -20632,7 +21783,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: @@ -20641,7 +21792,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 ; @@ -20654,7 +21805,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; } { @@ -20672,7 +21823,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 ; @@ -20687,11 +21838,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; } { @@ -20709,7 +21860,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 ; @@ -20728,7 +21879,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: @@ -20737,7 +21888,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 ; @@ -20756,7 +21907,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: @@ -20765,7 +21916,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 ; @@ -20797,7 +21948,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 ; @@ -20817,7 +21968,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; @@ -20827,7 +21978,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 ; @@ -20847,7 +21998,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; @@ -20857,7 +22008,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 ; @@ -20873,11 +22024,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; } { @@ -20888,7 +22039,7 @@ static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -20897,7 +22048,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; @@ -20911,7 +22062,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; } { @@ -20922,7 +22073,7 @@ static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -20931,7 +22082,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 ; @@ -20966,7 +22117,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 ; @@ -20995,7 +22146,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; } } @@ -21013,7 +22164,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; } } @@ -21048,7 +22199,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 @@ -21071,7 +22222,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 ; @@ -21104,7 +22255,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; } } @@ -21122,7 +22273,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; } } @@ -21158,7 +22309,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 ; @@ -21174,11 +22325,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; } { @@ -21189,7 +22340,7 @@ static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21198,7 +22349,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 ; @@ -21209,21 +22360,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; @@ -21246,7 +22397,7 @@ static int _wrap_ListCtrlNameStr_set(PyObject *) { static PyObject *_wrap_ListCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -21260,7 +22411,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 ; @@ -21314,8 +22465,33 @@ static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kw } +static PyObject *_wrap_delete_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItemAttr",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, 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_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21347,7 +22523,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 ; @@ -21379,7 +22555,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 ; @@ -21414,7 +22590,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 ; @@ -21442,7 +22618,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 ; @@ -21470,7 +22646,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 ; @@ -21498,7 +22674,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 ; @@ -21518,7 +22694,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; @@ -21528,7 +22704,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 ; @@ -21548,7 +22724,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; @@ -21558,7 +22734,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 ; @@ -21578,7 +22754,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; @@ -21587,8 +22763,43 @@ static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject } +static PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; + wxListItemAttr *arg2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "source", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxListItemAttr"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->AssignFrom((wxListItemAttr const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21620,7 +22831,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 @@ -21635,7 +22846,7 @@ static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } return resultobj; fail: @@ -21644,7 +22855,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[] = { @@ -21669,7 +22880,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[] = { @@ -21694,7 +22905,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[] = { @@ -21719,7 +22930,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 ; @@ -21732,7 +22943,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; } { @@ -21750,7 +22961,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 ; @@ -21763,7 +22974,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; } { @@ -21781,7 +22992,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 ; @@ -21794,7 +23005,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; } { @@ -21812,7 +23023,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 ; @@ -21825,7 +23036,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; } { @@ -21843,7 +23054,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 ; @@ -21856,7 +23067,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; } { @@ -21874,7 +23085,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 ; @@ -21915,7 +23126,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 ; @@ -21928,7 +23139,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; } { @@ -21946,7 +23157,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 ; @@ -21959,7 +23170,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; } { @@ -21977,7 +23188,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 ; @@ -21990,7 +23201,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; } { @@ -22008,7 +23219,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 ; @@ -22021,12 +23232,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; @@ -22039,7 +23250,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 ; @@ -22071,7 +23282,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 ; @@ -22103,7 +23314,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 ; @@ -22138,7 +23349,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 ; @@ -22157,7 +23368,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: @@ -22166,7 +23377,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 ; @@ -22185,7 +23396,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: @@ -22194,7 +23405,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 ; @@ -22213,7 +23424,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: @@ -22222,7 +23433,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 ; @@ -22241,7 +23452,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: @@ -22250,7 +23461,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 ; @@ -22285,7 +23496,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 ; @@ -22304,7 +23515,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: @@ -22313,7 +23524,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 ; @@ -22332,7 +23543,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: @@ -22341,7 +23552,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 ; @@ -22360,7 +23571,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: @@ -22369,7 +23580,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 ; @@ -22395,7 +23606,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 ; @@ -22421,7 +23632,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 ; @@ -22449,7 +23660,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 ; @@ -22469,7 +23680,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; @@ -22479,7 +23690,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 ; @@ -22499,7 +23710,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; @@ -22509,7 +23720,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 ; @@ -22529,7 +23740,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; @@ -22539,7 +23750,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 ; @@ -22552,7 +23763,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; @@ -22565,7 +23776,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 ; @@ -22579,7 +23790,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: @@ -22588,7 +23799,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 ; @@ -22601,7 +23812,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; @@ -22614,7 +23825,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 ; @@ -22628,7 +23839,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: @@ -22637,7 +23848,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 ; @@ -22650,7 +23861,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; @@ -22663,7 +23874,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 ; @@ -22677,7 +23888,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: @@ -22686,7 +23897,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 ; @@ -22699,7 +23910,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; @@ -22712,7 +23923,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 ; @@ -22726,7 +23937,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: @@ -22735,7 +23946,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 ; @@ -22748,7 +23959,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; @@ -22761,7 +23972,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 ; @@ -22775,7 +23986,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: @@ -22784,7 +23995,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 ; @@ -22820,7 +24031,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 ; @@ -22847,7 +24058,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 ; @@ -22860,7 +24071,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; @@ -22873,7 +24084,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 ; @@ -22887,7 +24098,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: @@ -22896,7 +24107,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 ; @@ -22909,7 +24120,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; @@ -22922,7 +24133,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 ; @@ -22936,7 +24147,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: @@ -22945,7 +24156,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 ; @@ -22958,7 +24169,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; @@ -22971,7 +24182,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 ; @@ -22985,7 +24196,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: @@ -22994,7 +24205,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 ; @@ -23007,7 +24218,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; @@ -23020,7 +24231,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 ; @@ -23034,7 +24245,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: @@ -23050,7 +24261,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; @@ -23063,13 +24274,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; } } @@ -23088,7 +24299,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 ; @@ -23101,7 +24312,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; @@ -23114,7 +24325,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 ; @@ -23128,7 +24339,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: @@ -23137,7 +24348,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 ; @@ -23150,7 +24361,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; @@ -23163,7 +24374,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 ; @@ -23177,7 +24388,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: @@ -23186,7 +24397,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 ; @@ -23199,7 +24410,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; @@ -23212,7 +24423,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 ; @@ -23226,7 +24437,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: @@ -23235,7 +24446,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 ; @@ -23248,7 +24459,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; @@ -23261,7 +24472,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 ; @@ -23275,7 +24486,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: @@ -23284,7 +24495,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 ; @@ -23308,7 +24519,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 ; @@ -23329,7 +24540,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 ; @@ -23343,7 +24554,7 @@ static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject result = (wxListItem *)& ((arg1)->m_item); { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -23352,7 +24563,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 ; @@ -23371,7 +24582,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: @@ -23380,7 +24591,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 ; @@ -23399,7 +24610,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: @@ -23408,7 +24619,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 ; @@ -23427,7 +24638,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: @@ -23436,7 +24647,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 ; @@ -23456,7 +24667,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; @@ -23466,7 +24677,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 ; @@ -23501,7 +24712,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 ; @@ -23536,7 +24747,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 ; @@ -23555,7 +24766,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: @@ -23564,7 +24775,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 ; @@ -23583,7 +24794,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: @@ -23592,7 +24803,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 ; @@ -23611,7 +24822,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: @@ -23620,7 +24831,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 ; @@ -23649,7 +24860,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 ; @@ -23668,7 +24879,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: @@ -23677,7 +24888,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 ; @@ -23696,7 +24907,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: @@ -23705,7 +24916,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 ; @@ -23733,7 +24944,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 ; @@ -23746,7 +24957,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; } { @@ -23771,7 +24982,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 ; @@ -23803,7 +25014,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; } } @@ -23821,7 +25032,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; } } @@ -23866,7 +25077,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 @@ -23889,7 +25100,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 ; @@ -23925,7 +25136,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; } } @@ -23943,7 +25154,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; } } @@ -23989,7 +25200,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 ; @@ -24020,7 +25231,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; @@ -24055,7 +25266,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; @@ -24090,7 +25301,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; @@ -24104,7 +25315,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; } { @@ -24115,7 +25326,7 @@ static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -24124,7 +25335,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 ; @@ -24140,7 +25351,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; } { @@ -24168,7 +25379,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; @@ -24182,7 +25393,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; } { @@ -24193,7 +25404,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: @@ -24202,7 +25413,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 ; @@ -24218,11 +25429,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; } { @@ -24242,7 +25453,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 ; @@ -24261,7 +25472,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: @@ -24270,7 +25481,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 ; @@ -24290,7 +25501,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; @@ -24300,7 +25511,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 ; @@ -24316,12 +25527,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; } } @@ -24333,7 +25544,7 @@ static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -24342,7 +25553,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; @@ -24380,7 +25591,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 ; @@ -24401,11 +25612,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; } { @@ -24415,7 +25626,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; } } @@ -24427,7 +25638,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) @@ -24444,7 +25655,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 ; @@ -24460,11 +25671,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; } { @@ -24475,7 +25686,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: @@ -24484,7 +25695,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 ; @@ -24502,15 +25713,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; } { @@ -24530,7 +25741,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 ; @@ -24548,16 +25759,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; } } @@ -24578,7 +25789,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; @@ -24592,7 +25803,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; } { @@ -24616,7 +25827,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 ; @@ -24632,7 +25843,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; } { @@ -24663,7 +25874,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; @@ -24677,7 +25888,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; } { @@ -24688,7 +25899,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: @@ -24697,7 +25908,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 ; @@ -24713,11 +25924,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; } { @@ -24737,7 +25948,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; @@ -24751,7 +25962,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; } { @@ -24763,7 +25974,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; @@ -24773,7 +25984,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 ; @@ -24789,12 +26000,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; } } @@ -24807,7 +26018,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; @@ -24817,7 +26028,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 ; @@ -24834,7 +26045,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; } { @@ -24858,7 +26069,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 ; @@ -24877,7 +26088,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: @@ -24886,7 +26097,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 ; @@ -24905,7 +26116,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: @@ -24914,7 +26125,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 ; @@ -24934,7 +26145,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; @@ -24944,7 +26155,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 ; @@ -24959,12 +26170,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; } } @@ -24983,7 +26194,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 ; @@ -25002,7 +26213,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: @@ -25011,7 +26222,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 ; @@ -25031,7 +26242,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; @@ -25041,7 +26252,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 ; @@ -25073,7 +26284,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 ; @@ -25092,7 +26303,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: @@ -25101,7 +26312,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 ; @@ -25116,12 +26327,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; } } @@ -25140,7 +26351,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 ; @@ -25153,7 +26364,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; } { @@ -25171,7 +26382,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 ; @@ -25189,18 +26400,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; } } @@ -25212,7 +26423,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: @@ -25221,7 +26432,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; @@ -25235,7 +26446,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; } { @@ -25246,7 +26457,7 @@ static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -25255,7 +26466,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 ; @@ -25272,7 +26483,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; } { @@ -25290,7 +26501,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 ; @@ -25307,7 +26518,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; } { @@ -25325,7 +26536,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 ; @@ -25353,7 +26564,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 ; @@ -25381,7 +26592,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 ; @@ -25394,7 +26605,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; } { @@ -25412,7 +26623,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 ; @@ -25427,11 +26638,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; } { @@ -25449,7 +26660,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; @@ -25464,7 +26675,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; } } @@ -25485,7 +26696,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; @@ -25499,7 +26710,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; } { @@ -25519,7 +26730,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 ; @@ -25547,7 +26758,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; @@ -25561,7 +26772,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; } { @@ -25581,7 +26792,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 ; @@ -25609,7 +26820,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[] = { @@ -25634,7 +26845,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 ; @@ -25647,7 +26858,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; } { @@ -25665,7 +26876,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; @@ -25679,7 +26890,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; } { @@ -25699,7 +26910,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 ; @@ -25718,7 +26929,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; } { @@ -25728,7 +26939,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; } } @@ -25740,7 +26951,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) @@ -25757,7 +26968,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 ; @@ -25773,11 +26984,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; } { @@ -25788,7 +26999,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: @@ -25797,7 +27008,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 ; @@ -25816,7 +27027,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; } { @@ -25824,7 +27035,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; } { @@ -25835,7 +27046,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: @@ -25844,7 +27055,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 ; @@ -25874,7 +27085,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))); @@ -25885,7 +27096,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; @@ -25914,7 +27125,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: @@ -25923,24 +27134,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; } { @@ -25948,15 +27161,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) @@ -25973,7 +27192,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 ; @@ -25989,11 +27208,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; } { @@ -26004,7 +27223,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: @@ -26013,7 +27232,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 ; @@ -26032,7 +27251,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; } { @@ -26041,7 +27260,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; } { @@ -26052,7 +27271,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) @@ -26069,7 +27288,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 ; @@ -26085,7 +27304,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; } { @@ -26104,7 +27323,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: @@ -26113,7 +27332,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 ; @@ -26134,7 +27353,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; } { @@ -26144,13 +27363,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; } } @@ -26162,7 +27381,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) @@ -26179,7 +27398,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 ; @@ -26192,7 +27411,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; } { @@ -26210,7 +27429,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 ; @@ -26226,11 +27445,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; } { @@ -26250,7 +27469,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 ; @@ -26266,7 +27485,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; } { @@ -26288,7 +27507,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; @@ -26302,7 +27521,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; } { @@ -26314,7 +27533,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; @@ -26324,7 +27543,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 ; @@ -26340,7 +27559,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; } { @@ -26362,7 +27581,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; @@ -26376,7 +27595,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; } { @@ -26388,7 +27607,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; @@ -26397,8 +27616,85 @@ static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar } +static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; + long arg2 ; + wxFont *arg3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "item",(char *) "f", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; + } + { + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + if (arg3 == NULL) { + SWIG_null_ref("wxFont"); + } + if (SWIG_arg_fail(3)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetItemFont(arg2,(wxFont const &)*arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; + long arg2 ; + wxFont result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "item", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxFont * resultptr; + resultptr = new wxFont(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); + } + return resultobj; + fail: + return NULL; +} + + 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; @@ -26429,7 +27725,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 ; @@ -26457,7 +27753,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 ; @@ -26468,21 +27764,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; @@ -26499,7 +27795,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 ; @@ -26531,7 +27827,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; } } @@ -26549,7 +27845,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; } } @@ -26594,7 +27890,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 @@ -26617,7 +27913,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 ; @@ -26653,7 +27949,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; } } @@ -26671,7 +27967,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; } } @@ -26717,7 +28013,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 ; @@ -26732,12 +28028,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; } } @@ -26756,7 +28052,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 ; @@ -26769,7 +28065,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; } { @@ -26787,7 +28083,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 ; @@ -26806,7 +28102,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: @@ -26815,7 +28111,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; @@ -26829,7 +28125,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; } { @@ -26840,7 +28136,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: @@ -26849,7 +28145,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 ; @@ -26868,7 +28164,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: @@ -26877,7 +28173,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; @@ -26891,7 +28187,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; } { @@ -26911,7 +28207,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 ; @@ -26926,11 +28222,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; } { @@ -26948,7 +28244,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 ; @@ -26961,7 +28257,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; } { @@ -26992,7 +28288,7 @@ static int _wrap_TreeCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TreeCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -27006,7 +28302,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 @@ -27028,7 +28324,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[] = { @@ -27053,7 +28349,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 ; @@ -27081,7 +28377,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; @@ -27113,7 +28409,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; @@ -27145,7 +28441,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 ; @@ -27158,7 +28454,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; } } @@ -27172,7 +28468,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 ; @@ -27200,7 +28496,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 ; @@ -27226,8 +28522,33 @@ static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kw } +static PyObject *_wrap_delete_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemData",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, 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_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -27253,7 +28574,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 ; @@ -27281,7 +28602,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 ; @@ -27310,7 +28631,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 ; @@ -27345,7 +28666,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[] = { @@ -27377,7 +28698,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; @@ -27390,13 +28711,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; } } @@ -27415,7 +28736,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 ; @@ -27435,7 +28756,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; @@ -27445,7 +28766,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 ; @@ -27480,7 +28801,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 ; @@ -27500,7 +28821,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; @@ -27510,7 +28831,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 ; @@ -27545,7 +28866,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 ; @@ -27565,7 +28886,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; @@ -27575,7 +28896,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 ; @@ -27607,7 +28928,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 ; @@ -27636,7 +28957,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 ; @@ -27655,7 +28976,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: @@ -27664,7 +28985,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 ; @@ -27699,7 +29020,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 ; @@ -27734,7 +29055,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 ; @@ -27775,7 +29096,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 ; @@ -27803,7 +29124,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 ; @@ -27816,7 +29137,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; } { @@ -27834,7 +29155,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 ; @@ -27875,7 +29196,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 ; @@ -27914,7 +29235,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 ; @@ -27946,7 +29267,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; } } @@ -27964,7 +29285,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; } } @@ -28009,7 +29330,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 @@ -28032,7 +29353,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 ; @@ -28068,7 +29389,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; } } @@ -28086,7 +29407,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; } } @@ -28132,7 +29453,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 ; @@ -28163,7 +29484,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 ; @@ -28182,7 +29503,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: @@ -28191,7 +29512,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 ; @@ -28210,7 +29531,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: @@ -28219,7 +29540,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 ; @@ -28232,7 +29553,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; } { @@ -28250,7 +29571,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 ; @@ -28269,7 +29590,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: @@ -28278,7 +29599,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 ; @@ -28291,7 +29612,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; } { @@ -28309,7 +29630,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 ; @@ -28328,7 +29649,7 @@ static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -28337,7 +29658,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 ; @@ -28356,7 +29677,7 @@ static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -28365,7 +29686,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 ; @@ -28394,7 +29715,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 ; @@ -28423,7 +29744,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 ; @@ -28452,7 +29773,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 ; @@ -28481,7 +29802,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; @@ -28523,7 +29844,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 ; @@ -28548,19 +29869,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: @@ -28569,7 +29890,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; @@ -28605,7 +29926,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; @@ -28641,7 +29962,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; @@ -28671,7 +29992,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; @@ -28681,7 +30002,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; @@ -28711,7 +30032,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; @@ -28721,7 +30042,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; @@ -28751,7 +30072,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; @@ -28761,7 +30082,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 ; @@ -28812,7 +30133,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 ; @@ -28837,18 +30158,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; @@ -28861,7 +30182,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 ; @@ -28883,7 +30204,7 @@ static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject } if (SWIG_arg_fail(2)) SWIG_fail; } - SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(3)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -28900,7 +30221,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 ; @@ -28938,7 +30259,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 ; @@ -28962,7 +30283,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; } } @@ -28981,7 +30302,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 ; @@ -29005,7 +30326,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; } } @@ -29024,7 +30345,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 ; @@ -29048,7 +30369,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; } } @@ -29067,7 +30388,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 ; @@ -29109,7 +30430,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 ; @@ -29151,7 +30472,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 ; @@ -29196,7 +30517,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; @@ -29234,7 +30555,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; @@ -29272,7 +30593,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; @@ -29310,7 +30631,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; @@ -29348,7 +30669,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; @@ -29386,7 +30707,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 ; @@ -29411,7 +30732,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; } } @@ -29423,7 +30744,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: @@ -29432,7 +30753,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 ; @@ -29452,7 +30773,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; @@ -29462,7 +30783,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 ; @@ -29482,7 +30803,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; @@ -29492,7 +30813,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 ; @@ -29518,7 +30839,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; @@ -29548,7 +30869,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; @@ -29558,7 +30879,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; @@ -29594,7 +30915,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 ; @@ -29618,7 +30939,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; } } @@ -29637,7 +30958,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; @@ -29667,7 +30988,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; @@ -29677,7 +30998,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; @@ -29707,7 +31028,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; @@ -29717,7 +31038,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; @@ -29747,7 +31068,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; @@ -29757,7 +31078,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 ; @@ -29777,7 +31098,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; @@ -29787,7 +31108,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; @@ -29817,7 +31138,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; @@ -29827,7 +31148,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; @@ -29857,7 +31178,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; @@ -29867,7 +31188,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 ; @@ -29894,18 +31215,18 @@ 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; } } if (obj4) { - SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -29917,7 +31238,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); } { @@ -29935,7 +31256,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 ; @@ -29972,18 +31293,18 @@ 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; } } if (obj5) { - SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -29995,7 +31316,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); } { @@ -30013,7 +31334,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 ; @@ -30060,18 +31381,18 @@ 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; } } if (obj6) { - SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -30083,7 +31404,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); } { @@ -30101,7 +31422,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 ; @@ -30134,7 +31455,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; } { @@ -30144,18 +31465,18 @@ 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; } } if (obj6) { - SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -30167,7 +31488,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); } { @@ -30185,7 +31506,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 ; @@ -30222,18 +31543,18 @@ 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; } } if (obj5) { - SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -30245,7 +31566,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); } { @@ -30263,7 +31584,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 ; @@ -30298,7 +31619,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 ; @@ -30333,7 +31654,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[] = { @@ -30358,7 +31679,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 ; @@ -30393,7 +31714,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 ; @@ -30428,7 +31749,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 ; @@ -30463,7 +31784,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 ; @@ -30498,7 +31819,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[] = { @@ -30523,7 +31844,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 ; @@ -30558,7 +31879,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[] = { @@ -30583,7 +31904,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 ; @@ -30607,7 +31928,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; } } @@ -30626,7 +31947,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 ; @@ -30661,7 +31982,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 ; @@ -30696,7 +32017,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 ; @@ -30731,7 +32052,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 ; @@ -30766,7 +32087,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 ; @@ -30794,7 +32115,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 ; @@ -30829,7 +32150,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 ; @@ -30860,7 +32181,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) ? @@ -30872,7 +32193,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 ; @@ -30897,7 +32218,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; } } @@ -30916,7 +32237,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 ; @@ -30927,21 +32248,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; @@ -30964,7 +32285,7 @@ static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) { static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -30978,7 +32299,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 ; @@ -31017,7 +32338,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; } } @@ -31042,7 +32363,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; } } @@ -31055,7 +32376,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; } } @@ -31106,7 +32427,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 @@ -31129,7 +32450,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 ; @@ -31172,7 +32493,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; } } @@ -31197,7 +32518,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; } } @@ -31210,7 +32531,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; } } @@ -31262,7 +32583,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; @@ -31306,7 +32627,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 ; @@ -31338,7 +32659,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 ; @@ -31379,7 +32700,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 ; @@ -31411,7 +32732,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 ; @@ -31443,7 +32764,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 ; @@ -31484,7 +32805,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 ; @@ -31497,7 +32818,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; } { @@ -31515,7 +32836,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 ; @@ -31543,7 +32864,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 ; @@ -31575,7 +32896,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 ; @@ -31616,7 +32937,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 ; @@ -31635,7 +32956,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: @@ -31644,7 +32965,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 ; @@ -31657,7 +32978,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; } { @@ -31675,7 +32996,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 ; @@ -31695,7 +33016,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; @@ -31705,7 +33026,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 ; @@ -31733,7 +33054,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 ; @@ -31759,7 +33080,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 ; @@ -31803,7 +33124,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) ? @@ -31823,7 +33144,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[] = { @@ -31848,7 +33169,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[] = { @@ -31880,7 +33201,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 ; @@ -31905,7 +33226,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; } } @@ -31923,7 +33244,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; } } @@ -31943,7 +33264,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 @@ -31966,7 +33287,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 ; @@ -31995,7 +33316,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; } } @@ -32013,7 +33334,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; } } @@ -32034,7 +33355,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 ; @@ -32055,7 +33376,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; } { @@ -32088,7 +33409,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 ; @@ -32120,7 +33441,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; } } @@ -32138,7 +33459,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; } } @@ -32183,7 +33504,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 @@ -32206,7 +33527,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 ; @@ -32237,7 +33558,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 ; @@ -32269,7 +33590,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; @@ -32300,8 +33621,8 @@ static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, P } -static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32316,28 +33637,28 @@ static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, P (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; 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; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); + (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32349,8 +33670,8 @@ static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, P } -static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32367,34 +33688,34 @@ static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; 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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); + (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32406,8 +33727,8 @@ static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32418,20 +33739,20 @@ static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args (char *) "self",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; 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; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_DoSetClientSize(arg2,arg3); + (arg1)->DoSetClientSize(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32443,8 +33764,8 @@ static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args } -static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32455,20 +33776,20 @@ static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *arg (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; 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; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_DoSetVirtualSize(arg2,arg3); + (arg1)->DoSetVirtualSize(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32480,8 +33801,8 @@ static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *arg } -static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32496,12 +33817,12 @@ static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyOb arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3); + ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32517,8 +33838,8 @@ static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32533,12 +33854,12 @@ static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetClientSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3); + ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32554,8 +33875,8 @@ static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args } -static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32570,12 +33891,12 @@ static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3); + ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32591,8 +33912,8 @@ static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, } -static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -32600,19 +33921,19 @@ static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *arg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetVirtualSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize(); + result = ((wxPyControl const *)arg1)->DoGetVirtualSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -32621,8 +33942,8 @@ static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *arg } -static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -32630,19 +33951,19 @@ static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetBestSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxPyControl const *)arg1)->base_DoGetBestSize(); + result = ((wxPyControl const *)arg1)->DoGetBestSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -32651,20 +33972,20 @@ static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, } -static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_InitDialog",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_InitDialog(); + (arg1)->InitDialog(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32676,8 +33997,8 @@ static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32685,12 +34006,12 @@ static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_TransferDataToWindow(); + result = (bool)(arg1)->TransferDataToWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32704,8 +34025,8 @@ static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject } -static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32713,12 +34034,12 @@ static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_TransferDataFromWindow(); + result = (bool)(arg1)->TransferDataFromWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32732,8 +34053,8 @@ static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObjec } -static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32741,12 +34062,12 @@ static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_Validate(); + result = (bool)(arg1)->Validate(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32760,8 +34081,152 @@ static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyControl *arg1 = (wxPyControl *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocus",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxPyControl const *)arg1)->AcceptsFocus(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyControl *arg1 = (wxPyControl *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyControl *arg1 = (wxPyControl *) 0 ; + wxSize result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxPyControl const *)arg1)->GetMaxSize(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxSize * resultptr; + resultptr = new wxSize(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyControl *arg1 = (wxPyControl *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "child", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, 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)->AddChild(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyControl *arg1 = (wxPyControl *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "child", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, 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)->RemoveChild(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32769,12 +34234,12 @@ static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus(); + result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32788,27 +34253,29 @@ static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, P } -static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; - bool result; + wxVisualAttributes result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard(); + result = (arg1)->GetDefaultAttributes(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + wxVisualAttributes * resultptr; + resultptr = new wxVisualAttributes(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; fail: @@ -32816,83 +34283,20 @@ static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObj } -static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; - wxSize result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxPyControl const *)arg1)->base_GetMaxSize(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPyControl *arg1 = (wxPyControl *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "child", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, 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)->base_AddChild(arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPyControl *arg1 = (wxPyControl *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "child", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, 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)->base_RemoveChild(arg2); + (arg1)->OnInternalIdle(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32904,64 +34308,6 @@ static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, Py } -static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPyControl *arg1 = (wxPyControl *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPyControl *arg1 = (wxPyControl *) 0 ; - wxVisualAttributes result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->base_GetDefaultAttributes(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); - } - return resultobj; - fail: - return NULL; -} - - static PyObject * PyControl_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -32970,7 +34316,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 ; @@ -32987,13 +34333,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; } } @@ -33018,7 +34364,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 ; @@ -33038,7 +34384,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; @@ -33048,7 +34394,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 ; @@ -33080,7 +34426,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 ; @@ -33115,7 +34461,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 ; @@ -33156,7 +34502,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 ; @@ -33191,7 +34537,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 ; @@ -33239,7 +34585,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; @@ -33256,7 +34602,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; } } @@ -33276,7 +34622,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[] = { @@ -33301,7 +34647,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; @@ -33335,7 +34681,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 ; @@ -33370,7 +34716,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 ; @@ -33395,7 +34741,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; } } @@ -33413,7 +34759,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; } } @@ -33440,7 +34786,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 ; @@ -33449,7 +34795,7 @@ static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kw }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -33458,7 +34804,7 @@ static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kw wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 1); return resultobj; fail: return NULL; @@ -33466,7 +34812,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 @@ -33488,7 +34834,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; @@ -33524,7 +34870,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; @@ -33556,7 +34902,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 ; @@ -33601,7 +34947,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 ; @@ -33617,7 +34963,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; } { @@ -33648,7 +34994,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 ; @@ -33677,7 +35023,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[] = { @@ -33709,7 +35055,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 @@ -33738,7 +35084,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 ; @@ -33784,7 +35130,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 ; @@ -33830,7 +35176,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 ; @@ -33882,7 +35228,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; @@ -33925,7 +35271,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; @@ -33945,7 +35291,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; } { @@ -33964,7 +35310,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[] = { @@ -33989,7 +35335,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 ; @@ -34018,7 +35364,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 ; @@ -34046,7 +35392,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; } } @@ -34071,7 +35417,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 ; @@ -34114,7 +35460,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 ; @@ -34142,7 +35488,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; @@ -34177,7 +35523,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 ; @@ -34205,7 +35551,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 ; @@ -34233,7 +35579,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; @@ -34260,7 +35606,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; @@ -34270,7 +35616,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 ; @@ -34315,7 +35661,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 ; @@ -34377,7 +35723,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 ; @@ -34407,11 +35753,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; } { @@ -34444,7 +35790,7 @@ static int _wrap_DatePickerCtrlNameStr_set(PyObject *) { static PyObject *_wrap_DatePickerCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -34458,7 +35804,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 ; @@ -34493,7 +35839,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; } } @@ -34521,7 +35867,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; } } @@ -34566,7 +35912,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 @@ -34589,7 +35935,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 ; @@ -34628,7 +35974,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; } } @@ -34656,7 +36002,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; } } @@ -34702,7 +36048,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 ; @@ -34737,7 +36083,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 ; @@ -34757,7 +36103,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; @@ -34767,7 +36113,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 ; @@ -34812,7 +36158,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 ; @@ -34832,7 +36178,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; @@ -34842,7 +36188,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 ; @@ -34862,7 +36208,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; @@ -34916,6 +36262,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL}, { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -34933,6 +36280,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -34978,6 +36326,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL}, { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35225,6 +36574,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_GetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BookCtrlBase_IsVertical", (PyCFunction) _wrap_BookCtrlBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35256,7 +36610,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL}, { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35264,22 +36617,35 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL}, { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreTreebook", (PyCFunction) _wrap_new_PreTreebook, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_InsertPage", (PyCFunction) _wrap_Treebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_AddPage", (PyCFunction) _wrap_Treebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_DeletePage", (PyCFunction) _wrap_Treebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_GetTreeCtrl", (PyCFunction) _wrap_Treebook_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL}, + { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreToolbook", (PyCFunction) _wrap_new_PreToolbook, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Toolbook_GetToolBar", (PyCFunction) _wrap_Toolbook_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Toolbook_Realize", (PyCFunction) _wrap_Toolbook_Realize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL}, { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35362,6 +36728,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL}, { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_ListItemAttr", (PyCFunction) _wrap_delete_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35371,6 +36738,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL}, { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35519,6 +36887,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35544,6 +36914,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL}, { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_TreeItemData", (PyCFunction) _wrap_delete_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35675,26 +37046,27 @@ static PyMethodDef SwigMethods[] = { { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoGetSize", (PyCFunction) _wrap_PyControl_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoGetClientSize", (PyCFunction) _wrap_PyControl_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoGetPosition", (PyCFunction) _wrap_PyControl_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoGetBestSize", (PyCFunction) _wrap_PyControl_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_InitDialog", (PyCFunction) _wrap_PyControl_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_TransferDataToWindow", (PyCFunction) _wrap_PyControl_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_Validate", (PyCFunction) _wrap_PyControl_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_AcceptsFocus", (PyCFunction) _wrap_PyControl_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_GetMaxSize", (PyCFunction) _wrap_PyControl_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_AddChild", (PyCFunction) _wrap_PyControl_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_RemoveChild", (PyCFunction) _wrap_PyControl_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_ShouldInheritColours", (PyCFunction) _wrap_PyControl_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_OnInternalIdle", (PyCFunction) _wrap_PyControl_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL}, { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35755,33 +37127,6 @@ static PyMethodDef SwigMethods[] = { /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ -static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) ((wxBoxSizer *) x)); -} -static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); -} -static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); -} -static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); -} -static void *_p_wxGridSizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) ((wxGridSizer *) x)); -} -static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); -} -static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) ((wxNotebookSizer *) x)); -} -static void *_p_wxPySizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) ((wxPySizer *) x)); -} -static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) { - return (void *)((wxSizer *) ((wxBookCtrlSizer *) x)); -} static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); } @@ -35833,6 +37178,12 @@ static void *_p_wxListbookEventTo_p_wxEvent(void *x) { static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); } +static void *_p_wxTreebookEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); +} +static void *_p_wxToolbookEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); +} static void *_p_wxHelpEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x)); } @@ -35950,8 +37301,8 @@ static void *_p_wxToggleButtonTo_p_wxControl(void *x) { static void *_p_wxRadioButtonTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxRadioButton *) x)); } -static void *_p_wxPyControlTo_p_wxControl(void *x) { - return (void *)((wxControl *) ((wxPyControl *) x)); +static void *_p_wxToolbookTo_p_wxControl(void *x) { + return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x)); } static void *_p_wxToolBarBaseTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxToolBarBase *) x)); @@ -35965,6 +37316,9 @@ static void *_p_wxPyListCtrlTo_p_wxControl(void *x) { static void *_p_wxComboBoxTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxComboBox *) x)); } +static void *_p_wxPyControlTo_p_wxControl(void *x) { + return (void *)((wxControl *) ((wxPyControl *) x)); +} static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxGenericDirCtrl *) x)); } @@ -36025,8 +37379,8 @@ static void *_p_wxStaticBoxTo_p_wxControl(void *x) { static void *_p_wxSliderTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxSlider *) x)); } -static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) { - return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); +static void *_p_wxTreebookTo_p_wxControl(void *x) { + return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x)); } static void *_p_wxSpinButtonTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxSpinButton *) x)); @@ -36037,6 +37391,9 @@ static void *_p_wxButtonTo_p_wxControl(void *x) { static void *_p_wxBitmapButtonTo_p_wxControl(void *x) { return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x)); } +static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) { + return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); +} static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxDatePickerCtrl *) x)); } @@ -36070,12 +37427,24 @@ static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) { static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) { return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); } +static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) { + return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); +} +static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) { + return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); +} static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) { return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x)); } static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) { return (void *)((wxBookCtrlBase *) ((wxListbook *) x)); } +static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) { + return (void *)((wxBookCtrlBase *) ((wxToolbook *) x)); +} +static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) { + return (void *)((wxBookCtrlBase *) ((wxTreebook *) x)); +} static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) { return (void *)((wxBookCtrlBase *) ((wxNotebook *) x)); } @@ -36103,18 +37472,21 @@ static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) { static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x)); } +static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); +} static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxWindow *) x)); } static void *_p_wxControlTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); } -static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x)); -} static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x)); } +static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x)); +} static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); } @@ -36187,6 +37559,9 @@ static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) { static void *_p_wxSliderTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x)); } +static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); +} static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x)); } @@ -36223,6 +37598,9 @@ static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) { static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxLayoutConstraints *) x)); } +static void *_p_wxToolbookTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); +} static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); } @@ -36331,6 +37709,9 @@ static void *_p_wxFSFileTo_p_wxObject(void *x) { static void *_p_wxPySizerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); } +static void *_p_wxTreebookTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); +} static void *_p_wxListViewTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); } @@ -36400,9 +37781,6 @@ static void *_p_wxContextHelpTo_p_wxObject(void *x) { static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) 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)); } @@ -36430,9 +37808,15 @@ static void *_p_wxICOHandlerTo_p_wxObject(void *x) { static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); } +static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); +} static void *_p_wxImageHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImageHandler *) x)); } +static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); +} static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); } @@ -36484,9 +37868,6 @@ static void *_p_wxListItemTo_p_wxObject(void *x) { static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } -static void *_p_wxNotebookSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x)); -} static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); } @@ -36508,6 +37889,12 @@ static void *_p_wxListbookEventTo_p_wxObject(void *x) { static void *_p_wxChoicebookEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); } +static void *_p_wxTreebookEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); +} +static void *_p_wxToolbookEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); +} static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); } @@ -36589,9 +37976,6 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x)); -} static void *_p_wxMenuBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxMenuBar *) x)); } @@ -36607,21 +37991,24 @@ static void *_p_wxToggleButtonTo_p_wxWindow(void *x) { static void *_p_wxRadioButtonTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x)); } +static void *_p_wxToolbookTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); +} static void *_p_wxControlTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxControl *) x)); } static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x)); } -static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); -} static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x)); } static void *_p_wxComboBoxTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x)); } +static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); +} static void *_p_wxPyControlTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x)); } @@ -36685,6 +38072,9 @@ static void *_p_wxStaticBoxTo_p_wxWindow(void *x) { static void *_p_wxSliderTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x)); } +static void *_p_wxTreebookTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); +} static void *_p_wxSpinButtonTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x)); } @@ -36712,6 +38102,12 @@ static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) { static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) { return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); } +static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) { + return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); +} +static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) { + return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); +} static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); } @@ -36739,6 +38135,12 @@ static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) { static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); } +static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); +} +static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); +} static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); } @@ -36781,205 +38183,676 @@ 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_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_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 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_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 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_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_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_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_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_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_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_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxNotebookSizer", _p_wxNotebookSizerTo_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_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_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_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 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_wxSizer, -_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_wxNotebookSizer, -_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_wxBookCtrlSizer, -_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_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_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_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_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_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 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_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 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_wxToolbook, + &_swigt__p_wxToolbookEvent, + &_swigt__p_wxTreeCtrl, + &_swigt__p_wxTreeEvent, + &_swigt__p_wxTreeItemId, + &_swigt__p_wxTreebook, + &_swigt__p_wxTreebookEvent, + &_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_wxToolbook, _p_wxToolbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxBookCtrlBase, 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}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_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_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_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_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_wxToolbook, _p_wxToolbookTo_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_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_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_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_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_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_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_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_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_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_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_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_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_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_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_wxToolbook, _p_wxToolbookTo_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_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_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_wxTreebook, _p_wxTreebookTo_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_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_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_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_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_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_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_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_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 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_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_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 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_wxToolbook, _p_wxToolbookTo_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_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_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_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_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_wxToolbook, + _swigc__p_wxToolbookEvent, + _swigc__p_wxTreeCtrl, + _swigc__p_wxTreeEvent, + _swigc__p_wxTreeItemId, + _swigc__p_wxTreebook, + _swigc__p_wxTreebookEvent, + _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, }; @@ -36991,6 +38864,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 @@ -37008,7 +39092,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; @@ -37018,13 +39102,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; @@ -37037,7 +39121,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -37050,7 +39134,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) { @@ -37063,72 +39147,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; } @@ -37137,11 +39238,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); @@ -37178,7 +39279,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, @@ -37190,7 +39291,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]); @@ -37203,14 +39304,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; + } + } } } } @@ -37220,69 +39325,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 @@ -37291,100 +39333,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); @@ -37392,142 +39413,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)); @@ -37537,381 +39558,405 @@ 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,"BK_DEFAULT", SWIG_From_int(static_cast(wxBK_DEFAULT))); + } + { + PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast(wxBK_TOP))); + } + { + PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast(wxBK_BOTTOM))); + } + { + PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast(wxBK_LEFT))); + } + { + PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast(wxBK_RIGHT))); + } + { + PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast(wxBK_ALIGN_MASK))); + } + { + 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, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED)); + PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING)); + PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED)); + PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED)); + PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED)); + PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_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)); @@ -37933,117 +39978,115 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED)); - PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO)); - PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO)); // Map renamed classes back to their common name for OOR wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl"); 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)); @@ -38073,25 +40116,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)); @@ -38100,19 +40143,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))); } }