/* ----------------------------------------------------------------------------
* 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
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
+#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
};
#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 <Python.h>
/* 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 <string.h>
-
-#ifndef SWIGINLINE
-#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
-#else
-# define SWIGINLINE
-#endif
+# define SWIG_TYPE_TABLE_NAME
#endif
/*
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 <string.h>
+
#ifdef __cplusplus
extern "C" {
#endif
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<int>" == "Class<int >", etc.
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 <name1>|<name2>|...
+ Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
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 <name1>|<name2>|...
+ 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);
}
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];
}
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);
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.
*/
}
#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
* ----------------------------------------------------------------------------- */
* ----------------------------------------------------------------------------- */
#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
*/
#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
#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
/* -----------------------------------------------------------------------------
* 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)
/* -----------------------------------------------------------------------------
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("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
return 0;
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
{
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 = {
(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 */
(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 */
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;
}
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);
}
PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
{
char result[SWIG_BUFFER_SIZE];
+ flags = flags;
fputs("<Swig Packed ", fp);
if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
fputs("at ", fp);
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);
}
}
{
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);
}
}
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 */
(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 */
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;
}
}
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);
}
{
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",
PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
type, otype);
}
- if (str)
- Py_DECREF(str);
+ Py_XDECREF(str);
return;
}
}
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;
/* 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;
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); }
#endif
type_check:
-
if (ty) {
tc = SWIG_TypeCheck(c,ty);
if (!tc) goto type_error;
} else {
*ptr = vptr;
}
-
if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
}
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;
}
/* 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
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;
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) {
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
}
/* -------- TYPES TABLE (BEGIN) -------- */
-#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
-#define SWIGTYPE_p_wxSizer swig_types[1]
-#define SWIGTYPE_p_wxCheckBox swig_types[2]
-#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
-#define SWIGTYPE_p_wxEvent swig_types[4]
-#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
-#define SWIGTYPE_p_bool swig_types[6]
-#define SWIGTYPE_p_wxItemContainer swig_types[7]
-#define SWIGTYPE_p_wxPyListCtrl swig_types[8]
-#define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
-#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
-#define SWIGTYPE_p_wxStaticLine swig_types[11]
-#define SWIGTYPE_p_wxControl swig_types[12]
-#define SWIGTYPE_p_wxPyControl swig_types[13]
-#define SWIGTYPE_p_wxGauge swig_types[14]
-#define SWIGTYPE_p_wxToolBarBase swig_types[15]
-#define SWIGTYPE_p_wxFont swig_types[16]
-#define SWIGTYPE_p_wxToggleButton swig_types[17]
-#define SWIGTYPE_p_wxRadioButton swig_types[18]
-#define SWIGTYPE_p_wxChoice swig_types[19]
-#define SWIGTYPE_p_wxMemoryDC swig_types[20]
-#define SWIGTYPE_ptrdiff_t swig_types[21]
-#define SWIGTYPE_std__ptrdiff_t swig_types[22]
-#define SWIGTYPE_p_wxListItemAttr swig_types[23]
-#define SWIGTYPE_p_void swig_types[24]
-#define SWIGTYPE_p_int swig_types[25]
-#define SWIGTYPE_p_wxSize swig_types[26]
-#define SWIGTYPE_p_wxDC swig_types[27]
-#define SWIGTYPE_p_wxListView swig_types[28]
-#define SWIGTYPE_p_wxIcon swig_types[29]
-#define SWIGTYPE_p_wxVisualAttributes swig_types[30]
-#define SWIGTYPE_p_wxTextCtrl swig_types[31]
-#define SWIGTYPE_p_wxNotebook swig_types[32]
-#define SWIGTYPE_p_wxChoicebook swig_types[33]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[34]
-#define SWIGTYPE_p_wxArrayString swig_types[35]
-#define SWIGTYPE_p_form_ops_t swig_types[36]
-#define SWIGTYPE_p_wxListbook swig_types[37]
-#define SWIGTYPE_p_wxStaticBitmap swig_types[38]
-#define SWIGTYPE_p_wxSlider swig_types[39]
-#define SWIGTYPE_p_wxStaticBox swig_types[40]
-#define SWIGTYPE_p_wxArrayInt swig_types[41]
-#define SWIGTYPE_p_wxContextHelp swig_types[42]
-#define SWIGTYPE_p_long swig_types[43]
-#define SWIGTYPE_p_wxDuplexMode swig_types[44]
-#define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
-#define SWIGTYPE_p_wxEvtHandler swig_types[46]
-#define SWIGTYPE_p_wxListEvent swig_types[47]
-#define SWIGTYPE_p_wxCheckListBox swig_types[48]
-#define SWIGTYPE_p_wxListBox swig_types[49]
-#define SWIGTYPE_p_wxSpinButton swig_types[50]
-#define SWIGTYPE_p_wxButton swig_types[51]
-#define SWIGTYPE_p_wxBitmapButton swig_types[52]
-#define SWIGTYPE_p_wxRect swig_types[53]
-#define SWIGTYPE_p_wxContextHelpButton swig_types[54]
-#define SWIGTYPE_p_wxRadioBox swig_types[55]
-#define SWIGTYPE_p_wxScrollBar swig_types[56]
-#define SWIGTYPE_p_char swig_types[57]
-#define SWIGTYPE_p_wxComboBox swig_types[58]
-#define SWIGTYPE_p_wxTreeItemId swig_types[59]
-#define SWIGTYPE_p_wxHelpEvent swig_types[60]
-#define SWIGTYPE_p_wxListItem swig_types[61]
-#define SWIGTYPE_p_wxNotebookSizer swig_types[62]
-#define SWIGTYPE_p_wxSpinEvent swig_types[63]
-#define SWIGTYPE_p_wxGenericDragImage swig_types[64]
-#define SWIGTYPE_p_wxSpinCtrl swig_types[65]
-#define SWIGTYPE_p_wxPaperSize swig_types[66]
-#define SWIGTYPE_p_wxImageList swig_types[67]
-#define SWIGTYPE_p_wxHelpProvider swig_types[68]
-#define SWIGTYPE_p_wxTextAttr swig_types[69]
-#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
-#define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
-#define SWIGTYPE_p_wxListbookEvent swig_types[72]
-#define SWIGTYPE_p_wxNotebookEvent swig_types[73]
-#define SWIGTYPE_p_wxPoint swig_types[74]
-#define SWIGTYPE_p_wxObject swig_types[75]
-#define SWIGTYPE_p_wxCursor swig_types[76]
-#define SWIGTYPE_p_wxDateTime swig_types[77]
-#define SWIGTYPE_p_wxKeyEvent swig_types[78]
-#define SWIGTYPE_p_unsigned_long swig_types[79]
-#define SWIGTYPE_p_wxWindow swig_types[80]
-#define SWIGTYPE_p_wxString swig_types[81]
-#define SWIGTYPE_p_wxBitmap swig_types[82]
-#define SWIGTYPE_unsigned_int swig_types[83]
-#define SWIGTYPE_p_unsigned_int swig_types[84]
-#define SWIGTYPE_p_unsigned_char swig_types[85]
-#define SWIGTYPE_p_wxMouseEvent swig_types[86]
-#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
-#define SWIGTYPE_p_wxTreeEvent swig_types[88]
-#define SWIGTYPE_p_wxCommandEvent swig_types[89]
-#define SWIGTYPE_p_wxStaticText swig_types[90]
-#define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
-#define SWIGTYPE_p_wxControlWithItems swig_types[92]
-#define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
-#define SWIGTYPE_p_wxColour swig_types[94]
-#define SWIGTYPE_p_wxToolBar swig_types[95]
-#define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
-#define SWIGTYPE_p_wxValidator swig_types[97]
-static swig_type_info *swig_types[99];
+#define SWIGTYPE_p_bool swig_types[0]
+#define SWIGTYPE_p_char swig_types[1]
+#define SWIGTYPE_p_form_ops_t swig_types[2]
+#define SWIGTYPE_p_int swig_types[3]
+#define SWIGTYPE_p_long swig_types[4]
+#define SWIGTYPE_p_unsigned_char swig_types[5]
+#define SWIGTYPE_p_unsigned_int swig_types[6]
+#define SWIGTYPE_p_unsigned_long swig_types[7]
+#define SWIGTYPE_p_void swig_types[8]
+#define SWIGTYPE_p_wxANIHandler swig_types[9]
+#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
+#define SWIGTYPE_p_wxActivateEvent swig_types[11]
+#define SWIGTYPE_p_wxArrayInt swig_types[12]
+#define SWIGTYPE_p_wxArrayString swig_types[13]
+#define SWIGTYPE_p_wxBMPHandler swig_types[14]
+#define SWIGTYPE_p_wxBitmap swig_types[15]
+#define SWIGTYPE_p_wxBitmapButton swig_types[16]
+#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
+#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
+#define SWIGTYPE_p_wxBoxSizer swig_types[19]
+#define SWIGTYPE_p_wxButton swig_types[20]
+#define SWIGTYPE_p_wxCURHandler swig_types[21]
+#define SWIGTYPE_p_wxCheckBox swig_types[22]
+#define SWIGTYPE_p_wxCheckListBox swig_types[23]
+#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
+#define SWIGTYPE_p_wxChoice swig_types[25]
+#define SWIGTYPE_p_wxChoicebook swig_types[26]
+#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
+#define SWIGTYPE_p_wxCloseEvent swig_types[28]
+#define SWIGTYPE_p_wxColour swig_types[29]
+#define SWIGTYPE_p_wxComboBox swig_types[30]
+#define SWIGTYPE_p_wxCommandEvent swig_types[31]
+#define SWIGTYPE_p_wxContextHelp swig_types[32]
+#define SWIGTYPE_p_wxContextHelpButton swig_types[33]
+#define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
+#define SWIGTYPE_p_wxControl swig_types[35]
+#define SWIGTYPE_p_wxControlWithItems swig_types[36]
+#define SWIGTYPE_p_wxCursor swig_types[37]
+#define SWIGTYPE_p_wxDC swig_types[38]
+#define SWIGTYPE_p_wxDateEvent swig_types[39]
+#define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
+#define SWIGTYPE_p_wxDateTime swig_types[41]
+#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
+#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
+#define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
+#define SWIGTYPE_p_wxDuplexMode swig_types[45]
+#define SWIGTYPE_p_wxEraseEvent swig_types[46]
+#define SWIGTYPE_p_wxEvent swig_types[47]
+#define SWIGTYPE_p_wxEvtHandler swig_types[48]
+#define SWIGTYPE_p_wxFSFile swig_types[49]
+#define SWIGTYPE_p_wxFileSystem swig_types[50]
+#define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
+#define SWIGTYPE_p_wxFocusEvent swig_types[52]
+#define SWIGTYPE_p_wxFont swig_types[53]
+#define SWIGTYPE_p_wxGBSizerItem swig_types[54]
+#define SWIGTYPE_p_wxGIFHandler swig_types[55]
+#define SWIGTYPE_p_wxGauge swig_types[56]
+#define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
+#define SWIGTYPE_p_wxGenericDragImage swig_types[58]
+#define SWIGTYPE_p_wxGridBagSizer swig_types[59]
+#define SWIGTYPE_p_wxGridSizer swig_types[60]
+#define SWIGTYPE_p_wxHelpEvent swig_types[61]
+#define SWIGTYPE_p_wxHelpProvider swig_types[62]
+#define SWIGTYPE_p_wxICOHandler swig_types[63]
+#define SWIGTYPE_p_wxIcon swig_types[64]
+#define SWIGTYPE_p_wxIconizeEvent swig_types[65]
+#define SWIGTYPE_p_wxIdleEvent swig_types[66]
+#define SWIGTYPE_p_wxImage swig_types[67]
+#define SWIGTYPE_p_wxImageHandler swig_types[68]
+#define SWIGTYPE_p_wxImageList swig_types[69]
+#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
+#define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
+#define SWIGTYPE_p_wxItemContainer swig_types[72]
+#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
+#define SWIGTYPE_p_wxKeyEvent swig_types[74]
+#define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
+#define SWIGTYPE_p_wxListBox swig_types[76]
+#define SWIGTYPE_p_wxListEvent swig_types[77]
+#define SWIGTYPE_p_wxListItem swig_types[78]
+#define SWIGTYPE_p_wxListItemAttr swig_types[79]
+#define SWIGTYPE_p_wxListView swig_types[80]
+#define SWIGTYPE_p_wxListbook swig_types[81]
+#define SWIGTYPE_p_wxListbookEvent swig_types[82]
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
+#define SWIGTYPE_p_wxMemoryDC swig_types[84]
+#define SWIGTYPE_p_wxMenu swig_types[85]
+#define SWIGTYPE_p_wxMenuBar swig_types[86]
+#define SWIGTYPE_p_wxMenuEvent swig_types[87]
+#define SWIGTYPE_p_wxMenuItem swig_types[88]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
+#define SWIGTYPE_p_wxMouseEvent swig_types[90]
+#define SWIGTYPE_p_wxMoveEvent swig_types[91]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
+#define SWIGTYPE_p_wxNotebook swig_types[94]
+#define SWIGTYPE_p_wxNotebookEvent swig_types[95]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[96]
+#define SWIGTYPE_p_wxObject swig_types[97]
+#define SWIGTYPE_p_wxPCXHandler swig_types[98]
+#define SWIGTYPE_p_wxPNGHandler swig_types[99]
+#define SWIGTYPE_p_wxPNMHandler swig_types[100]
+#define SWIGTYPE_p_wxPaintEvent swig_types[101]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
+#define SWIGTYPE_p_wxPaperSize swig_types[103]
+#define SWIGTYPE_p_wxPoint swig_types[104]
+#define SWIGTYPE_p_wxPyApp swig_types[105]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
+#define SWIGTYPE_p_wxPyControl swig_types[107]
+#define SWIGTYPE_p_wxPyEvent swig_types[108]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[109]
+#define SWIGTYPE_p_wxPyListCtrl swig_types[110]
+#define SWIGTYPE_p_wxPySizer swig_types[111]
+#define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
+#define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
+#define SWIGTYPE_p_wxPyValidator swig_types[114]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
+#define SWIGTYPE_p_wxRadioBox swig_types[116]
+#define SWIGTYPE_p_wxRadioButton swig_types[117]
+#define SWIGTYPE_p_wxRect swig_types[118]
+#define SWIGTYPE_p_wxScrollBar swig_types[119]
+#define SWIGTYPE_p_wxScrollEvent swig_types[120]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
+#define SWIGTYPE_p_wxShowEvent swig_types[123]
+#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
+#define SWIGTYPE_p_wxSize swig_types[125]
+#define SWIGTYPE_p_wxSizeEvent swig_types[126]
+#define SWIGTYPE_p_wxSizer swig_types[127]
+#define SWIGTYPE_p_wxSizerItem swig_types[128]
+#define SWIGTYPE_p_wxSlider swig_types[129]
+#define SWIGTYPE_p_wxSpinButton swig_types[130]
+#define SWIGTYPE_p_wxSpinCtrl swig_types[131]
+#define SWIGTYPE_p_wxSpinEvent swig_types[132]
+#define SWIGTYPE_p_wxStaticBitmap swig_types[133]
+#define SWIGTYPE_p_wxStaticBox swig_types[134]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
+#define SWIGTYPE_p_wxStaticLine swig_types[136]
+#define SWIGTYPE_p_wxStaticText swig_types[137]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
+#define SWIGTYPE_p_wxString swig_types[139]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[141]
+#define SWIGTYPE_p_wxTextAttr swig_types[142]
+#define SWIGTYPE_p_wxTextCtrl swig_types[143]
+#define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
+#define SWIGTYPE_p_wxToggleButton swig_types[145]
+#define SWIGTYPE_p_wxToolBar swig_types[146]
+#define SWIGTYPE_p_wxToolBarBase swig_types[147]
+#define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
+#define SWIGTYPE_p_wxToolbook swig_types[149]
+#define SWIGTYPE_p_wxToolbookEvent swig_types[150]
+#define SWIGTYPE_p_wxTreeCtrl swig_types[151]
+#define SWIGTYPE_p_wxTreeEvent swig_types[152]
+#define SWIGTYPE_p_wxTreeItemId swig_types[153]
+#define SWIGTYPE_p_wxTreebook swig_types[154]
+#define SWIGTYPE_p_wxTreebookEvent swig_types[155]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
+#define SWIGTYPE_p_wxValidator swig_types[157]
+#define SWIGTYPE_p_wxVisualAttributes swig_types[158]
+#define SWIGTYPE_p_wxWindow swig_types[159]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
+#define SWIGTYPE_p_wxXPMHandler swig_types[162]
+#define SWIGTYPE_ptrdiff_t swig_types[163]
+#define SWIGTYPE_std__ptrdiff_t swig_types[164]
+#define SWIGTYPE_unsigned_int swig_types[165]
+static swig_type_info *swig_types[167];
+static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
+#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
+#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
/* -------- TYPES TABLE (END) -------- */
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
/*@@*/
return 1;
}
else {
- SWIG_type_error("number", obj);
+ SWIG_Python_TypeError("number", obj);
}
return 0;
}
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<int >(v);
return 1;
} else {
return 0;
return 0;
}
#else
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_AsVal_int(PyObject *obj, int *val)
{
return SWIG_AsVal_long(obj,(long*)val);
#endif
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_As_int(PyObject* obj)
{
int v;
}
-SWIGINTERNSHORT long
+SWIGINTERNINLINE long
SWIG_As_long(PyObject* obj)
{
long v;
}
-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);
}
-SWIGINTERNSHORT bool
+SWIGINTERNINLINE bool
SWIG_As_bool(PyObject* obj)
{
bool v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_bool(PyObject* obj)
{
return SWIG_AsVal_bool(obj, (bool*)0);
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);
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; i<lst.GetCount(); i++) {
- PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
- }
- return tup;
- }
+ wxArrayInt lst;
+ self->GetSelections(lst);
+ PyObject *tup = PyTuple_New(lst.GetCount());
+ for(size_t i=0; i<lst.GetCount(); i++) {
+ PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
+ }
+ return tup;
+ }
static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
#ifdef __WXMSW__
if (self->GetWindowStyle() & wxLB_OWNERDRAW)
{
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;
}
-SWIGINTERNSHORT unsigned long
+SWIGINTERNINLINE unsigned long
SWIG_As_unsigned_SS_long(PyObject* obj)
{
unsigned long v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_unsigned_SS_long(PyObject* obj)
{
return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
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<long >(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<unsigned int >(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);
// 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,
// 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;
};
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;
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,
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) {
}
static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
-SWIGINTERNSHORT PyObject*
+SWIGINTERNINLINE PyObject*
SWIG_From_bool(bool value)
{
PyObject *obj = value ? Py_True : Py_False;
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);
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
+ DEC_PYCALLBACK_VOID_(OnInternalIdle);
+
PYPRIVATE;
};
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; }
static PyObject *_wrap_ButtonNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxButton *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxButton *arg1 = (wxButton *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize result;
char *kwnames[] = {
NULL
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapButton *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
wxBitmap result;
PyObject * obj0 = 0 ;
}
{
wxBitmap * resultptr;
- resultptr = new wxBitmap((wxBitmap &)(result));
+ resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
wxBitmap result;
PyObject * obj0 = 0 ;
}
{
wxBitmap * resultptr;
- resultptr = new wxBitmap((wxBitmap &)(result));
+ resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
wxBitmap result;
PyObject * obj0 = 0 ;
}
{
wxBitmap * resultptr;
- resultptr = new wxBitmap((wxBitmap &)(result));
+ resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
wxBitmap result;
PyObject * obj0 = 0 ;
}
{
wxBitmap * resultptr;
- resultptr = new wxBitmap((wxBitmap &)(result));
+ resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
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 ;
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 ;
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 ;
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 ;
static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_CheckBoxNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckBox *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckBox *arg1 = (wxCheckBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckBox *arg1 = (wxCheckBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckBox *arg1 = (wxCheckBox *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
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<bool const >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckBox *arg1 = (wxCheckBox *) 0 ;
wxCheckBoxState result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckBox *arg1 = (wxCheckBox *) 0 ;
wxCheckBoxState arg2 ;
PyObject * obj0 = 0 ;
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<wxCheckBoxState >(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;
static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckBox *arg1 = (wxCheckBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckBox *arg1 = (wxCheckBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_ChoiceNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxChoice *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
+ wxString* s = wxString_in_helper(item);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg6->Add(*s);
+ delete s;
+ Py_DECREF(item);
+ }
+ }
+ }
+ if (obj6) {
+ {
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
+ if (SWIG_arg_fail(7)) SWIG_fail;
+ }
+ }
+ if (obj7) {
+ {
+ SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(8)) SWIG_fail;
+ if (arg8 == NULL) {
+ SWIG_null_ref("wxValidator");
+ }
+ if (SWIG_arg_fail(8)) SWIG_fail;
+ }
+ }
+ if (obj8) {
+ {
+ arg9 = wxString_in_helper(obj8);
+ if (arg9 == NULL) SWIG_fail;
+ temp9 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp6) delete arg6;
+ }
+ {
+ if (temp9)
+ delete arg9;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp6) delete arg6;
+ }
+ {
+ if (temp9)
+ delete arg9;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxChoice *arg1 = (wxChoice *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
+ wxVisualAttributes result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "variant", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
+ if (obj0) {
+ {
+ arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ }
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = wxChoice::GetClassDefaultAttributes(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxVisualAttributes * resultptr;
+ resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static int _wrap_ComboBoxNameStr_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_ComboBoxNameStr_get(void) {
+ PyObject *pyobj = NULL;
+
+ {
#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
+ pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
#else
- PyObject* str = PyObject_Str(item);
+ pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
#endif
+ }
+ return pyobj;
+}
+
+
+static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxWindow *arg1 = (wxWindow *) 0 ;
+ int arg2 = (int) -1 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ wxPoint const &arg4_defvalue = wxDefaultPosition ;
+ wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
+ wxSize const &arg5_defvalue = wxDefaultSize ;
+ wxSize *arg5 = (wxSize *) &arg5_defvalue ;
+ wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
+ wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
+ long arg7 = (long) 0 ;
+ wxValidator const &arg8_defvalue = wxDefaultValidator ;
+ wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
+ wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
+ wxString *arg9 = (wxString *) &arg9_defvalue ;
+ wxComboBox *result;
+ bool temp3 = false ;
+ wxPoint temp4 ;
+ wxSize temp5 ;
+ bool temp6 = false ;
+ bool temp9 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ PyObject * obj6 = 0 ;
+ PyObject * obj7 = 0 ;
+ PyObject * obj8 = 0 ;
+ char *kwnames[] = {
+ (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = &temp4;
+ if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
+ }
+ }
+ if (obj4) {
+ {
+ arg5 = &temp5;
+ if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
+ }
+ }
+ if (obj5) {
+ {
+ if (! PySequence_Check(obj5)) {
+ PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
+ SWIG_fail;
+ }
+ arg6 = new wxArrayString;
+ temp6 = true;
+ int i, len=PySequence_Length(obj5);
+ for (i=0; i<len; i++) {
+ PyObject* item = PySequence_GetItem(obj5, i);
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
- if (SWIG_arg_fail(7)) SWIG_fail;
- }
- }
- if (obj7) {
- {
- SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(8)) SWIG_fail;
- if (arg8 == NULL) {
- SWIG_null_ref("wxValidator");
- }
- if (SWIG_arg_fail(8)) SWIG_fail;
- }
- }
- if (obj8) {
- {
- arg9 = wxString_in_helper(obj8);
- if (arg9 == NULL) SWIG_fail;
- temp9 = true;
- }
- }
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
- }
- {
- if (temp6) delete arg6;
- }
- {
- if (temp9)
- delete arg9;
- }
- return resultobj;
- fail:
- {
- if (temp6) delete arg6;
- }
- {
- if (temp9)
- delete arg9;
- }
- return NULL;
-}
-
-
-static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
- wxVisualAttributes result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "variant", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
- if (obj0) {
- {
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
- if (SWIG_arg_fail(1)) SWIG_fail;
- }
- }
- {
- if (!wxPyCheckForApp()) SWIG_fail;
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- wxVisualAttributes * resultptr;
- resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
- resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static int _wrap_ComboBoxNameStr_set(PyObject *) {
- PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
- return 1;
-}
-
-
-static PyObject *_wrap_ComboBoxNameStr_get(void) {
- PyObject *pyobj;
-
- {
-#if wxUSE_UNICODE
- pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
-#else
- pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
-#endif
- }
- return pyobj;
-}
-
-
-static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxWindow *arg1 = (wxWindow *) 0 ;
- int arg2 = (int) -1 ;
- wxString const &arg3_defvalue = wxPyEmptyString ;
- wxString *arg3 = (wxString *) &arg3_defvalue ;
- wxPoint const &arg4_defvalue = wxDefaultPosition ;
- wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
- wxSize const &arg5_defvalue = wxDefaultSize ;
- wxSize *arg5 = (wxSize *) &arg5_defvalue ;
- wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
- wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
- long arg7 = (long) 0 ;
- wxValidator const &arg8_defvalue = wxDefaultValidator ;
- wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
- wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
- wxString *arg9 = (wxString *) &arg9_defvalue ;
- wxComboBox *result;
- bool temp3 = false ;
- wxPoint temp4 ;
- wxSize temp5 ;
- bool temp6 = false ;
- bool temp9 = false ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- PyObject * obj5 = 0 ;
- PyObject * obj6 = 0 ;
- PyObject * obj7 = 0 ;
- PyObject * obj8 = 0 ;
- char *kwnames[] = {
- (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- if (obj1) {
- {
- arg2 = (int)(SWIG_As_int(obj1));
- if (SWIG_arg_fail(2)) SWIG_fail;
- }
- }
- if (obj2) {
- {
- arg3 = wxString_in_helper(obj2);
- if (arg3 == NULL) SWIG_fail;
- temp3 = true;
- }
- }
- if (obj3) {
- {
- arg4 = &temp4;
- if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
- }
- }
- if (obj4) {
- {
- arg5 = &temp5;
- if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
- }
- }
- if (obj5) {
- {
- if (! PySequence_Check(obj5)) {
- PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
- SWIG_fail;
- }
- arg6 = new wxArrayString;
- temp6 = true;
- int i, len=PySequence_Length(obj5);
- for (i=0; i<len; i++) {
- PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
- if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
- Py_DECREF(item);
- Py_DECREF(str);
- }
- }
- }
- if (obj6) {
- {
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg7->Add(Py2wxString(str));
+ arg7->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj7) {
{
- arg8 = (long)(SWIG_As_long(obj7));
+ arg8 = static_cast<long >(SWIG_As_long(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
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 ;
}
+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<int >(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;
static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxComboBox *arg1 = (wxComboBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_GaugeNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGauge *arg1 = (wxGauge *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_StaticBitmapNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_StaticBoxNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_StaticTextNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStaticBox *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStaticLine *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStaticLine *arg1 = (wxStaticLine *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int result;
char *kwnames[] = {
NULL
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStaticText *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
}
+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<int >(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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStaticBitmap *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
wxBitmap result;
PyObject * obj0 = 0 ;
}
{
wxBitmap * resultptr;
- resultptr = new wxBitmap((wxBitmap &)(result));
+ resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
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 ;
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 ;
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_ListBoxNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
wxString *arg2 = 0 ;
int arg3 ;
temp2 = true;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
if (obj3) {
static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
wxArrayString *arg2 = 0 ;
int arg3 ;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
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 ;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
{
static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
bool result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
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 ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
wxColour *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
wxColour *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
wxFont *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckListBox *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
int arg2 ;
bool result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
wxPoint *arg2 = 0 ;
int result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextCtrlNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
}
if (obj3) {
{
- arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxTextAttrAlignment >(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;
static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
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 ;
}
if (obj2) {
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxTextAttrAlignment arg2 ;
PyObject * obj0 = 0 ;
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<wxTextAttrAlignment >(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;
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 ;
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
long arg2 ;
bool result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxColour *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxColour *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxFont *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxTextAttrAlignment result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxArrayInt *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
}
{
wxTextAttr * resultptr;
- resultptr = new wxTextAttr((wxTextAttr &)(result));
+ resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
int result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
wxString result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
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 ;
static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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 ;
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<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
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 ;
static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxKeyEvent *arg2 = 0 ;
bool result;
static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
wxTextAttr *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxTextAttr *arg2 = 0 ;
bool result;
static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxTextAttr *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
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 ;
static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
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<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (long)(SWIG_As_long(obj3));
+ arg4 = static_cast<long >(SWIG_As_long(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
wxMouseEvent *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ScrollBarNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollBar *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollBar *arg1 = (wxScrollBar *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollBar *arg1 = (wxScrollBar *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollBar *arg1 = (wxScrollBar *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollBar *arg1 = (wxScrollBar *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollBar *arg1 = (wxScrollBar *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollBar *arg1 = (wxScrollBar *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollBar *arg1 = (wxScrollBar *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
if (obj5) {
{
- arg6 = (bool)(SWIG_As_bool(obj5));
+ arg6 = static_cast<bool >(SWIG_As_bool(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_SpinCtrlNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *arg1 = (wxSpinButton *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *arg1 = (wxSpinButton *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *arg1 = (wxSpinButton *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *arg1 = (wxSpinButton *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *arg1 = (wxSpinButton *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *arg1 = (wxSpinButton *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *arg1 = (wxSpinButton *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinButton *arg1 = (wxSpinButton *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
if (obj6) {
{
- arg7 = (int)(SWIG_As_int(obj6));
+ arg7 = static_cast<int >(SWIG_As_int(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
if (obj7) {
{
- arg8 = (int)(SWIG_As_int(obj7));
+ arg8 = static_cast<int >(SWIG_As_int(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
if (obj8) {
{
- arg9 = (int)(SWIG_As_int(obj8));
+ arg9 = static_cast<int >(SWIG_As_int(obj8));
if (SWIG_arg_fail(9)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinCtrl *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
if (obj7) {
{
- arg8 = (int)(SWIG_As_int(obj7));
+ arg8 = static_cast<int >(SWIG_As_int(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
if (obj8) {
{
- arg9 = (int)(SWIG_As_int(obj8));
+ arg9 = static_cast<int >(SWIG_As_int(obj8));
if (SWIG_arg_fail(9)) SWIG_fail;
}
}
if (obj9) {
{
- arg10 = (int)(SWIG_As_int(obj9));
+ arg10 = static_cast<int >(SWIG_As_int(obj9));
if (SWIG_arg_fail(10)) SWIG_fail;
}
}
static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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;
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<wxEventType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_RadioBoxNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_RadioButtonNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj6) {
{
- arg7 = (int)(SWIG_As_int(obj6));
+ arg7 = static_cast<int >(SWIG_As_int(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
if (obj7) {
{
- arg8 = (long)(SWIG_As_long(obj7));
+ arg8 = static_cast<long >(SWIG_As_long(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
- arg7->Add(Py2wxString(str));
+ arg7->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
}
if (obj7) {
{
- arg8 = (int)(SWIG_As_int(obj7));
+ arg8 = static_cast<int >(SWIG_As_int(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
if (obj8) {
{
- arg9 = (long)(SWIG_As_long(obj8));
+ arg9 = static_cast<long >(SWIG_As_long(obj8));
if (SWIG_arg_fail(9)) SWIG_fail;
}
}
static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
wxString *arg2 = 0 ;
int result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2)
static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int arg2 ;
wxString result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int arg2 ;
wxDirection arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (wxDirection)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (long)(SWIG_As_long(obj3));
+ arg4 = static_cast<long >(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<int >(result));
}
return resultobj;
fail:
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioButton *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioButton *arg1 = (wxRadioButton *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRadioButton *arg1 = (wxRadioButton *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_SliderNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
}
if (obj7) {
{
- arg8 = (long)(SWIG_As_long(obj7));
+ arg8 = static_cast<long >(SWIG_As_long(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (obj5) {
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(SWIG_As_int(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
}
if (obj8) {
{
- arg9 = (long)(SWIG_As_long(obj8));
+ arg9 = static_cast<long >(SWIG_As_long(obj8));
if (SWIG_arg_fail(9)) SWIG_fail;
}
}
static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSlider *arg1 = (wxSlider *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_ToggleButtonNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToggleButton *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToggleButton *arg1 = (wxToggleButton *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToggleButton *arg1 = (wxToggleButton *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_NotebookNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
+ resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
size_t arg2 ;
wxWindow *result;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
size_t arg2 ;
wxString result;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
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 ;
static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
wxImageList *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
size_t arg2 ;
int result;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
size_t arg2 ;
int arg3 ;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
wxSize *arg2 = 0 ;
wxSize result;
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
}
+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<unsigned int >(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<unsigned int >(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<bool >(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;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
size_t arg2 ;
bool result;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
}
if (obj3) {
{
- arg4 = (bool)(SWIG_As_bool(obj3));
+ arg4 = static_cast<bool >(SWIG_As_bool(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
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 ;
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<size_t >(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 (obj4) {
{
- arg5 = (bool)(SWIG_As_bool(obj4));
+ arg5 = static_cast<bool >(SWIG_As_bool(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (obj5) {
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(SWIG_As_int(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
size_t arg2 ;
int result;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
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<wxEventType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotebook *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotebook *arg1 = (wxNotebook *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotebook *arg1 = (wxNotebook *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotebook *arg1 = (wxNotebook *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
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 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotebook *arg1 = (wxNotebook *) 0 ;
wxSize *arg2 = 0 ;
wxSize result;
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotebook *arg1 = (wxNotebook *) 0 ;
wxColour result;
PyObject * obj0 = 0 ;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
wxVisualAttributes result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
+ result = wxNotebook::GetClassDefaultAttributes(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxVisualAttributes * resultptr;
- resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
+ resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
int arg3 = (int) -1 ;
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<wxEventType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) -1 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListbook *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListbook *arg1 = (wxListbook *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) -1 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
}
-static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxListbook *arg1 = (wxListbook *) 0 ;
- bool result;
+ wxListView *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxListbook const *)arg1)->IsVertical();
+ result = (wxListView *)(arg1)->GetListView();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxEventType arg1 = (wxEventType) wxEVT_NULL ;
+ int arg2 = (int) 0 ;
+ int arg3 = (int) -1 ;
+ int arg4 = (int) -1 ;
+ wxListbookEvent *result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if (obj0) {
+ {
+ arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ }
+ }
+ if (obj1) {
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxWindow *arg1 = (wxWindow *) 0 ;
+ int arg2 ;
+ wxPoint const &arg3_defvalue = wxDefaultPosition ;
+ wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
+ wxSize const &arg4_defvalue = wxDefaultSize ;
+ wxSize *arg4 = (wxSize *) &arg4_defvalue ;
+ long arg5 = (long) 0 ;
+ wxString const &arg6_defvalue = wxPyEmptyString ;
+ wxString *arg6 = (wxString *) &arg6_defvalue ;
+ wxChoicebook *result;
+ wxPoint temp3 ;
+ wxSize temp4 ;
+ bool temp6 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ char *kwnames[] = {
+ (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<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 = static_cast<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 = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
+ {
+ if (temp6)
+ delete arg6;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp6)
+ delete arg6;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxChoicebook *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxChoicebook *)new wxChoicebook();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxChoicebook *arg1 = (wxChoicebook *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ int arg3 ;
+ wxPoint const &arg4_defvalue = wxDefaultPosition ;
+ wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
+ wxSize const &arg5_defvalue = wxDefaultSize ;
+ wxSize *arg5 = (wxSize *) &arg5_defvalue ;
+ long arg6 = (long) 0 ;
+ wxString const &arg7_defvalue = wxPyEmptyString ;
+ wxString *arg7 = (wxString *) &arg7_defvalue ;
+ bool result;
+ wxPoint temp4 ;
+ wxSize temp5 ;
+ bool temp7 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ PyObject * obj6 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ {
+ arg3 = static_cast<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 = static_cast<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_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxListbook *arg1 = (wxListbook *) 0 ;
- wxListView *result;
+static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxChoicebook *arg1 = (wxChoicebook *) 0 ;
+ wxChoice *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxListView *)(arg1)->GetListView();
+ result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
return resultobj;
fail:
return NULL;
}
-static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
+static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxChoicebook *arg1 = (wxChoicebook *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->DeleteAllPages();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
+ SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
-static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
int arg3 = (int) -1 ;
int arg4 = (int) -1 ;
- wxListbookEvent *result;
+ wxChoicebookEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
+ result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
return resultobj;
fail:
return NULL;
}
-static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
+static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
+ SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
-static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
wxSize *arg4 = (wxSize *) &arg4_defvalue ;
- long arg5 = (long) 0 ;
+ long arg5 = (long) wxBK_DEFAULT ;
wxString const &arg6_defvalue = wxPyEmptyString ;
wxString *arg6 = (wxString *) &arg6_defvalue ;
- wxChoicebook *result;
+ wxTreebook *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = false ;
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
+ result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
{
if (temp6)
delete arg6;
}
-static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxChoicebook *result;
+static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxTreebook *result;
char *kwnames[] = {
NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail;
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxChoicebook *)new wxChoicebook();
+ result = (wxTreebook *)new wxTreebook();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxChoicebook *arg1 = (wxChoicebook *) 0 ;
+static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxTreebook *arg1 = (wxTreebook *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
wxSize *arg5 = (wxSize *) &arg5_defvalue ;
- long arg6 = (long) 0 ;
+ long arg6 = (long) wxBK_DEFAULT ;
wxString const &arg7_defvalue = wxPyEmptyString ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
bool result;
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ {
+ arg3 = static_cast<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 = static_cast<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_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxTreebook *arg1 = (wxTreebook *) 0 ;
+ size_t arg2 ;
+ wxWindow *arg3 = (wxWindow *) 0 ;
+ wxString *arg4 = 0 ;
+ bool arg5 = (bool) false ;
+ int arg6 = (int) wxNOT_FOUND ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<size_t >(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<bool >(SWIG_As_bool(obj4));
+ if (SWIG_arg_fail(5)) SWIG_fail;
+ }
+ }
+ if (obj5) {
+ {
+ arg6 = static_cast<int >(SWIG_As_int(obj5));
+ if (SWIG_arg_fail(6)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxTreebook *arg1 = (wxTreebook *) 0 ;
+ size_t arg2 ;
+ wxWindow *arg3 = (wxWindow *) 0 ;
+ wxString *arg4 = 0 ;
+ bool arg5 = (bool) false ;
+ int arg6 = (int) wxNOT_FOUND ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<size_t >(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<bool >(SWIG_As_bool(obj4));
+ if (SWIG_arg_fail(5)) SWIG_fail;
+ }
+ }
+ if (obj5) {
+ {
+ arg6 = static_cast<int >(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<bool >(SWIG_As_bool(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ }
+ if (obj4) {
+ {
+ arg5 = static_cast<int >(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<bool >(SWIG_As_bool(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ }
+ if (obj4) {
+ {
+ arg5 = static_cast<int >(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<size_t >(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<size_t >(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<size_t >(SWIG_As_unsigned_SS_long(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<bool >(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<size_t >(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<size_t >(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<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxTreebook *arg1 = (wxTreebook *) 0 ;
+ wxTreeCtrl *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * Treebook_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxEventType arg1 = (wxEventType) wxEVT_NULL ;
+ int arg2 = (int) 0 ;
+ int arg3 = (int) wxNOT_FOUND ;
+ int arg4 = (int) wxNOT_FOUND ;
+ wxTreebookEvent *result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if (obj0) {
+ {
+ arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ }
+ }
+ if (obj1) {
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = static_cast<int >(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<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 = static_cast<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;
+ }
+ }
+ {
+ 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 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
if (obj3) {
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
}
-static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxChoicebook *arg1 = (wxChoicebook *) 0 ;
- bool result;
+static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxToolbook *arg1 = (wxToolbook *) 0 ;
+ wxToolBarBase *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxChoicebook const *)arg1)->IsVertical();
+ result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
}
-static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxChoicebook *arg1 = (wxChoicebook *) 0 ;
- wxChoice *result;
+static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxToolbook *arg1 = (wxToolbook *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
+ (arg1)->Realize();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxChoicebook *arg1 = (wxChoicebook *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->DeleteAllPages();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
- }
+ Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
-static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
+static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
+ SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj);
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
-static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
- int arg3 = (int) -1 ;
- int arg4 = (int) -1 ;
- wxChoicebookEvent *result;
+ int arg3 = (int) wxNOT_FOUND ;
+ int arg4 = (int) wxNOT_FOUND ;
+ wxToolbookEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
- wxBookCtrlSizer *result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "nb", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->RecalcSizes();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
- wxSize result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->CalcMin();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
- resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
- wxBookCtrlBase *result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxBookCtrlBase *)(arg1)->GetControl();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxNotebook *arg1 = (wxNotebook *) 0 ;
- wxNotebookSizer *result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "nb", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
+ result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1);
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->RecalcSizes();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
- wxSize result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->CalcMin();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
- resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
- wxNotebook *result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxNotebook *)(arg1)->GetNotebook();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- resultobj = wxPyMake_wxObject(result, 0);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
+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 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxControl *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxToolBarBase *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxItemKind result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxBitmap *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxBitmap *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxBitmap result;
PyObject * obj0 = 0 ;
}
{
wxBitmap * resultptr;
- resultptr = new wxBitmap((wxBitmap &)(result));
+ resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
bool arg2 ;
bool result;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
bool arg2 ;
bool result;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
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 ;
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 ;
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 ;
static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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 ;
static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
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 ;
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
if (obj5) {
{
- arg6 = (wxItemKind)(SWIG_As_int(obj5));
+ arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
}
{
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)
static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
size_t arg2 ;
int arg3 ;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
}
if (obj6) {
{
- arg7 = (wxItemKind)(SWIG_As_int(obj6));
+ arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
}
{
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)
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;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
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 ;
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<size_t >(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);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
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;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
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 ;
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<size_t >(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);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxControl *result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
wxToolBarToolBase *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
size_t arg2 ;
wxToolBarToolBase *result;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxToolBarToolBase *result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
size_t arg2 ;
bool result;
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<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
bool result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
bool arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
bool arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
bool arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
PyObject *result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
arg3 = obj2;
static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
int result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
bool result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
bool result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxString result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxString result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
wxSize result;
PyObject * obj0 = 0 ;
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
wxSize result;
PyObject * obj0 = 0 ;
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
wxSize result;
PyObject * obj0 = 0 ;
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
wxSize result;
PyObject * obj0 = 0 ;
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxToolBarToolBase *result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBar *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolBar *arg1 = (wxToolBar *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_ListCtrlNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
}
+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 ;
static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
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 ;
static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
wxColour result;
PyObject * obj0 = 0 ;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
wxColour result;
PyObject * obj0 = 0 ;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
wxFont result;
PyObject * obj0 = 0 ;
}
{
wxFont * resultptr;
- resultptr = new wxFont((wxFont &)(result));
+ resultptr = new wxFont(static_cast<wxFont & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
}
return resultobj;
}
+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[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *result;
char *kwnames[] = {
NULL
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 1);
+ resultobj = wxPyMake_wxObject(result, (bool)1);
}
return resultobj;
fail:
static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxListColumnFormat arg2 ;
PyObject * obj0 = 0 ;
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<wxListColumnFormat >(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;
static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
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 ;
static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxListColumnFormat result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxListItemAttr *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxColour result;
PyObject * obj0 = 0 ;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxColour result;
PyObject * obj0 = 0 ;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListItem *arg1 = (wxListItem *) 0 ;
wxFont result;
PyObject * obj0 = 0 ;
}
{
wxFont * resultptr;
- resultptr = new wxFont((wxFont &)(result));
+ resultptr = new wxFont(static_cast<wxFont & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
}
return resultobj;
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_mask = arg2;
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 ;
result = (long) ((arg1)->m_mask);
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_itemId = arg2;
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 ;
result = (long) ((arg1)->m_itemId);
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_col = arg2;
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 ;
result = (int) ((arg1)->m_col);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_state = arg2;
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 ;
result = (long) ((arg1)->m_state);
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_stateMask = arg2;
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 ;
result = (long) ((arg1)->m_stateMask);
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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 ;
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_image = arg2;
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 ;
result = (int) ((arg1)->m_image);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_data = arg2;
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 ;
result = (long) ((arg1)->m_data);
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_format = arg2;
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 ;
result = (int) ((arg1)->m_format);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_width = arg2;
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 ;
result = (int) ((arg1)->m_width);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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;
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<wxEventType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_code = arg2;
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 ;
result = (int) ((arg1)->m_code);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_oldItemIndex = arg2;
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 ;
result = (long) ((arg1)->m_oldItemIndex);
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_itemIndex = arg2;
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 ;
result = (long) ((arg1)->m_itemIndex);
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_col = arg2;
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 ;
result = (int) ((arg1)->m_col);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
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 ;
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 ;
result = (wxListItem *)& ((arg1)->m_item);
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
wxPoint result;
PyObject * obj0 = 0 ;
}
{
wxPoint * resultptr;
- resultptr = new wxPoint((wxPoint &)(result));
+ resultptr = new wxPoint(static_cast<wxPoint & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
}
return resultobj;
static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
wxListItem *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListEvent *arg1 = (wxListEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
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 ;
static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxColour *arg2 = 0 ;
bool result;
static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxColour *arg2 = 0 ;
bool result;
static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int arg2 ;
wxListItem *result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int arg2 ;
wxListItem *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int arg2 ;
int result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxRect result;
PyObject * obj0 = 0 ;
}
{
wxRect * resultptr;
- resultptr = new wxRect((wxRect &)(result));
+ resultptr = new wxRect(static_cast<wxRect & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
}
return resultobj;
static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxTextCtrl *result;
PyObject * obj0 = 0 ;
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxListItem *arg2 = 0 ;
bool result;
static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
int arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
{
if (temp4)
static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (long)(SWIG_As_long(obj3));
+ arg4 = static_cast<long >(SWIG_As_long(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
int arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxString result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxString *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
long result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxPoint result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
{
wxPoint * resultptr;
- resultptr = new wxPoint((wxPoint &)(result));
+ resultptr = new wxPoint(static_cast<wxPoint & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
}
return resultobj;
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
{
wxRect * resultptr;
- resultptr = new wxRect((wxRect &)(result));
+ resultptr = new wxRect(static_cast<wxRect & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
}
return resultobj;
static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxPoint *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxSize result;
PyObject * obj0 = 0 ;
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxColour result;
PyObject * obj0 = 0 ;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int arg2 ;
wxImageList *result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
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 ;
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<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
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 ;
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<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
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;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
bool result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int arg2 ;
bool result;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxTextCtrl *result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
bool arg2 ;
bool result;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
bool result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxString *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
if (obj3) {
{
- arg4 = (bool)(SWIG_As_bool(obj3));
+ arg4 = static_cast<bool >(SWIG_As_bool(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
{
if (temp3)
static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
long arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxPoint *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
}
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxListItem *arg2 = 0 ;
long result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (arg3 == NULL) SWIG_fail;
temp3 = true;
}
+ if (obj3) {
+ {
+ arg4 = static_cast<int >(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<long >(result));
}
{
if (temp3)
static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
int arg3 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxString *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
temp3 = true;
}
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
{
if (temp3)
static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxListItem *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxString *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
{
if (temp3)
static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxColour *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxColour result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxColour *arg3 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxColour result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
}
+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<long >(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<long >(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<wxFont & >(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;
static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListView *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
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 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListView *arg1 = (wxListView *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListView *arg1 = (wxListView *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListView *arg1 = (wxListView *) 0 ;
long arg2 ;
long result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListView *arg1 = (wxListView *) 0 ;
long result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListView *arg1 = (wxListView *) 0 ;
long arg2 ;
bool result;
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<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListView *arg1 = (wxListView *) 0 ;
int arg2 ;
int arg3 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxListView *arg1 = (wxListView *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TreeCtrlNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeItemId *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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;
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;
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 ;
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<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
SWIG_arg_fail(2);SWIG_fail;
}
}
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 ;
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 ;
}
+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 ;
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 ;
static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
wxTreeItemId *result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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;
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<wxEventType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxTreeItemId result;
PyObject * obj0 = 0 ;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
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 ;
static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxTreeItemId result;
PyObject * obj0 = 0 ;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
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 ;
static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxPoint result;
PyObject * obj0 = 0 ;
}
{
wxPoint * resultptr;
- resultptr = new wxPoint((wxPoint &)(result));
+ resultptr = new wxPoint(static_cast<wxPoint & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
}
return resultobj;
static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxKeyEvent *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
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 ;
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 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
+ resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
}
return resultobj;
fail:
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 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
+ resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
}
return resultobj;
fail:
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 ;
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<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
+ resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
}
return resultobj;
fail:
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 ;
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<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxImageList *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxImageList *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
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 ;
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 ;
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 ;
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 ;
static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxString result;
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 ;
}
if (obj2) {
{
- arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxTreeItemIcon >(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<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxPyTreeItemData *result;
static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
PyObject *result;
static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxColour result;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxColour result;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxFont result;
}
{
wxFont * resultptr;
- resultptr = new wxFont((wxFont &)(result));
+ resultptr = new wxFont(static_cast<wxFont & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
}
return resultobj;
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 ;
static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
int arg3 ;
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
if (obj3) {
{
- arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxTreeItemIcon >(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;
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 ;
}
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();
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 ;
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 ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
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 ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
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 ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
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 ;
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 ;
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 ;
static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
bool result;
static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
bool result;
static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
bool result;
static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
bool result;
static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
bool result;
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 ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
+ resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId result;
PyObject * obj0 = 0 ;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId result;
PyObject * obj0 = 0 ;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxTreeItemId result;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
PyObject *result;
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 ;
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<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
SWIG_arg_fail(3);SWIG_fail;
}
}
static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxTreeItemId result;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxTreeItemId result;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxTreeItemId result;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId result;
PyObject * obj0 = 0 ;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxTreeItemId result;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
wxTreeItemId result;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
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 ;
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(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;
}
{
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
{
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 ;
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(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;
}
{
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
{
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 ;
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (obj5) {
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(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;
}
{
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
{
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
+ arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (obj5) {
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(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;
}
{
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
{
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 ;
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(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;
}
{
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
{
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 ;
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 ;
static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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 ;
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 ;
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 ;
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 ;
static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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 ;
static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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 ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
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 ;
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 ;
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 ;
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 ;
static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTextCtrl *result;
PyObject * obj0 = 0 ;
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 ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
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 ;
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 ;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
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 ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
int arg3 ;
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
int result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
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 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxWindowVariant >(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<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int const)(SWIG_As_int(obj1));
+ arg2 = static_cast<int const >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
}
if (obj7) {
{
- arg8 = (int)(SWIG_As_int(obj7));
+ arg8 = static_cast<int >(SWIG_As_int(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int const)(SWIG_As_int(obj2));
+ arg3 = static_cast<int const >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
}
if (obj8) {
{
- arg9 = (int)(SWIG_As_int(obj8));
+ arg9 = static_cast<int >(SWIG_As_int(obj8));
if (SWIG_arg_fail(9)) SWIG_fail;
}
}
static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
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<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
int result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxTreeItemId result;
PyObject * obj0 = 0 ;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
return resultobj;
static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxPyTreeCtrl *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxDirFilterListCtrl *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxTreeItemId arg2 ;
wxString *arg3 = 0 ;
}
{
wxTreeItemId * resultptr;
- resultptr = new wxTreeItemId((wxTreeItemId &)(result));
+ resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
}
resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int const)(SWIG_As_int(obj1));
+ arg2 = static_cast<int const >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDirFilterListCtrl *result;
char *kwnames[] = {
NULL
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 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int const)(SWIG_As_int(obj2));
+ arg3 = static_cast<int const >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
wxString *arg2 = 0 ;
int arg3 ;
temp2 = true;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int const)(SWIG_As_int(obj1));
+ arg2 = static_cast<int const >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyControl *result;
char *kwnames[] = {
NULL
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 ;
static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyControl *arg1 = (wxPyControl *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
}
-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 ;
(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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(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;
}
-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 ;
(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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
if (obj5) {
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(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;
}
-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 ;
(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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(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;
}
-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 ;
(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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(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;
}
-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 ;
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;
}
-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 ;
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;
}
-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 ;
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;
}
-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 ;
(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<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
}
-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 ;
(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<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
}
-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;
}
-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 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ 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)->TransferDataToWindow();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyControl *arg1 = (wxPyControl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
(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_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_TransferDataToWindow();
+ result = (bool)(arg1)->TransferDataFromWindow();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_PyControl_base_TransferDataFromWindow(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 ;
(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_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_TransferDataFromWindow();
+ result = (bool)(arg1)->Validate();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyControl *arg1 = (wxPyControl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",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)(arg1)->base_Validate();
+ result = (bool)((wxPyControl const *)arg1)->AcceptsFocus();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_PyControl_base_AcceptsFocus(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 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyControl *arg1 = (wxPyControl *) 0 ;
+ wxSize result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxPyControl const *)arg1)->GetMaxSize();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxSize * resultptr;
+ resultptr = new wxSize(static_cast<wxSize & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyControl *arg1 = (wxPyControl *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "child", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddChild(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyControl *arg1 = (wxPyControl *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "child", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->RemoveChild(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyControl *arg1 = (wxPyControl *) 0 ;
bool result;
PyObject * obj0 = 0 ;
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
+ result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyControl *arg1 = (wxPyControl *) 0 ;
- bool result;
+ wxVisualAttributes result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
+ result = (arg1)->GetDefaultAttributes();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ wxVisualAttributes * resultptr;
+ resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
fail:
}
-static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyControl *arg1 = (wxPyControl *) 0 ;
- wxSize result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxPyControl const *)arg1)->base_GetMaxSize();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
- resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPyControl *arg1 = (wxPyControl *) 0 ;
- wxWindow *arg2 = (wxWindow *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *kwnames[] = {
- (char *) "self",(char *) "child", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(2)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->base_AddChild(arg2);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPyControl *arg1 = (wxPyControl *) 0 ;
- wxWindow *arg2 = (wxWindow *) 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *kwnames[] = {
- (char *) "self",(char *) "child", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
- SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(2)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->base_RemoveChild(arg2);
+ (arg1)->OnInternalIdle();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPyControl *arg1 = (wxPyControl *) 0 ;
- bool result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPyControl *arg1 = (wxPyControl *) 0 ;
- wxVisualAttributes result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->base_GetDefaultAttributes();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- wxVisualAttributes * resultptr;
- resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
- resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
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 ;
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<wxEventType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
wxPoint result;
PyObject * obj0 = 0 ;
}
{
wxPoint * resultptr;
- resultptr = new wxPoint((wxPoint const &)(result));
+ resultptr = new wxPoint(static_cast<wxPoint const & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
}
return resultobj;
static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
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 ;
static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
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 ;
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;
}
if (obj1) {
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxContextHelp *arg1 = (wxContextHelp *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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;
static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxContextHelp *arg1 = (wxContextHelp *) 0 ;
bool result;
PyObject * obj0 = 0 ;
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 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (long)(SWIG_As_long(obj4));
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
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 ;
};
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();
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;
static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxHelpProvider *result;
char *kwnames[] = {
NULL
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;
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;
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 ;
static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
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<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
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 ;
static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSimpleHelpProvider *result;
char *kwnames[] = {
NULL
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 ;
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 ;
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 ;
static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTreeCtrl *arg1 = 0 ;
wxTreeItemId *arg2 = 0 ;
wxGenericDragImage *result;
static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyListCtrl *arg1 = 0 ;
long arg2 ;
wxGenericDragImage *result;
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
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 ;
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 ;
if (SWIG_arg_fail(3)) SWIG_fail;
if (obj3) {
{
- arg4 = (bool)(SWIG_As_bool(obj3));
+ arg4 = static_cast<bool >(SWIG_As_bool(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
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 ;
static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
wxPoint *arg2 = 0 ;
bool result;
static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
wxPoint *arg2 = 0 ;
wxRect result;
}
{
wxRect * resultptr;
- resultptr = new wxRect((wxRect &)(result));
+ resultptr = new wxRect(static_cast<wxRect & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
}
return resultobj;
static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
wxDC *arg2 = 0 ;
wxPoint *arg3 = 0 ;
static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
wxDC *arg2 = 0 ;
wxMemoryDC *arg3 = 0 ;
static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint *arg3 = 0 ;
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
}
{
- arg4 = (bool)(SWIG_As_bool(obj3));
+ arg4 = static_cast<bool >(SWIG_As_bool(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
- arg5 = (bool)(SWIG_As_bool(obj4));
+ arg5 = static_cast<bool >(SWIG_As_bool(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
{
static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) -1 ;
wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
if (obj5) {
{
- arg6 = (long)(SWIG_As_long(obj5));
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDatePickerCtrl *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) -1 ;
if (SWIG_arg_fail(2)) SWIG_fail;
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj6) {
{
- arg7 = (long)(SWIG_As_long(obj6));
+ arg7 = static_cast<long >(SWIG_As_long(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
wxDateTime *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
wxDateTime result;
PyObject * obj0 = 0 ;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
wxDateTime *arg2 = 0 ;
wxDateTime *arg3 = 0 ;
static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
wxDateTime result;
PyObject * obj0 = 0 ;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
wxDateTime result;
PyObject * obj0 = 0 ;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
{ (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
{ (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
{ (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},
{ (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},
{ (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},
{ (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},
{ (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},
{ (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},
{ (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},
{ (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},
{ (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},
{ (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_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},
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
-static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) ((wxBoxSizer *) x));
-}
-static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
-}
-static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
-}
-static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
-}
-static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) ((wxGridSizer *) x));
-}
-static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
-}
-static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) ((wxNotebookSizer *) x));
-}
-static void *_p_wxPySizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) ((wxPySizer *) x));
-}
-static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
- return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
-}
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
}
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));
}
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));
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));
}
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));
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_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));
}
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));
}
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));
}
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));
}
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));
}
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));
}
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));
}
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));
}
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));
}
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));
}
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));
}
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));
}
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));
}
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_wxPyValidatorTo_p_wxValidator(void *x) {
return (void *)((wxValidator *) ((wxPyValidator *) x));
}
-static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxChoicebook[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBookCtrlBase[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxChoicebookEvent[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBookCtrlBaseEvent[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDatePickerCtrl[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-
-static swig_type_info *swig_types_initial[] = {
-_swigt__p_wxTextUrlEvent,
-_swigt__p_wxSizer,
-_swigt__p_wxCheckBox,
-_swigt__p_wxPyTreeCtrl,
-_swigt__p_wxEvent,
-_swigt__p_wxGenericDirCtrl,
-_swigt__p_bool,
-_swigt__p_wxItemContainer,
-_swigt__p_wxPyListCtrl,
-_swigt__p_wxPyTreeItemData,
-_swigt__p_wxDirFilterListCtrl,
-_swigt__p_wxStaticLine,
-_swigt__p_wxControl,
-_swigt__p_wxPyControl,
-_swigt__p_wxGauge,
-_swigt__p_wxToolBarBase,
-_swigt__p_wxFont,
-_swigt__p_wxToggleButton,
-_swigt__p_wxRadioButton,
-_swigt__p_wxChoice,
-_swigt__p_wxMemoryDC,
-_swigt__ptrdiff_t,
-_swigt__std__ptrdiff_t,
-_swigt__p_wxListItemAttr,
-_swigt__p_void,
-_swigt__p_int,
-_swigt__p_wxSize,
-_swigt__p_wxDC,
-_swigt__p_wxListView,
-_swigt__p_wxIcon,
-_swigt__p_wxVisualAttributes,
-_swigt__p_wxTextCtrl,
-_swigt__p_wxNotebook,
-_swigt__p_wxChoicebook,
-_swigt__p_wxNotifyEvent,
-_swigt__p_wxArrayString,
-_swigt__p_form_ops_t,
-_swigt__p_wxListbook,
-_swigt__p_wxStaticBitmap,
-_swigt__p_wxSlider,
-_swigt__p_wxStaticBox,
-_swigt__p_wxArrayInt,
-_swigt__p_wxContextHelp,
-_swigt__p_long,
-_swigt__p_wxDuplexMode,
-_swigt__p_wxBookCtrlBase,
-_swigt__p_wxEvtHandler,
-_swigt__p_wxListEvent,
-_swigt__p_wxCheckListBox,
-_swigt__p_wxListBox,
-_swigt__p_wxSpinButton,
-_swigt__p_wxButton,
-_swigt__p_wxBitmapButton,
-_swigt__p_wxRect,
-_swigt__p_wxContextHelpButton,
-_swigt__p_wxRadioBox,
-_swigt__p_wxScrollBar,
-_swigt__p_char,
-_swigt__p_wxComboBox,
-_swigt__p_wxTreeItemId,
-_swigt__p_wxHelpEvent,
-_swigt__p_wxListItem,
-_swigt__p_wxNotebookSizer,
-_swigt__p_wxSpinEvent,
-_swigt__p_wxGenericDragImage,
-_swigt__p_wxSpinCtrl,
-_swigt__p_wxPaperSize,
-_swigt__p_wxImageList,
-_swigt__p_wxHelpProvider,
-_swigt__p_wxTextAttr,
-_swigt__p_wxSimpleHelpProvider,
-_swigt__p_wxChoicebookEvent,
-_swigt__p_wxListbookEvent,
-_swigt__p_wxNotebookEvent,
-_swigt__p_wxPoint,
-_swigt__p_wxObject,
-_swigt__p_wxCursor,
-_swigt__p_wxDateTime,
-_swigt__p_wxKeyEvent,
-_swigt__p_unsigned_long,
-_swigt__p_wxWindow,
-_swigt__p_wxString,
-_swigt__p_wxBitmap,
-_swigt__unsigned_int,
-_swigt__p_unsigned_int,
-_swigt__p_unsigned_char,
-_swigt__p_wxMouseEvent,
-_swigt__p_wxBookCtrlBaseEvent,
-_swigt__p_wxTreeEvent,
-_swigt__p_wxCommandEvent,
-_swigt__p_wxStaticText,
-_swigt__p_wxDatePickerCtrl,
-_swigt__p_wxControlWithItems,
-_swigt__p_wxToolBarToolBase,
-_swigt__p_wxColour,
-_swigt__p_wxToolBar,
-_swigt__p_wxBookCtrlSizer,
-_swigt__p_wxValidator,
-0
+static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
+static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
+static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
+static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
+static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
+static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
+static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
+static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
+static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
+static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
+static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
+static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
+static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
+static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
+static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
+static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
+static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
+static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
+static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
+static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
+static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
+static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
+static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
+static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
+static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
+static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
+static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
+static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
+static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
+static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
+static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
+static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
+static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
+static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
+static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
+static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
+static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
+static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
+static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
+
+static swig_type_info *swig_type_initial[] = {
+ &_swigt__p_bool,
+ &_swigt__p_char,
+ &_swigt__p_form_ops_t,
+ &_swigt__p_int,
+ &_swigt__p_long,
+ &_swigt__p_unsigned_char,
+ &_swigt__p_unsigned_int,
+ &_swigt__p_unsigned_long,
+ &_swigt__p_void,
+ &_swigt__p_wxANIHandler,
+ &_swigt__p_wxAcceleratorTable,
+ &_swigt__p_wxActivateEvent,
+ &_swigt__p_wxArrayInt,
+ &_swigt__p_wxArrayString,
+ &_swigt__p_wxBMPHandler,
+ &_swigt__p_wxBitmap,
+ &_swigt__p_wxBitmapButton,
+ &_swigt__p_wxBookCtrlBase,
+ &_swigt__p_wxBookCtrlBaseEvent,
+ &_swigt__p_wxBoxSizer,
+ &_swigt__p_wxButton,
+ &_swigt__p_wxCURHandler,
+ &_swigt__p_wxCheckBox,
+ &_swigt__p_wxCheckListBox,
+ &_swigt__p_wxChildFocusEvent,
+ &_swigt__p_wxChoice,
+ &_swigt__p_wxChoicebook,
+ &_swigt__p_wxChoicebookEvent,
+ &_swigt__p_wxCloseEvent,
+ &_swigt__p_wxColour,
+ &_swigt__p_wxComboBox,
+ &_swigt__p_wxCommandEvent,
+ &_swigt__p_wxContextHelp,
+ &_swigt__p_wxContextHelpButton,
+ &_swigt__p_wxContextMenuEvent,
+ &_swigt__p_wxControl,
+ &_swigt__p_wxControlWithItems,
+ &_swigt__p_wxCursor,
+ &_swigt__p_wxDC,
+ &_swigt__p_wxDateEvent,
+ &_swigt__p_wxDatePickerCtrl,
+ &_swigt__p_wxDateTime,
+ &_swigt__p_wxDirFilterListCtrl,
+ &_swigt__p_wxDisplayChangedEvent,
+ &_swigt__p_wxDropFilesEvent,
+ &_swigt__p_wxDuplexMode,
+ &_swigt__p_wxEraseEvent,
+ &_swigt__p_wxEvent,
+ &_swigt__p_wxEvtHandler,
+ &_swigt__p_wxFSFile,
+ &_swigt__p_wxFileSystem,
+ &_swigt__p_wxFlexGridSizer,
+ &_swigt__p_wxFocusEvent,
+ &_swigt__p_wxFont,
+ &_swigt__p_wxGBSizerItem,
+ &_swigt__p_wxGIFHandler,
+ &_swigt__p_wxGauge,
+ &_swigt__p_wxGenericDirCtrl,
+ &_swigt__p_wxGenericDragImage,
+ &_swigt__p_wxGridBagSizer,
+ &_swigt__p_wxGridSizer,
+ &_swigt__p_wxHelpEvent,
+ &_swigt__p_wxHelpProvider,
+ &_swigt__p_wxICOHandler,
+ &_swigt__p_wxIcon,
+ &_swigt__p_wxIconizeEvent,
+ &_swigt__p_wxIdleEvent,
+ &_swigt__p_wxImage,
+ &_swigt__p_wxImageHandler,
+ &_swigt__p_wxImageList,
+ &_swigt__p_wxIndividualLayoutConstraint,
+ &_swigt__p_wxInitDialogEvent,
+ &_swigt__p_wxItemContainer,
+ &_swigt__p_wxJPEGHandler,
+ &_swigt__p_wxKeyEvent,
+ &_swigt__p_wxLayoutConstraints,
+ &_swigt__p_wxListBox,
+ &_swigt__p_wxListEvent,
+ &_swigt__p_wxListItem,
+ &_swigt__p_wxListItemAttr,
+ &_swigt__p_wxListView,
+ &_swigt__p_wxListbook,
+ &_swigt__p_wxListbookEvent,
+ &_swigt__p_wxMaximizeEvent,
+ &_swigt__p_wxMemoryDC,
+ &_swigt__p_wxMenu,
+ &_swigt__p_wxMenuBar,
+ &_swigt__p_wxMenuEvent,
+ &_swigt__p_wxMenuItem,
+ &_swigt__p_wxMouseCaptureChangedEvent,
+ &_swigt__p_wxMouseEvent,
+ &_swigt__p_wxMoveEvent,
+ &_swigt__p_wxNavigationKeyEvent,
+ &_swigt__p_wxNcPaintEvent,
+ &_swigt__p_wxNotebook,
+ &_swigt__p_wxNotebookEvent,
+ &_swigt__p_wxNotifyEvent,
+ &_swigt__p_wxObject,
+ &_swigt__p_wxPCXHandler,
+ &_swigt__p_wxPNGHandler,
+ &_swigt__p_wxPNMHandler,
+ &_swigt__p_wxPaintEvent,
+ &_swigt__p_wxPaletteChangedEvent,
+ &_swigt__p_wxPaperSize,
+ &_swigt__p_wxPoint,
+ &_swigt__p_wxPyApp,
+ &_swigt__p_wxPyCommandEvent,
+ &_swigt__p_wxPyControl,
+ &_swigt__p_wxPyEvent,
+ &_swigt__p_wxPyImageHandler,
+ &_swigt__p_wxPyListCtrl,
+ &_swigt__p_wxPySizer,
+ &_swigt__p_wxPyTreeCtrl,
+ &_swigt__p_wxPyTreeItemData,
+ &_swigt__p_wxPyValidator,
+ &_swigt__p_wxQueryNewPaletteEvent,
+ &_swigt__p_wxRadioBox,
+ &_swigt__p_wxRadioButton,
+ &_swigt__p_wxRect,
+ &_swigt__p_wxScrollBar,
+ &_swigt__p_wxScrollEvent,
+ &_swigt__p_wxScrollWinEvent,
+ &_swigt__p_wxSetCursorEvent,
+ &_swigt__p_wxShowEvent,
+ &_swigt__p_wxSimpleHelpProvider,
+ &_swigt__p_wxSize,
+ &_swigt__p_wxSizeEvent,
+ &_swigt__p_wxSizer,
+ &_swigt__p_wxSizerItem,
+ &_swigt__p_wxSlider,
+ &_swigt__p_wxSpinButton,
+ &_swigt__p_wxSpinCtrl,
+ &_swigt__p_wxSpinEvent,
+ &_swigt__p_wxStaticBitmap,
+ &_swigt__p_wxStaticBox,
+ &_swigt__p_wxStaticBoxSizer,
+ &_swigt__p_wxStaticLine,
+ &_swigt__p_wxStaticText,
+ &_swigt__p_wxStdDialogButtonSizer,
+ &_swigt__p_wxString,
+ &_swigt__p_wxSysColourChangedEvent,
+ &_swigt__p_wxTIFFHandler,
+ &_swigt__p_wxTextAttr,
+ &_swigt__p_wxTextCtrl,
+ &_swigt__p_wxTextUrlEvent,
+ &_swigt__p_wxToggleButton,
+ &_swigt__p_wxToolBar,
+ &_swigt__p_wxToolBarBase,
+ &_swigt__p_wxToolBarToolBase,
+ &_swigt__p_wxToolbook,
+ &_swigt__p_wxToolbookEvent,
+ &_swigt__p_wxTreeCtrl,
+ &_swigt__p_wxTreeEvent,
+ &_swigt__p_wxTreeItemId,
+ &_swigt__p_wxTreebook,
+ &_swigt__p_wxTreebookEvent,
+ &_swigt__p_wxUpdateUIEvent,
+ &_swigt__p_wxValidator,
+ &_swigt__p_wxVisualAttributes,
+ &_swigt__p_wxWindow,
+ &_swigt__p_wxWindowCreateEvent,
+ &_swigt__p_wxWindowDestroyEvent,
+ &_swigt__p_wxXPMHandler,
+ &_swigt__ptrdiff_t,
+ &_swigt__std__ptrdiff_t,
+ &_swigt__unsigned_int,
+};
+
+static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBitmapButton[] = { {&_swigt__p_wxBitmapButton, 0, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxButton, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxButton, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxHelpProvider[] = { {&_swigt__p_wxHelpProvider, 0, 0, 0}, {&_swigt__p_wxSimpleHelpProvider, _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxListBox[] = { {&_swigt__p_wxListBox, 0, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxListBox, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase, 0, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxToolBarBase, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
+
+static swig_cast_info *swig_cast_initial[] = {
+ _swigc__p_bool,
+ _swigc__p_char,
+ _swigc__p_form_ops_t,
+ _swigc__p_int,
+ _swigc__p_long,
+ _swigc__p_unsigned_char,
+ _swigc__p_unsigned_int,
+ _swigc__p_unsigned_long,
+ _swigc__p_void,
+ _swigc__p_wxANIHandler,
+ _swigc__p_wxAcceleratorTable,
+ _swigc__p_wxActivateEvent,
+ _swigc__p_wxArrayInt,
+ _swigc__p_wxArrayString,
+ _swigc__p_wxBMPHandler,
+ _swigc__p_wxBitmap,
+ _swigc__p_wxBitmapButton,
+ _swigc__p_wxBookCtrlBase,
+ _swigc__p_wxBookCtrlBaseEvent,
+ _swigc__p_wxBoxSizer,
+ _swigc__p_wxButton,
+ _swigc__p_wxCURHandler,
+ _swigc__p_wxCheckBox,
+ _swigc__p_wxCheckListBox,
+ _swigc__p_wxChildFocusEvent,
+ _swigc__p_wxChoice,
+ _swigc__p_wxChoicebook,
+ _swigc__p_wxChoicebookEvent,
+ _swigc__p_wxCloseEvent,
+ _swigc__p_wxColour,
+ _swigc__p_wxComboBox,
+ _swigc__p_wxCommandEvent,
+ _swigc__p_wxContextHelp,
+ _swigc__p_wxContextHelpButton,
+ _swigc__p_wxContextMenuEvent,
+ _swigc__p_wxControl,
+ _swigc__p_wxControlWithItems,
+ _swigc__p_wxCursor,
+ _swigc__p_wxDC,
+ _swigc__p_wxDateEvent,
+ _swigc__p_wxDatePickerCtrl,
+ _swigc__p_wxDateTime,
+ _swigc__p_wxDirFilterListCtrl,
+ _swigc__p_wxDisplayChangedEvent,
+ _swigc__p_wxDropFilesEvent,
+ _swigc__p_wxDuplexMode,
+ _swigc__p_wxEraseEvent,
+ _swigc__p_wxEvent,
+ _swigc__p_wxEvtHandler,
+ _swigc__p_wxFSFile,
+ _swigc__p_wxFileSystem,
+ _swigc__p_wxFlexGridSizer,
+ _swigc__p_wxFocusEvent,
+ _swigc__p_wxFont,
+ _swigc__p_wxGBSizerItem,
+ _swigc__p_wxGIFHandler,
+ _swigc__p_wxGauge,
+ _swigc__p_wxGenericDirCtrl,
+ _swigc__p_wxGenericDragImage,
+ _swigc__p_wxGridBagSizer,
+ _swigc__p_wxGridSizer,
+ _swigc__p_wxHelpEvent,
+ _swigc__p_wxHelpProvider,
+ _swigc__p_wxICOHandler,
+ _swigc__p_wxIcon,
+ _swigc__p_wxIconizeEvent,
+ _swigc__p_wxIdleEvent,
+ _swigc__p_wxImage,
+ _swigc__p_wxImageHandler,
+ _swigc__p_wxImageList,
+ _swigc__p_wxIndividualLayoutConstraint,
+ _swigc__p_wxInitDialogEvent,
+ _swigc__p_wxItemContainer,
+ _swigc__p_wxJPEGHandler,
+ _swigc__p_wxKeyEvent,
+ _swigc__p_wxLayoutConstraints,
+ _swigc__p_wxListBox,
+ _swigc__p_wxListEvent,
+ _swigc__p_wxListItem,
+ _swigc__p_wxListItemAttr,
+ _swigc__p_wxListView,
+ _swigc__p_wxListbook,
+ _swigc__p_wxListbookEvent,
+ _swigc__p_wxMaximizeEvent,
+ _swigc__p_wxMemoryDC,
+ _swigc__p_wxMenu,
+ _swigc__p_wxMenuBar,
+ _swigc__p_wxMenuEvent,
+ _swigc__p_wxMenuItem,
+ _swigc__p_wxMouseCaptureChangedEvent,
+ _swigc__p_wxMouseEvent,
+ _swigc__p_wxMoveEvent,
+ _swigc__p_wxNavigationKeyEvent,
+ _swigc__p_wxNcPaintEvent,
+ _swigc__p_wxNotebook,
+ _swigc__p_wxNotebookEvent,
+ _swigc__p_wxNotifyEvent,
+ _swigc__p_wxObject,
+ _swigc__p_wxPCXHandler,
+ _swigc__p_wxPNGHandler,
+ _swigc__p_wxPNMHandler,
+ _swigc__p_wxPaintEvent,
+ _swigc__p_wxPaletteChangedEvent,
+ _swigc__p_wxPaperSize,
+ _swigc__p_wxPoint,
+ _swigc__p_wxPyApp,
+ _swigc__p_wxPyCommandEvent,
+ _swigc__p_wxPyControl,
+ _swigc__p_wxPyEvent,
+ _swigc__p_wxPyImageHandler,
+ _swigc__p_wxPyListCtrl,
+ _swigc__p_wxPySizer,
+ _swigc__p_wxPyTreeCtrl,
+ _swigc__p_wxPyTreeItemData,
+ _swigc__p_wxPyValidator,
+ _swigc__p_wxQueryNewPaletteEvent,
+ _swigc__p_wxRadioBox,
+ _swigc__p_wxRadioButton,
+ _swigc__p_wxRect,
+ _swigc__p_wxScrollBar,
+ _swigc__p_wxScrollEvent,
+ _swigc__p_wxScrollWinEvent,
+ _swigc__p_wxSetCursorEvent,
+ _swigc__p_wxShowEvent,
+ _swigc__p_wxSimpleHelpProvider,
+ _swigc__p_wxSize,
+ _swigc__p_wxSizeEvent,
+ _swigc__p_wxSizer,
+ _swigc__p_wxSizerItem,
+ _swigc__p_wxSlider,
+ _swigc__p_wxSpinButton,
+ _swigc__p_wxSpinCtrl,
+ _swigc__p_wxSpinEvent,
+ _swigc__p_wxStaticBitmap,
+ _swigc__p_wxStaticBox,
+ _swigc__p_wxStaticBoxSizer,
+ _swigc__p_wxStaticLine,
+ _swigc__p_wxStaticText,
+ _swigc__p_wxStdDialogButtonSizer,
+ _swigc__p_wxString,
+ _swigc__p_wxSysColourChangedEvent,
+ _swigc__p_wxTIFFHandler,
+ _swigc__p_wxTextAttr,
+ _swigc__p_wxTextCtrl,
+ _swigc__p_wxTextUrlEvent,
+ _swigc__p_wxToggleButton,
+ _swigc__p_wxToolBar,
+ _swigc__p_wxToolBarBase,
+ _swigc__p_wxToolBarToolBase,
+ _swigc__p_wxToolbook,
+ _swigc__p_wxToolbookEvent,
+ _swigc__p_wxTreeCtrl,
+ _swigc__p_wxTreeEvent,
+ _swigc__p_wxTreeItemId,
+ _swigc__p_wxTreebook,
+ _swigc__p_wxTreebookEvent,
+ _swigc__p_wxUpdateUIEvent,
+ _swigc__p_wxValidator,
+ _swigc__p_wxVisualAttributes,
+ _swigc__p_wxWindow,
+ _swigc__p_wxWindowCreateEvent,
+ _swigc__p_wxWindowDestroyEvent,
+ _swigc__p_wxXPMHandler,
+ _swigc__ptrdiff_t,
+ _swigc__std__ptrdiff_t,
+ _swigc__unsigned_int,
};
#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
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;
swig_globalvar *vars;
} swig_varlinkobject;
- static PyObject *
+ SWIGINTERN PyObject *
swig_varlink_repr(swig_varlinkobject *v) {
v = v;
return PyString_FromString("<Swig global variables>");
}
- static int
+ SWIGINTERN int
swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
swig_globalvar *var;
flags = flags;
return 0;
}
- static PyObject *
+ SWIGINTERN PyObject *
swig_varlink_getattr(swig_varlinkobject *v, char *n) {
swig_globalvar *var = v->vars;
while (var) {
return NULL;
}
- static int
+ SWIGINTERN int
swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
swig_globalvar *var = v->vars;
while (var) {
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;
}
* ----------------------------------------------------------------------------- */
/* 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);
/* 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,
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]);
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;
+ }
+ }
}
}
}
* 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
* 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<int >(wxBU_LEFT)));
}
{
- PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
+ PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
}
{
- PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
+ PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
}
{
- PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
+ PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(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<int >(wxBU_ALIGN_MASK)));
}
{
- PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
+ PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
}
{
- PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
+ PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(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<int >(wxCHK_2STATE)));
}
{
- PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
+ PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(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<int >(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<int >(wxCHK_UNCHECKED)));
}
{
- PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
+ PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
}
{
- PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
+ PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(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<int >(wxGA_HORIZONTAL)));
}
{
- PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
+ PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
}
{
- PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
+ PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
}
{
- PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
+ PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(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);
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<int >(wxTE_NO_VSCROLL)));
}
{
- PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
+ PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
}
{
- PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
+ PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
}
{
- PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
+ PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
}
{
- PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
+ PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
}
{
- PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
+ PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
}
{
- PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
+ PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
}
{
- PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
+ PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
}
{
- PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
+ PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
}
{
- PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
+ PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
}
{
- PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
+ PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
}
{
- PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
+ PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
}
{
- PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
+ PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
}
{
- PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
+ PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
}
{
- PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
+ PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
}
{
- PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
+ PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
}
{
- PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
+ PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
}
{
- PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
+ PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
}
{
- PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
+ PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
}
{
- PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
+ PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
}
{
- PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
+ PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
}
{
- PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
+ PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
}
{
- PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
+ PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
}
{
- PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
+ PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
}
{
- PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
+ PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
}
{
- PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
+ PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
}
{
- PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
+ PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
+ PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
+ PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
+ PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
+ PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
+ PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
+ PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
+ PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
+ PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
+ PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
+ PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
+ PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
}
{
- PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
+ PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
}
{
- PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
+ PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
}
{
- PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
+ PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
}
{
- PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
+ PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
}
{
- PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
+ PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
}
{
- PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
+ PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
}
{
- PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
+ PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
}
{
- PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
+ PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(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));
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<int >(wxSP_HORIZONTAL)));
}
{
- PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
+ PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(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<int >(wxSP_ARROW_KEYS)));
}
{
- PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
+ PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
}
PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
{
- PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
+ PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
}
{
- PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
+ PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
}
{
- PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
+ PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
}
{
- PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
+ PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
}
{
- PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
+ PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
}
{
- PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
+ PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
}
{
- PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
+ PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
}
{
- PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
+ PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
}
{
- PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
+ PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
}
{
- PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
+ PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
}
{
- PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
+ PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
}
{
- PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
+ PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
}
SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
{
- PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
+ PyDict_SetItemString(d,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT)));
+ }
+ {
+ PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP)));
+ }
+ {
+ PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM)));
+ }
+ {
+ PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT)));
+ }
+ {
+ PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT)));
+ }
+ {
+ PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK)));
+ }
+ {
+ PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
}
{
- PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
+ PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
}
{
- PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
+ PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
}
{
- PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
+ PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
}
{
- PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
+ PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
}
{
- PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
+ PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
}
{
- PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
+ PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
}
{
- PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
+ PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
}
{
- PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
+ PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
}
{
- PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
+ PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
}
{
- PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
+ PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(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<int >(wxLB_DEFAULT)));
}
{
- PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
+ PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
}
{
- PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
+ PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
}
{
- PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
+ PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
}
{
- PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
+ PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(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<int >(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<int >(wxCHB_DEFAULT)));
}
{
- PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
+ PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
}
{
- PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
+ PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
}
{
- PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
+ PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
}
{
- PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
+ PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(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<int >(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<int >(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<int >(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<int >(wxTOOL_STYLE_CONTROL)));
}
{
- PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
+ PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
}
{
- PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
+ PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
}
{
- PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
+ PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
}
{
- PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
+ PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
}
{
- PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
+ PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
}
{
- PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
+ PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
}
{
- PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
+ PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
}
{
- PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
+ PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
}
{
- PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
+ PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(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<int >(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<int >(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<int >(wxLC_VRULES)));
}
{
- PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
+ PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
}
{
- PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
+ PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(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<int >(wxLC_SMALL_ICON)));
}
{
- PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
+ PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
}
{
- PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
+ PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(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<int >(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<int >(wxLC_ALIGN_LEFT)));
}
{
- PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
+ PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
}
{
- PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
+ PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(wxLIST_FORMAT_CENTER)));
}
{
- PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
+ PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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));
PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
- PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
- PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
// Map renamed classes back to their common name for OOR
wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
{
- PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
+ PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(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<int >(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<int >(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<int >(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<int >(wxTR_SINGLE)));
}
{
- PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
+ PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
}
{
- PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
+ PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(wxTR_AQUA_BUTTONS)));
}
{
- PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
+ PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
}
{
- PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
+ PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
}
{
- PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
+ PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
}
{
- PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
+ PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
}
{
- PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
+ PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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));
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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(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<int >(wxDIALOG_EX_CONTEXTHELP)));
}
PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
{
- PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
+ PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
}
{
- PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
+ PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
}
{
- PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
+ PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
}
{
- PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
+ PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
}
{
- PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
+ PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
}
}