X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08d9e66e01282a8ca9f29ce27e60660621770b6b..bc50a2ae95f2ab36b16ceedc7902a9cbfb2f70ea:/wxPython/src/msw/_controls_wrap.cpp diff --git a/wxPython/src/msw/_controls_wrap.cpp b/wxPython/src/msw/_controls_wrap.cpp index a377b89c65..9d5cca1787 100644 --- a/wxPython/src/msw/_controls_wrap.cpp +++ b/wxPython/src/msw/_controls_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -26,15 +26,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +106,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -#else -# define SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +125,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +143,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +186,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +204,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +317,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +439,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +461,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +520,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +533,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +610,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +631,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +643,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +683,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +711,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +747,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +790,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +824,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +844,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +877,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +896,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +925,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +934,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +947,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +981,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1001,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1045,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1072,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,7 +1093,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); } - Py_DECREF(str); + Py_XDECREF(str); return; } } @@ -1088,7 +1144,7 @@ SWIG_Python_ArgFail(int argnum) if (PyErr_Occurred()) { /* add information about failing argument */ char mesg[256]; - sprintf(mesg, "argument number %d:", argnum); + PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); return SWIG_Python_AddErrMesg(mesg, 1); } else { return 0; @@ -1103,7 +1159,7 @@ SWIG_Python_ArgFail(int argnum) /* Convert a pointer value */ SWIGRUNTIME int SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; static PyObject *SWIG_this = 0; int newref = 0; @@ -1146,7 +1202,7 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) goto type_error; } } - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); if (newref) { Py_DECREF(obj); } @@ -1154,7 +1210,6 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) #endif type_check: - if (ty) { tc = SWIG_TypeCheck(c,ty); if (!tc) goto type_error; @@ -1162,7 +1217,6 @@ type_check: } else { *ptr = vptr; } - if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); } @@ -1177,7 +1231,7 @@ type_error: char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); c = doc ? strstr(doc, "swig_ptr: ") : 0; if (c) { - c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); + c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; if (!c) goto type_error; goto type_check; } @@ -1210,14 +1264,14 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) /* Convert a packed value value */ SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) c = PySwigPacked_UnpackData(obj, ptr, sz); #else if ((!obj) || (!PyString_Check(obj))) goto type_error; - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackDataName(c, ptr, sz, ty->name); #endif @@ -1244,6 +1298,12 @@ type_error: SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { PyObject *robj = 0; + if (!type) { + if (!PyErr_Occurred()) { + PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); + } + return robj; + } if (!ptr) { Py_INCREF(Py_None); return Py_None; @@ -1301,8 +1361,8 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif -SWIGRUNTIME swig_type_info ** -SWIG_Python_GetTypeListHandle() { +SWIGRUNTIME swig_module_info * +SWIG_Python_GetModule(void) { static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { @@ -1315,21 +1375,54 @@ SWIG_Python_GetTypeListHandle() { PyErr_Clear(); type_pointer = (void *)0; } - } #endif - return (swig_type_info **) type_pointer; + } + return (swig_module_info *) type_pointer; } -/* - Search for a swig_type_info structure - */ -SWIGRUNTIMEINLINE swig_type_info * -SWIG_Python_GetTypeList() { - swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); - return tlh ? *tlh : (swig_type_info*)0; +#if PY_MAJOR_VERSION < 2 +/* PyModule_AddObject function was introduced in Python 2.0. The following function +is copied out of Python/modsupport.c in python version 2.3.4 */ +SWIGINTERN int +PyModule_AddObject(PyObject *m, char *name, PyObject *o) +{ + PyObject *dict; + if (!PyModule_Check(m)) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); + return -1; + } + if (!o) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); + return -1; + } + + dict = PyModule_GetDict(m); + if (dict == NULL) { + /* Internal error -- modules must have a dict! */ + PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", + PyModule_GetName(m)); + return -1; + } + if (PyDict_SetItemString(dict, name, o)) + return -1; + Py_DECREF(o); + return 0; } +#endif -#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList +SWIGRUNTIME void +SWIG_Python_SetModule(swig_module_info *swig_module) { + static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ + + PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, + swig_empty_runtime_method_table); + PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); + if (pointer && module) { + PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); + } +} #ifdef __cplusplus } @@ -1338,105 +1431,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) -------- */ @@ -1459,7 +1623,7 @@ static swig_type_info *swig_types[99]; static const wxString wxPyButtonNameStr(wxButtonNameStr); - /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ + /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ #define SWIG_From_int PyInt_FromLong /*@@*/ @@ -1498,7 +1662,7 @@ SWIG_AsVal_long(PyObject* obj, long* val) return 1; } else { - SWIG_type_error("number", obj); + SWIG_Python_TypeError("number", obj); } return 0; } @@ -1512,7 +1676,7 @@ SWIGINTERN int long v; if (SWIG_AsVal_long(obj, &v)) { if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { - if (val) *val = (int)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1526,7 +1690,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1534,7 +1698,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1548,7 +1712,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1562,14 +1726,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); @@ -1602,7 +1766,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1616,7 +1780,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1625,36 +1789,35 @@ SWIG_Check_bool(PyObject* obj) static const wxString wxPyChoiceNameStr(wxChoiceNameStr); static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr); - /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ + /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ - 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); @@ -1674,14 +1837,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) @@ -1707,7 +1870,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; @@ -1715,7 +1878,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; @@ -1729,7 +1892,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); @@ -1773,12 +1936,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 +/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ +#define SWIG_From_unsigned_SS_int SWIG_From_long +/*@@*/ +#else +/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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); @@ -1847,7 +2087,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, @@ -1872,6 +2112,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; }; @@ -1881,7 +2122,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; @@ -1939,7 +2181,7 @@ static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ r static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; } // C++ version of Python aware wxTreeCtrl class wxPyTreeCtrl : public wxTreeCtrl { - DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl); + DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl) public: wxPyTreeCtrl() : wxTreeCtrl() {} wxPyTreeCtrl(wxWindow *parent, wxWindowID id, @@ -1983,83 +2225,6 @@ public: IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl); - -#if UINT_MAX < LONG_MAX -/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ -#define SWIG_From_unsigned_SS_int SWIG_From_long -/*@@*/ -#else -/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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) { @@ -2139,7 +2304,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; @@ -2164,6 +2329,16 @@ public: void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); } + bool DoEraseBackground(wxDC* dc) { +#ifdef __WXMSW__ + return wxWindow::DoEraseBackground(dc->GetHDC()); +#else + dc->SetBackground(wxBrush(GetBackgroundColour())); + dc->Clear(); + return true; +#endif + } + DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); DEC_PYCALLBACK_VOID_INT5(DoSetSize); DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); @@ -2189,11 +2364,12 @@ public: DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); - DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); DEC_PYCALLBACK_BOOL_(HasTransparentBackground); + DEC_PYCALLBACK_VOID_(OnInternalIdle); + PYPRIVATE; }; @@ -2224,11 +2400,12 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild); IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild); IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours); -IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground); 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; } @@ -2256,7 +2433,7 @@ static int _wrap_ButtonNameStr_set(PyObject *) { static PyObject *_wrap_ButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2270,7 +2447,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 ; @@ -2306,7 +2483,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; } } @@ -2331,7 +2508,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; } } @@ -2384,7 +2561,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 @@ -2407,7 +2584,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 ; @@ -2447,7 +2624,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; } } @@ -2472,7 +2649,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; } } @@ -2526,7 +2703,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[] = { @@ -2551,7 +2728,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 @@ -2567,7 +2744,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; @@ -2577,7 +2754,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 ; @@ -2588,21 +2765,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; @@ -2619,7 +2796,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 ; @@ -2654,7 +2831,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; } } @@ -2682,7 +2859,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; } } @@ -2727,7 +2904,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 @@ -2750,7 +2927,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 ; @@ -2789,7 +2966,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; } } @@ -2817,7 +2994,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; } } @@ -2863,7 +3040,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 ; @@ -2883,7 +3060,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; @@ -2893,7 +3070,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 ; @@ -2913,7 +3090,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; @@ -2923,7 +3100,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 ; @@ -2943,7 +3120,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; @@ -2953,7 +3130,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 ; @@ -2973,7 +3150,37 @@ 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; + fail: + return NULL; +} + + +static PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; + wxBitmap result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapHover",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (arg1)->GetBitmapHover(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxBitmap * resultptr; + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2983,7 +3190,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 ; @@ -3018,7 +3225,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 ; @@ -3053,7 +3260,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 ; @@ -3088,7 +3295,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 ; @@ -3122,8 +3329,43 @@ static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, P } +static PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; + wxBitmap *arg2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "hover", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxBitmap"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetBitmapHover((wxBitmap const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; int arg2 ; int arg3 ; @@ -3138,11 +3380,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; } { @@ -3160,7 +3402,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 ; @@ -3179,7 +3421,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: @@ -3188,7 +3430,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 ; @@ -3207,7 +3449,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: @@ -3229,7 +3471,7 @@ static int _wrap_CheckBoxNameStr_set(PyObject *) { static PyObject *_wrap_CheckBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3243,7 +3485,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 ; @@ -3279,7 +3521,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; } } @@ -3304,7 +3546,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; } } @@ -3357,7 +3599,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 @@ -3380,7 +3622,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 ; @@ -3420,7 +3662,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; } } @@ -3445,7 +3687,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; } } @@ -3499,7 +3741,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 ; @@ -3527,7 +3769,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 ; @@ -3555,7 +3797,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 ; @@ -3568,7 +3810,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; } { @@ -3586,7 +3828,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 ; @@ -3612,7 +3854,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 ; @@ -3625,12 +3867,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; @@ -3643,7 +3885,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 ; @@ -3671,7 +3913,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 ; @@ -3699,7 +3941,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 ; @@ -3710,21 +3952,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; @@ -3747,7 +3989,7 @@ static int _wrap_ChoiceNameStr_set(PyObject *) { static PyObject *_wrap_ChoiceNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3761,7 +4003,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 ; @@ -3797,7 +4039,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; } } @@ -3824,21 +4066,17 @@ static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) int i, len=PySequence_Length(obj4); for (i=0; iAdd(Py2wxString(str)); + arg5->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -3889,7 +4127,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 @@ -3912,7 +4150,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 ; @@ -3952,7 +4190,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; } } @@ -3979,223 +4217,243 @@ static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwarg int i, len=PySequence_Length(obj5); for (i=0; iAdd(*s); + delete s; + Py_DECREF(item); + } + } + } + if (obj6) { + { + arg7 = static_cast(SWIG_As_long(obj6)); + if (SWIG_arg_fail(7)) SWIG_fail; + } + } + if (obj7) { + { + SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(8)) SWIG_fail; + if (arg8 == NULL) { + SWIG_null_ref("wxValidator"); + } + if (SWIG_arg_fail(8)) SWIG_fail; + } + } + if (obj8) { + { + arg9 = wxString_in_helper(obj8); + if (arg9 == NULL) SWIG_fail; + temp9 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp6) delete arg6; + } + { + if (temp9) + delete arg9; + } + return resultobj; + fail: + { + if (temp6) delete arg6; + } + { + if (temp9) + delete arg9; + } + return NULL; +} + + +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 = NULL; + wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; + wxVisualAttributes result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "variant", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; + if (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(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxVisualAttributes * resultptr; + resultptr = new wxVisualAttributes(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * Choice_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static int _wrap_ComboBoxNameStr_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only."); + return 1; +} + + +static PyObject *_wrap_ComboBoxNameStr_get(void) { + PyObject *pyobj = NULL; + + { #if wxUSE_UNICODE - PyObject* str = PyObject_Unicode(item); + pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len()); #else - PyObject* str = PyObject_Str(item); + pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len()); #endif + } + return pyobj; +} + + +static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) -1 ; + wxString const &arg3_defvalue = wxPyEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ; + wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ; + long arg7 = (long) 0 ; + wxValidator const &arg8_defvalue = wxDefaultValidator ; + wxValidator *arg8 = (wxValidator *) &arg8_defvalue ; + wxString const &arg9_defvalue = wxPyComboBoxNameStr ; + wxString *arg9 = (wxString *) &arg9_defvalue ; + wxComboBox *result; + bool temp3 = false ; + wxPoint temp4 ; + wxSize temp5 ; + bool temp6 = false ; + bool temp9 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + PyObject * obj7 = 0 ; + PyObject * obj8 = 0 ; + char *kwnames[] = { + (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + if (obj2) { + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + { + if (! PySequence_Check(obj5)) { + PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); + SWIG_fail; + } + arg6 = new wxArrayString; + temp6 = true; + int i, len=PySequence_Length(obj5); + for (i=0; iAdd(Py2wxString(str)); + arg6->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); - if (SWIG_arg_fail(7)) SWIG_fail; - } - } - if (obj7) { - { - SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(8)) SWIG_fail; - if (arg8 == NULL) { - SWIG_null_ref("wxValidator"); - } - if (SWIG_arg_fail(8)) SWIG_fail; - } - } - if (obj8) { - { - arg9 = wxString_in_helper(obj8); - if (arg9 == NULL) SWIG_fail; - temp9 = true; - } - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp6) delete arg6; - } - { - if (temp9) - delete arg9; - } - return resultobj; - fail: - { - if (temp6) delete arg6; - } - { - if (temp9) - delete arg9; - } - return NULL; -} - - -static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; - wxVisualAttributes result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "variant", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; - if (obj0) { - { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); - if (SWIG_arg_fail(1)) SWIG_fail; - } - } - { - if (!wxPyCheckForApp()) SWIG_fail; - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1); - - 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 * Choice_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static int _wrap_ComboBoxNameStr_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only."); - return 1; -} - - -static PyObject *_wrap_ComboBoxNameStr_get(void) { - PyObject *pyobj; - - { -#if wxUSE_UNICODE - pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len()); -#else - pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len()); -#endif - } - return pyobj; -} - - -static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - int arg2 = (int) -1 ; - wxString const &arg3_defvalue = wxPyEmptyString ; - wxString *arg3 = (wxString *) &arg3_defvalue ; - wxPoint const &arg4_defvalue = wxDefaultPosition ; - wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; - wxSize const &arg5_defvalue = wxDefaultSize ; - wxSize *arg5 = (wxSize *) &arg5_defvalue ; - wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ; - wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ; - long arg7 = (long) 0 ; - wxValidator const &arg8_defvalue = wxDefaultValidator ; - wxValidator *arg8 = (wxValidator *) &arg8_defvalue ; - wxString const &arg9_defvalue = wxPyComboBoxNameStr ; - wxString *arg9 = (wxString *) &arg9_defvalue ; - wxComboBox *result; - bool temp3 = false ; - wxPoint temp4 ; - wxSize temp5 ; - bool temp6 = false ; - bool temp9 = false ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - char *kwnames[] = { - (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - if (obj1) { - { - arg2 = (int)(SWIG_As_int(obj1)); - if (SWIG_arg_fail(2)) SWIG_fail; - } - } - if (obj2) { - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; - } - } - if (obj3) { - { - arg4 = &temp4; - if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; - } - } - if (obj4) { - { - arg5 = &temp5; - if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; - } - } - if (obj5) { - { - if (! PySequence_Check(obj5)) { - PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); - SWIG_fail; - } - arg6 = new wxArrayString; - temp6 = true; - int i, len=PySequence_Length(obj5); - for (i=0; iAdd(Py2wxString(str)); - Py_DECREF(item); - Py_DECREF(str); - } - } - } - if (obj6) { - { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -4254,7 +4512,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 +4535,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 +4579,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; } } @@ -4355,21 +4613,17 @@ static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwa int i, len=PySequence_Length(obj6); for (i=0; iAdd(Py2wxString(str)); + arg7->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } if (obj7) { { - arg8 = (long)(SWIG_As_long(obj7)); + arg8 = static_cast(SWIG_As_long(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -4429,7 +4683,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 ; @@ -4461,7 +4715,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 ; @@ -4502,7 +4756,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[] = { @@ -4527,7 +4781,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[] = { @@ -4552,7 +4806,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[] = { @@ -4577,7 +4831,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 ; @@ -4590,7 +4844,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; } { @@ -4608,7 +4862,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 ; @@ -4627,7 +4881,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: @@ -4636,7 +4890,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 ; @@ -4655,7 +4909,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: @@ -4664,7 +4918,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 ; @@ -4682,11 +4936,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; } { @@ -4717,7 +4971,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 ; @@ -4730,7 +4984,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; } { @@ -4748,7 +5002,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 ; @@ -4763,11 +5017,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; } { @@ -4785,7 +5039,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 ; @@ -4821,8 +5075,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; @@ -4866,7 +5148,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 ; @@ -4882,7 +5164,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; } { @@ -4913,7 +5195,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 ; @@ -4926,7 +5208,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; } { @@ -4944,7 +5226,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[] = { @@ -4969,7 +5251,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 ; @@ -4984,11 +5266,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; } { @@ -5006,7 +5288,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 ; @@ -5034,7 +5316,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[] = { @@ -5059,7 +5341,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[] = { @@ -5084,7 +5366,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[] = { @@ -5109,7 +5391,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 ; @@ -5137,7 +5419,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 ; @@ -5165,7 +5447,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 ; @@ -5193,7 +5475,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 ; @@ -5221,7 +5503,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 ; @@ -5249,7 +5531,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 ; @@ -5260,21 +5542,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; @@ -5297,7 +5579,7 @@ static int _wrap_GaugeNameStr_set(PyObject *) { static PyObject *_wrap_GaugeNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5311,7 +5593,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 ; @@ -5345,13 +5627,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; } } @@ -5369,7 +5651,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; } } @@ -5414,7 +5696,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 @@ -5437,7 +5719,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 ; @@ -5475,13 +5757,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; } } @@ -5499,7 +5781,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; } } @@ -5545,7 +5827,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 ; @@ -5558,7 +5840,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; } { @@ -5576,7 +5858,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 ; @@ -5595,7 +5877,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: @@ -5604,7 +5886,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 ; @@ -5617,7 +5899,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; } { @@ -5635,7 +5917,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 ; @@ -5654,7 +5936,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: @@ -5663,7 +5945,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 ; @@ -5691,7 +5973,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 ; @@ -5704,7 +5986,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; } { @@ -5722,7 +6004,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 ; @@ -5741,7 +6023,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: @@ -5750,7 +6032,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 ; @@ -5763,7 +6045,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; } { @@ -5781,7 +6063,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 ; @@ -5800,7 +6082,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: @@ -5809,7 +6091,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 ; @@ -5820,21 +6102,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; @@ -5857,7 +6139,7 @@ static int _wrap_StaticBitmapNameStr_set(PyObject *) { static PyObject *_wrap_StaticBitmapNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5877,7 +6159,7 @@ static int _wrap_StaticBoxNameStr_set(PyObject *) { static PyObject *_wrap_StaticBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5897,7 +6179,7 @@ static int _wrap_StaticTextNameStr_set(PyObject *) { static PyObject *_wrap_StaticTextNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5911,7 +6193,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 ; @@ -5944,7 +6226,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; } } @@ -5969,7 +6251,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; } } @@ -6012,7 +6294,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 @@ -6035,7 +6317,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 ; @@ -6072,7 +6354,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; } } @@ -6097,7 +6379,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; } } @@ -6141,7 +6423,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 ; @@ -6152,21 +6434,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; @@ -6183,7 +6465,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 ; @@ -6212,7 +6494,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; } } @@ -6230,7 +6512,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; } } @@ -6265,7 +6547,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 @@ -6288,7 +6570,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 ; @@ -6321,7 +6603,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; } } @@ -6339,7 +6621,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; } } @@ -6375,7 +6657,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 ; @@ -6403,7 +6685,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 @@ -6418,7 +6700,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: @@ -6427,7 +6709,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 ; @@ -6438,21 +6720,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; @@ -6469,7 +6751,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 ; @@ -6502,7 +6784,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; } } @@ -6527,7 +6809,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; } } @@ -6570,7 +6852,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 @@ -6593,7 +6875,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 ; @@ -6630,7 +6912,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; } } @@ -6655,7 +6937,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; } } @@ -6698,8 +6980,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 ; @@ -6710,21 +7023,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; @@ -6741,7 +7054,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 ; @@ -6773,7 +7086,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; } } @@ -6801,7 +7114,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; } } @@ -6836,7 +7149,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 @@ -6859,7 +7172,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 ; @@ -6895,7 +7208,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; } } @@ -6923,7 +7236,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; } } @@ -6959,7 +7272,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 ; @@ -6979,7 +7292,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; @@ -6989,7 +7302,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 ; @@ -7024,7 +7337,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 ; @@ -7059,7 +7372,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 ; @@ -7070,21 +7383,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; @@ -7107,7 +7420,7 @@ static int _wrap_ListBoxNameStr_set(PyObject *) { static PyObject *_wrap_ListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -7121,7 +7434,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 ; @@ -7157,7 +7470,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; } } @@ -7184,21 +7497,17 @@ static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) int i, len=PySequence_Length(obj4); for (i=0; iAdd(Py2wxString(str)); + arg5->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -7249,7 +7558,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 @@ -7272,7 +7581,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 ; @@ -7312,7 +7621,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; } } @@ -7339,21 +7648,17 @@ static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwar int i, len=PySequence_Length(obj5); for (i=0; iAdd(Py2wxString(str)); + arg6->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -7405,7 +7710,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 ; @@ -7428,7 +7733,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) { @@ -7457,7 +7762,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 ; @@ -7482,19 +7787,15 @@ static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject int i, len=PySequence_Length(obj1); for (i=0; iAdd(Py2wxString(str)); + arg2->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -7518,7 +7819,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 ; @@ -7541,15 +7842,11 @@ static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) int i, len=PySequence_Length(obj1); for (i=0; iAdd(Py2wxString(str)); + arg2->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } { @@ -7573,7 +7870,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; @@ -7587,7 +7884,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; } { @@ -7607,7 +7904,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 ; @@ -7622,12 +7919,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; } } @@ -7646,7 +7943,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 ; @@ -7659,7 +7956,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; } { @@ -7677,7 +7974,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 ; @@ -7690,7 +7987,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; } { @@ -7708,7 +8005,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 ; @@ -7722,7 +8019,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; } } @@ -7741,7 +8038,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 ; @@ -7764,7 +8061,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; } } @@ -7793,7 +8090,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 ; @@ -7819,7 +8116,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 ; @@ -7832,7 +8129,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; } { @@ -7850,7 +8147,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 ; @@ -7891,7 +8188,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 ; @@ -7904,7 +8201,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; } { @@ -7922,7 +8219,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 ; @@ -7963,7 +8260,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 ; @@ -7991,7 +8288,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 ; @@ -8007,7 +8304,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; } { @@ -8029,7 +8326,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 ; @@ -8045,7 +8342,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; } { @@ -8067,7 +8364,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 ; @@ -8082,7 +8379,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; } { @@ -8108,7 +8405,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 ; @@ -8119,21 +8416,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; @@ -8150,7 +8447,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 ; @@ -8186,7 +8483,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; } } @@ -8213,21 +8510,17 @@ static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kw int i, len=PySequence_Length(obj4); for (i=0; iAdd(Py2wxString(str)); + arg5->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -8278,7 +8571,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 @@ -8301,7 +8594,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 ; @@ -8341,7 +8634,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; } } @@ -8368,21 +8661,17 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject int i, len=PySequence_Length(obj5); for (i=0; iAdd(Py2wxString(str)); + arg6->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -8434,7 +8723,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; @@ -8448,7 +8737,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; } { @@ -8468,7 +8757,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 ; @@ -8483,12 +8772,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; } } @@ -8507,7 +8796,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 ; @@ -8526,7 +8815,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: @@ -8535,7 +8824,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; @@ -8561,7 +8850,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: @@ -8570,7 +8859,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 ; @@ -8586,11 +8875,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; } { @@ -8601,7 +8890,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: @@ -8623,7 +8912,7 @@ static int _wrap_TextCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TextCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8637,7 +8926,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 ; @@ -8681,13 +8970,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; @@ -8700,7 +8989,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[] = { @@ -8725,7 +9014,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[] = { @@ -8750,7 +9039,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 ; @@ -8782,7 +9071,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 ; @@ -8814,7 +9103,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 ; @@ -8838,7 +9127,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; } } @@ -8857,7 +9146,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 ; @@ -8870,12 +9159,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; @@ -8888,7 +9177,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 ; @@ -8938,7 +9227,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 ; @@ -8953,12 +9242,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; } } @@ -8977,7 +9266,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 ; @@ -8990,7 +9279,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; } { @@ -9008,7 +9297,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 ; @@ -9021,7 +9310,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; } { @@ -9039,7 +9328,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 ; @@ -9067,7 +9356,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 ; @@ -9095,7 +9384,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 ; @@ -9123,7 +9412,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 ; @@ -9151,7 +9440,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 ; @@ -9179,7 +9468,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 ; @@ -9207,7 +9496,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 ; @@ -9235,7 +9524,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; @@ -9249,7 +9538,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; } { @@ -9269,7 +9558,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 ; @@ -9298,7 +9587,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 ; @@ -9327,7 +9616,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 ; @@ -9359,7 +9648,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 ; @@ -9385,7 +9674,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 ; @@ -9422,7 +9711,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 ; @@ -9441,7 +9730,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: @@ -9450,7 +9739,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 ; @@ -9469,7 +9758,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: @@ -9478,7 +9767,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 ; @@ -9497,7 +9786,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: @@ -9506,7 +9795,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 ; @@ -9525,7 +9814,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: @@ -9534,7 +9823,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 ; @@ -9562,7 +9851,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 ; @@ -9602,7 +9891,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; @@ -9619,7 +9908,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 ; @@ -9655,7 +9944,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; } } @@ -9680,7 +9969,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; } } @@ -9733,7 +10022,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 @@ -9756,7 +10045,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 ; @@ -9796,7 +10085,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; } } @@ -9821,7 +10110,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; } } @@ -9875,7 +10164,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 ; @@ -9907,7 +10196,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 ; @@ -9948,7 +10237,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 ; @@ -9964,11 +10253,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; } { @@ -9992,7 +10281,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; @@ -10006,7 +10295,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; } { @@ -10017,7 +10306,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: @@ -10026,7 +10315,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; @@ -10040,7 +10329,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; } { @@ -10064,7 +10353,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 ; @@ -10083,7 +10372,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: @@ -10092,7 +10381,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 ; @@ -10120,7 +10409,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 ; @@ -10148,7 +10437,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 ; @@ -10176,7 +10465,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 ; @@ -10204,7 +10493,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 ; @@ -10241,7 +10530,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 ; @@ -10273,7 +10562,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[] = { @@ -10298,7 +10587,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 ; @@ -10316,11 +10605,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; } { @@ -10351,7 +10640,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 ; @@ -10366,11 +10655,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; } { @@ -10388,7 +10677,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; @@ -10432,7 +10721,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 ; @@ -10479,7 +10768,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[] = { @@ -10504,7 +10793,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[] = { @@ -10529,7 +10818,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 ; @@ -10542,7 +10831,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; } { @@ -10560,7 +10849,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 ; @@ -10601,7 +10890,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 ; @@ -10642,7 +10931,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; @@ -10680,7 +10969,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 ; @@ -10698,11 +10987,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; } { @@ -10730,7 +11019,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 ; @@ -10746,7 +11035,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; } { @@ -10774,7 +11063,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; @@ -10812,7 +11101,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 ; @@ -10841,7 +11130,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 ; @@ -10857,11 +11146,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; } { @@ -10872,7 +11161,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: @@ -10881,7 +11170,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 ; @@ -10902,7 +11191,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; } { @@ -10924,7 +11213,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 ; @@ -10937,7 +11226,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; } { @@ -10955,7 +11244,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 ; @@ -11000,7 +11289,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 ; @@ -11039,7 +11328,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[] = { @@ -11064,7 +11353,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[] = { @@ -11089,7 +11378,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[] = { @@ -11114,7 +11403,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 ; @@ -11142,7 +11431,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 ; @@ -11170,7 +11459,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 ; @@ -11198,7 +11487,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[] = { @@ -11223,7 +11512,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[] = { @@ -11248,7 +11537,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 ; @@ -11276,7 +11565,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 ; @@ -11304,7 +11593,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 ; @@ -11317,7 +11606,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; } { @@ -11335,7 +11624,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[] = { @@ -11360,7 +11649,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 ; @@ -11379,7 +11668,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: @@ -11388,7 +11677,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 ; @@ -11407,7 +11696,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: @@ -11416,7 +11705,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 ; @@ -11431,11 +11720,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; } { @@ -11453,7 +11742,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[] = { @@ -11478,7 +11767,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 ; @@ -11491,7 +11780,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; } { @@ -11509,7 +11798,7 @@ static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool arg2 = (bool) true ; bool result; @@ -11524,7 +11813,7 @@ static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -11545,7 +11834,7 @@ static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11573,7 +11862,7 @@ static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyOb 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 ; @@ -11614,7 +11903,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 ; @@ -11630,11 +11919,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; } { @@ -11658,7 +11947,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 ; @@ -11669,21 +11958,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; @@ -11700,7 +11989,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 ; @@ -11716,7 +12005,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; } { @@ -11728,11 +12017,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; } { @@ -11750,7 +12039,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 ; @@ -11779,7 +12068,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 ; @@ -11798,7 +12087,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: @@ -11807,7 +12096,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 ; @@ -11826,7 +12115,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: @@ -11848,7 +12137,7 @@ static int _wrap_ScrollBarNameStr_set(PyObject *) { static PyObject *_wrap_ScrollBarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -11862,7 +12151,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 ; @@ -11894,7 +12183,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; } } @@ -11912,7 +12201,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; } } @@ -11957,7 +12246,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 @@ -11980,7 +12269,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 ; @@ -12016,7 +12305,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; } } @@ -12034,7 +12323,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; } } @@ -12080,7 +12369,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 ; @@ -12099,7 +12388,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: @@ -12108,7 +12397,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 ; @@ -12127,7 +12416,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: @@ -12136,7 +12425,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 ; @@ -12155,7 +12444,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: @@ -12164,7 +12453,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 ; @@ -12183,7 +12472,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: @@ -12192,7 +12481,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 ; @@ -12220,7 +12509,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 ; @@ -12233,7 +12522,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; } { @@ -12251,7 +12540,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 ; @@ -12272,24 +12561,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; } } @@ -12308,7 +12597,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 ; @@ -12319,21 +12608,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; @@ -12356,7 +12645,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 @@ -12376,7 +12665,7 @@ static int _wrap_SpinCtrlNameStr_set(PyObject *) { static PyObject *_wrap_SpinCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -12390,7 +12679,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 ; @@ -12419,7 +12708,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; } } @@ -12437,7 +12726,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; } } @@ -12472,7 +12761,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 @@ -12495,7 +12784,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 ; @@ -12528,7 +12817,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; } } @@ -12546,7 +12835,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; } } @@ -12582,7 +12871,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 ; @@ -12601,7 +12890,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: @@ -12610,7 +12899,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 ; @@ -12629,7 +12918,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: @@ -12638,7 +12927,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 ; @@ -12657,7 +12946,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: @@ -12666,7 +12955,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 ; @@ -12679,7 +12968,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; } { @@ -12697,7 +12986,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 ; @@ -12710,7 +12999,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; } { @@ -12728,7 +13017,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 ; @@ -12741,7 +13030,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; } { @@ -12759,7 +13048,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 ; @@ -12774,11 +13063,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; } { @@ -12796,7 +13085,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 ; @@ -12824,7 +13113,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 ; @@ -12835,21 +13124,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; @@ -12866,7 +13155,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 ; @@ -12905,7 +13194,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; } } @@ -12930,25 +13219,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; } } @@ -12991,7 +13280,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 @@ -13014,7 +13303,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 ; @@ -13057,7 +13346,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; } } @@ -13082,25 +13371,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; } } @@ -13144,7 +13433,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 ; @@ -13163,7 +13452,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: @@ -13172,7 +13461,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 ; @@ -13185,7 +13474,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; } { @@ -13203,7 +13492,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 ; @@ -13244,7 +13533,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 ; @@ -13259,11 +13548,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; } { @@ -13281,7 +13570,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 ; @@ -13300,7 +13589,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: @@ -13309,7 +13598,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 ; @@ -13328,7 +13617,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: @@ -13337,7 +13626,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 ; @@ -13352,11 +13641,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; } { @@ -13374,7 +13663,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 ; @@ -13385,21 +13674,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; @@ -13416,7 +13705,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; @@ -13429,13 +13718,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; } } @@ -13454,7 +13743,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 ; @@ -13473,7 +13762,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: @@ -13482,7 +13771,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 ; @@ -13495,7 +13784,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; } { @@ -13526,7 +13815,7 @@ static int _wrap_RadioBoxNameStr_set(PyObject *) { static PyObject *_wrap_RadioBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13546,7 +13835,7 @@ static int _wrap_RadioButtonNameStr_set(PyObject *) { static PyObject *_wrap_RadioButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13560,7 +13849,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 ; @@ -13602,7 +13891,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; } } @@ -13636,27 +13925,23 @@ static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs int i, len=PySequence_Length(obj5); for (i=0; iAdd(Py2wxString(str)); + arg6->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } 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; } } @@ -13715,7 +14000,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 @@ -13738,7 +14023,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 ; @@ -13784,7 +14069,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; } } @@ -13818,27 +14103,23 @@ static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwa int i, len=PySequence_Length(obj6); for (i=0; iAdd(Py2wxString(str)); + arg7->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } } 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; } } @@ -13898,7 +14179,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 ; @@ -13911,7 +14192,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; } { @@ -13929,7 +14210,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 ; @@ -13948,7 +14229,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: @@ -13957,7 +14238,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 ; @@ -13989,7 +14270,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; @@ -14033,7 +14314,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 ; @@ -14052,7 +14333,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: @@ -14061,7 +14342,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; @@ -14088,7 +14369,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) @@ -14105,7 +14386,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; @@ -14119,7 +14400,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; } { @@ -14143,7 +14424,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 ; @@ -14159,7 +14440,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; } { @@ -14190,7 +14471,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 ; @@ -14205,12 +14486,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; } } @@ -14229,7 +14510,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 ; @@ -14244,12 +14525,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; } } @@ -14268,7 +14549,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 ; @@ -14287,7 +14568,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: @@ -14296,7 +14577,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 ; @@ -14315,7 +14596,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: @@ -14324,7 +14605,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 ; @@ -14342,26 +14623,26 @@ static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (wxDirection)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4); + result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14370,7 +14651,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 ; @@ -14381,21 +14662,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; @@ -14412,7 +14693,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 ; @@ -14448,7 +14729,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; } } @@ -14473,7 +14754,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; } } @@ -14526,7 +14807,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 @@ -14549,7 +14830,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 ; @@ -14589,7 +14870,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; } } @@ -14614,7 +14895,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; } } @@ -14668,7 +14949,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 ; @@ -14696,7 +14977,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 ; @@ -14709,7 +14990,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; } { @@ -14727,7 +15008,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 ; @@ -14738,21 +15019,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; @@ -14775,7 +15056,7 @@ static int _wrap_SliderNameStr_set(PyObject *) { static PyObject *_wrap_SliderNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14789,7 +15070,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 ; @@ -14827,25 +15108,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; } } @@ -14863,7 +15144,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; } } @@ -14908,7 +15189,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 @@ -14931,7 +15212,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 ; @@ -14973,25 +15254,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; } } @@ -15009,7 +15290,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; } } @@ -15055,7 +15336,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 ; @@ -15074,7 +15355,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: @@ -15083,7 +15364,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 ; @@ -15096,7 +15377,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; } { @@ -15114,7 +15395,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 ; @@ -15129,11 +15410,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; } { @@ -15151,7 +15432,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 ; @@ -15170,7 +15451,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: @@ -15179,7 +15460,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 ; @@ -15198,7 +15479,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: @@ -15207,7 +15488,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 ; @@ -15220,7 +15501,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; } { @@ -15238,7 +15519,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 ; @@ -15251,7 +15532,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; } { @@ -15269,7 +15550,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 ; @@ -15282,7 +15563,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; } { @@ -15300,7 +15581,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 ; @@ -15313,7 +15594,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; } { @@ -15331,7 +15612,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 ; @@ -15350,7 +15631,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: @@ -15359,7 +15640,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 ; @@ -15378,7 +15659,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: @@ -15387,7 +15668,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 ; @@ -15400,7 +15681,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; } { @@ -15418,7 +15699,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 ; @@ -15437,7 +15718,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: @@ -15446,7 +15727,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 ; @@ -15461,12 +15742,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; } } @@ -15485,7 +15766,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 ; @@ -15504,7 +15785,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: @@ -15513,7 +15794,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[] = { @@ -15538,7 +15819,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 ; @@ -15551,7 +15832,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; } { @@ -15569,7 +15850,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[] = { @@ -15594,7 +15875,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 ; @@ -15613,7 +15894,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: @@ -15622,7 +15903,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 ; @@ -15641,7 +15922,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: @@ -15650,7 +15931,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 ; @@ -15665,11 +15946,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; } { @@ -15687,7 +15968,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 ; @@ -15698,21 +15979,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; @@ -15735,7 +16016,7 @@ static int _wrap_ToggleButtonNameStr_set(PyObject *) { static PyObject *_wrap_ToggleButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15749,7 +16030,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 ; @@ -15785,7 +16066,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; } } @@ -15810,7 +16091,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; } } @@ -15863,7 +16144,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 @@ -15886,7 +16167,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 ; @@ -15926,7 +16207,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; } } @@ -15951,7 +16232,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; } } @@ -16005,7 +16286,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 ; @@ -16018,7 +16299,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; } { @@ -16036,7 +16317,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 ; @@ -16064,7 +16345,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 ; @@ -16105,7 +16386,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 ; @@ -16116,21 +16397,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; @@ -16153,7 +16434,7 @@ static int _wrap_NotebookNameStr_set(PyObject *) { static PyObject *_wrap_NotebookNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16167,7 +16448,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 ; @@ -16186,7 +16467,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: @@ -16195,7 +16476,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; @@ -16209,7 +16490,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; } { @@ -16229,7 +16510,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 ; @@ -16257,7 +16538,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 ; @@ -16276,7 +16557,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: @@ -16285,7 +16566,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 ; @@ -16302,7 +16583,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; } { @@ -16335,7 +16616,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; @@ -16349,7 +16630,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; } { @@ -16373,7 +16654,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 ; @@ -16402,7 +16683,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 ; @@ -16431,7 +16712,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 ; @@ -16450,7 +16731,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: @@ -16459,7 +16740,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; @@ -16473,7 +16754,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; } { @@ -16484,7 +16765,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: @@ -16493,7 +16774,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 ; @@ -16509,11 +16790,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; } { @@ -16533,7 +16814,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 ; @@ -16565,7 +16846,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; @@ -16592,7 +16873,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; @@ -16601,8 +16882,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; @@ -16616,7 +17043,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; } { @@ -16636,7 +17063,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; @@ -16650,7 +17077,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; } { @@ -16670,7 +17097,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 ; @@ -16698,7 +17125,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 ; @@ -16727,13 +17154,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; } } @@ -16762,7 +17189,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 ; @@ -16785,7 +17212,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); @@ -16797,13 +17224,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; } } @@ -16832,7 +17259,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; @@ -16846,7 +17273,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; } { @@ -16857,7 +17284,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: @@ -16866,7 +17293,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 ; @@ -16880,7 +17307,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; } } @@ -16899,7 +17326,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 ; @@ -16910,21 +17337,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; @@ -16941,7 +17368,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 ; @@ -16958,25 +17385,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; } } @@ -16995,7 +17422,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 ; @@ -17014,7 +17441,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: @@ -17023,7 +17450,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 ; @@ -17036,7 +17463,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; } { @@ -17054,7 +17481,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 ; @@ -17073,7 +17500,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: @@ -17082,7 +17509,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 ; @@ -17095,7 +17522,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; } { @@ -17120,7 +17547,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 ; @@ -17149,7 +17576,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; } } @@ -17167,7 +17594,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; } } @@ -17202,7 +17629,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 @@ -17225,7 +17652,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 ; @@ -17258,7 +17685,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; } } @@ -17276,7 +17703,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; } } @@ -17312,7 +17739,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 ; @@ -17331,7 +17758,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: @@ -17340,7 +17767,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 ; @@ -17372,7 +17799,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 ; @@ -17404,7 +17831,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 ; @@ -17434,7 +17861,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))); @@ -17445,7 +17872,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; @@ -17472,7 +17899,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; @@ -17482,7 +17909,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 ; @@ -17502,7 +17929,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; @@ -17512,7 +17939,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 ; @@ -17523,21 +17950,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; @@ -17554,7 +17981,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 ; @@ -17571,25 +17998,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; } } @@ -17615,7 +18042,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 ; @@ -17644,7 +18071,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; } } @@ -17662,7 +18089,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; } } @@ -17697,7 +18124,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 @@ -17720,7 +18147,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 ; @@ -17753,7 +18180,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; } } @@ -17771,7 +18198,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; } } @@ -17806,21 +18233,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; @@ -17828,52 +18501,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 ; @@ -17882,64 +18591,64 @@ 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 = (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 = (wxChoicebookEvent *)new wxChoicebookEvent(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_wxChoicebookEvent, 1); return resultobj; fail: return NULL; } -static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * ChoicebookEvent_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_wxChoicebookEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +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) 0 ; + long arg5 = (long) wxBK_DEFAULT ; wxString const &arg6_defvalue = wxPyEmptyString ; wxString *arg6 = (wxString *) &arg6_defvalue ; - wxChoicebook *result; + wxTreebook *result; wxPoint temp3 ; wxSize temp4 ; bool temp6 = false ; @@ -17953,11 +18662,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_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 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -17974,7 +18683,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; } } @@ -17988,12 +18697,12 @@ 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 = (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_wxChoicebook, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1); { if (temp6) delete arg6; @@ -18008,39 +18717,39 @@ 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_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxChoicebook *)new wxChoicebook(); + result = (wxTreebook *)new wxTreebook(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 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_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) 0 ; + long arg6 = (long) wxBK_DEFAULT ; wxString const &arg7_defvalue = wxPyEmptyString ; wxString *arg7 = (wxString *) &arg7_defvalue ; bool result; @@ -18058,13 +18767,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: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 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -18081,7 +18790,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; } } @@ -18116,21 +18825,55 @@ 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 ; +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", NULL + (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", 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 *)"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)((wxChoicebook const *)arg1)->IsVertical(); + result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18138,27 +18881,69 @@ static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObjec { 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_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxChoicebook *arg1 = (wxChoicebook *) 0 ; +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", NULL + (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", 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(!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)->DeleteAllPages(); + result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18166,154 +18951,319 @@ static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyO { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + { + if (temp4) + delete arg4; + } return resultobj; fail: + { + if (temp4) + delete arg4; + } return NULL; } -static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEventType arg1 = (wxEventType) wxEVT_NULL ; - int arg2 = (int) 0 ; - int arg3 = (int) -1 ; - int arg4 = (int) -1 ; - wxChoicebookEvent *result; +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 *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL + (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; - if (obj0) { - { - arg1 = (wxEventType)(SWIG_As_int(obj0)); - if (SWIG_arg_fail(1)) SWIG_fail; - } + 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 (obj1) { + if (obj3) { { - arg2 = (int)(SWIG_As_int(obj1)); - if (SWIG_arg_fail(2)) SWIG_fail; + arg4 = static_cast(SWIG_As_bool(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; } } - if (obj2) { + if (obj4) { { - arg3 = (int)(SWIG_As_int(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; + 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 = (int)(SWIG_As_int(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 = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4); + result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1); + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp3) + delete arg3; + } return resultobj; fail: + { + if (temp3) + delete arg3; + } 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_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_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; - wxBookCtrlSizer *result; + + +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 *) "nb", NULL + (char *) "self",(char *) "pos", 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(!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 = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1); + result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1); + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; +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", NULL + (char *) "self",(char *) "pos",(char *) "expand", 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(!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(); - (arg1)->RecalcSizes(); + result = (bool)(arg1)->ExpandNode(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; - wxSize result; +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", NULL + (char *) "self",(char *) "pos", 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(!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 = (arg1)->CalcMin(); + result = (bool)(arg1)->CollapseNode(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); + 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: @@ -18321,113 +19271,307 @@ static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; - wxBookCtrlBase *result; +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:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0); + 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 = (wxBookCtrlBase *)(arg1)->GetControl(); + result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0); return resultobj; fail: return NULL; } -static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * Treebook_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj); + SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, 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; +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 *) "nb", NULL + (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", 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(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",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 = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +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) wxBK_DEFAULT ; + wxString const &arg6_defvalue = wxPyEmptyString ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxToolbook *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_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 = 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; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + 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_wxToolbook, 1); + { + if (temp6) + delete arg6; + } + return resultobj; + fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +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_PreToolbook",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxNotebookSizer *)new wxNotebookSizer(arg1); + result = (wxToolbook *)new wxToolbook(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1); return resultobj; fail: return NULL; } -static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebookSizer *arg1 = (wxNotebookSizer *) 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 ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) 0 ; + wxString const &arg7_defvalue = wxEmptyString ; + 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", NULL + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", 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(!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 = 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(); - (arg1)->RecalcSizes(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + 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_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ; - wxSize 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:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, 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 = (arg1)->CalcMin(); + result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -18435,43 +19579,101 @@ static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ; - wxNotebook *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:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, 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 = (wxNotebook *)(arg1)->GetNotebook(); + (arg1)->Realize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +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) wxNOT_FOUND ; + int arg4 = (int) wxNOT_FOUND ; + wxToolbookEvent *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_ToolbookEvent",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; + } + } { - resultobj = wxPyMake_wxObject(result, 0); + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1); return resultobj; fail: return NULL; } -static PyObject * NotebookSizer_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_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 ; @@ -18490,7 +19692,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: @@ -18499,7 +19701,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 ; @@ -18527,7 +19729,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 ; @@ -18546,7 +19748,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: @@ -18555,7 +19757,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 ; @@ -18574,7 +19776,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: @@ -18583,7 +19785,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 ; @@ -18602,7 +19804,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: @@ -18611,7 +19813,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 ; @@ -18630,7 +19832,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: @@ -18639,7 +19841,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 ; @@ -18658,7 +19860,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: @@ -18667,7 +19869,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 ; @@ -18693,7 +19895,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 ; @@ -18721,7 +19923,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 ; @@ -18749,7 +19951,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 ; @@ -18777,7 +19979,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 ; @@ -18809,7 +20011,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 ; @@ -18841,7 +20043,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 ; @@ -18861,7 +20063,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; @@ -18871,7 +20073,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 ; @@ -18903,7 +20105,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 ; @@ -18935,7 +20137,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 ; @@ -18967,7 +20169,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; @@ -18981,7 +20183,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; } { @@ -19001,7 +20203,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[] = { @@ -19026,7 +20228,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; @@ -19040,7 +20242,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; } { @@ -19060,7 +20262,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; @@ -19104,7 +20306,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; @@ -19148,7 +20350,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 ; @@ -19183,7 +20385,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 ; @@ -19218,7 +20420,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 ; @@ -19259,7 +20461,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[] = { @@ -19284,7 +20486,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 ; @@ -19313,7 +20515,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 ; @@ -19339,7 +20541,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 ; @@ -19374,7 +20576,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 ; @@ -19408,7 +20610,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; } { @@ -19436,7 +20638,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; } } @@ -19459,13 +20661,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) @@ -19498,7 +20700,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 ; @@ -19534,11 +20736,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; } { @@ -19566,7 +20768,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; } } @@ -19589,13 +20791,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) @@ -19628,7 +20830,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; @@ -19651,7 +20853,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: @@ -19660,7 +20862,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 ; @@ -19676,7 +20878,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); @@ -19689,7 +20891,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: @@ -19698,7 +20900,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; @@ -19721,7 +20923,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: @@ -19730,7 +20932,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 ; @@ -19746,7 +20948,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); @@ -19759,7 +20961,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: @@ -19768,7 +20970,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; @@ -19782,7 +20984,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; } { @@ -19802,7 +21004,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 ; @@ -19821,7 +21023,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: @@ -19830,7 +21032,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; @@ -19844,7 +21046,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; } { @@ -19855,7 +21057,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: @@ -19864,7 +21066,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; @@ -19878,7 +21080,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; } { @@ -19889,7 +21091,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: @@ -19898,7 +21100,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; @@ -19912,7 +21114,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; } { @@ -19932,7 +21134,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; @@ -19946,7 +21148,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; } { @@ -19966,7 +21168,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[] = { @@ -19991,7 +21193,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 ; @@ -20019,7 +21221,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 ; @@ -20034,11 +21236,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; } { @@ -20056,7 +21258,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 ; @@ -20071,11 +21273,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; } { @@ -20093,7 +21295,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 ; @@ -20108,11 +21310,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; } { @@ -20130,7 +21332,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; @@ -20144,7 +21346,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; } { @@ -20162,7 +21364,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 ; @@ -20177,7 +21379,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; @@ -20196,7 +21398,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; @@ -20210,7 +21412,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; } { @@ -20221,7 +21423,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: @@ -20230,7 +21432,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; @@ -20244,7 +21446,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; } { @@ -20264,7 +21466,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; @@ -20278,7 +21480,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; } { @@ -20298,7 +21500,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 ; @@ -20314,7 +21516,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; } { @@ -20345,7 +21547,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; @@ -20359,7 +21561,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; } { @@ -20383,7 +21585,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 ; @@ -20399,7 +21601,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; } { @@ -20430,7 +21632,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; @@ -20444,7 +21646,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; } { @@ -20468,7 +21670,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 ; @@ -20483,11 +21685,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; } { @@ -20505,7 +21707,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 ; @@ -20537,7 +21739,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 ; @@ -20550,7 +21752,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; } { @@ -20568,7 +21770,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 ; @@ -20581,7 +21783,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; } { @@ -20599,7 +21801,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 ; @@ -20619,7 +21821,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; @@ -20629,7 +21831,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 ; @@ -20649,7 +21851,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; @@ -20659,7 +21861,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 ; @@ -20678,7 +21880,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: @@ -20687,7 +21889,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 ; @@ -20706,7 +21908,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: @@ -20715,7 +21917,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 ; @@ -20728,7 +21930,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; } { @@ -20746,7 +21948,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 ; @@ -20761,11 +21963,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; } { @@ -20783,7 +21985,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 ; @@ -20802,7 +22004,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: @@ -20811,7 +22013,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 ; @@ -20830,7 +22032,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: @@ -20839,7 +22041,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 ; @@ -20871,7 +22073,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 ; @@ -20891,7 +22093,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; @@ -20901,7 +22103,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 ; @@ -20921,7 +22123,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; @@ -20931,7 +22133,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 ; @@ -20947,11 +22149,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; } { @@ -20962,7 +22164,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: @@ -20971,7 +22173,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; @@ -20985,7 +22187,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; } { @@ -20996,7 +22198,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: @@ -21005,7 +22207,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 ; @@ -21040,7 +22242,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 ; @@ -21069,7 +22271,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; } } @@ -21087,7 +22289,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; } } @@ -21122,7 +22324,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 @@ -21145,7 +22347,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 ; @@ -21178,7 +22380,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; } } @@ -21196,7 +22398,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; } } @@ -21232,7 +22434,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 ; @@ -21248,11 +22450,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; } { @@ -21263,7 +22465,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: @@ -21272,7 +22474,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 ; @@ -21283,21 +22485,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; @@ -21320,7 +22522,7 @@ static int _wrap_ListCtrlNameStr_set(PyObject *) { static PyObject *_wrap_ListCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -21334,7 +22536,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 ; @@ -21388,8 +22590,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 ; @@ -21421,7 +22648,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 ; @@ -21453,7 +22680,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 ; @@ -21488,7 +22715,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 ; @@ -21516,7 +22743,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 ; @@ -21544,7 +22771,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 ; @@ -21572,7 +22799,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 ; @@ -21592,7 +22819,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; @@ -21602,7 +22829,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 ; @@ -21622,7 +22849,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; @@ -21632,7 +22859,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 ; @@ -21652,7 +22879,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; @@ -21661,8 +22888,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[] = { @@ -21694,7 +22956,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 @@ -21709,7 +22971,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: @@ -21718,7 +22980,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[] = { @@ -21743,7 +23005,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[] = { @@ -21768,7 +23030,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[] = { @@ -21793,7 +23055,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 ; @@ -21806,7 +23068,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; } { @@ -21824,7 +23086,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 ; @@ -21837,7 +23099,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; } { @@ -21855,7 +23117,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 ; @@ -21868,7 +23130,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; } { @@ -21886,7 +23148,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 ; @@ -21899,7 +23161,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; } { @@ -21917,7 +23179,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 ; @@ -21930,7 +23192,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; } { @@ -21948,7 +23210,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 ; @@ -21989,7 +23251,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 ; @@ -22002,7 +23264,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; } { @@ -22020,7 +23282,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 ; @@ -22033,7 +23295,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; } { @@ -22051,7 +23313,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 ; @@ -22064,7 +23326,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; } { @@ -22082,7 +23344,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 ; @@ -22095,12 +23357,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; @@ -22113,7 +23375,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 ; @@ -22145,7 +23407,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 ; @@ -22177,7 +23439,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 ; @@ -22212,7 +23474,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 ; @@ -22231,7 +23493,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: @@ -22240,7 +23502,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 ; @@ -22259,7 +23521,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: @@ -22268,7 +23530,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 ; @@ -22287,7 +23549,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: @@ -22296,7 +23558,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 ; @@ -22315,7 +23577,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: @@ -22324,7 +23586,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 ; @@ -22359,7 +23621,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 ; @@ -22378,7 +23640,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: @@ -22387,7 +23649,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 ; @@ -22406,7 +23668,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: @@ -22415,7 +23677,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 ; @@ -22434,7 +23696,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: @@ -22443,7 +23705,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 ; @@ -22469,7 +23731,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 ; @@ -22495,7 +23757,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 ; @@ -22523,7 +23785,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 ; @@ -22543,7 +23805,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; @@ -22553,7 +23815,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 ; @@ -22573,7 +23835,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; @@ -22583,7 +23845,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 ; @@ -22603,7 +23865,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; @@ -22613,7 +23875,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 ; @@ -22626,7 +23888,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; @@ -22639,7 +23901,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 ; @@ -22653,7 +23915,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: @@ -22662,7 +23924,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 ; @@ -22675,7 +23937,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; @@ -22688,7 +23950,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 ; @@ -22702,7 +23964,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: @@ -22711,7 +23973,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 ; @@ -22724,7 +23986,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; @@ -22737,7 +23999,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 ; @@ -22751,7 +24013,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: @@ -22760,7 +24022,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 ; @@ -22773,7 +24035,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; @@ -22786,7 +24048,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 ; @@ -22800,7 +24062,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: @@ -22809,7 +24071,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 ; @@ -22822,7 +24084,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; @@ -22835,7 +24097,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 ; @@ -22849,7 +24111,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: @@ -22858,7 +24120,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 ; @@ -22894,7 +24156,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 ; @@ -22921,7 +24183,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 ; @@ -22934,7 +24196,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; @@ -22947,7 +24209,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 ; @@ -22961,7 +24223,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: @@ -22970,7 +24232,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 ; @@ -22983,7 +24245,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; @@ -22996,7 +24258,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 ; @@ -23010,7 +24272,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: @@ -23019,7 +24281,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 ; @@ -23032,7 +24294,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; @@ -23045,7 +24307,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 ; @@ -23059,7 +24321,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: @@ -23068,7 +24330,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 ; @@ -23081,7 +24343,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; @@ -23094,7 +24356,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 ; @@ -23108,7 +24370,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: @@ -23124,7 +24386,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; @@ -23137,13 +24399,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; } } @@ -23162,7 +24424,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 ; @@ -23175,7 +24437,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; @@ -23188,7 +24450,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 ; @@ -23202,7 +24464,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: @@ -23211,7 +24473,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 ; @@ -23224,7 +24486,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; @@ -23237,7 +24499,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 ; @@ -23251,7 +24513,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: @@ -23260,7 +24522,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 ; @@ -23273,7 +24535,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; @@ -23286,7 +24548,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 ; @@ -23300,7 +24562,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: @@ -23309,7 +24571,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 ; @@ -23322,7 +24584,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; @@ -23335,7 +24597,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 ; @@ -23349,7 +24611,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: @@ -23358,7 +24620,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 ; @@ -23382,7 +24644,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 ; @@ -23403,7 +24665,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 ; @@ -23417,7 +24679,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: @@ -23426,7 +24688,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 ; @@ -23445,7 +24707,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: @@ -23454,7 +24716,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 ; @@ -23473,7 +24735,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: @@ -23482,7 +24744,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 ; @@ -23501,7 +24763,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: @@ -23510,7 +24772,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 ; @@ -23530,7 +24792,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; @@ -23540,7 +24802,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 ; @@ -23575,7 +24837,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 ; @@ -23610,7 +24872,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 ; @@ -23629,7 +24891,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: @@ -23638,7 +24900,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 ; @@ -23657,7 +24919,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: @@ -23666,7 +24928,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 ; @@ -23685,7 +24947,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: @@ -23694,7 +24956,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 ; @@ -23723,7 +24985,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 ; @@ -23742,7 +25004,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: @@ -23751,7 +25013,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 ; @@ -23770,7 +25032,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: @@ -23779,7 +25041,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 ; @@ -23807,7 +25069,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 ; @@ -23820,7 +25082,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; } { @@ -23845,7 +25107,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 ; @@ -23877,7 +25139,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; } } @@ -23895,7 +25157,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; } } @@ -23940,7 +25202,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 @@ -23963,7 +25225,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 ; @@ -23999,7 +25261,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; } } @@ -24017,7 +25279,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; } } @@ -24063,7 +25325,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 ; @@ -24094,7 +25356,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; @@ -24129,7 +25391,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; @@ -24164,7 +25426,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; @@ -24178,7 +25440,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; } { @@ -24189,7 +25451,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: @@ -24198,7 +25460,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 ; @@ -24214,7 +25476,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; } { @@ -24242,7 +25504,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; @@ -24256,7 +25518,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; } { @@ -24267,7 +25529,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: @@ -24276,7 +25538,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 ; @@ -24292,11 +25554,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; } { @@ -24316,7 +25578,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 ; @@ -24335,7 +25597,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: @@ -24344,7 +25606,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 ; @@ -24364,7 +25626,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; @@ -24374,7 +25636,7 @@ static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxTextCtrl *result; PyObject * obj0 = 0 ; @@ -24402,7 +25664,7 @@ static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObj 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 ; @@ -24418,12 +25680,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; } } @@ -24435,7 +25697,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: @@ -24444,7 +25706,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; @@ -24482,7 +25744,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 ; @@ -24503,11 +25765,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; } { @@ -24517,7 +25779,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; } } @@ -24529,7 +25791,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) @@ -24546,7 +25808,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 ; @@ -24562,11 +25824,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; } { @@ -24577,7 +25839,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: @@ -24586,7 +25848,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 ; @@ -24604,15 +25866,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; } { @@ -24632,7 +25894,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 ; @@ -24650,16 +25912,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; } } @@ -24680,7 +25942,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; @@ -24694,7 +25956,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; } { @@ -24718,7 +25980,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 ; @@ -24734,7 +25996,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; } { @@ -24765,7 +26027,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; @@ -24779,7 +26041,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; } { @@ -24790,7 +26052,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: @@ -24799,7 +26061,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 ; @@ -24815,11 +26077,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; } { @@ -24839,7 +26101,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; @@ -24853,7 +26115,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; } { @@ -24865,7 +26127,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; @@ -24875,7 +26137,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 ; @@ -24891,12 +26153,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; } } @@ -24909,7 +26171,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; @@ -24919,7 +26181,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 ; @@ -24936,7 +26198,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; } { @@ -24960,7 +26222,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 ; @@ -24979,7 +26241,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: @@ -24988,7 +26250,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 ; @@ -25007,7 +26269,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: @@ -25016,7 +26278,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 ; @@ -25036,7 +26298,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; @@ -25046,7 +26308,7 @@ static PyObject *_wrap_ListCtrl_GetItemSpacing(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 ; @@ -25065,7 +26327,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: @@ -25074,7 +26336,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 ; @@ -25094,7 +26356,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; @@ -25104,7 +26366,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 ; @@ -25136,7 +26398,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 ; @@ -25155,7 +26417,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: @@ -25164,7 +26426,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 ; @@ -25179,12 +26441,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; } } @@ -25203,7 +26465,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 ; @@ -25216,7 +26478,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; } { @@ -25234,7 +26496,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 ; @@ -25252,18 +26514,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; } } @@ -25275,7 +26537,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: @@ -25284,7 +26546,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; @@ -25298,7 +26560,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; } { @@ -25309,7 +26571,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: @@ -25318,7 +26580,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 ; @@ -25335,7 +26597,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; } { @@ -25353,7 +26615,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 ; @@ -25370,7 +26632,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; } { @@ -25388,7 +26650,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 ; @@ -25416,7 +26678,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 ; @@ -25444,7 +26706,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 ; @@ -25457,7 +26719,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; } { @@ -25475,7 +26737,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 ; @@ -25490,11 +26752,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; } { @@ -25512,7 +26774,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; @@ -25527,7 +26789,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; } } @@ -25548,7 +26810,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; @@ -25562,7 +26824,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; } { @@ -25582,7 +26844,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 ; @@ -25610,7 +26872,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; @@ -25624,7 +26886,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; } { @@ -25644,7 +26906,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 ; @@ -25672,7 +26934,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[] = { @@ -25697,7 +26959,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 ; wxTextCtrl *result; @@ -25711,7 +26973,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; } { @@ -25731,7 +26993,7 @@ static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool arg2 ; bool result; @@ -25745,7 +27007,7 @@ static PyObject *_wrap_ListCtrl_EndEditLabel(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 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25765,7 +27027,7 @@ static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; bool result; @@ -25779,7 +27041,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; } { @@ -25799,7 +27061,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 ; @@ -25818,7 +27080,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; } { @@ -25828,7 +27090,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; } } @@ -25840,7 +27102,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) @@ -25857,7 +27119,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 ; @@ -25873,11 +27135,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; } { @@ -25888,7 +27150,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: @@ -25897,7 +27159,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 ; @@ -25916,7 +27178,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; } { @@ -25924,7 +27186,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; } { @@ -25935,7 +27197,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: @@ -25944,7 +27206,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 ; @@ -25974,7 +27236,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))); @@ -25985,7 +27247,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; @@ -26014,7 +27276,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: @@ -26023,24 +27285,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; } { @@ -26048,15 +27312,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) @@ -26073,7 +27343,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 ; @@ -26089,11 +27359,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; } { @@ -26104,7 +27374,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: @@ -26113,7 +27383,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 ; @@ -26132,7 +27402,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; } { @@ -26141,7 +27411,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; } { @@ -26152,7 +27422,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) @@ -26168,8 +27438,8 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args } -static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxListItem *arg3 = 0 ; @@ -26181,11 +27451,11 @@ static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyO (char *) "self",(char *) "col",(char *) "info", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",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 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26204,7 +27474,7 @@ static PyObject *_wrap_ListCtrl_InsertColumnInfo(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: @@ -26213,7 +27483,7 @@ static PyObject *_wrap_ListCtrl_InsertColumnInfo(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 ; @@ -26234,7 +27504,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; } { @@ -26244,13 +27514,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; } } @@ -26262,7 +27532,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) @@ -26279,7 +27549,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 ; @@ -26292,7 +27562,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; } { @@ -26310,7 +27580,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 ; @@ -26326,11 +27596,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; } { @@ -26350,7 +27620,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 ; @@ -26366,7 +27636,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; } { @@ -26388,7 +27658,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; @@ -26402,7 +27672,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; } { @@ -26414,7 +27684,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; @@ -26424,7 +27694,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 ; @@ -26440,7 +27710,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; } { @@ -26462,7 +27732,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; @@ -26476,7 +27746,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; } { @@ -26488,7 +27758,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; @@ -26497,8 +27767,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; @@ -26529,7 +27876,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 ; @@ -26557,7 +27904,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 ; @@ -26568,21 +27915,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; @@ -26599,7 +27946,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 ; @@ -26631,7 +27978,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; } } @@ -26649,7 +27996,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; } } @@ -26694,7 +28041,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 @@ -26717,7 +28064,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 ; @@ -26753,7 +28100,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; } } @@ -26771,7 +28118,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; } } @@ -26817,7 +28164,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 ; @@ -26832,12 +28179,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; } } @@ -26856,7 +28203,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 ; @@ -26869,7 +28216,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; } { @@ -26887,7 +28234,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 ; @@ -26906,7 +28253,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: @@ -26915,7 +28262,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; @@ -26929,7 +28276,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; } { @@ -26940,7 +28287,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: @@ -26949,7 +28296,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 ; @@ -26968,7 +28315,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: @@ -26977,7 +28324,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; @@ -26991,7 +28338,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; } { @@ -27011,7 +28358,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 ; @@ -27026,11 +28373,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; } { @@ -27048,7 +28395,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 ; @@ -27061,7 +28408,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; } { @@ -27092,7 +28439,7 @@ static int _wrap_TreeCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TreeCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -27106,7 +28453,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 @@ -27128,7 +28475,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[] = { @@ -27153,7 +28500,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 ; @@ -27181,7 +28528,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; @@ -27213,7 +28560,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; @@ -27245,7 +28592,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 ; @@ -27258,7 +28605,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; } } @@ -27272,7 +28619,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 ; @@ -27300,7 +28647,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 ; @@ -27326,8 +28673,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 ; @@ -27353,7 +28725,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 ; @@ -27381,7 +28753,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 ; @@ -27410,7 +28782,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 ; @@ -27445,7 +28817,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[] = { @@ -27477,7 +28849,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; @@ -27490,13 +28862,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; } } @@ -27515,7 +28887,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 ; @@ -27535,7 +28907,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; @@ -27545,7 +28917,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 ; @@ -27580,7 +28952,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 ; @@ -27600,7 +28972,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; @@ -27610,7 +28982,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 ; @@ -27645,7 +29017,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 ; @@ -27665,7 +29037,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; @@ -27675,7 +29047,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 ; @@ -27707,7 +29079,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 ; @@ -27736,7 +29108,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 ; @@ -27755,7 +29127,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: @@ -27764,7 +29136,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 ; @@ -27799,7 +29171,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 ; @@ -27834,7 +29206,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 ; @@ -27875,7 +29247,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 ; @@ -27903,7 +29275,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 ; @@ -27916,7 +29288,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; } { @@ -27934,7 +29306,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 ; @@ -27975,7 +29347,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 ; @@ -28014,7 +29386,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 ; @@ -28046,7 +29418,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; } } @@ -28064,7 +29436,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; } } @@ -28109,7 +29481,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 @@ -28132,7 +29504,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 ; @@ -28168,7 +29540,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; } } @@ -28186,7 +29558,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; } } @@ -28232,7 +29604,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 ; @@ -28263,7 +29635,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 ; @@ -28282,7 +29654,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: @@ -28291,7 +29663,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 ; @@ -28310,7 +29682,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: @@ -28319,7 +29691,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 ; @@ -28332,7 +29704,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; } { @@ -28350,7 +29722,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 ; @@ -28369,7 +29741,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: @@ -28378,7 +29750,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 ; @@ -28391,7 +29763,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; } { @@ -28409,7 +29781,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 ; @@ -28428,7 +29800,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: @@ -28437,7 +29809,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 ; @@ -28456,7 +29828,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: @@ -28465,7 +29837,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 ; @@ -28494,7 +29866,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 ; @@ -28523,7 +29895,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 ; @@ -28552,7 +29924,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 ; @@ -28581,7 +29953,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; @@ -28623,7 +29995,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 ; @@ -28648,19 +30020,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: @@ -28669,7 +30041,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; @@ -28705,7 +30077,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; @@ -28741,7 +30113,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; @@ -28771,7 +30143,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; @@ -28781,7 +30153,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; @@ -28811,7 +30183,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; @@ -28821,7 +30193,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; @@ -28851,7 +30223,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; @@ -28861,7 +30233,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 ; @@ -28912,7 +30284,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 ; @@ -28937,18 +30309,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; @@ -28961,7 +30333,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 ; @@ -28983,7 +30355,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(); @@ -29000,7 +30372,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 ; @@ -29038,7 +30410,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 ; @@ -29062,7 +30434,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; } } @@ -29081,7 +30453,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 ; @@ -29105,7 +30477,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; } } @@ -29124,7 +30496,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 ; @@ -29148,7 +30520,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; } } @@ -29167,7 +30539,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 ; @@ -29209,7 +30581,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 ; @@ -29251,7 +30623,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 ; @@ -29296,7 +30668,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; @@ -29334,7 +30706,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; @@ -29372,7 +30744,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; @@ -29410,7 +30782,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; @@ -29448,7 +30820,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; @@ -29486,7 +30858,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 ; @@ -29511,7 +30883,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; } } @@ -29523,7 +30895,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: @@ -29532,7 +30904,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 ; @@ -29552,7 +30924,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; @@ -29562,7 +30934,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 ; @@ -29582,7 +30954,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; @@ -29592,7 +30964,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 ; @@ -29618,7 +30990,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; @@ -29648,7 +31020,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; @@ -29658,7 +31030,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; @@ -29694,7 +31066,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 ; @@ -29718,7 +31090,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; } } @@ -29737,7 +31109,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; @@ -29767,7 +31139,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; @@ -29777,7 +31149,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; @@ -29807,7 +31179,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; @@ -29817,7 +31189,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; @@ -29847,7 +31219,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; @@ -29857,7 +31229,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 ; @@ -29877,7 +31249,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; @@ -29887,7 +31259,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; @@ -29917,7 +31289,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; @@ -29927,7 +31299,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; @@ -29957,7 +31329,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; @@ -29967,7 +31339,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 ; @@ -29994,18 +31366,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; } { @@ -30017,7 +31389,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); } { @@ -30035,7 +31407,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 ; @@ -30072,18 +31444,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; } { @@ -30095,7 +31467,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); } { @@ -30113,7 +31485,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 ; @@ -30160,18 +31532,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; } { @@ -30183,7 +31555,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); } { @@ -30201,7 +31573,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 ; @@ -30234,7 +31606,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; } { @@ -30244,18 +31616,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; } { @@ -30267,7 +31639,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); } { @@ -30285,7 +31657,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 ; @@ -30322,18 +31694,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; } { @@ -30345,7 +31717,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); } { @@ -30363,7 +31735,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 ; @@ -30398,7 +31770,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 ; @@ -30433,7 +31805,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[] = { @@ -30458,7 +31830,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 ; @@ -30493,7 +31865,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 ; @@ -30528,7 +31900,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 ; @@ -30563,7 +31935,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 ; @@ -30598,7 +31970,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[] = { @@ -30623,7 +31995,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 ; @@ -30658,7 +32030,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[] = { @@ -30683,7 +32055,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 ; @@ -30707,7 +32079,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; } } @@ -30726,7 +32098,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 ; @@ -30761,7 +32133,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 ; @@ -30796,7 +32168,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 ; @@ -30831,7 +32203,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 ; @@ -30866,7 +32238,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 ; @@ -30894,7 +32266,7 @@ static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) false ; @@ -30918,7 +32290,7 @@ static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObjec } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -30937,7 +32309,7 @@ static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObjec 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 ; @@ -30972,7 +32344,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 ; @@ -31003,7 +32375,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) ? @@ -31015,7 +32387,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 ; @@ -31040,7 +32412,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; } } @@ -31059,7 +32431,7 @@ static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 ; @@ -31082,7 +32454,7 @@ static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *k if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -31100,7 +32472,7 @@ static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int result; @@ -31129,7 +32501,7 @@ static PyObject *_wrap_TreeCtrl_GetState(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: @@ -31138,7 +32510,7 @@ static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *k 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 ; @@ -31149,21 +32521,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; @@ -31186,7 +32558,7 @@ static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) { static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -31200,7 +32572,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 ; @@ -31239,7 +32611,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; } } @@ -31264,7 +32636,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; } } @@ -31277,7 +32649,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; } } @@ -31328,7 +32700,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 @@ -31351,7 +32723,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 ; @@ -31394,7 +32766,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; } } @@ -31419,7 +32791,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; } } @@ -31432,7 +32804,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; } } @@ -31484,7 +32856,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; @@ -31528,7 +32900,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 ; @@ -31560,7 +32932,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 ; @@ -31601,7 +32973,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 ; @@ -31633,7 +33005,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 ; @@ -31665,7 +33037,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 ; @@ -31706,7 +33078,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 ; @@ -31719,7 +33091,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; } { @@ -31737,7 +33109,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 ; @@ -31765,7 +33137,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 ; @@ -31797,7 +33169,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 ; @@ -31838,7 +33210,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 ; @@ -31857,7 +33229,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: @@ -31866,7 +33238,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 ; @@ -31879,7 +33251,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; } { @@ -31897,7 +33269,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 ; @@ -31917,7 +33289,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; @@ -31927,7 +33299,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 ; @@ -31955,7 +33327,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 ; @@ -31981,7 +33353,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 ; @@ -32025,7 +33397,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) ? @@ -32045,7 +33417,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[] = { @@ -32070,7 +33442,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[] = { @@ -32102,7 +33474,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 ; @@ -32127,7 +33499,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; } } @@ -32145,7 +33517,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; } } @@ -32165,7 +33537,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 @@ -32188,7 +33560,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 ; @@ -32217,7 +33589,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; } } @@ -32235,7 +33607,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; } } @@ -32256,7 +33628,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 ; @@ -32277,7 +33649,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; } { @@ -32310,7 +33682,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 ; @@ -32342,7 +33714,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; } } @@ -32360,7 +33732,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; } } @@ -32405,7 +33777,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 @@ -32428,7 +33800,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 ; @@ -32459,7 +33831,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 ; @@ -32490,8 +33862,40 @@ static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyControl *arg1 = (wxPyControl *) 0 ; + wxDC *arg2 = (wxDC *) 0 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "dc", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",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_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DoEraseBackground(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_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32506,28 +33910,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; @@ -32539,8 +33943,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 ; @@ -32557,34 +33961,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; @@ -32596,8 +34000,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 ; @@ -32608,20 +34012,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; @@ -32633,8 +34037,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 ; @@ -32645,20 +34049,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; @@ -32670,8 +34074,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 ; @@ -32686,12 +34090,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; @@ -32707,8 +34111,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 ; @@ -32723,12 +34127,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; @@ -32744,8 +34148,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 ; @@ -32760,12 +34164,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; @@ -32781,8 +34185,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 ; @@ -32790,19 +34194,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; @@ -32811,8 +34215,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 ; @@ -32820,19 +34224,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; @@ -32841,20 +34245,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; @@ -32866,36 +34270,8 @@ static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_PyControl_base_TransferDataToWindow(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_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(); - - 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_TransferDataFromWindow(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 ; @@ -32903,12 +34279,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_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_TransferDataFromWindow(); + result = (bool)(arg1)->TransferDataToWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32922,8 +34298,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_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32931,12 +34307,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_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_Validate(); + result = (bool)(arg1)->TransferDataFromWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32950,8 +34326,8 @@ 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_Validate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32959,12 +34335,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_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)((wxPyControl const *)arg1)->base_AcceptsFocus(); + result = (bool)(arg1)->Validate(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32978,8 +34354,8 @@ 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_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32987,12 +34363,12 @@ static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObj (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_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)->base_AcceptsFocusFromKeyboard(); + result = (bool)((wxPyControl const *)arg1)->AcceptsFocus(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33006,96 +34382,8 @@ static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObj } -static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - 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; - 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); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -33103,12 +34391,12 @@ static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail; + 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)->base_ShouldInheritColours(); + result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33122,27 +34410,83 @@ static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject } -static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; - wxColour *arg2 = 0 ; - wxColour temp2 ; + 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 *) "c", NULL + (char *) "self",(char *) "child", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; + 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; { - arg2 = &temp2; - if ( ! wxColour_helper(obj1, &arg2)) 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)->base_ApplyParentThemeBackground((wxColour const &)*arg2); + (arg1)->RemoveChild(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33154,8 +34498,36 @@ static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyO } -static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_ShouldInheritColours(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_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)->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_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -33163,19 +34535,19 @@ static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",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 = (arg1)->base_GetDefaultAttributes(); + result = (arg1)->GetDefaultAttributes(); 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; @@ -33184,6 +34556,31 @@ static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject } +static PyObject *_wrap_PyControl_OnInternalIdle(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_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; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->OnInternalIdle(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject * PyControl_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -33192,7 +34589,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 ; @@ -33209,13 +34606,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; } } @@ -33240,7 +34637,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 ; @@ -33260,7 +34657,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; @@ -33270,7 +34667,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 ; @@ -33302,7 +34699,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 ; @@ -33337,7 +34734,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 ; @@ -33378,7 +34775,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 ; @@ -33413,7 +34810,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 ; @@ -33461,7 +34858,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; @@ -33478,7 +34875,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; } } @@ -33498,7 +34895,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[] = { @@ -33523,7 +34920,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; @@ -33557,7 +34954,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 ; @@ -33592,7 +34989,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 ; @@ -33617,7 +35014,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; } } @@ -33635,7 +35032,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; } } @@ -33662,7 +35059,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 ; @@ -33671,7 +35068,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(); @@ -33680,7 +35077,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; @@ -33688,7 +35085,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 @@ -33710,7 +35107,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; @@ -33746,7 +35143,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; @@ -33778,7 +35175,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 ; @@ -33823,7 +35220,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 ; @@ -33839,7 +35236,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; } { @@ -33870,7 +35267,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 ; @@ -33899,7 +35296,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[] = { @@ -33931,7 +35328,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 @@ -33960,7 +35357,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 ; @@ -34006,7 +35403,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 ; @@ -34052,7 +35449,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 ; @@ -34104,7 +35501,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; @@ -34147,7 +35544,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; @@ -34167,7 +35564,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; } { @@ -34186,7 +35583,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[] = { @@ -34211,7 +35608,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 ; @@ -34240,7 +35637,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 ; @@ -34268,7 +35665,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; } } @@ -34293,7 +35690,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 ; @@ -34336,7 +35733,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 ; @@ -34364,7 +35761,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; @@ -34399,7 +35796,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 ; @@ -34427,7 +35824,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 ; @@ -34455,7 +35852,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; @@ -34482,7 +35879,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; @@ -34492,7 +35889,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 ; @@ -34537,7 +35934,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 ; @@ -34599,7 +35996,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 ; @@ -34629,11 +36026,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; } { @@ -34666,7 +36063,7 @@ static int _wrap_DatePickerCtrlNameStr_set(PyObject *) { static PyObject *_wrap_DatePickerCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -34680,7 +36077,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 ; @@ -34715,7 +36112,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; } } @@ -34743,7 +36140,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; } } @@ -34788,7 +36185,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 @@ -34811,7 +36208,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 ; @@ -34850,7 +36247,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; } } @@ -34878,7 +36275,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; } } @@ -34924,7 +36321,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 ; @@ -34959,7 +36356,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 ; @@ -34979,7 +36376,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; @@ -34989,7 +36386,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 ; @@ -35034,7 +36431,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 ; @@ -35054,7 +36451,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; @@ -35064,7 +36461,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 ; @@ -35084,7 +36481,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; @@ -35115,10 +36512,12 @@ static PyMethodDef SwigMethods[] = { { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BitmapButton_GetBitmapHover", (PyCFunction) _wrap_BitmapButton_GetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35138,6 +36537,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}, @@ -35155,6 +36555,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}, @@ -35200,6 +36601,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}, @@ -35449,6 +36851,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}, @@ -35480,7 +36887,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}, @@ -35488,21 +36894,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}, @@ -35585,6 +37005,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}, @@ -35594,6 +37015,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}, @@ -35735,7 +37157,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35743,6 +37165,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}, @@ -35768,6 +37192,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}, @@ -35901,27 +37326,28 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL}, { (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_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_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, 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}, @@ -35982,33 +37408,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)); } @@ -36060,6 +37459,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)); } @@ -36177,8 +37582,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)); @@ -36192,6 +37597,9 @@ static void *_p_wxPyListCtrlTo_p_wxControl(void *x) { static void *_p_wxComboBoxTo_p_wxControl(void *x) { return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((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)); } @@ -36252,8 +37660,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)); @@ -36264,6 +37672,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)); } @@ -36300,12 +37711,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)); } @@ -36333,18 +37756,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 *)(wxControlWithItems *)(wxChoice *) ((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)); } @@ -36417,6 +37843,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)); } @@ -36453,6 +37882,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)); } @@ -36561,6 +37993,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)); } @@ -36630,9 +38065,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)); } @@ -36660,9 +38092,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)); } @@ -36714,9 +38152,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)); } @@ -36738,6 +38173,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)); } @@ -36819,9 +38260,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)); } @@ -36837,21 +38275,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 *)(wxControlWithItems *)(wxChoice *) ((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)); } @@ -36915,6 +38356,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)); } @@ -36942,6 +38386,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)); } @@ -36969,6 +38419,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)); } @@ -37014,205 +38470,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_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 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_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 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_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_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_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_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, }; @@ -37224,6 +39151,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 @@ -37241,7 +39379,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; @@ -37251,13 +39389,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; @@ -37270,7 +39408,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -37283,7 +39421,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) { @@ -37296,72 +39434,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; } @@ -37370,11 +39525,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); @@ -37411,7 +39566,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, @@ -37423,7 +39578,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]); @@ -37436,14 +39591,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; + } + } } } } @@ -37453,69 +39612,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 @@ -37524,100 +39620,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); @@ -37625,142 +39700,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)); @@ -37770,378 +39845,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(static_cast(wxSL_VERTICAL))); } { - PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL))); + 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)); @@ -38163,117 +40265,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)); @@ -38303,25 +40403,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)); @@ -38330,19 +40430,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))); } }