X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/093d3ff1f77c9ff8c1b66ebf43464429c583b044..b06b3e70d1044291d150e5a29d07225f42ef0ee1:/wxPython/src/msw/_controls_wrap.cpp diff --git a/wxPython/src/msw/_controls_wrap.cpp b/wxPython/src/msw/_controls_wrap.cpp index c635dae152..a10890fd24 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 @@ -9,6 +9,7 @@ * ----------------------------------------------------------------------------- */ #define SWIGPYTHON +#define SWIG_VERSION 0x010327 #ifdef __cplusplus template class SwigValueWrapper { @@ -26,15 +27,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +107,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -#else -# define SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +126,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +144,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +187,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +205,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +318,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +440,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +462,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +521,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +534,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +611,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +632,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +644,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +684,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +712,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +748,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +791,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +825,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +845,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +878,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +897,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +926,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +935,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +948,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +982,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1002,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1046,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1073,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,7 +1094,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); } - Py_DECREF(str); + Py_XDECREF(str); return; } } @@ -1088,7 +1145,7 @@ SWIG_Python_ArgFail(int argnum) if (PyErr_Occurred()) { /* add information about failing argument */ char mesg[256]; - sprintf(mesg, "argument number %d:", argnum); + PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); return SWIG_Python_AddErrMesg(mesg, 1); } else { return 0; @@ -1103,7 +1160,7 @@ SWIG_Python_ArgFail(int argnum) /* Convert a pointer value */ SWIGRUNTIME int SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; static PyObject *SWIG_this = 0; int newref = 0; @@ -1146,7 +1203,7 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) goto type_error; } } - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); if (newref) { Py_DECREF(obj); } @@ -1154,7 +1211,6 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) #endif type_check: - if (ty) { tc = SWIG_TypeCheck(c,ty); if (!tc) goto type_error; @@ -1162,7 +1218,6 @@ type_check: } else { *ptr = vptr; } - if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); } @@ -1177,7 +1232,7 @@ type_error: char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); c = doc ? strstr(doc, "swig_ptr: ") : 0; if (c) { - c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); + c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; if (!c) goto type_error; goto type_check; } @@ -1210,14 +1265,14 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) /* Convert a packed value value */ SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) c = PySwigPacked_UnpackData(obj, ptr, sz); #else if ((!obj) || (!PyString_Check(obj))) goto type_error; - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackDataName(c, ptr, sz, ty->name); #endif @@ -1244,6 +1299,12 @@ type_error: SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { PyObject *robj = 0; + if (!type) { + if (!PyErr_Occurred()) { + PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); + } + return robj; + } if (!ptr) { Py_INCREF(Py_None); return Py_None; @@ -1301,8 +1362,8 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif -SWIGRUNTIME swig_type_info ** -SWIG_Python_GetTypeListHandle() { +SWIGRUNTIME swig_module_info * +SWIG_Python_GetModule(void) { static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { @@ -1315,21 +1376,54 @@ SWIG_Python_GetTypeListHandle() { PyErr_Clear(); type_pointer = (void *)0; } - } #endif - return (swig_type_info **) type_pointer; + } + return (swig_module_info *) type_pointer; } -/* - Search for a swig_type_info structure - */ -SWIGRUNTIMEINLINE swig_type_info * -SWIG_Python_GetTypeList() { - swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); - return tlh ? *tlh : (swig_type_info*)0; +#if PY_MAJOR_VERSION < 2 +/* PyModule_AddObject function was introduced in Python 2.0. The following function +is copied out of Python/modsupport.c in python version 2.3.4 */ +SWIGINTERN int +PyModule_AddObject(PyObject *m, char *name, PyObject *o) +{ + PyObject *dict; + if (!PyModule_Check(m)) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); + return -1; + } + if (!o) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); + return -1; + } + + dict = PyModule_GetDict(m); + if (dict == NULL) { + /* Internal error -- modules must have a dict! */ + PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", + PyModule_GetName(m)); + return -1; + } + if (PyDict_SetItemString(dict, name, o)) + return -1; + Py_DECREF(o); + return 0; } +#endif -#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList +SWIGRUNTIME void +SWIG_Python_SetModule(swig_module_info *swig_module) { + static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ + + PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, + swig_empty_runtime_method_table); + PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); + if (pointer && module) { + PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); + } +} #ifdef __cplusplus } @@ -1338,103 +1432,176 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxTextUrlEvent swig_types[0] -#define SWIGTYPE_p_wxSizer swig_types[1] -#define SWIGTYPE_p_wxCheckBox swig_types[2] -#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3] -#define SWIGTYPE_p_wxEvent swig_types[4] -#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5] -#define SWIGTYPE_p_bool swig_types[6] -#define SWIGTYPE_p_wxItemContainer swig_types[7] -#define SWIGTYPE_p_wxPyListCtrl swig_types[8] -#define SWIGTYPE_p_wxPyTreeItemData swig_types[9] -#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10] -#define SWIGTYPE_p_wxStaticLine swig_types[11] -#define SWIGTYPE_p_wxControl swig_types[12] -#define SWIGTYPE_p_wxPyControl swig_types[13] -#define SWIGTYPE_p_wxGauge swig_types[14] -#define SWIGTYPE_p_wxToolBarBase swig_types[15] -#define SWIGTYPE_p_wxFont swig_types[16] -#define SWIGTYPE_p_wxToggleButton swig_types[17] -#define SWIGTYPE_p_wxRadioButton swig_types[18] -#define SWIGTYPE_p_wxChoice swig_types[19] -#define SWIGTYPE_p_wxMemoryDC swig_types[20] -#define SWIGTYPE_ptrdiff_t swig_types[21] -#define SWIGTYPE_std__ptrdiff_t swig_types[22] -#define SWIGTYPE_p_wxListItemAttr swig_types[23] -#define SWIGTYPE_p_void swig_types[24] -#define SWIGTYPE_p_int swig_types[25] -#define SWIGTYPE_p_wxSize swig_types[26] -#define SWIGTYPE_p_wxDC swig_types[27] -#define SWIGTYPE_p_wxListView swig_types[28] -#define SWIGTYPE_p_wxIcon swig_types[29] -#define SWIGTYPE_p_wxVisualAttributes swig_types[30] -#define SWIGTYPE_p_wxTextCtrl swig_types[31] -#define SWIGTYPE_p_wxNotebook swig_types[32] -#define SWIGTYPE_p_wxChoicebook swig_types[33] -#define SWIGTYPE_p_wxNotifyEvent swig_types[34] -#define SWIGTYPE_p_wxArrayString swig_types[35] -#define SWIGTYPE_p_form_ops_t swig_types[36] -#define SWIGTYPE_p_wxListbook swig_types[37] -#define SWIGTYPE_p_wxStaticBitmap swig_types[38] -#define SWIGTYPE_p_wxSlider swig_types[39] -#define SWIGTYPE_p_wxStaticBox swig_types[40] -#define SWIGTYPE_p_wxArrayInt swig_types[41] -#define SWIGTYPE_p_wxContextHelp swig_types[42] -#define SWIGTYPE_p_long swig_types[43] -#define SWIGTYPE_p_wxDuplexMode swig_types[44] -#define SWIGTYPE_p_wxBookCtrlBase swig_types[45] -#define SWIGTYPE_p_wxEvtHandler swig_types[46] -#define SWIGTYPE_p_wxListEvent swig_types[47] -#define SWIGTYPE_p_wxCheckListBox swig_types[48] -#define SWIGTYPE_p_wxListBox swig_types[49] -#define SWIGTYPE_p_wxSpinButton swig_types[50] -#define SWIGTYPE_p_wxButton swig_types[51] -#define SWIGTYPE_p_wxBitmapButton swig_types[52] -#define SWIGTYPE_p_wxRect swig_types[53] -#define SWIGTYPE_p_wxContextHelpButton swig_types[54] -#define SWIGTYPE_p_wxRadioBox swig_types[55] -#define SWIGTYPE_p_wxScrollBar swig_types[56] -#define SWIGTYPE_p_char swig_types[57] -#define SWIGTYPE_p_wxComboBox swig_types[58] -#define SWIGTYPE_p_wxTreeItemId swig_types[59] -#define SWIGTYPE_p_wxHelpEvent swig_types[60] -#define SWIGTYPE_p_wxListItem swig_types[61] -#define SWIGTYPE_p_wxNotebookSizer swig_types[62] -#define SWIGTYPE_p_wxSpinEvent swig_types[63] -#define SWIGTYPE_p_wxGenericDragImage swig_types[64] -#define SWIGTYPE_p_wxSpinCtrl swig_types[65] -#define SWIGTYPE_p_wxPaperSize swig_types[66] -#define SWIGTYPE_p_wxImageList swig_types[67] -#define SWIGTYPE_p_wxHelpProvider swig_types[68] -#define SWIGTYPE_p_wxTextAttr swig_types[69] -#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70] -#define SWIGTYPE_p_wxChoicebookEvent swig_types[71] -#define SWIGTYPE_p_wxListbookEvent swig_types[72] -#define SWIGTYPE_p_wxNotebookEvent swig_types[73] -#define SWIGTYPE_p_wxPoint swig_types[74] -#define SWIGTYPE_p_wxObject swig_types[75] -#define SWIGTYPE_p_wxCursor swig_types[76] -#define SWIGTYPE_p_wxKeyEvent swig_types[77] -#define SWIGTYPE_p_unsigned_long swig_types[78] -#define SWIGTYPE_p_wxWindow swig_types[79] -#define SWIGTYPE_p_wxString swig_types[80] -#define SWIGTYPE_p_wxBitmap swig_types[81] -#define SWIGTYPE_unsigned_int swig_types[82] -#define SWIGTYPE_p_unsigned_int swig_types[83] -#define SWIGTYPE_p_unsigned_char swig_types[84] -#define SWIGTYPE_p_wxMouseEvent swig_types[85] -#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86] -#define SWIGTYPE_p_wxTreeEvent swig_types[87] -#define SWIGTYPE_p_wxCommandEvent swig_types[88] -#define SWIGTYPE_p_wxStaticText swig_types[89] -#define SWIGTYPE_p_wxControlWithItems swig_types[90] -#define SWIGTYPE_p_wxToolBarToolBase swig_types[91] -#define SWIGTYPE_p_wxColour swig_types[92] -#define SWIGTYPE_p_wxToolBar swig_types[93] -#define SWIGTYPE_p_wxBookCtrlSizer swig_types[94] -#define SWIGTYPE_p_wxValidator swig_types[95] -static swig_type_info *swig_types[97]; +#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) -------- */ @@ -1457,7 +1624,7 @@ static swig_type_info *swig_types[97]; 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 /*@@*/ @@ -1496,7 +1663,7 @@ SWIG_AsVal_long(PyObject* obj, long* val) return 1; } else { - SWIG_type_error("number", obj); + SWIG_Python_TypeError("number", obj); } return 0; } @@ -1510,7 +1677,7 @@ SWIGINTERN int long v; if (SWIG_AsVal_long(obj, &v)) { if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { - if (val) *val = (int)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1524,7 +1691,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1532,7 +1699,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1546,7 +1713,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1560,14 +1727,14 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1600,7 +1767,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1614,7 +1781,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1623,36 +1790,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); @@ -1672,14 +1838,14 @@ static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObje self->Insert(item, pos); } static PyObject *wxListBox_GetSelections(wxListBox *self){ - wxArrayInt lst; - self->GetSelections(lst); - PyObject *tup = PyTuple_New(lst.GetCount()); - for(size_t i=0; iGetSelections(lst); + PyObject *tup = PyTuple_New(lst.GetCount()); + for(size_t i=0; iGetWindowStyle() & wxLB_OWNERDRAW) @@ -1705,7 +1871,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) { long v = 0; if (SWIG_AsVal_long(obj, &v) && v < 0) { - SWIG_type_error("unsigned number", obj); + SWIG_Python_TypeError("unsigned number", obj); } else if (val) *val = (unsigned long)v; @@ -1713,7 +1879,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) } -SWIGINTERNSHORT unsigned long +SWIGINTERNINLINE unsigned long SWIG_As_unsigned_SS_long(PyObject* obj) { unsigned long v; @@ -1727,7 +1893,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -1769,14 +1935,91 @@ public: }; #endif - static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME); + 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); @@ -1823,13 +2066,13 @@ static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject #include - static const wxString wxPyListCtrlNameStr(_T("wxListCtrl")); + static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr); static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; } // Python aware sorting function for wxPyListCtrl static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) { int retval = 0; PyObject* func = (PyObject*)funcPtr; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* args = Py_BuildValue("(ii)", item1, item2); PyObject* result = PyEval_CallObject(func, args); @@ -1845,7 +2088,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, @@ -1870,6 +2113,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; }; @@ -1879,7 +2123,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; @@ -1937,7 +2182,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, @@ -1962,7 +2207,7 @@ public: const wxTreeItemId& item2) { int rval = 0; bool found; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false); PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false); @@ -1981,83 +2226,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) { @@ -2090,7 +2258,7 @@ static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &it data->SetData(obj); } static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){ - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* rval = PyList_New(0); wxArrayTreeItemIds array; size_t num, x; @@ -2107,7 +2275,7 @@ static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){ static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){ void* cookie = 0; wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie)); - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); @@ -2116,7 +2284,7 @@ static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId cons } static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){ wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie)); - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); @@ -2126,7 +2294,7 @@ static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){ wxRect rect; if (self->GetBoundingRect(item, rect, textOnly)) { - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); wxRect* r = new wxRect(rect); PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true); wxPyEndBlockThreads(blocked); @@ -2137,7 +2305,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; @@ -2162,6 +2330,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); @@ -2187,9 +2365,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; }; @@ -2220,15 +2401,29 @@ 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; } #include + static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr); +static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){ + wxDateTime rv; + self->GetRange(&rv, NULL); + return rv; + } +static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){ + wxDateTime rv; + self->GetRange(NULL, &rv); + return rv; + } #ifdef __cplusplus extern "C" { #endif @@ -2239,7 +2434,7 @@ static int _wrap_ButtonNameStr_set(PyObject *) { static PyObject *_wrap_ButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2253,7 +2448,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 ; @@ -2289,7 +2484,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; } } @@ -2314,7 +2509,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; } } @@ -2367,7 +2562,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 @@ -2390,7 +2585,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 ; @@ -2430,7 +2625,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; } } @@ -2455,7 +2650,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; } } @@ -2509,7 +2704,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[] = { @@ -2534,7 +2729,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 @@ -2550,7 +2745,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; @@ -2560,7 +2755,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 ; @@ -2571,21 +2766,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; @@ -2602,7 +2797,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 ; @@ -2637,7 +2832,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; } } @@ -2665,7 +2860,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; } } @@ -2710,7 +2905,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 @@ -2733,7 +2928,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 ; @@ -2772,7 +2967,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; } } @@ -2800,7 +2995,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; } } @@ -2846,7 +3041,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 ; @@ -2866,7 +3061,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; @@ -2876,7 +3071,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 ; @@ -2896,7 +3091,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; @@ -2906,7 +3101,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 ; @@ -2926,7 +3121,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; @@ -2936,7 +3131,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 ; @@ -2956,7 +3151,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2966,7 +3161,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 ; @@ -3001,7 +3196,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 ; @@ -3036,7 +3231,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 ; @@ -3071,7 +3266,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 ; @@ -3106,7 +3301,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; int arg2 ; int arg3 ; @@ -3121,11 +3316,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; } { @@ -3143,7 +3338,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 ; @@ -3162,7 +3357,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: @@ -3171,7 +3366,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 ; @@ -3190,7 +3385,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: @@ -3212,7 +3407,7 @@ static int _wrap_CheckBoxNameStr_set(PyObject *) { static PyObject *_wrap_CheckBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3226,7 +3421,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 ; @@ -3262,7 +3457,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; } } @@ -3287,7 +3482,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; } } @@ -3340,7 +3535,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 @@ -3363,7 +3558,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 ; @@ -3403,7 +3598,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; } } @@ -3428,7 +3623,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; } } @@ -3482,7 +3677,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 ; @@ -3510,7 +3705,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 ; @@ -3538,7 +3733,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 ; @@ -3551,7 +3746,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; } { @@ -3569,7 +3764,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 ; @@ -3595,7 +3790,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 ; @@ -3608,12 +3803,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; @@ -3626,7 +3821,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 ; @@ -3654,7 +3849,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 ; @@ -3682,7 +3877,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 ; @@ -3693,21 +3888,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; @@ -3730,7 +3925,7 @@ static int _wrap_ChoiceNameStr_set(PyObject *) { static PyObject *_wrap_ChoiceNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3744,7 +3939,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 ; @@ -3780,7 +3975,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; } } @@ -3807,21 +4002,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; } } @@ -3872,7 +4063,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 @@ -3895,7 +4086,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 ; @@ -3935,7 +4126,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; } } @@ -3962,21 +4153,17 @@ static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -4027,130 +4214,36 @@ static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxChoice *arg1 = (wxChoice *) 0 ; - int arg2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "n", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = (int const)(SWIG_As_int(obj1)); - if (SWIG_arg_fail(2)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetSelection(arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxChoice *arg1 = (wxChoice *) 0 ; - wxString *arg2 = 0 ; - bool result; - bool temp2 = false ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "string", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp2) - delete arg2; - } - return resultobj; - fail: - { - if (temp2) - delete arg2; - } - return NULL; -} - - -static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxChoice *arg1 = (wxChoice *) 0 ; - int arg2 ; - wxString *arg3 = 0 ; - bool temp3 = false ; + int result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "n",(char *) "string", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail; + 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; - { - arg2 = (int)(SWIG_As_int(obj1)); - if (SWIG_arg_fail(2)) SWIG_fail; - } - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetString(arg2,(wxString const &)*arg3); + result = (int)((wxChoice const *)arg1)->GetCurrentSelection(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; { - if (temp3) - delete arg3; + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: - { - if (temp3) - delete arg3; - } return NULL; } static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -4161,21 +4254,21 @@ static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxChoice::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -4198,7 +4291,7 @@ static int _wrap_ComboBoxNameStr_set(PyObject *) { static PyObject *_wrap_ComboBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4212,7 +4305,7 @@ static PyObject *_wrap_ComboBoxNameStr_get(void) { static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4252,7 +4345,7 @@ static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4286,21 +4379,17 @@ static PyObject *_wrap_new_ComboBox(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 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -4359,7 +4448,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 @@ -4382,7 +4471,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 ; @@ -4426,7 +4515,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; } } @@ -4460,21 +4549,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; } } @@ -4534,7 +4619,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 ; @@ -4566,7 +4651,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 ; @@ -4607,7 +4692,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[] = { @@ -4632,7 +4717,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[] = { @@ -4657,7 +4742,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[] = { @@ -4682,7 +4767,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 ; @@ -4695,7 +4780,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; } { @@ -4713,7 +4798,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 ; @@ -4732,7 +4817,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: @@ -4741,7 +4826,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 ; @@ -4760,7 +4845,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: @@ -4769,7 +4854,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 ; @@ -4787,11 +4872,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; } { @@ -4822,7 +4907,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 ; @@ -4835,7 +4920,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; } { @@ -4853,7 +4938,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 ; @@ -4868,11 +4953,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; } { @@ -4890,7 +4975,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 ; @@ -4926,8 +5011,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; @@ -4971,7 +5084,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 ; @@ -4987,7 +5100,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; } { @@ -5018,7 +5131,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 ; @@ -5031,7 +5144,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; } { @@ -5049,7 +5162,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[] = { @@ -5074,7 +5187,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 ; @@ -5089,11 +5202,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; } { @@ -5111,7 +5224,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 ; @@ -5139,7 +5252,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[] = { @@ -5164,7 +5277,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[] = { @@ -5189,7 +5302,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[] = { @@ -5214,7 +5327,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 ; @@ -5242,7 +5355,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 ; @@ -5270,7 +5383,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 ; @@ -5298,7 +5411,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 ; @@ -5326,7 +5439,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 ; @@ -5354,7 +5467,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 ; @@ -5365,21 +5478,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; @@ -5402,7 +5515,7 @@ static int _wrap_GaugeNameStr_set(PyObject *) { static PyObject *_wrap_GaugeNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5416,7 +5529,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 ; @@ -5450,13 +5563,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; } } @@ -5474,7 +5587,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; } } @@ -5519,7 +5632,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 @@ -5542,7 +5655,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 ; @@ -5580,13 +5693,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; } } @@ -5604,7 +5717,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; } } @@ -5650,7 +5763,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 ; @@ -5663,7 +5776,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; } { @@ -5681,7 +5794,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 ; @@ -5700,7 +5813,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: @@ -5709,7 +5822,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 ; @@ -5722,7 +5835,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; } { @@ -5740,7 +5853,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 ; @@ -5759,7 +5872,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: @@ -5768,7 +5881,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 ; @@ -5796,7 +5909,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 ; @@ -5809,7 +5922,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; } { @@ -5827,7 +5940,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 ; @@ -5846,7 +5959,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: @@ -5855,7 +5968,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 ; @@ -5868,7 +5981,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; } { @@ -5886,7 +5999,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 ; @@ -5905,7 +6018,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: @@ -5914,7 +6027,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 ; @@ -5925,21 +6038,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; @@ -5962,7 +6075,7 @@ static int _wrap_StaticBitmapNameStr_set(PyObject *) { static PyObject *_wrap_StaticBitmapNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5982,7 +6095,7 @@ static int _wrap_StaticBoxNameStr_set(PyObject *) { static PyObject *_wrap_StaticBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -6002,7 +6115,7 @@ static int _wrap_StaticTextNameStr_set(PyObject *) { static PyObject *_wrap_StaticTextNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -6016,7 +6129,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 ; @@ -6049,7 +6162,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; } } @@ -6074,7 +6187,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; } } @@ -6117,7 +6230,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 @@ -6140,7 +6253,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 ; @@ -6177,7 +6290,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; } } @@ -6202,7 +6315,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; } } @@ -6246,7 +6359,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 ; @@ -6257,21 +6370,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; @@ -6288,7 +6401,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 ; @@ -6317,7 +6430,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; } } @@ -6335,7 +6448,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; } } @@ -6370,7 +6483,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 @@ -6393,7 +6506,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 ; @@ -6426,7 +6539,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; } } @@ -6444,7 +6557,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; } } @@ -6480,7 +6593,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 ; @@ -6508,7 +6621,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 @@ -6523,7 +6636,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: @@ -6532,7 +6645,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 ; @@ -6543,21 +6656,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; @@ -6574,7 +6687,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 ; @@ -6607,7 +6720,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; } } @@ -6632,7 +6745,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; } } @@ -6675,7 +6788,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 @@ -6698,7 +6811,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 ; @@ -6735,7 +6848,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; } } @@ -6760,7 +6873,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; } } @@ -6803,8 +6916,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 ; @@ -6815,21 +6959,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; @@ -6846,7 +6990,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 ; @@ -6878,7 +7022,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; } } @@ -6906,7 +7050,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; } } @@ -6941,7 +7085,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 @@ -6964,7 +7108,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 ; @@ -7000,7 +7144,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; } } @@ -7028,7 +7172,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; } } @@ -7064,7 +7208,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 ; @@ -7084,7 +7228,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; @@ -7094,7 +7238,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 ; @@ -7129,7 +7273,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 ; @@ -7164,7 +7308,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 ; @@ -7175,21 +7319,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; @@ -7212,7 +7356,7 @@ static int _wrap_ListBoxNameStr_set(PyObject *) { static PyObject *_wrap_ListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -7226,7 +7370,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 ; @@ -7262,7 +7406,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; } } @@ -7289,21 +7433,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; } } @@ -7354,7 +7494,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 @@ -7377,7 +7517,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 ; @@ -7417,7 +7557,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; } } @@ -7444,21 +7584,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; } } @@ -7510,7 +7646,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 ; @@ -7533,7 +7669,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) { @@ -7562,7 +7698,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 ; @@ -7587,19 +7723,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; } { @@ -7623,7 +7755,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 ; @@ -7646,15 +7778,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); } } { @@ -7678,7 +7806,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; @@ -7692,7 +7820,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; } { @@ -7712,7 +7840,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 ; @@ -7727,12 +7855,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; } } @@ -7751,7 +7879,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 ; @@ -7764,7 +7892,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; } { @@ -7782,7 +7910,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 ; @@ -7795,7 +7923,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; } { @@ -7813,7 +7941,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 ; @@ -7827,7 +7955,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; } } @@ -7846,7 +7974,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 ; @@ -7869,7 +7997,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; } } @@ -7898,7 +8026,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 ; @@ -7924,7 +8052,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 ; @@ -7937,7 +8065,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; } { @@ -7955,7 +8083,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 ; @@ -7996,7 +8124,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 ; @@ -8009,7 +8137,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; } { @@ -8027,7 +8155,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 ; @@ -8068,7 +8196,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 ; @@ -8096,7 +8224,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 ; @@ -8112,7 +8240,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; } { @@ -8134,7 +8262,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 ; @@ -8150,7 +8278,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; } { @@ -8172,7 +8300,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 ; @@ -8187,7 +8315,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; } { @@ -8213,7 +8341,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 ; @@ -8224,21 +8352,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; @@ -8255,7 +8383,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 ; @@ -8291,7 +8419,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; } } @@ -8318,21 +8446,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; } } @@ -8383,7 +8507,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 @@ -8406,7 +8530,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 ; @@ -8446,7 +8570,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; } } @@ -8473,21 +8597,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; } } @@ -8539,7 +8659,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; @@ -8553,7 +8673,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; } { @@ -8573,7 +8693,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 ; @@ -8588,12 +8708,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; } } @@ -8612,7 +8732,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 ; @@ -8631,7 +8751,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: @@ -8640,7 +8760,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; @@ -8666,7 +8786,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: @@ -8675,7 +8795,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 ; @@ -8691,11 +8811,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; } { @@ -8706,7 +8826,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: @@ -8728,7 +8848,7 @@ static int _wrap_TextCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TextCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8742,7 +8862,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 ; @@ -8786,13 +8906,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; @@ -8805,7 +8925,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[] = { @@ -8830,7 +8950,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[] = { @@ -8855,7 +8975,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 ; @@ -8887,7 +9007,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 ; @@ -8919,7 +9039,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 ; @@ -8943,7 +9063,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; } } @@ -8962,7 +9082,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 ; @@ -8975,12 +9095,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; @@ -8993,7 +9113,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 ; @@ -9043,7 +9163,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 ; @@ -9058,12 +9178,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; } } @@ -9082,7 +9202,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 ; @@ -9095,7 +9215,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; } { @@ -9113,7 +9233,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 ; @@ -9126,7 +9246,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; } { @@ -9144,7 +9264,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 ; @@ -9172,7 +9292,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 ; @@ -9200,7 +9320,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 ; @@ -9228,7 +9348,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 ; @@ -9256,7 +9376,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 ; @@ -9284,7 +9404,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 ; @@ -9312,7 +9432,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 ; @@ -9340,7 +9460,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; @@ -9354,7 +9474,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; } { @@ -9374,7 +9494,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 ; @@ -9403,7 +9523,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 ; @@ -9432,7 +9552,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 ; @@ -9464,7 +9584,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 ; @@ -9490,7 +9610,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 ; @@ -9527,7 +9647,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 ; @@ -9546,7 +9666,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: @@ -9555,7 +9675,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 ; @@ -9574,7 +9694,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: @@ -9583,7 +9703,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 ; @@ -9602,7 +9722,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: @@ -9611,7 +9731,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 ; @@ -9630,7 +9750,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: @@ -9639,7 +9759,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 ; @@ -9667,7 +9787,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 ; @@ -9707,7 +9827,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; @@ -9724,7 +9844,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 ; @@ -9760,7 +9880,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; } } @@ -9785,7 +9905,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; } } @@ -9838,7 +9958,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 @@ -9861,7 +9981,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 ; @@ -9901,7 +10021,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; } } @@ -9926,7 +10046,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; } } @@ -9980,7 +10100,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 ; @@ -10012,7 +10132,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 ; @@ -10053,7 +10173,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 ; @@ -10069,11 +10189,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; } { @@ -10097,7 +10217,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; @@ -10111,7 +10231,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; } { @@ -10122,7 +10242,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: @@ -10131,7 +10251,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; @@ -10145,7 +10265,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; } { @@ -10169,7 +10289,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 ; @@ -10188,7 +10308,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: @@ -10197,7 +10317,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 ; @@ -10225,7 +10345,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 ; @@ -10253,7 +10373,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 ; @@ -10281,7 +10401,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 ; @@ -10309,7 +10429,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 ; @@ -10346,7 +10466,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 ; @@ -10378,7 +10498,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[] = { @@ -10403,7 +10523,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 ; @@ -10421,11 +10541,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; } { @@ -10456,7 +10576,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 ; @@ -10471,11 +10591,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; } { @@ -10493,7 +10613,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; @@ -10537,7 +10657,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 ; @@ -10584,7 +10704,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[] = { @@ -10609,7 +10729,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[] = { @@ -10634,7 +10754,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 ; @@ -10647,7 +10767,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; } { @@ -10665,7 +10785,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 ; @@ -10706,7 +10826,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 ; @@ -10747,7 +10867,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; @@ -10785,7 +10905,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 ; @@ -10803,11 +10923,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; } { @@ -10835,7 +10955,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 ; @@ -10851,7 +10971,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; } { @@ -10879,7 +10999,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; @@ -10917,7 +11037,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 ; @@ -10946,7 +11066,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 ; @@ -10962,11 +11082,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; } { @@ -10977,7 +11097,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: @@ -10986,7 +11106,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 ; @@ -11007,7 +11127,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; } { @@ -11029,7 +11149,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 ; @@ -11042,7 +11162,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; } { @@ -11060,7 +11180,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 ; @@ -11105,7 +11225,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 ; @@ -11144,7 +11264,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[] = { @@ -11169,7 +11289,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[] = { @@ -11194,7 +11314,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[] = { @@ -11219,7 +11339,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 ; @@ -11247,7 +11367,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 ; @@ -11275,7 +11395,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 ; @@ -11303,7 +11423,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[] = { @@ -11328,7 +11448,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[] = { @@ -11353,7 +11473,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 ; @@ -11381,7 +11501,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 ; @@ -11409,7 +11529,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 ; @@ -11422,7 +11542,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; } { @@ -11440,7 +11560,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[] = { @@ -11465,7 +11585,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 ; @@ -11484,7 +11604,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: @@ -11493,7 +11613,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 ; @@ -11512,7 +11632,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: @@ -11521,7 +11641,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 ; @@ -11536,11 +11656,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; } { @@ -11558,7 +11678,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[] = { @@ -11583,7 +11703,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 ; @@ -11596,7 +11716,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; } { @@ -11614,7 +11734,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; @@ -11629,7 +11749,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; } } @@ -11650,7 +11770,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 ; @@ -11678,7 +11798,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 ; @@ -11719,7 +11839,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 ; @@ -11735,11 +11855,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; } { @@ -11763,7 +11883,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 ; @@ -11774,21 +11894,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; @@ -11805,7 +11925,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 ; @@ -11821,7 +11941,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; } { @@ -11833,11 +11953,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; } { @@ -11855,7 +11975,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 ; @@ -11884,7 +12004,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 ; @@ -11903,7 +12023,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: @@ -11912,7 +12032,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 ; @@ -11931,7 +12051,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: @@ -11953,7 +12073,7 @@ static int _wrap_ScrollBarNameStr_set(PyObject *) { static PyObject *_wrap_ScrollBarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -11967,7 +12087,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 ; @@ -11999,7 +12119,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; } } @@ -12017,7 +12137,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; } } @@ -12062,7 +12182,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 @@ -12085,7 +12205,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 ; @@ -12121,7 +12241,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; } } @@ -12139,7 +12259,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; } } @@ -12185,7 +12305,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 ; @@ -12204,7 +12324,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: @@ -12213,7 +12333,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 ; @@ -12232,7 +12352,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: @@ -12241,7 +12361,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 ; @@ -12260,7 +12380,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: @@ -12269,7 +12389,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 ; @@ -12288,7 +12408,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: @@ -12297,7 +12417,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 ; @@ -12325,7 +12445,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 ; @@ -12338,7 +12458,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; } { @@ -12356,7 +12476,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 ; @@ -12377,24 +12497,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; } } @@ -12413,7 +12533,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 ; @@ -12424,21 +12544,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; @@ -12461,7 +12581,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 @@ -12481,7 +12601,7 @@ static int _wrap_SpinCtrlNameStr_set(PyObject *) { static PyObject *_wrap_SpinCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -12495,7 +12615,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 ; @@ -12524,7 +12644,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; } } @@ -12542,7 +12662,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; } } @@ -12577,7 +12697,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 @@ -12600,7 +12720,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 ; @@ -12633,7 +12753,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; } } @@ -12651,7 +12771,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; } } @@ -12687,7 +12807,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 ; @@ -12706,7 +12826,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: @@ -12715,7 +12835,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 ; @@ -12734,7 +12854,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: @@ -12743,7 +12863,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 ; @@ -12762,7 +12882,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: @@ -12771,7 +12891,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 ; @@ -12784,7 +12904,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; } { @@ -12802,7 +12922,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 ; @@ -12815,7 +12935,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; } { @@ -12833,7 +12953,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 ; @@ -12846,7 +12966,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; } { @@ -12864,7 +12984,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 ; @@ -12879,11 +12999,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; } { @@ -12901,7 +13021,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 ; @@ -12929,7 +13049,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 ; @@ -12940,21 +13060,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; @@ -12971,7 +13091,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 ; @@ -13010,7 +13130,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; } } @@ -13035,25 +13155,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; } } @@ -13096,7 +13216,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 @@ -13119,7 +13239,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 ; @@ -13162,7 +13282,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; } } @@ -13187,25 +13307,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; } } @@ -13249,7 +13369,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 ; @@ -13268,7 +13388,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: @@ -13277,7 +13397,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 ; @@ -13290,7 +13410,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; } { @@ -13308,7 +13428,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 ; @@ -13349,7 +13469,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 ; @@ -13364,11 +13484,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; } { @@ -13386,7 +13506,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 ; @@ -13405,7 +13525,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: @@ -13414,7 +13534,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 ; @@ -13433,7 +13553,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: @@ -13442,7 +13562,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 ; @@ -13457,11 +13577,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; } { @@ -13479,7 +13599,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 ; @@ -13490,21 +13610,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; @@ -13521,7 +13641,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; @@ -13534,13 +13654,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; } } @@ -13559,7 +13679,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 ; @@ -13578,7 +13698,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: @@ -13587,7 +13707,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 ; @@ -13600,7 +13720,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; } { @@ -13631,7 +13751,7 @@ static int _wrap_RadioBoxNameStr_set(PyObject *) { static PyObject *_wrap_RadioBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13651,7 +13771,7 @@ static int _wrap_RadioButtonNameStr_set(PyObject *) { static PyObject *_wrap_RadioButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13665,7 +13785,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 ; @@ -13707,7 +13827,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; } } @@ -13741,27 +13861,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; } } @@ -13820,7 +13936,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 @@ -13843,7 +13959,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 ; @@ -13889,7 +14005,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; } } @@ -13923,27 +14039,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; } } @@ -14003,7 +14115,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 ; @@ -14016,7 +14128,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; } { @@ -14034,7 +14146,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 ; @@ -14053,7 +14165,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: @@ -14062,7 +14174,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 ; @@ -14094,7 +14206,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; @@ -14138,7 +14250,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 ; @@ -14157,7 +14269,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: @@ -14166,7 +14278,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; @@ -14193,7 +14305,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) @@ -14210,7 +14322,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; @@ -14224,7 +14336,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; } { @@ -14248,7 +14360,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 ; @@ -14264,7 +14376,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; } { @@ -14295,7 +14407,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 ; @@ -14310,12 +14422,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; } } @@ -14334,7 +14446,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 ; @@ -14349,12 +14461,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; } } @@ -14373,7 +14485,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 ; @@ -14392,7 +14504,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: @@ -14401,7 +14513,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 ; @@ -14420,7 +14532,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: @@ -14429,7 +14541,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 ; @@ -14447,26 +14559,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: @@ -14475,7 +14587,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 ; @@ -14486,21 +14598,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; @@ -14517,7 +14629,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 ; @@ -14553,7 +14665,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; } } @@ -14578,7 +14690,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; } } @@ -14631,7 +14743,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 @@ -14654,7 +14766,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 ; @@ -14694,7 +14806,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; } } @@ -14719,7 +14831,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; } } @@ -14773,7 +14885,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 ; @@ -14801,7 +14913,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 ; @@ -14814,7 +14926,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; } { @@ -14832,7 +14944,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 ; @@ -14843,21 +14955,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; @@ -14880,7 +14992,7 @@ static int _wrap_SliderNameStr_set(PyObject *) { static PyObject *_wrap_SliderNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14894,7 +15006,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 ; @@ -14932,25 +15044,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; } } @@ -14968,7 +15080,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; } } @@ -15013,7 +15125,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 @@ -15036,7 +15148,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 ; @@ -15078,25 +15190,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; } } @@ -15114,7 +15226,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; } } @@ -15160,7 +15272,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 ; @@ -15179,7 +15291,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: @@ -15188,7 +15300,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 ; @@ -15201,7 +15313,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; } { @@ -15219,7 +15331,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 ; @@ -15234,11 +15346,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; } { @@ -15256,7 +15368,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 ; @@ -15275,7 +15387,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: @@ -15284,7 +15396,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 ; @@ -15303,7 +15415,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: @@ -15312,7 +15424,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 ; @@ -15325,7 +15437,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; } { @@ -15343,7 +15455,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 ; @@ -15356,7 +15468,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; } { @@ -15374,7 +15486,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 ; @@ -15387,7 +15499,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; } { @@ -15405,7 +15517,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 ; @@ -15418,7 +15530,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; } { @@ -15436,7 +15548,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 ; @@ -15455,7 +15567,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: @@ -15464,7 +15576,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 ; @@ -15483,7 +15595,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: @@ -15492,7 +15604,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 ; @@ -15505,7 +15617,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; } { @@ -15523,7 +15635,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 ; @@ -15542,7 +15654,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: @@ -15551,7 +15663,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 ; @@ -15566,12 +15678,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; } } @@ -15590,7 +15702,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 ; @@ -15609,7 +15721,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: @@ -15618,7 +15730,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[] = { @@ -15643,7 +15755,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 ; @@ -15656,7 +15768,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; } { @@ -15674,7 +15786,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[] = { @@ -15699,7 +15811,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 ; @@ -15718,7 +15830,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: @@ -15727,7 +15839,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 ; @@ -15746,7 +15858,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: @@ -15755,7 +15867,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 ; @@ -15770,11 +15882,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; } { @@ -15792,7 +15904,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 ; @@ -15803,21 +15915,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; @@ -15840,7 +15952,7 @@ static int _wrap_ToggleButtonNameStr_set(PyObject *) { static PyObject *_wrap_ToggleButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15854,7 +15966,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 ; @@ -15890,7 +16002,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; } } @@ -15915,7 +16027,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; } } @@ -15968,7 +16080,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 @@ -15991,7 +16103,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 ; @@ -16031,7 +16143,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; } } @@ -16056,7 +16168,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; } } @@ -16110,7 +16222,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 ; @@ -16123,7 +16235,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; } { @@ -16141,7 +16253,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 ; @@ -16169,7 +16281,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 ; @@ -16210,7 +16322,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 ; @@ -16221,21 +16333,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; @@ -16251,20 +16363,20 @@ static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } -static int _wrap_NOTEBOOK_NAME_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only."); +static int _wrap_NotebookNameStr_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only."); return 1; } -static PyObject *_wrap_NOTEBOOK_NAME_get(void) { - PyObject *pyobj; +static PyObject *_wrap_NotebookNameStr_get(void) { + PyObject *pyobj = NULL; { #if wxUSE_UNICODE - pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len()); + pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len()); #else - pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len()); + pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len()); #endif } return pyobj; @@ -16272,7 +16384,7 @@ static PyObject *_wrap_NOTEBOOK_NAME_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 ; @@ -16291,7 +16403,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: @@ -16300,7 +16412,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; @@ -16314,7 +16426,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; } { @@ -16334,7 +16446,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 ; @@ -16362,7 +16474,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 ; @@ -16381,7 +16493,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: @@ -16390,7 +16502,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 ; @@ -16407,7 +16519,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; } { @@ -16440,7 +16552,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; @@ -16454,7 +16566,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; } { @@ -16478,7 +16590,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 ; @@ -16507,7 +16619,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 ; @@ -16536,7 +16648,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 ; @@ -16555,7 +16667,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: @@ -16564,7 +16676,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; @@ -16578,7 +16690,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; } { @@ -16589,7 +16701,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: @@ -16598,7 +16710,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 ; @@ -16614,11 +16726,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; } { @@ -16638,7 +16750,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 ; @@ -16670,7 +16782,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; @@ -16697,7 +16809,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; @@ -16706,8 +16818,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; @@ -16721,7 +16979,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; } { @@ -16741,7 +16999,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; @@ -16755,7 +17013,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; } { @@ -16775,7 +17033,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 ; @@ -16803,7 +17061,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 ; @@ -16832,13 +17090,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; } } @@ -16867,7 +17125,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 ; @@ -16890,7 +17148,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); @@ -16902,13 +17160,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; } } @@ -16937,7 +17195,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; @@ -16951,7 +17209,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; } { @@ -16962,7 +17220,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: @@ -16971,7 +17229,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 ; @@ -16985,7 +17243,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; } } @@ -17004,7 +17262,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 ; @@ -17015,21 +17273,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; @@ -17046,7 +17304,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 ; @@ -17063,25 +17321,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; } } @@ -17100,7 +17358,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 ; @@ -17119,7 +17377,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: @@ -17128,7 +17386,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 ; @@ -17141,7 +17399,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; } { @@ -17159,7 +17417,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 ; @@ -17178,7 +17436,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: @@ -17187,7 +17445,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 ; @@ -17200,7 +17458,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; } { @@ -17225,7 +17483,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 ; @@ -17233,7 +17491,7 @@ static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs wxSize const &arg4_defvalue = wxDefaultSize ; wxSize *arg4 = (wxSize *) &arg4_defvalue ; long arg5 = (long) 0 ; - wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ; + wxString const &arg6_defvalue = wxPyNotebookNameStr ; wxString *arg6 = (wxString *) &arg6_defvalue ; wxNotebook *result; wxPoint temp3 ; @@ -17254,7 +17512,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; } } @@ -17272,7 +17530,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; } } @@ -17307,7 +17565,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 @@ -17330,7 +17588,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 ; @@ -17339,7 +17597,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwa wxSize const &arg5_defvalue = wxDefaultSize ; wxSize *arg5 = (wxSize *) &arg5_defvalue ; long arg6 = (long) 0 ; - wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ; + wxString const &arg7_defvalue = wxPyNotebookNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; bool result; wxPoint temp4 ; @@ -17363,7 +17621,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; } } @@ -17381,7 +17639,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; } } @@ -17417,7 +17675,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 ; @@ -17436,7 +17694,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: @@ -17445,7 +17703,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 ; @@ -17477,7 +17735,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 ; @@ -17509,7 +17767,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 ; @@ -17539,7 +17797,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))); @@ -17550,7 +17808,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; @@ -17577,7 +17835,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; @@ -17586,34 +17844,29 @@ static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; - wxVisualAttributes result; +static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxNotebook *arg1 = (wxNotebook *) 0 ; + wxColour result; PyObject * obj0 = 0 ; char *kwnames[] = { - (char *) "variant", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; - if (obj0) { - { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); - if (SWIG_arg_fail(1)) SWIG_fail; - } - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); + wxColour * resultptr; + resultptr = new wxColour(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; fail: @@ -17621,334 +17874,55 @@ static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject * } -static PyObject * Notebook_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEventType arg1 = (wxEventType) wxEVT_NULL ; - int arg2 = (int) 0 ; - int arg3 = (int) -1 ; - int arg4 = (int) -1 ; - wxNotebookEvent *result; +static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; + wxVisualAttributes result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; char *kwnames[] = { - (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL + (char *) "variant", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } - if (obj1) { - { - arg2 = (int)(SWIG_As_int(obj1)); - if (SWIG_arg_fail(2)) SWIG_fail; - } - } - if (obj2) { - { - arg3 = (int)(SWIG_As_int(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; - } - } - if (obj3) { - { - arg4 = (int)(SWIG_As_int(obj3)); - if (SWIG_arg_fail(4)) SWIG_fail; - } - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - int arg2 = (int) -1 ; - 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 ; - wxListbook *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 *)"O|OOOOO:new_Listbook",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; - if (obj1) { - { - arg2 = (int)(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 = (long)(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 = (wxListbook *)new wxListbook(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_wxListbook, 1); - { - if (temp6) - delete arg6; - } - return resultobj; - fail: - { - if (temp6) - delete arg6; - } - return NULL; -} - - -static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxListbook *result; - char *kwnames[] = { - NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxListbook *)new wxListbook(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxListbook *arg1 = (wxListbook *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - int arg3 = (int) -1 ; - 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 *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(2)) SWIG_fail; - if (obj2) { - { - arg3 = (int)(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 = (long)(SWIG_As_long(obj5)); - if (SWIG_arg_fail(6)) SWIG_fail; - } - } - if (obj6) { - { - arg7 = wxString_in_helper(obj6); - if (arg7 == NULL) SWIG_fail; - temp7 = true; - } - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp7) - delete arg7; - } - return resultobj; - fail: - { - if (temp7) - delete arg7; - } - return NULL; -} - - -static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxListbook *arg1 = (wxListbook *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",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 = wxNotebook::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxListbook *arg1 = (wxListbook *) 0 ; - wxListView *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 (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxListView *)(arg1)->GetListView(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; + wxVisualAttributes * resultptr; + resultptr = new wxVisualAttributes(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0); return resultobj; fail: return NULL; } -static PyObject * Listbook_swigregister(PyObject *, PyObject *args) { +static PyObject * Notebook_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_wxNotebook, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_NotebookEvent(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; + wxNotebookEvent *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -17957,28 +17931,314 @@ 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_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; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) -1 ; + 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 ; + wxListbook *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 *)"O|OOOOO:new_Listbook",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; + if (obj1) { + { + 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 = (wxListbook *)new wxListbook(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_wxListbook, 1); + { + if (temp6) + delete arg6; + } + return resultobj; + fail: + { + if (temp6) + delete arg6; + } + return NULL; +} + + +static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxListbook *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxListbook *)new wxListbook(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxListbook *arg1 = (wxListbook *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) -1 ; + 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 *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (obj2) { + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = static_cast(SWIG_As_long(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp7) + delete arg7; + } + return resultobj; + fail: + { + if (temp7) + delete arg7; + } + return NULL; +} + + +static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxListbook *arg1 = (wxListbook *) 0 ; + wxListView *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 (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + 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; } } @@ -18004,7 +18264,7 @@ static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -18032,7 +18292,7 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -18049,7 +18309,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; } } @@ -18084,7 +18344,7 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *result; char *kwnames[] = { NULL @@ -18107,7 +18367,7 @@ static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -18139,7 +18399,7 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -18156,7 +18416,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; } } @@ -18191,28 +18451,26 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; - bool result; + wxChoice *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail; + 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 = (bool)((wxChoicebook const *)arg1)->IsVertical(); + result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0); return resultobj; fail: return NULL; @@ -18220,7 +18478,7 @@ static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18255,7 +18513,7 @@ static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -18272,25 +18530,25 @@ static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -18315,160 +18573,962 @@ static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; - wxBookCtrlSizer *result; +static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + long arg5 = (long) wxBK_DEFAULT ; + wxString const &arg6_defvalue = wxPyEmptyString ; + wxString *arg6 = (wxString *) &arg6_defvalue ; + wxTreebook *result; + wxPoint temp3 ; + wxSize temp4 ; + bool temp6 = false ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; char *kwnames[] = { - (char *) "nb", NULL + (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", 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|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (obj2) { + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_long(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = wxString_in_helper(obj5); + if (arg6 == NULL) SWIG_fail; + temp6 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1); + 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_wxBookCtrlSizer, 1); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1); + { + if (temp6) + delete arg6; + } return resultobj; fail: + { + if (temp6) + delete arg6; + } return NULL; } -static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; +static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxTreebook *)new wxTreebook(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) wxBK_DEFAULT ; + wxString const &arg7_defvalue = wxPyEmptyString ; + wxString *arg7 = (wxString *) &arg7_defvalue ; + bool result; + wxPoint temp4 ; + wxSize temp5 ; + bool temp7 = false ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", 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 *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = static_cast(SWIG_As_long(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + if (obj6) { + { + arg7 = wxString_in_helper(obj6); + if (arg7 == NULL) SWIG_fail; + temp7 = true; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (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_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; - wxSize result; +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: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 *)"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 = (arg1)->CalcMin(); + result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6); 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); + } + { + if (temp4) + delete arg4; } return resultobj; fail: + { + if (temp4) + delete arg4; + } return NULL; } -static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ; - wxBookCtrlBase *result; +static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + wxWindow *arg3 = (wxWindow *) 0 ; + wxString *arg4 = 0 ; + bool arg5 = (bool) false ; + int arg6 = (int) wxNOT_FOUND ; + bool result; + bool temp4 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_bool(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = static_cast(SWIG_As_int(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp4) + delete arg4; + } + return resultobj; + fail: + { + if (temp4) + delete arg4; + } + return NULL; +} + + +static PyObject *_wrap_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + wxString *arg3 = 0 ; + bool arg4 = (bool) false ; + int arg5 = (int) wxNOT_FOUND ; + bool result; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_bool(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_int(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp3) + delete arg3; + } + return resultobj; + fail: + { + if (temp3) + delete arg3; + } + return NULL; +} + + +static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + wxString *arg3 = 0 ; + bool arg4 = (bool) false ; + int arg5 = (int) wxNOT_FOUND ; + bool result; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_bool(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_int(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp3) + delete arg3; + } + return resultobj; + fail: + { + if (temp3) + delete arg3; + } + return NULL; +} + + +static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DeletePage(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + bool arg3 = (bool) true ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos",(char *) "expand", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ExpandNode(arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->CollapseNode(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + size_t arg2 ; + int result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreebook *arg1 = (wxTreebook *) 0 ; + wxTreeCtrl *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O: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 = (wxToolbook *)new wxToolbook(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1); + return resultobj; + fail: + return NULL; +} + + +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",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL + }; + + 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(); - result = (wxNotebookSizer *)new wxNotebookSizer(arg1); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1); + { + 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_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: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 = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, (bool)0); + } 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_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_RecalcSizes",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(); - (arg1)->RecalcSizes(); + (arg1)->Realize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18480,73 +19540,76 @@ static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ; - wxSize result; +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 *) "self", NULL + (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->CalcMin(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; + 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; + } } - { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); + 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; + } } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ; - wxNotebook *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxNotebook *)(arg1)->GetNotebook(); + result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + 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 ; @@ -18565,7 +19628,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: @@ -18574,7 +19637,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 ; @@ -18602,7 +19665,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 ; @@ -18621,7 +19684,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: @@ -18630,7 +19693,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 ; @@ -18649,7 +19712,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: @@ -18658,7 +19721,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 ; @@ -18677,7 +19740,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: @@ -18686,7 +19749,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 ; @@ -18705,7 +19768,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: @@ -18714,7 +19777,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 ; @@ -18733,7 +19796,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: @@ -18742,7 +19805,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 ; @@ -18768,7 +19831,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 ; @@ -18796,7 +19859,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 ; @@ -18824,7 +19887,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 ; @@ -18852,7 +19915,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 ; @@ -18884,7 +19947,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 ; @@ -18916,7 +19979,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 ; @@ -18936,7 +19999,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; @@ -18946,7 +20009,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 ; @@ -18978,7 +20041,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 ; @@ -19010,7 +20073,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 ; @@ -19042,7 +20105,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; @@ -19056,7 +20119,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; } { @@ -19076,7 +20139,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[] = { @@ -19101,7 +20164,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; @@ -19115,7 +20178,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; } { @@ -19135,7 +20198,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; @@ -19179,7 +20242,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; @@ -19223,7 +20286,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 ; @@ -19258,7 +20321,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 ; @@ -19293,7 +20356,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 ; @@ -19334,7 +20397,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[] = { @@ -19359,7 +20422,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 ; @@ -19388,7 +20451,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 ; @@ -19414,7 +20477,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 ; @@ -19449,7 +20512,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 ; @@ -19483,7 +20546,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; } { @@ -19511,7 +20574,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; } } @@ -19534,13 +20597,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) @@ -19573,7 +20636,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 ; @@ -19609,11 +20672,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; } { @@ -19641,7 +20704,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; } } @@ -19664,13 +20727,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) @@ -19703,7 +20766,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; @@ -19726,7 +20789,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: @@ -19735,7 +20798,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 ; @@ -19751,7 +20814,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); @@ -19764,7 +20827,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: @@ -19773,7 +20836,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; @@ -19796,7 +20859,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: @@ -19805,7 +20868,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 ; @@ -19821,7 +20884,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); @@ -19834,7 +20897,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: @@ -19843,7 +20906,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; @@ -19857,7 +20920,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; } { @@ -19877,7 +20940,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 ; @@ -19896,7 +20959,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: @@ -19905,7 +20968,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; @@ -19919,7 +20982,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; } { @@ -19930,7 +20993,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: @@ -19939,7 +21002,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; @@ -19953,7 +21016,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; } { @@ -19964,7 +21027,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: @@ -19973,7 +21036,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; @@ -19987,7 +21050,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; } { @@ -20007,7 +21070,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; @@ -20021,7 +21084,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; } { @@ -20041,7 +21104,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[] = { @@ -20066,7 +21129,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 ; @@ -20094,7 +21157,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 ; @@ -20109,11 +21172,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; } { @@ -20131,7 +21194,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 ; @@ -20146,11 +21209,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; } { @@ -20168,7 +21231,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 ; @@ -20183,11 +21246,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; } { @@ -20205,7 +21268,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; @@ -20219,7 +21282,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; } { @@ -20237,7 +21300,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 ; @@ -20252,7 +21315,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; @@ -20271,7 +21334,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; @@ -20285,7 +21348,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; } { @@ -20296,7 +21359,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: @@ -20305,7 +21368,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; @@ -20319,7 +21382,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; } { @@ -20339,7 +21402,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; @@ -20353,7 +21416,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; } { @@ -20373,7 +21436,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 ; @@ -20389,7 +21452,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; } { @@ -20420,7 +21483,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; @@ -20434,7 +21497,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; } { @@ -20458,7 +21521,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 ; @@ -20474,7 +21537,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; } { @@ -20505,7 +21568,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; @@ -20519,7 +21582,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; } { @@ -20543,7 +21606,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 ; @@ -20558,11 +21621,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; } { @@ -20580,7 +21643,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 ; @@ -20612,7 +21675,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 ; @@ -20625,7 +21688,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; } { @@ -20643,7 +21706,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 ; @@ -20656,7 +21719,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; } { @@ -20674,7 +21737,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 ; @@ -20694,7 +21757,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; @@ -20704,7 +21767,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 ; @@ -20724,7 +21787,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; @@ -20734,7 +21797,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 ; @@ -20753,7 +21816,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: @@ -20762,7 +21825,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 ; @@ -20781,7 +21844,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: @@ -20790,7 +21853,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 ; @@ -20803,7 +21866,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; } { @@ -20821,7 +21884,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 ; @@ -20836,11 +21899,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; } { @@ -20858,7 +21921,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 ; @@ -20877,7 +21940,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: @@ -20886,7 +21949,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 ; @@ -20905,7 +21968,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: @@ -20914,7 +21977,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 ; @@ -20946,7 +22009,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 ; @@ -20966,7 +22029,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; @@ -20976,7 +22039,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 ; @@ -20996,7 +22059,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; @@ -21006,7 +22069,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 ; @@ -21022,11 +22085,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; } { @@ -21037,7 +22100,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: @@ -21046,7 +22109,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; @@ -21060,7 +22123,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; } { @@ -21071,7 +22134,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: @@ -21080,7 +22143,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 ; @@ -21115,7 +22178,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 ; @@ -21144,7 +22207,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; } } @@ -21162,7 +22225,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; } } @@ -21197,7 +22260,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 @@ -21220,7 +22283,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 ; @@ -21253,7 +22316,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; } } @@ -21271,7 +22334,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; } } @@ -21307,7 +22370,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 ; @@ -21323,11 +22386,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; } { @@ -21338,7 +22401,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: @@ -21347,7 +22410,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 ; @@ -21358,21 +22421,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; @@ -21395,7 +22458,7 @@ static int _wrap_ListCtrlNameStr_set(PyObject *) { static PyObject *_wrap_ListCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -21409,7 +22472,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 ; @@ -21463,8 +22526,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 ; @@ -21496,7 +22584,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 ; @@ -21528,7 +22616,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 ; @@ -21563,7 +22651,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 ; @@ -21591,7 +22679,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 ; @@ -21619,7 +22707,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 ; @@ -21647,7 +22735,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 ; @@ -21667,7 +22755,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; @@ -21677,7 +22765,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 ; @@ -21697,7 +22785,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; @@ -21707,7 +22795,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 ; @@ -21727,7 +22815,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; @@ -21736,8 +22824,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[] = { @@ -21769,7 +22892,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 @@ -21784,7 +22907,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: @@ -21793,7 +22916,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[] = { @@ -21818,7 +22941,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[] = { @@ -21843,7 +22966,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[] = { @@ -21868,7 +22991,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 ; @@ -21881,7 +23004,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; } { @@ -21899,7 +23022,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 ; @@ -21912,7 +23035,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; } { @@ -21930,7 +23053,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 ; @@ -21943,7 +23066,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; } { @@ -21961,7 +23084,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 ; @@ -21974,7 +23097,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; } { @@ -21992,7 +23115,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 ; @@ -22005,7 +23128,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; } { @@ -22023,7 +23146,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 ; @@ -22064,7 +23187,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 ; @@ -22077,7 +23200,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; } { @@ -22095,7 +23218,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 ; @@ -22108,7 +23231,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; } { @@ -22126,7 +23249,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 ; @@ -22139,7 +23262,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; } { @@ -22157,7 +23280,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 ; @@ -22170,12 +23293,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; @@ -22188,7 +23311,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 ; @@ -22220,7 +23343,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 ; @@ -22252,7 +23375,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 ; @@ -22287,7 +23410,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 ; @@ -22306,7 +23429,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: @@ -22315,7 +23438,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 ; @@ -22334,7 +23457,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: @@ -22343,7 +23466,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 ; @@ -22362,7 +23485,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: @@ -22371,7 +23494,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 ; @@ -22390,7 +23513,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: @@ -22399,7 +23522,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 ; @@ -22434,7 +23557,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 ; @@ -22453,7 +23576,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: @@ -22462,7 +23585,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 ; @@ -22481,7 +23604,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: @@ -22490,7 +23613,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 ; @@ -22509,7 +23632,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: @@ -22518,7 +23641,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 ; @@ -22544,7 +23667,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 ; @@ -22570,7 +23693,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 ; @@ -22598,7 +23721,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 ; @@ -22618,7 +23741,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; @@ -22628,7 +23751,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 ; @@ -22648,7 +23771,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; @@ -22658,7 +23781,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 ; @@ -22678,7 +23801,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; @@ -22688,7 +23811,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 ; @@ -22701,7 +23824,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; @@ -22714,7 +23837,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 ; @@ -22728,7 +23851,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: @@ -22737,7 +23860,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 ; @@ -22750,7 +23873,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; @@ -22763,7 +23886,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 ; @@ -22777,7 +23900,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: @@ -22786,7 +23909,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 ; @@ -22799,7 +23922,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; @@ -22812,7 +23935,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 ; @@ -22826,7 +23949,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: @@ -22835,7 +23958,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 ; @@ -22848,7 +23971,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; @@ -22861,7 +23984,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 ; @@ -22875,7 +23998,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: @@ -22884,7 +24007,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 ; @@ -22897,7 +24020,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; @@ -22910,7 +24033,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 ; @@ -22924,7 +24047,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: @@ -22933,7 +24056,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 ; @@ -22969,7 +24092,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 ; @@ -22996,7 +24119,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 ; @@ -23009,7 +24132,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; @@ -23022,7 +24145,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 ; @@ -23036,7 +24159,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: @@ -23045,7 +24168,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 ; @@ -23058,7 +24181,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; @@ -23071,7 +24194,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 ; @@ -23085,7 +24208,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: @@ -23094,7 +24217,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 ; @@ -23107,7 +24230,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; @@ -23120,7 +24243,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 ; @@ -23134,7 +24257,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: @@ -23143,7 +24266,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 ; @@ -23156,7 +24279,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; @@ -23169,7 +24292,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 ; @@ -23183,7 +24306,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: @@ -23199,7 +24322,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; @@ -23212,13 +24335,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; } } @@ -23237,7 +24360,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 ; @@ -23250,7 +24373,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; @@ -23263,7 +24386,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 ; @@ -23277,7 +24400,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: @@ -23286,7 +24409,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 ; @@ -23299,7 +24422,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; @@ -23312,7 +24435,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 ; @@ -23326,7 +24449,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: @@ -23335,7 +24458,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 ; @@ -23348,7 +24471,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; @@ -23361,7 +24484,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 ; @@ -23375,7 +24498,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: @@ -23384,7 +24507,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 ; @@ -23397,7 +24520,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; @@ -23410,7 +24533,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 ; @@ -23424,7 +24547,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: @@ -23433,7 +24556,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 ; @@ -23457,7 +24580,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 ; @@ -23478,7 +24601,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 ; @@ -23492,7 +24615,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: @@ -23501,7 +24624,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 ; @@ -23520,7 +24643,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: @@ -23529,7 +24652,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 ; @@ -23548,7 +24671,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: @@ -23557,7 +24680,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 ; @@ -23576,7 +24699,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: @@ -23585,7 +24708,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 ; @@ -23605,7 +24728,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; @@ -23615,7 +24738,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 ; @@ -23650,7 +24773,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 ; @@ -23685,7 +24808,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 ; @@ -23704,7 +24827,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: @@ -23713,7 +24836,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 ; @@ -23732,7 +24855,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: @@ -23741,7 +24864,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 ; @@ -23760,7 +24883,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: @@ -23769,7 +24892,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 ; @@ -23798,7 +24921,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 ; @@ -23817,7 +24940,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: @@ -23826,7 +24949,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 ; @@ -23845,7 +24968,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: @@ -23854,7 +24977,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 ; @@ -23882,7 +25005,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 ; @@ -23895,7 +25018,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; } { @@ -23920,7 +25043,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 ; @@ -23952,7 +25075,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; } } @@ -23970,7 +25093,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; } } @@ -24015,7 +25138,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 @@ -24038,7 +25161,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 ; @@ -24074,7 +25197,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; } } @@ -24092,7 +25215,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; } } @@ -24138,7 +25261,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 ; @@ -24169,7 +25292,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; @@ -24204,7 +25327,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; @@ -24239,7 +25362,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; @@ -24253,7 +25376,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; } { @@ -24264,7 +25387,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: @@ -24273,7 +25396,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 ; @@ -24289,7 +25412,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; } { @@ -24317,7 +25440,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; @@ -24331,7 +25454,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; } { @@ -24342,7 +25465,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: @@ -24351,7 +25474,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 ; @@ -24367,11 +25490,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; } { @@ -24391,7 +25514,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 ; @@ -24410,7 +25533,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: @@ -24419,7 +25542,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 ; @@ -24439,7 +25562,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; @@ -24449,7 +25572,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 ; @@ -24477,7 +25600,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 ; @@ -24493,12 +25616,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; } } @@ -24510,7 +25633,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: @@ -24519,7 +25642,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; @@ -24557,7 +25680,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 ; @@ -24578,11 +25701,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; } { @@ -24592,7 +25715,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; } } @@ -24604,7 +25727,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) @@ -24621,7 +25744,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 ; @@ -24637,11 +25760,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; } { @@ -24652,7 +25775,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: @@ -24661,7 +25784,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 ; @@ -24679,15 +25802,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; } { @@ -24707,7 +25830,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 ; @@ -24725,16 +25848,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; } } @@ -24755,7 +25878,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; @@ -24769,7 +25892,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; } { @@ -24793,7 +25916,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 ; @@ -24809,7 +25932,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; } { @@ -24840,7 +25963,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; @@ -24854,7 +25977,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; } { @@ -24865,7 +25988,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: @@ -24874,7 +25997,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 ; @@ -24890,11 +26013,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; } { @@ -24914,7 +26037,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; @@ -24928,7 +26051,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; } { @@ -24940,7 +26063,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; @@ -24950,7 +26073,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 ; @@ -24966,12 +26089,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; } } @@ -24984,7 +26107,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; @@ -24994,7 +26117,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 ; @@ -25011,7 +26134,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; } { @@ -25035,7 +26158,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 ; @@ -25054,7 +26177,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: @@ -25063,7 +26186,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 ; @@ -25082,7 +26205,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: @@ -25091,7 +26214,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 ; @@ -25111,7 +26234,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; @@ -25121,7 +26244,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 ; @@ -25140,7 +26263,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: @@ -25149,7 +26272,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 ; @@ -25169,7 +26292,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; @@ -25179,7 +26302,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 ; @@ -25211,7 +26334,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 ; @@ -25230,7 +26353,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: @@ -25239,7 +26362,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 ; @@ -25254,12 +26377,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; } } @@ -25278,7 +26401,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 ; @@ -25291,7 +26414,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; } { @@ -25309,7 +26432,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 ; @@ -25327,18 +26450,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; } } @@ -25350,7 +26473,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: @@ -25359,7 +26482,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; @@ -25373,7 +26496,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; } { @@ -25384,7 +26507,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: @@ -25393,7 +26516,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 ; @@ -25410,7 +26533,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; } { @@ -25428,7 +26551,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 ; @@ -25445,7 +26568,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; } { @@ -25463,7 +26586,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 ; @@ -25491,7 +26614,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 ; @@ -25519,7 +26642,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 ; @@ -25532,7 +26655,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; } { @@ -25550,7 +26673,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 ; @@ -25565,11 +26688,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; } { @@ -25587,7 +26710,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; @@ -25602,7 +26725,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; } } @@ -25623,7 +26746,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; @@ -25637,7 +26760,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; } { @@ -25657,7 +26780,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 ; @@ -25685,7 +26808,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; @@ -25699,7 +26822,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; } { @@ -25719,7 +26842,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 ; @@ -25747,7 +26870,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[] = { @@ -25772,7 +26895,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; @@ -25786,7 +26909,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; } { @@ -25806,7 +26929,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; @@ -25820,7 +26943,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; } { @@ -25840,7 +26963,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; @@ -25854,7 +26977,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; } { @@ -25874,7 +26997,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 ; @@ -25893,7 +27016,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; } { @@ -25903,7 +27026,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; } } @@ -25915,7 +27038,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) @@ -25932,7 +27055,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 ; @@ -25948,11 +27071,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; } { @@ -25963,7 +27086,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: @@ -25972,7 +27095,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 ; @@ -25991,7 +27114,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; } { @@ -25999,7 +27122,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; } { @@ -26010,7 +27133,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: @@ -26019,7 +27142,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 ; @@ -26049,7 +27172,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))); @@ -26060,7 +27183,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; @@ -26089,7 +27212,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: @@ -26098,24 +27221,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; } { @@ -26123,15 +27248,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) @@ -26148,7 +27279,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 ; @@ -26164,11 +27295,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; } { @@ -26179,7 +27310,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: @@ -26188,7 +27319,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 ; @@ -26207,7 +27338,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; } { @@ -26216,7 +27347,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; } { @@ -26227,7 +27358,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) @@ -26243,8 +27374,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 ; @@ -26256,11 +27387,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; } { @@ -26279,7 +27410,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: @@ -26288,7 +27419,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 ; @@ -26309,7 +27440,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; } { @@ -26319,13 +27450,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; } } @@ -26337,7 +27468,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) @@ -26354,7 +27485,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 ; @@ -26367,7 +27498,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; } { @@ -26385,7 +27516,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 ; @@ -26401,11 +27532,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; } { @@ -26425,7 +27556,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 ; @@ -26441,7 +27572,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; } { @@ -26463,7 +27594,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; @@ -26477,7 +27608,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; } { @@ -26489,7 +27620,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; @@ -26499,7 +27630,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 ; @@ -26515,7 +27646,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; } { @@ -26537,7 +27668,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; @@ -26551,7 +27682,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; } { @@ -26563,7 +27694,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; @@ -26572,8 +27703,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; @@ -26604,7 +27812,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 ; @@ -26632,7 +27840,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 ; @@ -26643,21 +27851,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; @@ -26674,7 +27882,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 ; @@ -26706,7 +27914,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; } } @@ -26724,7 +27932,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; } } @@ -26769,7 +27977,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 @@ -26792,7 +28000,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 ; @@ -26828,7 +28036,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; } } @@ -26846,7 +28054,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; } } @@ -26892,7 +28100,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 ; @@ -26907,12 +28115,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; } } @@ -26931,7 +28139,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 ; @@ -26944,7 +28152,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; } { @@ -26962,7 +28170,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 ; @@ -26981,7 +28189,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: @@ -26990,7 +28198,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; @@ -27004,7 +28212,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; } { @@ -27015,7 +28223,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: @@ -27024,7 +28232,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 ; @@ -27043,7 +28251,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: @@ -27052,7 +28260,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; @@ -27066,7 +28274,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; } { @@ -27086,7 +28294,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 ; @@ -27101,11 +28309,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; } { @@ -27123,7 +28331,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 ; @@ -27136,7 +28344,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; } { @@ -27167,7 +28375,7 @@ static int _wrap_TreeCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TreeCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -27181,7 +28389,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 @@ -27203,7 +28411,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[] = { @@ -27228,7 +28436,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 ; @@ -27256,7 +28464,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; @@ -27288,7 +28496,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; @@ -27320,7 +28528,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 ; @@ -27333,7 +28541,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; } } @@ -27347,7 +28555,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 ; @@ -27375,7 +28583,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 ; @@ -27401,8 +28609,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 ; @@ -27428,7 +28661,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 ; @@ -27456,7 +28689,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 ; @@ -27485,7 +28718,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 ; @@ -27520,7 +28753,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[] = { @@ -27552,7 +28785,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; @@ -27565,13 +28798,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; } } @@ -27590,7 +28823,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 ; @@ -27610,7 +28843,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; @@ -27620,7 +28853,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 ; @@ -27655,7 +28888,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 ; @@ -27675,7 +28908,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; @@ -27685,7 +28918,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 ; @@ -27720,7 +28953,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 ; @@ -27740,7 +28973,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; @@ -27750,7 +28983,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 ; @@ -27782,7 +29015,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 ; @@ -27811,7 +29044,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 ; @@ -27830,7 +29063,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: @@ -27839,7 +29072,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 ; @@ -27874,7 +29107,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 ; @@ -27909,7 +29142,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 ; @@ -27950,7 +29183,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 ; @@ -27978,7 +29211,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 ; @@ -27991,7 +29224,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; } { @@ -28009,7 +29242,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 ; @@ -28049,6 +29282,38 @@ static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject } +static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; + wxString result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (arg1)->GetToolTip(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { +#if wxUSE_UNICODE + resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); +#else + resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); +#endif + } + return resultobj; + fail: + return NULL; +} + + static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -28057,7 +29322,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 ; @@ -28089,7 +29354,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; } } @@ -28107,7 +29372,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; } } @@ -28152,7 +29417,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 @@ -28175,7 +29440,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 ; @@ -28211,7 +29476,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; } } @@ -28229,7 +29494,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; } } @@ -28275,7 +29540,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 ; @@ -28306,7 +29571,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 ; @@ -28325,7 +29590,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: @@ -28334,7 +29599,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 ; @@ -28353,7 +29618,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: @@ -28362,7 +29627,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 ; @@ -28375,7 +29640,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; } { @@ -28393,7 +29658,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 ; @@ -28412,7 +29677,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: @@ -28421,7 +29686,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 ; @@ -28434,7 +29699,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; } { @@ -28452,7 +29717,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 ; @@ -28471,7 +29736,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: @@ -28480,7 +29745,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 ; @@ -28499,7 +29764,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: @@ -28508,7 +29773,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 ; @@ -28537,7 +29802,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 ; @@ -28566,7 +29831,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 ; @@ -28595,7 +29860,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 ; @@ -28624,7 +29889,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; @@ -28666,7 +29931,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 ; @@ -28691,19 +29956,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: @@ -28712,7 +29977,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; @@ -28748,7 +30013,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; @@ -28784,7 +30049,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; @@ -28814,7 +30079,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; @@ -28824,7 +30089,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; @@ -28854,7 +30119,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; @@ -28864,7 +30129,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; @@ -28894,7 +30159,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; @@ -28904,7 +30169,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 ; @@ -28955,7 +30220,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 ; @@ -28980,18 +30245,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; @@ -29004,7 +30269,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 ; @@ -29026,7 +30291,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(); @@ -29043,7 +30308,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 ; @@ -29081,7 +30346,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 ; @@ -29105,7 +30370,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; } } @@ -29124,7 +30389,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 ; @@ -29148,7 +30413,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; } } @@ -29167,7 +30432,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 ; @@ -29191,7 +30456,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; } } @@ -29210,7 +30475,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 ; @@ -29252,7 +30517,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 ; @@ -29294,7 +30559,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 ; @@ -29339,7 +30604,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; @@ -29377,7 +30642,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; @@ -29415,7 +30680,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; @@ -29453,7 +30718,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; @@ -29491,7 +30756,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; @@ -29529,7 +30794,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 ; @@ -29554,7 +30819,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; } } @@ -29566,7 +30831,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: @@ -29575,7 +30840,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 ; @@ -29595,7 +30860,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; @@ -29605,7 +30870,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 ; @@ -29625,7 +30890,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; @@ -29635,7 +30900,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 ; @@ -29661,7 +30926,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; @@ -29691,7 +30956,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; @@ -29701,7 +30966,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; @@ -29737,7 +31002,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 ; @@ -29761,7 +31026,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; } } @@ -29780,7 +31045,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; @@ -29810,7 +31075,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; @@ -29820,7 +31085,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; @@ -29850,7 +31115,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; @@ -29860,7 +31125,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; @@ -29890,7 +31155,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; @@ -29900,7 +31165,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 ; @@ -29920,7 +31185,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; @@ -29930,7 +31195,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; @@ -29960,7 +31225,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; @@ -29970,7 +31235,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; @@ -30000,7 +31265,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; @@ -30010,7 +31275,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 ; @@ -30037,18 +31302,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; } { @@ -30060,7 +31325,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); } { @@ -30078,7 +31343,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 ; @@ -30115,18 +31380,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; } { @@ -30138,7 +31403,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); } { @@ -30156,7 +31421,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 ; @@ -30203,18 +31468,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; } { @@ -30226,7 +31491,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); } { @@ -30244,7 +31509,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 ; @@ -30277,7 +31542,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; } { @@ -30287,18 +31552,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; } { @@ -30310,7 +31575,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); } { @@ -30328,7 +31593,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 ; @@ -30365,18 +31630,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; } { @@ -30388,7 +31653,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); } { @@ -30406,7 +31671,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 ; @@ -30441,7 +31706,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 ; @@ -30476,7 +31741,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[] = { @@ -30501,7 +31766,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 ; @@ -30536,7 +31801,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 ; @@ -30571,7 +31836,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 ; @@ -30606,7 +31871,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 ; @@ -30641,7 +31906,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[] = { @@ -30666,7 +31931,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 ; @@ -30701,7 +31966,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[] = { @@ -30726,7 +31991,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 ; @@ -30750,7 +32015,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; } } @@ -30769,7 +32034,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 ; @@ -30804,7 +32069,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 ; @@ -30839,7 +32104,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 ; @@ -30874,7 +32139,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 ; @@ -30909,7 +32174,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 ; @@ -30937,7 +32202,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 ; @@ -30961,7 +32226,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; } } @@ -30980,7 +32245,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 ; @@ -31015,7 +32280,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 ; @@ -31046,7 +32311,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) ? @@ -31058,7 +32323,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 ; @@ -31083,7 +32348,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; } } @@ -31102,7 +32367,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 ; @@ -31125,7 +32390,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; } { @@ -31143,7 +32408,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; @@ -31172,7 +32437,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: @@ -31181,7 +32446,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 ; @@ -31192,21 +32457,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; @@ -31229,7 +32494,7 @@ static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) { static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -31243,7 +32508,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 ; @@ -31282,7 +32547,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; } } @@ -31307,7 +32572,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; } } @@ -31320,7 +32585,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; } } @@ -31371,7 +32636,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 @@ -31394,7 +32659,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 ; @@ -31437,7 +32702,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; } } @@ -31462,7 +32727,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; } } @@ -31475,7 +32740,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; } } @@ -31527,7 +32792,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; @@ -31571,7 +32836,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 ; @@ -31603,7 +32868,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 ; @@ -31644,7 +32909,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 ; @@ -31676,7 +32941,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 ; @@ -31708,7 +32973,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 ; @@ -31749,7 +33014,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 ; @@ -31762,7 +33027,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; } { @@ -31780,7 +33045,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 ; @@ -31808,7 +33073,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 ; @@ -31840,7 +33105,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 ; @@ -31881,7 +33146,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 ; @@ -31900,7 +33165,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: @@ -31909,7 +33174,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 ; @@ -31922,7 +33187,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; } { @@ -31940,7 +33205,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 ; @@ -31960,7 +33225,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; @@ -31970,7 +33235,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 ; @@ -31998,7 +33263,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 ; @@ -32024,7 +33289,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 ; @@ -32068,7 +33333,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) ? @@ -32088,7 +33353,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[] = { @@ -32113,7 +33378,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[] = { @@ -32145,7 +33410,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 ; @@ -32170,7 +33435,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; } } @@ -32188,7 +33453,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; } } @@ -32208,7 +33473,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 @@ -32231,7 +33496,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 ; @@ -32260,7 +33525,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; } } @@ -32278,7 +33543,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; } } @@ -32299,7 +33564,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 ; @@ -32320,7 +33585,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; } { @@ -32353,7 +33618,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 ; @@ -32385,7 +33650,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; } } @@ -32403,7 +33668,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; } } @@ -32448,7 +33713,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 @@ -32471,7 +33736,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 ; @@ -32502,7 +33767,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 ; @@ -32533,8 +33798,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 ; @@ -32549,28 +33846,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; @@ -32582,8 +33879,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 ; @@ -32600,34 +33897,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; @@ -32639,8 +33936,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 ; @@ -32651,20 +33948,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; @@ -32676,8 +33973,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 ; @@ -32688,20 +33985,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; @@ -32713,8 +34010,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 ; @@ -32729,12 +34026,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; @@ -32750,8 +34047,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 ; @@ -32766,12 +34063,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; @@ -32787,8 +34084,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 ; @@ -32803,12 +34100,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; @@ -32824,8 +34121,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 ; @@ -32833,19 +34130,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; @@ -32854,8 +34151,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 ; @@ -32863,19 +34160,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; @@ -32884,20 +34181,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; @@ -32909,8 +34206,8 @@ static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32918,12 +34215,12 @@ static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_TransferDataToWindow(); + result = (bool)(arg1)->TransferDataToWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32937,8 +34234,8 @@ static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject } -static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32946,12 +34243,12 @@ static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_TransferDataFromWindow(); + result = (bool)(arg1)->TransferDataFromWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32965,8 +34262,8 @@ static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObjec } -static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32974,12 +34271,12 @@ static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_Validate(); + result = (bool)(arg1)->Validate(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32993,8 +34290,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_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -33002,12 +34299,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_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_AcceptsFocus(); + result = (bool)((wxPyControl const *)arg1)->AcceptsFocus(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33021,8 +34318,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_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -33030,12 +34327,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_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_AcceptsFocusFromKeyboard(); + result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33049,8 +34346,8 @@ static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObj } -static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -33058,19 +34355,19 @@ static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail; + 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)->base_GetMaxSize(); + result = ((wxPyControl const *)arg1)->GetMaxSize(); 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; @@ -33079,8 +34376,8 @@ static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -33089,14 +34386,14 @@ static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "child", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",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; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_AddChild(arg2); + (arg1)->AddChild(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33108,8 +34405,8 @@ static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -33118,14 +34415,14 @@ static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, Py (char *) "self",(char *) "child", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"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_RemoveChild(arg2); + (arg1)->RemoveChild(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33137,8 +34434,8 @@ static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, Py } -static PyObject *_wrap_PyControl_base_ShouldInheritColours(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 ; @@ -33146,12 +34443,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_ShouldInheritColours",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours(); + result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33165,62 +34462,55 @@ 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_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; - wxColour *arg2 = 0 ; - wxColour temp2 ; + wxVisualAttributes result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "c", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) 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; - { - arg2 = &temp2; - if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); + result = (arg1)->GetDefaultAttributes(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + wxVisualAttributes * resultptr; + resultptr = new wxVisualAttributes(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; - wxVisualAttributes result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; + 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(); - result = (arg1)->base_GetDefaultAttributes(); + (arg1)->OnInternalIdle(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; @@ -33235,7 +34525,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 ; @@ -33252,13 +34542,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; } } @@ -33283,7 +34573,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 ; @@ -33303,7 +34593,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; @@ -33313,7 +34603,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 ; @@ -33345,7 +34635,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 ; @@ -33380,7 +34670,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 ; @@ -33421,7 +34711,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 ; @@ -33456,7 +34746,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 ; @@ -33504,7 +34794,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; @@ -33521,7 +34811,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; } } @@ -33541,7 +34831,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[] = { @@ -33566,7 +34856,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; @@ -33600,7 +34890,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 ; @@ -33635,7 +34925,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 ; @@ -33660,7 +34950,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; } } @@ -33678,7 +34968,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; } } @@ -33705,7 +34995,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 ; @@ -33714,7 +35004,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(); @@ -33723,7 +35013,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; @@ -33731,7 +35021,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 @@ -33753,7 +35043,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; @@ -33789,7 +35079,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; @@ -33821,7 +35111,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 ; @@ -33866,7 +35156,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 ; @@ -33882,7 +35172,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; } { @@ -33913,7 +35203,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 ; @@ -33942,7 +35232,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[] = { @@ -33974,7 +35264,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 @@ -34003,7 +35293,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 ; @@ -34049,7 +35339,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 ; @@ -34095,7 +35385,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 ; @@ -34147,7 +35437,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; @@ -34190,7 +35480,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; @@ -34210,7 +35500,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; } { @@ -34229,7 +35519,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[] = { @@ -34254,7 +35544,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 ; @@ -34283,7 +35573,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 ; @@ -34311,7 +35601,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; } } @@ -34336,7 +35626,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 ; @@ -34358,104 +35648,593 @@ static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, Py arg2 = &temp2; if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; } - SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(3)) SWIG_fail; - SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(4)) SWIG_fail; + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(4)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->EndDrag(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + bool result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Move((wxPoint const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Show(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Hide(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxRect result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxRect * resultptr; + resultptr = new wxRect(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxDC *arg2 = 0 ; + wxPoint *arg3 = 0 ; + bool result; + wxPoint temp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "dc",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxDC"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxDC *arg2 = 0 ; + wxMemoryDC *arg3 = 0 ; + wxRect *arg4 = 0 ; + wxRect *arg5 = 0 ; + bool result; + wxRect temp4 ; + wxRect temp5 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxDC"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + if (arg3 == NULL) { + SWIG_null_ref("wxMemoryDC"); + } + if (SWIG_arg_fail(3)) SWIG_fail; + } + { + arg4 = &temp4; + if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; + } + { + arg5 = &temp5; + if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxPoint *arg3 = 0 ; + bool arg4 ; + bool arg5 ; + bool result; + wxPoint temp2 ; + wxPoint temp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + { + arg4 = static_cast(SWIG_As_bool(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + { + arg5 = static_cast(SWIG_As_bool(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * DragImage_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static int _wrap_DatePickerCtrlNameStr_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only."); + return 1; +} + + +static PyObject *_wrap_DatePickerCtrlNameStr_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len()); +#endif + } + return pyobj; +} + + +static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) -1 ; + wxDateTime const &arg3_defvalue = wxDefaultDateTime ; + wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ; + wxValidator const &arg7_defvalue = wxDefaultValidator ; + wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; + wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ; + wxString *arg8 = (wxString *) &arg8_defvalue ; + wxDatePickerCtrl *result; + wxPoint temp4 ; + wxSize temp5 ; + bool temp8 = 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 ; + char *kwnames[] = { + (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) 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) { + { + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + if (arg3 == NULL) { + SWIG_null_ref("wxDateTime"); + } + 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) { + { + SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(7)) SWIG_fail; + if (arg7 == NULL) { + SWIG_null_ref("wxValidator"); + } + if (SWIG_arg_fail(7)) SWIG_fail; + } + } + if (obj7) { + { + arg8 = wxString_in_helper(obj7); + if (arg8 == NULL) SWIG_fail; + temp8 = true; + } + } { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4); + result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1); { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + if (temp8) + delete arg8; } return resultobj; fail: + { + if (temp8) + delete arg8; + } return NULL; } -static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; - PyObject * obj0 = 0 ; +static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDatePickerCtrl *result; char *kwnames[] = { - (char *) "self", NULL + NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail; { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->EndDrag(); + result = (wxDatePickerCtrl *)new wxDatePickerCtrl(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1); return resultobj; fail: return NULL; } -static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; +static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) -1 ; + wxDateTime const &arg4_defvalue = wxDefaultDateTime ; + wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ; + wxPoint const &arg5_defvalue = wxDefaultPosition ; + wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; + wxSize const &arg6_defvalue = wxDefaultSize ; + wxSize *arg6 = (wxSize *) &arg6_defvalue ; + long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ; + wxValidator const &arg8_defvalue = wxDefaultValidator ; + wxValidator *arg8 = (wxValidator *) &arg8_defvalue ; + wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ; + wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - wxPoint temp2 ; + wxPoint temp5 ; + wxSize temp6 ; + 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 *) "self",(char *) "pt", NULL + (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (obj2) { + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Move((wxPoint const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; + if (obj3) { + { + SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(4)) SWIG_fail; + if (arg4 == NULL) { + SWIG_null_ref("wxDateTime"); + } + if (SWIG_arg_fail(4)) SWIG_fail; + } } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + if (obj4) { + { + arg5 = &temp5; + if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = &temp6; + if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; + } + } + 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; + } } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Show(); + result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -34463,70 +36242,78 @@ static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwar { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + { + if (temp9) + delete arg9; + } return resultobj; fail: + { + if (temp9) + delete arg9; + } return NULL; } -static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; +static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; + wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "self",(char *) "dt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxDateTime"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Hide(); + (arg1)->SetValue((wxDateTime const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxRect result; - wxPoint temp2 ; +static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; + wxDateTime result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "pos", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2); + result = ((wxDatePickerCtrl const *)arg1)->GetValue(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); + wxDateTime * resultptr; + resultptr = new wxDateTime(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; fail: @@ -34534,106 +36321,74 @@ static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxDC *arg2 = 0 ; - wxPoint *arg3 = 0 ; - bool result; - wxPoint temp3 ; +static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; + wxDateTime *arg2 = 0 ; + wxDateTime *arg3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "dc",(char *) "pos", NULL + (char *) "self",(char *) "dt1",(char *) "dt2", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (arg2 == NULL) { - SWIG_null_ref("wxDC"); + SWIG_null_ref("wxDateTime"); } if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + if (arg3 == NULL) { + SWIG_null_ref("wxDateTime"); + } + if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3); + (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxDC *arg2 = 0 ; - wxMemoryDC *arg3 = 0 ; - wxRect *arg4 = 0 ; - wxRect *arg5 = 0 ; - bool result; - wxRect temp4 ; - wxRect temp5 ; +static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; + wxDateTime result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(2)) SWIG_fail; - if (arg2 == NULL) { - SWIG_null_ref("wxDC"); - } - if (SWIG_arg_fail(2)) SWIG_fail; - } - { - SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(3)) SWIG_fail; - if (arg3 == NULL) { - SWIG_null_ref("wxMemoryDC"); - } - if (SWIG_arg_fail(3)) SWIG_fail; - } - { - arg4 = &temp4; - if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; - } - { - arg5 = &temp5; - if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5); + result = wxDatePickerCtrl_GetLowerLimit(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + wxDateTime * resultptr; + resultptr = new wxDateTime(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; fail: @@ -34641,53 +36396,29 @@ static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *a } -static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxPoint *arg3 = 0 ; - bool arg4 ; - bool arg5 ; - bool result; - wxPoint temp2 ; - wxPoint temp3 ; +static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; + wxDateTime result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; - } - { - arg4 = (bool)(SWIG_As_bool(obj3)); - if (SWIG_arg_fail(4)) SWIG_fail; - } - { - arg5 = (bool)(SWIG_As_bool(obj4)); - if (SWIG_arg_fail(5)) SWIG_fail; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5); + result = wxDatePickerCtrl_GetUpperLimit(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + wxDateTime * resultptr; + resultptr = new wxDateTime(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; fail: @@ -34695,10 +36426,10 @@ static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObjec } -static PyObject * DragImage_swigregister(PyObject *, PyObject *args) { +static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj); + SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } @@ -34740,9 +36471,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_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, 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}, @@ -34760,6 +36489,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}, @@ -34805,6 +36535,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}, @@ -35054,6 +36785,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}, @@ -35077,6 +36813,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL}, { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35084,7 +36821,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}, @@ -35092,21 +36828,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}, @@ -35189,6 +36939,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}, @@ -35198,6 +36949,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}, @@ -35339,7 +37091,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}, @@ -35347,6 +37099,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}, @@ -35372,6 +37126,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}, @@ -35393,6 +37148,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL}, { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -35504,27 +37260,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}, @@ -35570,36 +37327,21 @@ static PyMethodDef SwigMethods[] = { { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL}, + { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; /* -------- 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_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)); } @@ -35651,6 +37393,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)); } @@ -35678,6 +37426,9 @@ static void *_p_wxSizeEventTo_p_wxEvent(void *x) { static void *_p_wxMoveEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxMoveEvent *) x)); } +static void *_p_wxDateEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); +} static void *_p_wxPaintEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxPaintEvent *) x)); } @@ -35765,8 +37516,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)); @@ -35780,6 +37531,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)); } @@ -35840,8 +37594,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)); @@ -35852,6 +37606,12 @@ 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)); +} static void *_p_wxTextCtrlTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxTextCtrl *) x)); } @@ -35885,12 +37645,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)); } @@ -35918,18 +37690,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)); } @@ -36002,6 +37777,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)); } @@ -36014,6 +37792,9 @@ static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) { static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); } +static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x)); +} static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x)); } @@ -36035,6 +37816,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)); } @@ -36143,6 +37927,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)); } @@ -36176,6 +37963,9 @@ static void *_p_wxSliderTo_p_wxObject(void *x) { static void *_p_wxMenuItemTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxMenuItem *) x)); } +static void *_p_wxDateEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); +} static void *_p_wxIdleEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); } @@ -36209,9 +37999,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)); } @@ -36239,9 +38026,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)); } @@ -36269,6 +38062,9 @@ static void *_p_wxSpinButtonTo_p_wxObject(void *x) { static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); } +static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); +} static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxAcceleratorTable *) x)); } @@ -36290,9 +38086,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)); } @@ -36314,6 +38107,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)); } @@ -36377,6 +38176,9 @@ static void *_p_wxFocusEventTo_p_wxObject(void *x) { static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); } +static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x)); +} static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); } @@ -36392,9 +38194,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)); } @@ -36410,21 +38209,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)); } @@ -36488,6 +38290,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)); } @@ -36500,6 +38305,9 @@ static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) { static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); } +static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x)); +} static void *_p_wxTextCtrlTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x)); } @@ -36512,6 +38320,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)); } @@ -36530,15 +38344,24 @@ static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); } -static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) { - return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); -} static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); } static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) 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)); +} static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); } @@ -36581,201 +38404,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_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_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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_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_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_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_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_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_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_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxListEvent", _p_wxListEventTo_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_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_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_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, }; @@ -36787,6 +39085,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 @@ -36804,7 +39313,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; @@ -36814,13 +39323,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; @@ -36833,7 +39342,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -36846,7 +39355,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) { @@ -36859,72 +39368,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; } @@ -36933,11 +39459,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); @@ -36974,7 +39500,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, @@ -36986,7 +39512,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]); @@ -36999,14 +39525,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; + } + } } } } @@ -37016,69 +39546,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 @@ -37087,100 +39554,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); @@ -37188,127 +39634,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(static_cast(wxTE_AUTO_SCROLL))); + } + { + PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast(wxTE_READONLY))); + } + { + PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast(wxTE_MULTILINE))); + } + { + PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast(wxTE_PROCESS_TAB))); + } + { + PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast(wxTE_LEFT))); } { - PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL))); + PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast(wxTE_CENTER))); } { - PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY))); + PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast(wxTE_RIGHT))); } { - PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE))); + PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast(wxTE_CENTRE))); } { - PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB))); + PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast(wxTE_RICH))); } { - PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT))); + PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast(wxTE_PROCESS_ENTER))); } { - PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER))); + PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast(wxTE_PASSWORD))); } { - PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT))); + PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast(wxTE_AUTO_URL))); } { - PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE))); + PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast(wxTE_NOHIDESEL))); } { - PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH))); + PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast(wxTE_DONTWRAP))); } { - PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER))); + PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast(wxTE_CHARWRAP))); } { - PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD))); + PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast(wxTE_WORDWRAP))); } { - PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL))); + PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast(wxTE_BESTWRAP))); } { - PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL))); + PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast(wxTE_LINEWRAP))); } { - PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP))); + PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast(wxTE_RICH2))); } { - PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP))); + PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast(wxTE_CAPITALIZE))); } { - PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_DEFAULT))); } { - PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_LEFT))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_CENTRE))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_CENTER))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_RIGHT))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_JUSTIFIED))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT))); + PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast(wxTEXT_ATTR_TEXT_COLOUR))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED))); + PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast(wxTEXT_ATTR_BACKGROUND_COLOUR))); } { - PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_FACE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_SIZE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_WEIGHT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_ITALIC))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_UNDERLINE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE))); + PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast(wxTEXT_ATTR_ALIGNMENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT))); + PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast(wxTEXT_ATTR_LEFT_INDENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT))); + PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast(wxTEXT_ATTR_RIGHT_INDENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT))); + PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast(wxTEXT_ATTR_TABS))); } { - PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT))); + PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast(wxTE_HT_UNKNOWN))); } { - PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS))); + PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast(wxTE_HT_BEFORE))); } { - PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN))); + PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast(wxTE_HT_ON_TEXT))); } { - PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE))); + PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast(wxTE_HT_BELOW))); } { - PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT))); + PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast(wxTE_HT_BEYOND))); } { - PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW))); + PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast(wxOutOfRangeTextCoord))); } { - PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND))); + 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)); @@ -37318,342 +39779,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(static_cast(wxSL_HORIZONTAL))); + } + { + PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast(wxSL_VERTICAL))); + } + { + PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast(wxSL_TICKS))); + } + { + PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast(wxSL_AUTOTICKS))); + } + { + PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast(wxSL_LABELS))); + } + { + PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast(wxSL_LEFT))); + } + { + PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast(wxSL_TOP))); + } + { + PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast(wxSL_RIGHT))); + } + { + PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast(wxSL_BOTTOM))); + } + { + PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast(wxSL_BOTH))); + } + { + PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast(wxSL_SELRANGE))); + } + { + 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*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set); + SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set); + { + 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,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH))); + PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast(wxBK_RIGHT))); } { - PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP))); + PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast(wxBK_ALIGN_MASK))); } { - PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT))); + PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast(wxNB_FIXEDWIDTH))); } { - PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT))); + PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast(wxNB_TOP))); } { - PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM))); + PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast(wxNB_LEFT))); } { - PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE))); + PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast(wxNB_RIGHT))); } { - PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast(wxNB_BOTTOM))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON))); + PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast(wxNB_MULTILINE))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL))); + PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast(wxNB_NOPAGETHEME))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM))); + PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxNB_HITTEST_NOWHERE))); + } + { + PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast(wxNB_HITTEST_ONICON))); + } + { + PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast(wxNB_HITTEST_ONLABEL))); + } + { + 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)); @@ -37661,8 +40185,6 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS)); - 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)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN)); @@ -37683,109 +40205,109 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set); { - PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS))); + PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast(wxTR_NO_BUTTONS))); } { - PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS))); + PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast(wxTR_HAS_BUTTONS))); } { - PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES))); + PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast(wxTR_NO_LINES))); } { - PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT))); + PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast(wxTR_LINES_AT_ROOT))); } { - PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE))); + PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast(wxTR_SINGLE))); } { - PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE))); + PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast(wxTR_MULTIPLE))); } { - PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED))); + PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast(wxTR_EXTENDED))); } { - PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT))); + PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast(wxTR_HAS_VARIABLE_ROW_HEIGHT))); } { - PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS))); + PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast(wxTR_EDIT_LABELS))); } { - PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT))); + PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast(wxTR_HIDE_ROOT))); } { - PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES))); + PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast(wxTR_ROW_LINES))); } { - PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT))); + PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast(wxTR_FULL_ROW_HIGHLIGHT))); } { - PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE))); + PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast(wxTR_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS))); + PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast(wxTR_TWIST_BUTTONS))); } { - PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS))); + PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast(wxTR_MAC_BUTTONS))); } { - PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS))); + PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast(wxTR_AQUA_BUTTONS))); } { - PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal))); + PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast(wxTreeItemIcon_Normal))); } { - PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected))); + PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast(wxTreeItemIcon_Selected))); } { - PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded))); + PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast(wxTreeItemIcon_Expanded))); } { - PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded))); + PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast(wxTreeItemIcon_SelectedExpanded))); } { - PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max))); + PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast(wxTreeItemIcon_Max))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE))); + PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast(wxTREE_HITTEST_ABOVE))); } { - PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW))); + PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast(wxTREE_HITTEST_BELOW))); } { - PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxTREE_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMBUTTON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMICON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMINDENT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMLABEL))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMRIGHT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMSTATEICON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT))); + PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast(wxTREE_HITTEST_TOLEFT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT))); + PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast(wxTREE_HITTEST_TORIGHT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMUPPERPART))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMLOWERPART))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEM))); } PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG)); PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG)); @@ -37807,6 +40329,7 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG)); PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK)); PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP)); + PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU)); // Map renamed classes back to their common name for OOR wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData"); @@ -37814,30 +40337,46 @@ 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)); wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage"); + SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set); + { + PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast(wxDP_DEFAULT))); + } + { + PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast(wxDP_SPIN))); + } + { + PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast(wxDP_DROPDOWN))); + } + { + PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast(wxDP_SHOWCENTURY))); + } + { + PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast(wxDP_ALLOWNONE))); + } }