/* ----------------------------------------------------------------------------
* 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
};
#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);
}
- 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_wxLayoutConstraints swig_types[0]
-#define SWIGTYPE_p_wxRealPoint swig_types[1]
-#define SWIGTYPE_p_wxSizerItem swig_types[2]
-#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
-#define SWIGTYPE_p_wxScrollEvent swig_types[4]
-#define SWIGTYPE_p_wxEventLoop swig_types[5]
-#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
-#define SWIGTYPE_p_wxSizer swig_types[7]
-#define SWIGTYPE_p_wxBoxSizer swig_types[8]
-#define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
-#define SWIGTYPE_p_wxGridBagSizer swig_types[10]
-#define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
-#define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
-#define SWIGTYPE_p_wxEvent swig_types[13]
-#define SWIGTYPE_p_buffer swig_types[14]
-#define SWIGTYPE_p_wxMenu swig_types[15]
-#define SWIGTYPE_p_wxGridSizer swig_types[16]
-#define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
-#define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
-#define SWIGTYPE_p_wxItemContainer swig_types[19]
-#define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
-#define SWIGTYPE_p_wxPaintEvent swig_types[21]
-#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
-#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
-#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
-#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
-#define SWIGTYPE_p_wxControl swig_types[26]
-#define SWIGTYPE_p_wxFont swig_types[27]
-#define SWIGTYPE_p_wxMenuBarBase swig_types[28]
-#define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
-#define SWIGTYPE_p_wxFSFile swig_types[30]
-#define SWIGTYPE_p_wxCaret swig_types[31]
-#define SWIGTYPE_ptrdiff_t swig_types[32]
-#define SWIGTYPE_std__ptrdiff_t swig_types[33]
-#define SWIGTYPE_p_wxRegion swig_types[34]
-#define SWIGTYPE_p_wxPoint2D swig_types[35]
-#define SWIGTYPE_p_int swig_types[36]
-#define SWIGTYPE_p_wxSize swig_types[37]
-#define SWIGTYPE_p_wxDC swig_types[38]
-#define SWIGTYPE_p_wxPySizer swig_types[39]
-#define SWIGTYPE_p_wxVisualAttributes swig_types[40]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[41]
-#define SWIGTYPE_p_wxPyEvent swig_types[42]
-#define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
-#define SWIGTYPE_p_form_ops_t swig_types[44]
-#define SWIGTYPE_p_wxAppTraits swig_types[45]
-#define SWIGTYPE_p_wxArrayString swig_types[46]
-#define SWIGTYPE_p_wxShowEvent swig_types[47]
-#define SWIGTYPE_p_wxToolTip swig_types[48]
-#define SWIGTYPE_p_wxMoveEvent swig_types[49]
-#define SWIGTYPE_p_wxSizeEvent swig_types[50]
-#define SWIGTYPE_p_wxActivateEvent swig_types[51]
-#define SWIGTYPE_p_wxIconizeEvent swig_types[52]
-#define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
-#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
-#define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
-#define SWIGTYPE_p_wxIdleEvent swig_types[56]
-#define SWIGTYPE_p_wxDateEvent swig_types[57]
-#define SWIGTYPE_p_wxMenuItem swig_types[58]
-#define SWIGTYPE_p_wxStaticBox swig_types[59]
-#define SWIGTYPE_p_long swig_types[60]
-#define SWIGTYPE_p_wxDuplexMode swig_types[61]
-#define SWIGTYPE_p_wxTIFFHandler swig_types[62]
-#define SWIGTYPE_p_wxXPMHandler swig_types[63]
-#define SWIGTYPE_p_wxPNMHandler swig_types[64]
-#define SWIGTYPE_p_wxJPEGHandler swig_types[65]
-#define SWIGTYPE_p_wxPCXHandler swig_types[66]
-#define SWIGTYPE_p_wxGIFHandler swig_types[67]
-#define SWIGTYPE_p_wxPNGHandler swig_types[68]
-#define SWIGTYPE_p_wxANIHandler swig_types[69]
-#define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
-#define SWIGTYPE_p_wxZipFSHandler swig_types[71]
-#define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
-#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
-#define SWIGTYPE_p_wxEvtHandler swig_types[74]
-#define SWIGTYPE_p_wxCURHandler swig_types[75]
-#define SWIGTYPE_p_wxICOHandler swig_types[76]
-#define SWIGTYPE_p_wxBMPHandler swig_types[77]
-#define SWIGTYPE_p_wxImageHandler swig_types[78]
-#define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
-#define SWIGTYPE_p_wxRect swig_types[80]
-#define SWIGTYPE_p_wxButton swig_types[81]
-#define SWIGTYPE_p_wxGBSpan swig_types[82]
-#define SWIGTYPE_p_wxPropagateOnce swig_types[83]
-#define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
-#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
-#define SWIGTYPE_p_char swig_types[86]
-#define SWIGTYPE_p_wxGBPosition swig_types[87]
-#define SWIGTYPE_p_wxImage swig_types[88]
-#define SWIGTYPE_p_wxFrame swig_types[89]
-#define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
-#define SWIGTYPE_p_wxPaperSize swig_types[91]
-#define SWIGTYPE_p_wxImageHistogram swig_types[92]
-#define SWIGTYPE_p_wxPoint swig_types[93]
-#define SWIGTYPE_p_wxCursor swig_types[94]
-#define SWIGTYPE_p_wxObject swig_types[95]
-#define SWIGTYPE_p_wxInputStream swig_types[96]
-#define SWIGTYPE_p_wxOutputStream swig_types[97]
-#define SWIGTYPE_p_wxPyInputStream swig_types[98]
-#define SWIGTYPE_p_wxDateTime swig_types[99]
-#define SWIGTYPE_p_wxKeyEvent swig_types[100]
-#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
-#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
-#define SWIGTYPE_p_unsigned_long swig_types[103]
-#define SWIGTYPE_p_wxWindow swig_types[104]
-#define SWIGTYPE_p_wxMenuBar swig_types[105]
-#define SWIGTYPE_p_wxFileSystem swig_types[106]
-#define SWIGTYPE_p_wxBitmap swig_types[107]
-#define SWIGTYPE_unsigned_int swig_types[108]
-#define SWIGTYPE_p_unsigned_int swig_types[109]
-#define SWIGTYPE_p_wxMenuEvent swig_types[110]
-#define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
-#define SWIGTYPE_p_unsigned_char swig_types[112]
-#define SWIGTYPE_p_wxEraseEvent swig_types[113]
-#define SWIGTYPE_p_wxMouseEvent swig_types[114]
-#define SWIGTYPE_p_wxCloseEvent swig_types[115]
-#define SWIGTYPE_p_wxPyApp swig_types[116]
-#define SWIGTYPE_p_wxCommandEvent swig_types[117]
-#define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
-#define SWIGTYPE_p_wxPyDropTarget swig_types[119]
-#define SWIGTYPE_p_wxQuantize swig_types[120]
-#define SWIGTYPE_p_wxFocusEvent swig_types[121]
-#define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
-#define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
-#define SWIGTYPE_p_wxControlWithItems swig_types[124]
-#define SWIGTYPE_p_wxColour swig_types[125]
-#define SWIGTYPE_p_wxValidator swig_types[126]
-#define SWIGTYPE_p_wxPyValidator swig_types[127]
-static swig_type_info *swig_types[129];
+#define SWIGTYPE_p_buffer swig_types[0]
+#define SWIGTYPE_p_char swig_types[1]
+#define SWIGTYPE_p_form_ops_t swig_types[2]
+#define SWIGTYPE_p_int swig_types[3]
+#define SWIGTYPE_p_long swig_types[4]
+#define SWIGTYPE_p_unsigned_char swig_types[5]
+#define SWIGTYPE_p_unsigned_int swig_types[6]
+#define SWIGTYPE_p_unsigned_long swig_types[7]
+#define SWIGTYPE_p_wxANIHandler swig_types[8]
+#define SWIGTYPE_p_wxAcceleratorEntry swig_types[9]
+#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
+#define SWIGTYPE_p_wxActivateEvent swig_types[11]
+#define SWIGTYPE_p_wxAppTraits swig_types[12]
+#define SWIGTYPE_p_wxArrayString swig_types[13]
+#define SWIGTYPE_p_wxBMPHandler swig_types[14]
+#define SWIGTYPE_p_wxBitmap swig_types[15]
+#define SWIGTYPE_p_wxBoxSizer swig_types[16]
+#define SWIGTYPE_p_wxButton swig_types[17]
+#define SWIGTYPE_p_wxCURHandler swig_types[18]
+#define SWIGTYPE_p_wxCaret swig_types[19]
+#define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
+#define SWIGTYPE_p_wxCloseEvent swig_types[21]
+#define SWIGTYPE_p_wxColour swig_types[22]
+#define SWIGTYPE_p_wxCommandEvent swig_types[23]
+#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
+#define SWIGTYPE_p_wxControl swig_types[25]
+#define SWIGTYPE_p_wxControlWithItems swig_types[26]
+#define SWIGTYPE_p_wxCursor swig_types[27]
+#define SWIGTYPE_p_wxDC swig_types[28]
+#define SWIGTYPE_p_wxDateEvent swig_types[29]
+#define SWIGTYPE_p_wxDateTime swig_types[30]
+#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
+#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
+#define SWIGTYPE_p_wxDuplexMode swig_types[33]
+#define SWIGTYPE_p_wxEraseEvent swig_types[34]
+#define SWIGTYPE_p_wxEvent swig_types[35]
+#define SWIGTYPE_p_wxEventLoop swig_types[36]
+#define SWIGTYPE_p_wxEventLoopActivator swig_types[37]
+#define SWIGTYPE_p_wxEvtHandler swig_types[38]
+#define SWIGTYPE_p_wxFSFile swig_types[39]
+#define SWIGTYPE_p_wxFileSystem swig_types[40]
+#define SWIGTYPE_p_wxFileSystemHandler swig_types[41]
+#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
+#define SWIGTYPE_p_wxFocusEvent swig_types[43]
+#define SWIGTYPE_p_wxFont swig_types[44]
+#define SWIGTYPE_p_wxFrame swig_types[45]
+#define SWIGTYPE_p_wxGBPosition swig_types[46]
+#define SWIGTYPE_p_wxGBSizerItem swig_types[47]
+#define SWIGTYPE_p_wxGBSpan swig_types[48]
+#define SWIGTYPE_p_wxGIFHandler swig_types[49]
+#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
+#define SWIGTYPE_p_wxGridSizer swig_types[51]
+#define SWIGTYPE_p_wxICOHandler swig_types[52]
+#define SWIGTYPE_p_wxIconizeEvent swig_types[53]
+#define SWIGTYPE_p_wxIdleEvent swig_types[54]
+#define SWIGTYPE_p_wxImage swig_types[55]
+#define SWIGTYPE_p_wxImageHandler swig_types[56]
+#define SWIGTYPE_p_wxImageHistogram swig_types[57]
+#define SWIGTYPE_p_wxImage_HSVValue swig_types[58]
+#define SWIGTYPE_p_wxImage_RGBValue swig_types[59]
+#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
+#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
+#define SWIGTYPE_p_wxInputStream swig_types[62]
+#define SWIGTYPE_p_wxInternetFSHandler swig_types[63]
+#define SWIGTYPE_p_wxItemContainer swig_types[64]
+#define SWIGTYPE_p_wxJPEGHandler swig_types[65]
+#define SWIGTYPE_p_wxKeyEvent swig_types[66]
+#define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
+#define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
+#define SWIGTYPE_p_wxMenu swig_types[70]
+#define SWIGTYPE_p_wxMenuBar swig_types[71]
+#define SWIGTYPE_p_wxMenuBarBase swig_types[72]
+#define SWIGTYPE_p_wxMenuEvent swig_types[73]
+#define SWIGTYPE_p_wxMenuItem swig_types[74]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
+#define SWIGTYPE_p_wxMouseEvent swig_types[76]
+#define SWIGTYPE_p_wxMoveEvent swig_types[77]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[80]
+#define SWIGTYPE_p_wxObject swig_types[81]
+#define SWIGTYPE_p_wxOutputStream swig_types[82]
+#define SWIGTYPE_p_wxPCXHandler swig_types[83]
+#define SWIGTYPE_p_wxPNGHandler swig_types[84]
+#define SWIGTYPE_p_wxPNMHandler swig_types[85]
+#define SWIGTYPE_p_wxPaintEvent swig_types[86]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
+#define SWIGTYPE_p_wxPaperSize swig_types[88]
+#define SWIGTYPE_p_wxPoint swig_types[89]
+#define SWIGTYPE_p_wxPoint2D swig_types[90]
+#define SWIGTYPE_p_wxPropagateOnce swig_types[91]
+#define SWIGTYPE_p_wxPropagationDisabler swig_types[92]
+#define SWIGTYPE_p_wxPyApp swig_types[93]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[94]
+#define SWIGTYPE_p_wxPyDropTarget swig_types[95]
+#define SWIGTYPE_p_wxPyEvent swig_types[96]
+#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[98]
+#define SWIGTYPE_p_wxPyInputStream swig_types[99]
+#define SWIGTYPE_p_wxPySizer swig_types[100]
+#define SWIGTYPE_p_wxPyValidator swig_types[101]
+#define SWIGTYPE_p_wxQuantize swig_types[102]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103]
+#define SWIGTYPE_p_wxRealPoint swig_types[104]
+#define SWIGTYPE_p_wxRect swig_types[105]
+#define SWIGTYPE_p_wxRegion swig_types[106]
+#define SWIGTYPE_p_wxScrollEvent swig_types[107]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[108]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[109]
+#define SWIGTYPE_p_wxShowEvent swig_types[110]
+#define SWIGTYPE_p_wxSize swig_types[111]
+#define SWIGTYPE_p_wxSizeEvent swig_types[112]
+#define SWIGTYPE_p_wxSizer swig_types[113]
+#define SWIGTYPE_p_wxSizerItem swig_types[114]
+#define SWIGTYPE_p_wxStaticBox swig_types[115]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[116]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[119]
+#define SWIGTYPE_p_wxToolTip swig_types[120]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[121]
+#define SWIGTYPE_p_wxValidator swig_types[122]
+#define SWIGTYPE_p_wxVisualAttributes swig_types[123]
+#define SWIGTYPE_p_wxWindow swig_types[124]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[125]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126]
+#define SWIGTYPE_p_wxXPMHandler swig_types[127]
+#define SWIGTYPE_p_wxZipFSHandler swig_types[128]
+#define SWIGTYPE_ptrdiff_t swig_types[129]
+#define SWIGTYPE_std__ptrdiff_t swig_types[130]
+#define SWIGTYPE_unsigned_int swig_types[131]
+static swig_type_info *swig_types[133];
+static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0};
+#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
+#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
/* -------- TYPES TABLE (END) -------- */
// in the wrapper code.
#include <wx/hashmap.h>
-WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
+ WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
// Maintains a hashmap of className to swig_type_info pointers. Given the
}
+// Python's PyInstance_Check does not return True for instances of new-style
+// classes. This should get close enough for both new and old classes but I
+// should re-evaluate the need for doing instance checks...
+bool wxPyInstance_Check(PyObject* obj) {
+ return PyObject_HasAttrString(obj, "__class__") != 0;
+}
+
+
+
+// This one checks if the object is an instance of a SWIG proxy class (it has
+// a .this attribute, and the .this attribute is a PySwigObject.)
+bool wxPySwigInstance_Check(PyObject* obj) {
+ static PyObject* this_str = NULL;
+ if (this_str == NULL)
+ this_str = PyString_FromString("this");
+
+ PyObject* this_attr = PyObject_GetAttr(obj, this_str);
+ if (this_attr) {
+ bool retval = (PySwigObject_Check(this_attr) != 0);
+ Py_DECREF(this_attr);
+ return retval;
+ }
+
+ PyErr_Clear();
+ return false;
+}
+
// Export a C API in a struct. Other modules will be able to load this from
#endif
- /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
+ /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
#define SWIG_From_int PyInt_FromLong
/*@@*/
-
-#if ! wxUSE_HOTKEY
-enum wxHotkeyModifier
-{
- wxMOD_NONE = 0,
- wxMOD_ALT = 1,
- wxMOD_CONTROL = 2,
- wxMOD_SHIFT = 4,
- wxMOD_WIN = 8
-};
-#define wxEVT_HOTKEY 9999
-#endif
-
static const wxString wxPyEmptyString(wxEmptyString);
static wxString wxObject_GetClassName(wxObject *self){
return self->GetClassInfo()->GetClassName();
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 int
+SWIGINTERNINLINE int
SWIG_Check_int(PyObject* obj)
{
return SWIG_AsVal_int(obj, (int*)0);
}
-SWIGINTERNSHORT double
+SWIGINTERNINLINE double
SWIG_As_double(PyObject* obj)
{
double v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_double(PyObject* obj)
{
return SWIG_AsVal_double(obj, (double*)0);
}
- /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
+ /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
#define SWIG_From_double PyFloat_FromDouble
/*@@*/
return tup;
}
-SWIGINTERNSHORT long
+SWIGINTERNINLINE long
SWIG_As_long(PyObject* obj)
{
long v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_long(PyObject* obj)
{
return SWIG_AsVal_long(obj, (long*)0);
return NULL;
}
-SWIGINTERNSHORT PyObject*
+SWIGINTERNINLINE PyObject*
SWIG_From_char(char c)
{
return PyString_FromStringAndSize(&c,1);
}
-SWIGINTERNSHORT PyObject*
+SWIGINTERNINLINE PyObject*
SWIG_From_unsigned_SS_long(unsigned long value)
{
return (value > LONG_MAX) ?
PyLong_FromUnsignedLong(value)
- : PyInt_FromLong((long)(value));
+ : PyInt_FromLong(static_cast<long >(value));
}
long v;
if (SWIG_AsVal_long(obj, &v)) {
if (SWIG_CheckLongInRange(v, CHAR_MIN,CHAR_MAX, errmsg)) {
- if (val) *val = (char)(v);
+ if (val) *val = static_cast<char >(v);
return 1;
} else {
return 0;
}
-SWIGINTERNSHORT char
+SWIGINTERNINLINE char
SWIG_As_char(PyObject* obj)
{
char v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_char(PyObject* obj)
{
return SWIG_AsVal_char(obj, (char*)0);
}
- /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
+ /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
#define SWIG_From_long PyInt_FromLong
/*@@*/
}
-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 wxString FileSystem_URLToFileName(wxString const &url){
+static wxString wxFileSystem_URLToFileName(wxString const &url){
wxFileName fname = wxFileSystem::URLToFileName(url);
return fname.GetFullPath();
}
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_CheckUnsignedLongInRange(unsigned long value,
unsigned long max_value,
const char *errmsg)
unsigned long v;
if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) {
- if (val) *val = (unsigned char)(v);
+ if (val) *val = static_cast<unsigned char >(v);
return 1;
} else {
return 0;
}
-SWIGINTERNSHORT unsigned char
+SWIGINTERNINLINE unsigned char
SWIG_As_unsigned_SS_char(PyObject* obj)
{
unsigned char v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_unsigned_SS_char(PyObject* obj)
{
return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0);
}
- /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
+ /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
#define SWIG_From_unsigned_SS_char PyInt_FromLong
/*@@*/
-SWIGINTERNSHORT unsigned long
+SWIGINTERNINLINE unsigned long
SWIG_As_unsigned_SS_long(PyObject* obj)
{
unsigned long v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_unsigned_SS_long(PyObject* obj)
{
return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
wxImageHistogramEntry e = (*self)[key];
return e.value;
}
-static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram *self,unsigned char r,unsigned char g,unsigned char b){
+static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram *self,byte r,byte g,byte b){
unsigned long key = wxImageHistogram::MakeKey(r, g, b);
wxImageHistogramEntry e = (*self)[key];
return e.value;
typedef unsigned char* buffer;
+
+// Pull the nested class out to the top level for SWIG's sake
+#define wxImage_RGBValue wxImage::RGBValue
+#define wxImage_HSVValue wxImage::HSVValue
+
static wxImage *new_wxImage(int width=0,int height=0,bool clear=true){
if (width > 0 && height > 0)
return new wxImage(width, height, clear);
wxBitmap bitmap(*self, depth);
return bitmap;
}
-static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
+static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,byte red,byte green,byte blue){
wxImage mono = self->ConvertToMono( red, green, blue );
wxBitmap bitmap( mono, 1 );
return bitmap;
#include <wx/quantize.h>
-static bool Quantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){
+static bool wxQuantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){
return wxQuantize::Quantize(src, dest,
//NULL, // palette
desiredNoColours,
}
}
+#if ! wxUSE_HOTKEY
+#define wxEVT_HOTKEY -9999
+#endif
+
+
static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
#if wxUSE_UNICODE
return self->GetUnicodeKey();
}
#if UINT_MAX < LONG_MAX
-/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
+/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
#define SWIG_From_unsigned_SS_int SWIG_From_long
/*@@*/
#else
-/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
+/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
/*@@*/
#endif
unsigned long v;
if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
- if (val) *val = (unsigned int)(v);
+ if (val) *val = static_cast<unsigned int >(v);
return 1;
}
} else {
return 0;
}
#else
-SWIGINTERNSHORT unsigned int
+SWIGINTERNINLINE unsigned int
SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
{
return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
#endif
-SWIGINTERNSHORT unsigned int
+SWIGINTERNINLINE unsigned int
SWIG_As_unsigned_SS_int(PyObject* obj)
{
unsigned int v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_unsigned_SS_int(PyObject* obj)
{
return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
int count = self->GetNumberOfFiles();
wxString* files = self->GetFiles();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyObject* list = PyList_New(count);
if (!list) {
PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
+ wxPyEndBlockThreads(blocked);
return NULL;
}
for (int i=0; i<count; i++) {
PyList_SetItem(list, i, wx2PyString(files[i]));
}
+ wxPyEndBlockThreads(blocked);
return list;
}
wxPythonApp = new wxPyApp();
return wxPythonApp;
}
-static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
+static int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
void wxApp_CleanUp() {
__wxPyCleanup();
wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_AsCharPtr(PyObject *obj, char **val)
{
if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
if (cptr) {
size_t size = strlen(cptr);
if (size > INT_MAX) {
- return SWIG_NewPointerObj((char*)(cptr),
+ return SWIG_NewPointerObj(const_cast<char* >(cptr),
SWIG_TypeQuery("char *"), 0);
} else {
if (size != 0) {
}
-#ifdef __WXMAC__
+#if 0 // #ifdef __WXMAC__
// A dummy class that raises an exception if used...
class wxEventLoop
static void wxWindow_AssociateHandle(wxWindow *self,long handle){
self->AssociateHandle((WXWidget)handle);
}
+static void wxWindow_DragAcceptFiles(wxWindow *self,bool accept){}
wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
return wxWindow::FindWindowById(id, parent);
WXHWND hWnd = (WXHWND)_hWnd;
long id = wxGetWindowId(hWnd);
wxWindow* win = new wxWindow;
- parent->AddChild(win);
+ if (parent)
+ parent->AddChild(win);
win->SetEventHandler(win);
win->SetHWND(hWnd);
win->SetId(id);
static wxColour wxMenuItem_GetTextColour(wxMenuItem *self){ return wxNullColour; }
static void wxMenuItem_SetBackgroundColour(wxMenuItem *self,wxColour const &colBack){}
static wxColour wxMenuItem_GetBackgroundColour(wxMenuItem *self){ return wxNullColour; }
-static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){}
+static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){ self->SetBitmap( bmpChecked ); }
static void wxMenuItem_SetDisabledBitmap(wxMenuItem *self,wxBitmap const &bmpDisabled){}
static wxBitmap const &wxMenuItem_GetDisabledBitmap(wxMenuItem const *self){ return wxNullBitmap; }
static void wxMenuItem_SetMarginWidth(wxMenuItem *self,int nWidth){}
static int wxMenuItem_GetMarginWidth(wxMenuItem *self){ return 0; }
-static int MenuItem_GetDefaultMarginWidth(){ return 0; }
+static int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
static bool wxMenuItem_IsOwnerDrawn(wxMenuItem *self){ return false; }
static void wxMenuItem_SetOwnerDrawn(wxMenuItem *self,bool ownerDrawn=true){}
static void wxMenuItem_ResetOwnerDrawn(wxMenuItem *self){}
double v;
if (SWIG_AsVal_double(obj, &v)) {
if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
- if (val) *val = (float)(v);
+ if (val) *val = static_cast<float >(v);
return 1;
} else {
return 0;
}
-SWIGINTERNSHORT float
+SWIGINTERNINLINE float
SWIG_As_float(PyObject* obj)
{
float v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_float(PyObject* obj)
{
return SWIG_AsVal_float(obj, (float*)0);
}
- /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
+ /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
#define SWIG_From_float PyFloat_FromDouble
/*@@*/
return Py_None;
}
}
+static void wxSizerItem_SetUserData(wxSizerItem *self,PyObject *userData){
+ wxPyUserData* data = NULL;
+ if ( userData ) {
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
+ data = new wxPyUserData(userData);
+ wxPyEndBlockThreads(blocked);
+ }
+ self->SetUserData(data);
+ }
// Figure out the type of the sizer item
if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
// no expected type, figure out what kind of error message to generate
if ( !checkSize && !checkIdx )
- PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
+ PyErr_SetString(PyExc_TypeError, "wx.Window or wx.Sizer expected for item");
else if ( checkSize && !checkIdx )
- PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
+ PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
else if ( !checkSize && checkIdx)
- PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
+ PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer or int (position) expected for item");
else
// can this one happen?
- PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
+ PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
}
return info;
static PyObject *_wrap_EmptyString_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxObject *arg1 = (wxObject *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxObject *arg1 = (wxObject *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->x = arg2;
static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->x);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->y = arg2;
static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->y);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
wxSize *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
wxSize *arg2 = 0 ;
bool result;
static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
wxSize *arg2 = 0 ;
bool result;
static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 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_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 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_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 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_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 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_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = (wxSize *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
double arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->x = arg2;
static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
double result;
PyObject * obj0 = 0 ;
result = (double) ((arg1)->x);
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
double arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->y = arg2;
static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
double result;
PyObject * obj0 = 0 ;
result = (double) ((arg1)->y);
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
double arg1 = (double) 0.0 ;
double arg2 = (double) 0.0 ;
wxRealPoint *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (double)(SWIG_As_double(obj0));
+ arg1 = static_cast<double >(SWIG_As_double(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
wxRealPoint *arg2 = 0 ;
bool result;
static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
wxRealPoint *arg2 = 0 ;
bool result;
static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
wxRealPoint *arg2 = 0 ;
wxRealPoint result;
}
{
wxRealPoint * resultptr;
- resultptr = new wxRealPoint((wxRealPoint &)(result));
+ resultptr = new wxRealPoint(static_cast<wxRealPoint & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
}
return resultobj;
static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
wxRealPoint *arg2 = 0 ;
wxRealPoint result;
}
{
wxRealPoint * resultptr;
- resultptr = new wxRealPoint((wxRealPoint &)(result));
+ resultptr = new wxRealPoint(static_cast<wxRealPoint & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
}
return resultobj;
static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
double arg2 ;
double arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (double)(SWIG_As_double(obj2));
+ arg3 = static_cast<double >(SWIG_As_double(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRealPoint *arg1 = (wxRealPoint *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->x = arg2;
static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->x);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->y = arg2;
static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->y);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
wxPoint *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
wxPoint *arg2 = 0 ;
bool result;
static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
wxPoint *arg2 = 0 ;
bool result;
static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint result;
}
{
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_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint result;
}
{
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_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint *result;
static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint *result;
static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
long arg2 ;
long arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<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_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = (wxPoint *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = 0 ;
wxPoint *arg2 = 0 ;
wxRect *result;
static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = 0 ;
wxSize *arg2 = 0 ;
wxRect *result;
static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize *arg1 = 0 ;
wxRect *result;
wxSize temp1 ;
static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 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_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxRect *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_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxRect *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_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxRect *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_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxRect *arg2 = 0 ;
wxRect *result;
static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxRect *arg2 = 0 ;
bool result;
static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxRect *arg2 = 0 ;
bool result;
static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxPoint *arg2 = 0 ;
bool result;
static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxRect *arg2 = 0 ;
bool result;
static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->x = arg2;
static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->x);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->y = arg2;
static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->y);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->width = arg2;
static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->width);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->height = arg2;
static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->height);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
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;
}
}
static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect *arg1 = (wxRect *) 0 ;
wxRect *arg2 = (wxRect *) 0 ;
PyObject *result;
static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
double arg1 = (double) 0.0 ;
double arg2 = (double) 0.0 ;
wxPoint2D *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (double)(SWIG_As_double(obj0));
+ arg1 = static_cast<double >(SWIG_As_double(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = 0 ;
wxPoint2D *result;
wxPoint2D temp1 ;
static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = 0 ;
wxPoint2D *result;
wxPoint temp1 ;
static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
double result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
double result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
double result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
double result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D result;
PyObject * obj0 = 0 ;
}
{
wxPoint2D * resultptr;
- resultptr = new wxPoint2D((wxPoint2D &)(result));
+ resultptr = new wxPoint2D(static_cast<wxPoint2D & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
}
return resultobj;
static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
wxPoint2D *result;
static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
wxPoint2D *result;
static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
wxPoint2D *result;
static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
wxPoint2D *result;
static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
bool result;
static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
wxPoint2D *arg2 = 0 ;
bool result;
static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_x = arg2;
static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double result;
PyObject * obj0 = 0 ;
result = (double) ((arg1)->m_x);
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_y = arg2;
static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double result;
PyObject * obj0 = 0 ;
result = (double) ((arg1)->m_y);
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
double arg2 = (double) 0 ;
double arg3 = (double) 0 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg3 = (double)(SWIG_As_double(obj2));
+ arg3 = static_cast<double >(SWIG_As_double(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint2D *arg1 = (wxPoint2D *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DefaultPosition_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
return pyobj;
static PyObject *_wrap_DefaultSize_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
return pyobj;
static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
PyObject *arg1 = (PyObject *) 0 ;
wxPyInputStream *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
int arg2 = (int) -1 ;
PyObject *result;
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_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
int arg2 = (int) -1 ;
PyObject *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_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
int arg2 = (int) -1 ;
PyObject *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_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
int arg2 ;
int arg3 = (int) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 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_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
char result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_char((char)(result));
+ resultobj = SWIG_From_char(static_cast<char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
char result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_char((char)(result));
+ resultobj = SWIG_From_char(static_cast<char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
size_t result;
PyObject * obj0 = 0 ;
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_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
char arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (char)(SWIG_As_char(obj1));
+ arg2 = static_cast<char >(SWIG_As_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
long arg2 ;
wxSeekMode arg3 = (wxSeekMode) wxFromStart ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (wxSeekMode)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxSeekMode >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
+ result = (long)(arg1)->SeekI(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyInputStream *arg1 = (wxPyInputStream *) 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:
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxOutputStream *arg1 = (wxOutputStream *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxInputStream *arg1 = (wxInputStream *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFSFile *arg1 = (wxFSFile *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFSFile *arg1 = (wxFSFile *) 0 ;
wxInputStream *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFSFile *arg1 = (wxFSFile *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFSFile *arg1 = (wxFSFile *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFSFile *arg1 = (wxFSFile *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFSFile *arg1 = (wxFSFile *) 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;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxFileSystem *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
}
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_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileSystem *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileSystem *arg1 = (wxFileSystem *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileSystem *arg1 = (wxFileSystem *) 0 ;
wxString *arg2 = 0 ;
bool arg3 = (bool) false ;
}
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_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileSystem *arg1 = (wxFileSystem *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileSystem *arg1 = (wxFileSystem *) 0 ;
wxString *arg2 = 0 ;
wxFSFile *result;
static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileSystem *arg1 = (wxFileSystem *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
}
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_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileSystem *arg1 = (wxFileSystem *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString result;
bool temp1 = false ;
static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString result;
bool temp1 = false ;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = FileSystem_URLToFileName((wxString const &)*arg1);
+ result = wxFileSystem_URLToFileName((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxInternetFSHandler *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
wxFileSystem *arg2 = 0 ;
wxString *arg3 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxZipFSHandler *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
wxFileSystem *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
}
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_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxImage *arg2 = 0 ;
long arg3 ;
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___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxBitmap *arg2 = 0 ;
long arg3 ;
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___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool temp1 = false ;
static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMemoryFSHandler *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
wxFileSystem *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
}
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_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 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_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
+static PyObject *_wrap_new_PyImageHandler(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyImageHandler *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyImageHandler",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxPyImageHandler *)new wxPyImageHandler();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyImageHandler, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_PyImageHandler__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyImageHandler *arg1 = (wxPyImageHandler *) 0 ;
+ PyObject *arg2 = (PyObject *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyImageHandler__SetSelf",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyImageHandler, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ arg2 = obj1;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->_SetSelf(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * PyImageHandler_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxPyImageHandler, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHistogram *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- unsigned char arg1 ;
- unsigned char arg2 ;
- unsigned char arg3 ;
+ PyObject *resultobj = NULL;
+ byte arg1 ;
+ byte arg2 ;
+ byte arg3 ;
unsigned long result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
{
- arg1 = (unsigned char)(SWIG_As_unsigned_SS_char(obj0));
+ arg1 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
- arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1));
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(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_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
- unsigned char *arg2 = (unsigned char *) 0 ;
- unsigned char *arg3 = (unsigned char *) 0 ;
- unsigned char *arg4 = (unsigned char *) 0 ;
- unsigned char arg5 = (unsigned char) 1 ;
- unsigned char arg6 = (unsigned char) 0 ;
- unsigned char arg7 = (unsigned char) 0 ;
+ byte *arg2 = (byte *) 0 ;
+ byte *arg3 = (byte *) 0 ;
+ byte *arg4 = (byte *) 0 ;
+ byte arg5 = (byte) 1 ;
+ byte arg6 = (byte) 0 ;
+ byte arg7 = (byte) 0 ;
bool result;
- unsigned char temp2 ;
+ byte temp2 ;
int res2 = 0 ;
- unsigned char temp3 ;
+ byte temp3 ;
int res3 = 0 ;
- unsigned char temp4 ;
+ byte temp4 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg5 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1));
+ arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (obj2) {
{
- arg6 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg6 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
if (obj3) {
{
- arg7 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg7 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
unsigned long arg2 ;
unsigned long result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) 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_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
- unsigned char arg2 ;
- unsigned char arg3 ;
- unsigned char arg4 ;
+ byte arg2 ;
+ byte arg3 ;
+ byte arg4 ;
unsigned long result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1));
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) 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_ImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
wxColour *arg2 = 0 ;
unsigned long result;
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:
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
+static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ byte arg1 = (byte) 0 ;
+ byte arg2 = (byte) 0 ;
+ byte arg3 = (byte) 0 ;
+ wxImage_RGBValue *result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "r",(char *) "g",(char *) "b", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_RGBValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if (obj0) {
+ {
+ arg1 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj0));
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ }
+ }
+ if (obj1) {
+ {
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxImage_RGBValue *)new wxImage_RGBValue(arg1,arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage_RGBValue, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
+ byte arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "red", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_red_set",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (arg1) (arg1)->red = arg2;
+
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
+ byte result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_red_get",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ result = (byte) ((arg1)->red);
+
+ {
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
+ byte arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "green", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_green_set",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (arg1) (arg1)->green = arg2;
+
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
+ byte result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_green_get",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ result = (byte) ((arg1)->green);
+
+ {
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
+ byte arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "blue", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_blue_set",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (arg1) (arg1)->blue = arg2;
+
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_RGBValue_blue_get(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
+ byte result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_blue_get",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ result = (byte) ((arg1)->blue);
+
+ {
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * Image_RGBValue_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxImage_RGBValue, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ double arg1 = (double) 0.0 ;
+ double arg2 = (double) 0.0 ;
+ double arg3 = (double) 0.0 ;
+ wxImage_HSVValue *result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "h",(char *) "s",(char *) "v", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_HSVValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if (obj0) {
+ {
+ arg1 = static_cast<double >(SWIG_As_double(obj0));
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ }
+ }
+ if (obj1) {
+ {
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<double >(SWIG_As_double(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxImage_HSVValue *)new wxImage_HSVValue(arg1,arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage_HSVValue, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
+ double arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "hue", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_hue_set",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (arg1) (arg1)->hue = arg2;
+
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
+ double result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_hue_get",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ result = (double) ((arg1)->hue);
+
+ {
+ resultobj = SWIG_From_double(static_cast<double >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
+ double arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "saturation", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_saturation_set",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (arg1) (arg1)->saturation = arg2;
+
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
+ double result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_saturation_get",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ result = (double) ((arg1)->saturation);
+
+ {
+ resultobj = SWIG_From_double(static_cast<double >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
+ double arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "value", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_value_set",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (arg1) (arg1)->value = arg2;
+
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_HSVValue_value_get(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
+ double result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_value_get",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ result = (double) ((arg1)->value);
+
+ {
+ resultobj = SWIG_From_double(static_cast<double >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * Image_HSVValue_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxImage_HSVValue, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
long arg2 = (long) wxBITMAP_TYPE_ANY ;
int arg3 = (int) -1 ;
}
if (obj1) {
{
- 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;
}
}
static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) -1 ;
}
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_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxInputStream *arg1 = 0 ;
long arg2 = (long) wxBITMAP_TYPE_ANY ;
int arg3 = (int) -1 ;
}
if (obj1) {
{
- 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;
}
}
static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxInputStream *arg1 = 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) -1 ;
}
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_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
bool arg3 = (bool) true ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmap *arg1 = 0 ;
wxImage *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int arg2 ;
buffer arg3 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
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_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int arg2 ;
buffer arg3 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
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_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
+ bool arg4 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "width",(char *) "height", NULL
+ (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- 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 (obj3) {
+ {
+ arg4 = static_cast<bool >(SWIG_As_bool(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->Create(arg2,arg3);
+ (arg1)->Create(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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;
}
{
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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;
}
{
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxSize *arg2 = 0 ;
wxPoint *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) {
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(SWIG_As_int(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
- unsigned char arg4 ;
- unsigned char arg5 ;
- unsigned char arg6 ;
+ byte arg4 ;
+ byte arg5 ;
+ byte arg6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
- arg5 = (unsigned char)(SWIG_As_unsigned_SS_char(obj4));
+ arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
{
- arg6 = (unsigned char)(SWIG_As_unsigned_SS_char(obj5));
+ arg6 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
{
static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxRect *arg2 = 0 ;
- unsigned char arg3 ;
- unsigned char arg4 ;
- unsigned char arg5 ;
+ byte arg3 ;
+ byte arg4 ;
+ byte arg5 ;
wxRect temp2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
}
{
- arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
- arg5 = (unsigned char)(SWIG_As_unsigned_SS_char(obj4));
+ arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
{
static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
- unsigned char result;
+ byte result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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();
- result = (unsigned char)(arg1)->GetRed(arg2,arg3);
+ result = (byte)(arg1)->GetRed(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
- unsigned char result;
+ byte result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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();
- result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
+ result = (byte)(arg1)->GetGreen(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
- unsigned char result;
+ byte result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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();
- result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
+ result = (byte)(arg1)->GetBlue(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
- unsigned char arg4 ;
+ byte arg4 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
- unsigned char result;
+ byte result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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();
- result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
+ result = (byte)(arg1)->GetAlpha(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 ;
int arg3 ;
- unsigned char arg4 = (unsigned char) wxIMAGE_ALPHA_THRESHOLD ;
+ byte arg4 = (byte) wxIMAGE_ALPHA_THRESHOLD ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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 (obj3) {
{
- arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
byte *arg2 = (byte *) 0 ;
byte *arg3 = (byte *) 0 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1));
+ arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (obj2) {
{
- arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2));
+ arg6 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
if (obj3) {
{
- arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3));
+ arg7 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
byte arg2 = (byte) wxIMAGE_ALPHA_THRESHOLD ;
bool result;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char arg2 ;
- unsigned char arg3 ;
- unsigned char arg4 ;
+ byte arg2 ;
+ byte arg3 ;
+ byte arg4 ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1));
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxImage *arg2 = 0 ;
byte arg3 ;
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
- arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
+ arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
{
static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool result;
bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
- (char *) "name", NULL
+ (char *) "filename", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
long arg2 = (long) wxBITMAP_TYPE_ANY ;
int result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "name",(char *) "type", NULL
+ (char *) "filename",(char *) "type", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
}
if (obj1) {
{
- 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));
}
{
if (temp1)
static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
long arg3 = (long) wxBITMAP_TYPE_ANY ;
}
if (obj2) {
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(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_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxString *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;
}
}
static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 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;
}
{
static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxInputStream *arg1 = 0 ;
bool result;
wxPyInputStream *temp1 ;
static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxInputStream *arg2 = 0 ;
long arg3 = (long) wxBITMAP_TYPE_ANY ;
}
if (obj2) {
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(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_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxInputStream *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;
}
}
static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 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_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 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_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 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_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxRect *arg2 = 0 ;
SwigValueWrapper<wxImage > result;
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxSize *arg2 = 0 ;
wxPoint *arg3 = 0 ;
}
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;
}
}
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
SwigValueWrapper<wxImage > result;
PyObject * obj0 = 0 ;
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxImage *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;
}
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
buffer arg2 ;
int arg3 ;
static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
buffer arg2 ;
int arg3 ;
static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
buffer arg2 ;
int arg3 ;
static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
buffer arg2 ;
int arg3 ;
static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char arg2 ;
- unsigned char arg3 ;
- unsigned char arg4 ;
+ byte arg2 ;
+ byte arg3 ;
+ byte arg4 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1));
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char *arg2 = (unsigned char *) 0 ;
- unsigned char *arg3 = (unsigned char *) 0 ;
- unsigned char *arg4 = (unsigned char *) 0 ;
- unsigned char temp2 ;
+ byte *arg2 = (byte *) 0 ;
+ byte *arg3 = (byte *) 0 ;
+ byte *arg4 = (byte *) 0 ;
+ byte temp2 ;
int res2 = 0 ;
- unsigned char temp3 ;
+ byte temp3 ;
int res3 = 0 ;
- unsigned char temp4 ;
+ byte temp4 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char result;
+ byte result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (unsigned char)(arg1)->GetMaskRed();
+ result = (byte)(arg1)->GetMaskRed();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char result;
+ byte result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (unsigned char)(arg1)->GetMaskGreen();
+ result = (byte)(arg1)->GetMaskGreen();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char result;
+ byte result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (unsigned char)(arg1)->GetMaskBlue();
+ result = (byte)(arg1)->GetMaskBlue();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
+ resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
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_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
double arg2 ;
wxPoint *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (double)(SWIG_As_double(obj1));
+ arg2 = static_cast<double >(SWIG_As_double(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;
}
}
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
bool arg2 = (bool) true ;
SwigValueWrapper<wxImage > 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;
}
}
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
bool arg2 = (bool) true ;
SwigValueWrapper<wxImage > 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;
}
}
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char arg2 ;
- unsigned char arg3 ;
- unsigned char arg4 ;
- unsigned char arg5 ;
- unsigned char arg6 ;
- unsigned char arg7 ;
+ byte arg2 ;
+ byte arg3 ;
+ byte arg4 ;
+ byte arg5 ;
+ byte arg6 ;
+ byte arg7 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1));
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
- arg5 = (unsigned char)(SWIG_As_unsigned_SS_char(obj4));
+ arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
{
- arg6 = (unsigned char)(SWIG_As_unsigned_SS_char(obj5));
+ arg6 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
{
- arg7 = (unsigned char)(SWIG_As_unsigned_SS_char(obj6));
+ arg7 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
{
}
+static PyObject *_wrap_Image_ConvertToGreyscale(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage *arg1 = (wxImage *) 0 ;
+ double arg2 = (double) 0.299 ;
+ double arg3 = (double) 0.587 ;
+ double arg4 = (double) 0.114 ;
+ SwigValueWrapper<wxImage > result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<double >(SWIG_As_double(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = static_cast<double >(SWIG_As_double(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxImage const *)arg1)->ConvertToGreyscale(arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxImage * resultptr;
+ resultptr = new wxImage(static_cast<wxImage & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char arg2 ;
- unsigned char arg3 ;
- unsigned char arg4 ;
+ byte arg2 ;
+ byte arg3 ;
+ byte arg4 ;
SwigValueWrapper<wxImage > result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1));
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
}
{
wxImage * resultptr;
- resultptr = new wxImage((wxImage &)(result));
+ resultptr = new wxImage(static_cast<wxImage & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
}
return resultobj;
static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 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;
}
{
static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
wxString result;
static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 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_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
unsigned long result;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- 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;
}
}
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_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
wxImageHistogram *arg2 = 0 ;
unsigned long result;
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_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool result;
bool temp1 = false ;
static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
int arg2 = (int) -1 ;
wxBitmap result;
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;
}
}
}
{
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_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = (wxImage *) 0 ;
- unsigned char arg2 ;
- unsigned char arg3 ;
- unsigned char arg4 ;
+ byte arg2 ;
+ byte arg3 ;
+ byte arg4 ;
wxBitmap result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1));
+ arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2));
+ arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
- arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3));
+ arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
}
{
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_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage *arg1 = (wxImage *) 0 ;
+ double arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "angle", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RotateHue",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<double >(SWIG_As_double(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->RotateHue(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_RGBValue arg1 ;
+ wxImage_HSVValue result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "rgb", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBtoHSV",kwnames,&obj0)) goto fail;
+ {
+ wxImage_RGBValue * argp;
+ SWIG_Python_ConvertPtr(obj0, (void **)&argp, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ if (argp == NULL) {
+ SWIG_null_ref("wxImage_RGBValue");
+ }
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ arg1 = *argp;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = wxImage::RGBtoHSV(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxImage_HSVValue * resultptr;
+ resultptr = new wxImage_HSVValue(static_cast<wxImage_HSVValue & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_HSVValue, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Image_HSVtoRGB(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxImage_HSVValue arg1 ;
+ wxImage_RGBValue result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "hsv", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVtoRGB",kwnames,&obj0)) goto fail;
+ {
+ wxImage_HSVValue * argp;
+ SWIG_Python_ConvertPtr(obj0, (void **)&argp, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ if (argp == NULL) {
+ SWIG_null_ref("wxImage_HSVValue");
+ }
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ arg1 = *argp;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = wxImage::HSVtoRGB(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxImage_RGBValue * resultptr;
+ resultptr = new wxImage_RGBValue(static_cast<wxImage_RGBValue & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_RGBValue, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject * Image_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
static PyObject *_wrap_NullImage_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
return pyobj;
static PyObject *_wrap_IMAGE_OPTION_FILENAME_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBMPHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxICOHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCURHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxANIHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPNGHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGIFHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPCXHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJPEGHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPNMHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxXPMHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTIFFHandler *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxImage *arg1 = 0 ;
wxImage *arg2 = 0 ;
int arg3 = (int) 236 ;
}
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 = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
+ result = (bool)wxQuantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
wxEvtHandler *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
wxEvtHandler *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
wxEvent *arg2 = 0 ;
bool result;
static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
wxEvent *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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 = obj4;
static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
int arg2 ;
int arg3 = (int) -1 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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 = (wxEventType)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxEventType >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool arg3 = (bool) true ;
arg2 = obj1;
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType 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_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
wxEventType arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxEventType)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxEventType >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
wxEventType 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_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
wxObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
wxObject *arg2 = (wxObject *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 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_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
long arg2 = (long) 0 ;
PyObject * obj0 = 0 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 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_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
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_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 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_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = (wxEvent *) 0 ;
wxEvent *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = 0 ;
wxPropagationDisabler *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvent *arg1 = 0 ;
wxPropagateOnce *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
wxCommandEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 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_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 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_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 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_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
wxEvent *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
wxNotifyEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollEvent *arg1 = (wxScrollEvent *) 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_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollEvent *arg1 = (wxScrollEvent *) 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_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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;
}
}
static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 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_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 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_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
wxMouseEvent *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) 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;
}
}
static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 = (int) wxMOUSE_BTN_ANY ;
bool result;
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_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 = (int) wxMOUSE_BTN_ANY ;
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_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 = (int) wxMOUSE_BTN_ANY ;
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_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "but", NULL
+ (char *) "self",(char *) "button", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 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_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 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_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
long *arg2 = (long *) 0 ;
long *arg3 = (long *) 0 ;
static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
wxDC *arg2 = 0 ;
wxPoint result;
}
{
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_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 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_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 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_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 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_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 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_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 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_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_x = arg2;
static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_x);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_y = arg2;
static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_y);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_leftDown = arg2;
static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_middleDown = arg2;
static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_rightDown = arg2;
static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_controlDown = arg2;
static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_shiftDown = arg2;
static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_altDown = arg2;
static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_metaDown = arg2;
static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_wheelRotation = arg2;
static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_wheelRotation);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_wheelDelta = arg2;
static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_wheelDelta);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_linesPerAction = arg2;
static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_linesPerAction);
{
- 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_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
wxSetCursorEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 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_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 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_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
wxCursor *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
wxCursor *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
wxKeyEvent *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
- (char *) "keyType", NULL
+ (char *) "eventType", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) 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;
}
}
static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 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_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 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_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 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_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 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_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 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_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
long *arg2 = (long *) 0 ;
long *arg3 = (long *) 0 ;
static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 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_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 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_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_x = arg2;
static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_x);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_y = arg2;
static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_y);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_keyCode = arg2;
static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
long result;
PyObject * obj0 = 0 ;
result = (long) ((arg1)->m_keyCode);
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
return resultobj;
fail:
static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_controlDown = arg2;
static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_shiftDown = arg2;
static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_altDown = arg2;
static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_metaDown = arg2;
static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_scanCode = arg2;
static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
unsigned int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
+ arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_rawCode = arg2;
static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
unsigned int result;
PyObject * obj0 = 0 ;
result = (unsigned int) ((arg1)->m_rawCode);
{
- 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_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
unsigned int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
+ arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (arg1) (arg1)->m_rawFlags = arg2;
static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
unsigned int result;
PyObject * obj0 = 0 ;
result = (unsigned int) ((arg1)->m_rawFlags);
{
- resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
+ resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
}
return resultobj;
fail:
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize const &arg1_defvalue = wxDefaultSize ;
wxSize *arg1 = (wxSize *) &arg1_defvalue ;
int arg2 = (int) 0 ;
}
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_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizeEvent *arg1 = (wxSizeEvent *) 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_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizeEvent *arg1 = (wxSizeEvent *) 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_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
wxRect arg2 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
wxSize arg2 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
wxSize *arg2 = (wxSize *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
wxSize *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
wxRect *arg2 = (wxRect *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
wxRect *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint const &arg1_defvalue = wxDefaultPosition ;
wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
int arg2 = (int) 0 ;
}
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_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMoveEvent *arg1 = (wxMoveEvent *) 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_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMoveEvent *arg1 = (wxMoveEvent *) 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_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
wxRect *arg2 = 0 ;
wxRect temp2 ;
static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxPaintEvent *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxNcPaintEvent *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
- wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
+ wxDC *arg2 = (wxDC *) NULL ;
wxEraseEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
wxDC *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
wxFocusEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) NULL ;
wxChildFocusEvent *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
bool arg2 = (bool) true ;
int arg3 = (int) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
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;
}
}
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_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxInitDialogEvent *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
wxMenu *arg3 = (wxMenu *) NULL ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuEvent *arg1 = (wxMenuEvent *) 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_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
wxMenu *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
wxCloseEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
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_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
- bool arg2 ;
+ bool result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "canVeto", NULL
+ (char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
- {
- arg2 = (bool)(SWIG_As_bool(obj1));
- if (SWIG_arg_fail(2)) SWIG_fail;
- }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetCanVeto(arg2);
+ result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
- bool result;
+ bool arg2 ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "self", NULL
+ (char *) "self",(char *) "canVeto", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, 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();
- result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
+ (arg1)->SetCanVeto(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
- }
+ Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
+ result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
bool arg2 = (bool) false ;
wxShowEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
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_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxShowEvent *arg1 = (wxShowEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxShowEvent *arg1 = (wxShowEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
bool arg2 = (bool) true ;
wxIconizeEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
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_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxMaximizeEvent *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
wxPoint result;
PyObject * obj0 = 0 ;
}
{
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_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 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_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxUpdateUIEvent *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
{
- arg1 = (long)(SWIG_As_long(obj0));
+ arg1 = static_cast<long >(SWIG_As_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long result;
char *kwnames[] = {
NULL
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_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIMode arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
{
- arg1 = (wxUpdateUIMode)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxUpdateUIMode >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
+ wxUpdateUIEvent::SetMode(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxUpdateUIMode result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSysColourChangedEvent *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxWindow *arg2 = (wxWindow *) NULL ;
wxMouseCaptureChangedEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplayChangedEvent *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxPaletteChangedEvent *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxQueryNewPaletteEvent *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) NULL ;
wxWindowCreateEvent *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) NULL ;
wxWindowDestroyEvent *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
wxPoint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIdleEvent *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
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_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIdleMode arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
{
- arg1 = (wxIdleMode)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxIdleMode >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxIdleEvent::SetMode((wxIdleMode )arg1);
+ wxIdleEvent::SetMode(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIdleMode result;
char *kwnames[] = {
NULL
static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
wxEventType arg2 = (wxEventType) wxEVT_NULL ;
wxPyEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "winid",(char *) "commandType", NULL
+ (char *) "winid",(char *) "eventType", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (obj1) {
{
- arg2 = (wxEventType)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxEventType >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
}
-static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject * obj0 = 0 ;
(char *) "self",(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
arg2 = obj1;
}
-static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent__GetSelf",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
wxPyCommandEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "commandType",(char *) "id", NULL
+ (char *) "eventType",(char *) "id", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (wxEventType)(SWIG_As_int(obj0));
+ arg1 = static_cast<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_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
}
-static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject * obj0 = 0 ;
(char *) "self",(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
arg2 = obj1;
}
-static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent__GetSelf",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxDateTime *arg2 = 0 ;
wxEventType arg3 ;
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (wxEventType)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxEventType >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateEvent *arg1 = (wxDateEvent *) 0 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateEvent *arg1 = (wxDateEvent *) 0 ;
wxDateTime *arg2 = 0 ;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
arg2 = obj1;
arg3 = obj2;
{
- arg4 = (bool)(SWIG_As_bool(obj3));
+ arg4 = static_cast<bool >(SWIG_As_bool(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxAppTraits *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool arg2 = (bool) false ;
bool result;
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_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 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_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxIdleEvent *arg3 = 0 ;
static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 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_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 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_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long result;
char *kwnames[] = {
NULL
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_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long result;
char *kwnames[] = {
NULL
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_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long result;
char *kwnames[] = {
NULL
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_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
{
- arg1 = (bool)(SWIG_As_bool(obj0));
+ arg1 = static_cast<bool >(SWIG_As_bool(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
{
- arg1 = (long)(SWIG_As_long(obj0));
+ arg1 = static_cast<long >(SWIG_As_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
{
- arg1 = (long)(SWIG_As_long(obj0));
+ arg1 = static_cast<long >(SWIG_As_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
{
- arg1 = (long)(SWIG_As_long(obj0));
+ arg1 = static_cast<long >(SWIG_As_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *arg1 = (wxPyApp *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int result;
char *kwnames[] = {
NULL
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)PyApp_GetComCtl32Version();
+ result = (int)wxPyApp_GetComCtl32Version();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) NULL ;
bool arg2 = (bool) false ;
bool 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_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
wxEvent *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyApp *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *arg1 = (char *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *arg1 = (wxEventLoop *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *arg1 = (wxEventLoop *) 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_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *arg1 = (wxEventLoop *) 0 ;
int arg2 = (int) 0 ;
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_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *arg1 = (wxEventLoop *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *arg1 = (wxEventLoop *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *arg1 = (wxEventLoop *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventLoop *arg1 = (wxEventLoop *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
+static PyObject *_wrap_new_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxEventLoop *arg1 = (wxEventLoop *) 0 ;
+ wxEventLoopActivator *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "evtLoop", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_EventLoopActivator",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxEventLoopActivator *)new wxEventLoopActivator(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoopActivator, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_delete_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxEventLoopActivator *arg1 = (wxEventLoopActivator *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoopActivator",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoopActivator, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * EventLoopActivator_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxEventLoopActivator, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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;
}
}
static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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;
}
{
static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 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_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 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_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 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:
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
wxAcceleratorTable *result;
static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_NullAcceleratorTable_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
return pyobj;
static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxAcceleratorEntry *result;
bool temp1 = false ;
static PyObject *_wrap_PanelNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVisualAttributes *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
wxFont *arg2 = (wxFont *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
wxFont *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
wxColour *arg2 = (wxColour *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
wxColour *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
wxColour *arg2 = (wxColour *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
wxColour *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) (int)-1 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
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_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) (int)-1 ;
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_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool arg2 = (bool) false ;
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_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
}
-static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxWindow *arg1 = (wxWindow *) 0 ;
- wxString *arg2 = 0 ;
- bool temp2 = false ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *kwnames[] = {
- (char *) "self",(char *) "title", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- arg2 = wxString_in_helper(obj1);
- if (arg2 == NULL) SWIG_fail;
- temp2 = true;
- }
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetTitle((wxString const &)*arg2);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- Py_INCREF(Py_None); resultobj = Py_None;
- {
- if (temp2)
- delete arg2;
- }
- return resultobj;
- fail:
- {
- if (temp2)
- delete arg2;
- }
- return NULL;
-}
-
-
-static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxWindow *arg1 = (wxWindow *) 0 ;
- wxString result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxWindow const *)arg1)->GetTitle();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
-#if wxUSE_UNICODE
- resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
-#else
- resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
-#endif
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindowVariant arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxWindowVariant)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxWindowVariant >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetWindowVariant((wxWindowVariant )arg2);
+ (arg1)->SetWindowVariant(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindowVariant result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
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;
}
{
static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_NewControlId(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_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) 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_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) 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_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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;
}
}
static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxRect *arg2 = 0 ;
int arg3 = (int) wxSIZE_AUTO ;
}
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_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPoint *arg2 = 0 ;
int arg3 = (int) wxSIZE_USE_EXISTING ;
}
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_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize const &arg2_defvalue = wxDefaultSize ;
wxSize *arg2 = (wxSize *) &arg2_defvalue ;
static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxRect *arg2 = 0 ;
wxRect temp2 ;
static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
}
+static PyObject *_wrap_Window_CacheBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxWindow *arg1 = (wxWindow *) 0 ;
+ wxSize *arg2 = 0 ;
+ wxSize temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "size", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_CacheBestSize",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ ((wxWindow const *)arg1)->CacheBestSize((wxSize const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) wxBOTH ;
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_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) wxBOTH ;
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_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) wxBOTH ;
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_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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 (obj6) {
{
- arg7 = (int)(SWIG_As_int(obj6));
+ arg7 = static_cast<int >(SWIG_As_int(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize *arg2 = 0 ;
wxSize const &arg3_defvalue = wxDefaultSize ;
static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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;
}
}
static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize *arg2 = 0 ;
wxSize const &arg3_defvalue = wxDefaultSize ;
static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool arg2 = (bool) true ;
bool result;
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_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
bool result;
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;
}
{
static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxWindow *result;
static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) wxNavigationKeyEvent::IsForward ;
bool result;
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_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
bool result;
static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
long arg2 ;
wxWindow *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
wxWindow *result;
static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxEvtHandler *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool arg2 = (bool) false ;
wxEvtHandler *result;
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_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
bool result;
static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxValidator *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxValidator *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxAcceleratorTable *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxAcceleratorTable *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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;
}
{
static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
bool result;
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;
}
{
static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint result;
}
{
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_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint result;
}
{
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_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint result;
}
{
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_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool arg2 = (bool) true ;
wxRect *arg3 = (wxRect *) NULL ;
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_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxRect *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_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxDC *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxRegion *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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;
}
}
static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPoint *arg2 = 0 ;
bool result;
static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxRect *arg2 = 0 ;
bool result;
static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxVisualAttributes result;
PyObject * obj0 = 0 ;
}
{
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_Window_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:Window_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 = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
+ result = wxWindow::GetClassDefaultAttributes(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxVisualAttributes * resultptr;
- resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
+ resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxColour *arg2 = 0 ;
bool result;
static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxColour *arg2 = 0 ;
bool result;
static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxBackgroundStyle arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxBackgroundStyle)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxBackgroundStyle >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2);
+ result = (bool)(arg1)->SetBackgroundStyle(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxBackgroundStyle result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxCursor *arg2 = 0 ;
bool result;
static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxCursor result;
PyObject * obj0 = 0 ;
}
{
wxCursor * resultptr;
- resultptr = new wxCursor((wxCursor &)(result));
+ resultptr = new wxCursor(static_cast<wxCursor & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
}
return resultobj;
static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxFont *arg2 = 0 ;
bool result;
static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxFont *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxCaret *arg2 = (wxCaret *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxCaret *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint result;
}
{
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_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint result;
}
{
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_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPoint *arg2 = 0 ;
wxHitTest result;
static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
long arg2 ;
wxBorder result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxBorder result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
long arg2 = (long) wxUPDATE_UI_NONE ;
PyObject * obj0 = 0 ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
int arg3 = (int) -1 ;
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_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 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_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
bool result;
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;
}
{
static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
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_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int result;
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 (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int result;
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 (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int result;
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 (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
bool result;
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;
}
{
static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
bool result;
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;
}
{
static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxToolTip *arg2 = (wxToolTip *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxToolTip *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxPyDropTarget *result;
PyObject * obj0 = 0 ;
}
+static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxWindow *arg1 = (wxWindow *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "accept", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) 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<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxWindow_DragAcceptFiles(arg1,arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxLayoutConstraints *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
bool arg3 = (bool) true ;
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_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
bool arg3 = (bool) true ;
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_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSizer *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxSizer(result, 0);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSizer *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxSizer(result, 0);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
wxWindow *arg2 = (wxWindow *) NULL ;
wxWindow *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
{
- arg1 = (long)(SWIG_As_long(obj0));
+ arg1 = static_cast<long >(SWIG_As_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
if (obj1) {
static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxWindow *arg2 = (wxWindow *) NULL ;
wxWindow *result;
static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxWindow *arg2 = (wxWindow *) NULL ;
wxWindow *result;
static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
unsigned long arg2 ;
wxWindow *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
PyObject *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxValidator *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxValidator *arg1 = (wxValidator *) 0 ;
wxValidator *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxValidator *arg1 = (wxValidator *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
bool result;
static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxValidator *arg1 = (wxValidator *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxValidator *arg1 = (wxValidator *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxValidator *arg1 = (wxValidator *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxValidator *arg1 = (wxValidator *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) true ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyValidator *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyValidator *arg1 = (wxPyValidator *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
arg3 = obj2;
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_DefaultValidator_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
return pyobj;
static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
long arg2 = (long) 0 ;
}
if (obj1) {
{
- arg2 = (long)(SWIG_As_long(obj1));
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
if (obj4) {
{
- arg5 = (wxItemKind)(SWIG_As_int(obj4));
+ arg5 = static_cast<wxItemKind >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
+ result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuItem *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuItem *arg2 = (wxMenuItem *) 0 ;
wxMenuItem *result;
static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
size_t arg2 ;
wxMenuItem *arg3 = (wxMenuItem *) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
size_t arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<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 (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 = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
+ result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
size_t arg2 ;
wxMenuItem *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
size_t arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<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_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
size_t arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<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_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
size_t arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<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_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuItem *arg2 = (wxMenuItem *) 0 ;
wxMenuItem *result;
static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
if (obj4) {
{
- arg5 = (wxItemKind)(SWIG_As_int(obj4));
+ arg5 = static_cast<wxItemKind >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
+ result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuItem *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxMenuItem *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuItem *arg2 = (wxMenuItem *) 0 ;
wxMenuItem *result;
static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuItem *arg2 = (wxMenuItem *) 0 ;
bool result;
static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuItem *arg2 = (wxMenuItem *) 0 ;
bool result;
static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
size_t result;
PyObject * obj0 = 0 ;
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_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 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_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxMenuItem *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
size_t arg2 ;
wxMenuItem *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
bool arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
bool arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxEvtHandler *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 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_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuBar *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) 0 ;
wxMenu *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 = (long) 0 ;
wxMenuBar *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (long)(SWIG_As_long(obj0));
+ arg1 = static_cast<long >(SWIG_As_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
wxMenu *arg3 = (wxMenu *) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t result;
PyObject * obj0 = 0 ;
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_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
wxMenu *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
wxMenu *arg3 = (wxMenu *) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
wxMenu *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
bool arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(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_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
wxString result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2)
static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
wxMenuItem *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
wxString *arg2 = 0 ;
int result;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
+ result = (int)(arg1)->FindMenu((wxString const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2)
static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
bool arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
bool arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
wxString result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
wxString result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
wxFrame *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
wxFrame *arg2 = (wxFrame *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
}
+static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ bool arg1 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "enable", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames,&obj0)) goto fail;
+ {
+ arg1 = static_cast<bool >(SWIG_As_bool(obj0));
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxMenuBar::SetAutoWindowMenu(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MenuBar_GetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ bool result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuBar_GetAutoWindowMenu",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)wxMenuBar::GetAutoWindowMenu();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenu *arg1 = (wxMenu *) NULL ;
int arg2 = (int) wxID_ANY ;
wxString const &arg3_defvalue = wxPyEmptyString ;
}
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 = (wxItemKind)(SWIG_As_int(obj4));
+ arg5 = static_cast<wxItemKind >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
+ result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxMenu *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 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_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString result;
bool temp1 = false ;
static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxItemKind result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxItemKind arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxItemKind)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxItemKind >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetKind((wxItemKind )arg2);
+ (arg1)->SetKind(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxMenu *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
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_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
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_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxAcceleratorEntry *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
PyObject * obj0 = 0 ;
}
+static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMenuItem *arg1 = (wxMenuItem *) 0 ;
+ wxBitmap *arg2 = 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "bitmap", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ if (arg2 == NULL) {
+ SWIG_null_ref("wxBitmap");
+ }
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetBitmap((wxBitmap const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMenuItem *arg1 = (wxMenuItem *) 0 ;
+ wxBitmap *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ {
+ wxBitmap const &_result_ref = (arg1)->GetBitmap();
+ result = (wxBitmap *) &_result_ref;
+ }
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxBitmap* resultptr = new wxBitmap(*result);
+ resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxFont *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 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_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 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_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxColour *arg2 = 0 ;
wxColour temp2 ;
static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 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_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxBitmap *arg2 = 0 ;
wxBitmap const &arg3_defvalue = wxNullBitmap ;
static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxBitmap *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxBitmap *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 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_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int result;
char *kwnames[] = {
NULL
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)MenuItem_GetDefaultMarginWidth();
+ result = (int)wxMenuItem_GetDefaultMarginWidth();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
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_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
}
-static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxMenuItem *arg1 = (wxMenuItem *) 0 ;
- wxBitmap *arg2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *kwnames[] = {
- (char *) "self",(char *) "bitmap", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(2)) SWIG_fail;
- if (arg2 == NULL) {
- SWIG_null_ref("wxBitmap");
- }
- if (SWIG_arg_fail(2)) SWIG_fail;
- }
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetBitmap((wxBitmap const &)*arg2);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxMenuItem *arg1 = (wxMenuItem *) 0 ;
- wxBitmap *result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- {
- wxBitmap const &_result_ref = (arg1)->GetBitmap();
- result = (wxBitmap *) &_result_ref;
- }
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- wxBitmap* resultptr = new wxBitmap(*result);
- resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
static PyObject *_wrap_ControlNameStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) -1 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
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_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxControl *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxControl *arg1 = (wxControl *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) -1 ;
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_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxControl *arg1 = (wxControl *) 0 ;
wxCommandEvent *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxControl *arg1 = (wxControl *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxControl *arg1 = (wxControl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
wxVisualAttributes result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_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 = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
+ result = wxControl::GetClassDefaultAttributes(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxVisualAttributes * resultptr;
- resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
+ resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
}
return resultobj;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
wxString *arg2 = 0 ;
PyObject *arg3 = (PyObject *) NULL ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2)
static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
wxArrayString *arg2 = 0 ;
bool temp2 = false ;
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_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 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) {
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2)
static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
int arg2 ;
PyObject *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
int arg2 ;
PyObject *arg3 = (PyObject *) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
arg3 = obj2;
static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 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_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
int arg2 ;
wxString result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
wxArrayString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 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_ItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 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_ItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
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;
}
{
- 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;
}
if (obj4) {
static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int arg2 ;
int arg3 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
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) {
static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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;
}
if (obj4) {
static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxPoint arg2 ;
wxSize arg3 ;
static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
float arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (float)(SWIG_As_float(obj1));
+ arg2 = static_cast<float >(SWIG_As_float(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
float result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_float((float)(result));
+ resultobj = SWIG_From_float(static_cast<float >(result));
}
return resultobj;
fail:
static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxSizer *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxSizer(result, 0);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxSize *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 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_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
}
+static PyObject *_wrap_SizerItem_SetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxSizerItem *arg1 = (wxSizerItem *) 0 ;
+ PyObject *arg2 = (PyObject *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "userData", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetUserData",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ arg2 = obj1;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetUserData(arg1,arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
int arg3 = (int) 0 ;
arg2 = obj1;
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;
}
}
static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
int arg2 ;
PyObject *arg3 = (PyObject *) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
arg3 = obj2;
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;
}
}
static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
int arg3 = (int) 0 ;
arg2 = obj1;
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;
}
}
static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool result;
static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool result;
static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
wxSizerItem *result;
static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
wxSize *arg3 = 0 ;
static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
wxSizerItem *arg2 = (wxSizerItem *) 0 ;
wxSizerItem *result;
static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
size_t arg2 ;
wxSizerItem *arg3 = (wxSizerItem *) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
wxSizerItem *arg2 = (wxSizerItem *) 0 ;
wxSizerItem *result;
static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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;
}
{
static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 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_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 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_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 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_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 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_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxSize result;
}
{
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_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
bool arg2 = (bool) false ;
PyObject * obj0 = 0 ;
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_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool arg3 = (bool) true ;
arg2 = obj1;
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
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_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool result;
static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPySizer *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPySizer *arg1 = (wxPySizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) wxHORIZONTAL ;
wxBoxSizer *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBoxSizer *arg1 = (wxBoxSizer *) 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_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStaticBox *arg1 = (wxStaticBox *) 0 ;
int arg2 = (int) wxHORIZONTAL ;
wxStaticBoxSizer *result;
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_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
wxStaticBox *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 1 ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridSizer *arg1 = (wxGridSizer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridSizer *arg1 = (wxGridSizer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridSizer *arg1 = (wxGridSizer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridSizer *arg1 = (wxGridSizer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridSizer *arg1 = (wxGridSizer *) 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_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridSizer *arg1 = (wxGridSizer *) 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_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridSizer *arg1 = (wxGridSizer *) 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_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridSizer *arg1 = (wxGridSizer *) 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:
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 1 ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
size_t arg2 ;
int arg3 = (int) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_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;
}
}
static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
size_t arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
size_t arg2 ;
int arg3 = (int) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_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;
}
}
static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
size_t arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 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_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
wxFlexSizerGrowMode arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxFlexSizerGrowMode)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxFlexSizerGrowMode >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
+ (arg1)->SetNonFlexibleGrowMode(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
wxFlexSizerGrowMode result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
wxArrayInt *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
wxArrayInt *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *arg2 = (wxButton *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *arg2 = (wxButton *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *arg2 = (wxButton *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *arg2 = (wxButton *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
wxButton *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
wxGBPosition *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBPosition *arg1 = (wxGBPosition *) 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_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBPosition *arg1 = (wxGBPosition *) 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_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBPosition *arg1 = (wxGBPosition *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBPosition *arg1 = (wxGBPosition *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBPosition *arg1 = (wxGBPosition *) 0 ;
wxGBPosition *arg2 = 0 ;
bool result;
static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBPosition *arg1 = (wxGBPosition *) 0 ;
wxGBPosition *arg2 = 0 ;
bool result;
static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBPosition *arg1 = (wxGBPosition *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
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;
}
}
static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBPosition *arg1 = (wxGBPosition *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 1 ;
int arg2 = (int) 1 ;
wxGBSpan *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSpan *arg1 = (wxGBSpan *) 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_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSpan *arg1 = (wxGBSpan *) 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_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSpan *arg1 = (wxGBSpan *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSpan *arg1 = (wxGBSpan *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSpan *arg1 = (wxGBSpan *) 0 ;
wxGBSpan *arg2 = 0 ;
bool result;
static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSpan *arg1 = (wxGBSpan *) 0 ;
wxGBSpan *arg2 = 0 ;
bool result;
static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSpan *arg1 = (wxGBSpan *) 0 ;
int arg2 = (int) 1 ;
int arg3 = (int) 1 ;
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;
}
}
static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSpan *arg1 = (wxGBSpan *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DefaultSpan_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
return pyobj;
static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxGBPosition *arg2 = 0 ;
wxGBSpan *arg3 = 0 ;
if ( ! wxGBSpan_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;
}
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
if (obj5) {
static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSizer *arg1 = (wxSizer *) 0 ;
wxGBPosition *arg2 = 0 ;
wxGBSpan *arg3 = 0 ;
if ( ! wxGBSpan_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;
}
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
if (obj5) {
static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int arg2 ;
wxGBPosition *arg3 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
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 ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
}
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(SWIG_As_int(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
if (obj6) {
static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGBPosition result;
PyObject * obj0 = 0 ;
}
{
wxGBPosition * resultptr;
- resultptr = new wxGBPosition((wxGBPosition &)(result));
+ resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
}
return resultobj;
static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGBSpan result;
PyObject * obj0 = 0 ;
}
{
wxGBSpan * resultptr;
- resultptr = new wxGBSpan((wxGBSpan &)(result));
+ resultptr = new wxGBSpan(static_cast<wxGBSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
}
return resultobj;
static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGBPosition *arg2 = 0 ;
bool result;
static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGBSpan *arg2 = 0 ;
bool result;
static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGBSizerItem *arg2 = 0 ;
bool result;
static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGBPosition *arg2 = 0 ;
wxGBSpan *arg3 = 0 ;
static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGBPosition result;
PyObject * obj0 = 0 ;
}
{
wxGBPosition * resultptr;
- resultptr = new wxGBPosition((wxGBPosition &)(result));
+ resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
}
return resultobj;
static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGridBagSizer *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
wxGridBagSizer *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(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_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
wxGBPosition *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;
}
}
static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
wxGBSizerItem *result;
static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<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;
}
{
}
{
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_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 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_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxGBPosition result;
}
{
wxGBPosition * resultptr;
- resultptr = new wxGBPosition((wxGBPosition &)(result));
+ resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
}
return resultobj;
static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
wxGBPosition result;
}
{
wxGBPosition * resultptr;
- resultptr = new wxGBPosition((wxGBPosition &)(result));
+ resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
}
return resultobj;
static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
size_t arg2 ;
wxGBPosition result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
{
wxGBPosition * resultptr;
- resultptr = new wxGBPosition((wxGBPosition &)(result));
+ resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
}
return resultobj;
static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxGBPosition *arg3 = 0 ;
static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
wxGBPosition *arg3 = 0 ;
static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
size_t arg2 ;
wxGBPosition *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxGBSpan result;
}
{
wxGBSpan * resultptr;
- resultptr = new wxGBSpan((wxGBSpan &)(result));
+ resultptr = new wxGBSpan(static_cast<wxGBSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
}
return resultobj;
static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
wxGBSpan result;
}
{
wxGBSpan * resultptr;
- resultptr = new wxGBSpan((wxGBSpan &)(result));
+ resultptr = new wxGBSpan(static_cast<wxGBSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
}
return resultobj;
static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
size_t arg2 ;
wxGBSpan result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
{
wxGBSpan * resultptr;
- resultptr = new wxGBSpan((wxGBSpan &)(result));
+ resultptr = new wxGBSpan(static_cast<wxGBSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
}
return resultobj;
static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxGBSpan *arg3 = 0 ;
static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
wxGBSpan *arg3 = 0 ;
static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
size_t arg2 ;
wxGBSpan *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
+ arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxGBSizerItem *result;
static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
wxGBSizerItem *result;
static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxGBPosition *arg2 = 0 ;
wxGBSizerItem *result;
static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxPoint *arg2 = 0 ;
wxGBSizerItem *result;
static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
wxGBPosition *arg2 = 0 ;
wxGBSpan *arg3 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxRelationship arg2 ;
wxWindow *arg3 = (wxWindow *) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxRelationship)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxRelationship >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(3)) SWIG_fail;
{
- arg4 = (wxEdge)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxEdge >(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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
+ (arg1)->Set(arg2,arg3,arg4,arg5,arg6);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) 0 ;
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_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) 0 ;
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_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) 0 ;
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_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) 0 ;
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_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxEdge arg3 ;
SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(2)) SWIG_fail;
{
- arg3 = (wxEdge)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxEdge >(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();
- (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
+ (arg1)->SameAs(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxEdge arg3 ;
SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(2)) SWIG_fail;
{
- arg3 = (wxEdge)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxEdge >(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;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
+ (arg1)->PercentOf(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxEdge result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxEdge arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxEdge)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxEdge >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetEdge((wxEdge )arg2);
+ (arg1)->SetEdge(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 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_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 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_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 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_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 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_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (bool)(SWIG_As_bool(obj1));
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxRelationship result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxRelationship arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxRelationship)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxRelationship >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetRelationship((wxRelationship )arg2);
+ (arg1)->SetRelationship(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
bool result;
static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
wxWindow *arg3 = (wxWindow *) 0 ;
static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
wxEdge arg2 ;
wxWindow *arg3 = (wxWindow *) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxEdge)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxEdge >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(4)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
+ result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxIndividualLayoutConstraint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxIndividualLayoutConstraint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxIndividualLayoutConstraint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxIndividualLayoutConstraint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxIndividualLayoutConstraint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxIndividualLayoutConstraint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxIndividualLayoutConstraint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxIndividualLayoutConstraint *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
bool result;
PyObject * obj0 = 0 ;
{ (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL},
+ { (char *)"new_PyImageHandler", (PyCFunction) _wrap_new_PyImageHandler, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"PyImageHandler__SetSelf", (PyCFunction) _wrap_PyImageHandler__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister, METH_VARARGS, NULL},
{ (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ImageHistogram_GetCountRGB", (PyCFunction) _wrap_ImageHistogram_GetCountRGB, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ImageHistogram_GetCountColour", (PyCFunction) _wrap_ImageHistogram_GetCountColour, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL},
+ { (char *)"new_Image_RGBValue", (PyCFunction) _wrap_new_Image_RGBValue, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RGBValue_red_set", (PyCFunction) _wrap_Image_RGBValue_red_set, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RGBValue_red_get", (PyCFunction) _wrap_Image_RGBValue_red_get, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RGBValue_green_set", (PyCFunction) _wrap_Image_RGBValue_green_set, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RGBValue_green_get", (PyCFunction) _wrap_Image_RGBValue_green_get, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RGBValue_blue_set", (PyCFunction) _wrap_Image_RGBValue_blue_set, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RGBValue_blue_get", (PyCFunction) _wrap_Image_RGBValue_blue_get, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister, METH_VARARGS, NULL},
+ { (char *)"new_Image_HSVValue", (PyCFunction) _wrap_new_Image_HSVValue, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_HSVValue_hue_set", (PyCFunction) _wrap_Image_HSVValue_hue_set, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_HSVValue_hue_get", (PyCFunction) _wrap_Image_HSVValue_hue_get, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_HSVValue_saturation_set", (PyCFunction) _wrap_Image_HSVValue_saturation_set, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_HSVValue_saturation_get", (PyCFunction) _wrap_Image_HSVValue_saturation_get, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_HSVValue_value_set", (PyCFunction) _wrap_Image_HSVValue_value_set, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_HSVValue_value_get", (PyCFunction) _wrap_Image_HSVValue_value_get, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_ConvertToGreyscale", (PyCFunction) _wrap_Image_ConvertToGreyscale, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RotateHue", (PyCFunction) _wrap_Image_RotateHue, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_RGBtoHSV", (PyCFunction) _wrap_Image_RGBtoHSV, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Image_HSVtoRGB", (PyCFunction) _wrap_Image_HSVtoRGB, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL},
{ (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL},
{ (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
{ (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
{ (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"PyEvent__SetSelf", (PyCFunction) _wrap_PyEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"PyEvent__GetSelf", (PyCFunction) _wrap_PyEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
{ (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"PyCommandEvent__SetSelf", (PyCFunction) _wrap_PyCommandEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"PyCommandEvent__GetSelf", (PyCFunction) _wrap_PyCommandEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
{ (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL},
+ { (char *)"new_EventLoopActivator", (PyCFunction) _wrap_new_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"delete_EventLoopActivator", (PyCFunction) _wrap_delete_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister, METH_VARARGS, NULL},
{ (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Window_CacheBestSize", (PyCFunction) _wrap_Window_CacheBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction) _wrap_MenuBar_SetAutoWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction) _wrap_MenuBar_GetAutoWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL},
{ (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"SizerItem_SetUserData", (PyCFunction) _wrap_SizerItem_SetUserData, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL},
{ (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL},
static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
}
+static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x) {
+ return (void *)((wxImageHandler *) ((wxPyImageHandler *) x));
+}
static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
}
static void *_p_wxActivateEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) 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_wxPyValidatorTo_p_wxValidator(void *x) {
return (void *)((wxValidator *) ((wxPyValidator *) x));
}
-static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEventLoop[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_buffer[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 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_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_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_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxQuantize[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-
-static swig_type_info *swig_types_initial[] = {
-_swigt__p_wxLayoutConstraints,
-_swigt__p_wxRealPoint,
-_swigt__p_wxSizerItem,
-_swigt__p_wxGBSizerItem,
-_swigt__p_wxScrollEvent,
-_swigt__p_wxEventLoop,
-_swigt__p_wxIndividualLayoutConstraint,
-_swigt__p_wxSizer,
-_swigt__p_wxBoxSizer,
-_swigt__p_wxStaticBoxSizer,
-_swigt__p_wxGridBagSizer,
-_swigt__p_wxAcceleratorEntry,
-_swigt__p_wxUpdateUIEvent,
-_swigt__p_wxEvent,
-_swigt__p_buffer,
-_swigt__p_wxMenu,
-_swigt__p_wxGridSizer,
-_swigt__p_wxFlexGridSizer,
-_swigt__p_wxInitDialogEvent,
-_swigt__p_wxItemContainer,
-_swigt__p_wxNcPaintEvent,
-_swigt__p_wxPaintEvent,
-_swigt__p_wxSysColourChangedEvent,
-_swigt__p_wxMouseCaptureChangedEvent,
-_swigt__p_wxDisplayChangedEvent,
-_swigt__p_wxPaletteChangedEvent,
-_swigt__p_wxControl,
-_swigt__p_wxFont,
-_swigt__p_wxMenuBarBase,
-_swigt__p_wxSetCursorEvent,
-_swigt__p_wxFSFile,
-_swigt__p_wxCaret,
-_swigt__ptrdiff_t,
-_swigt__std__ptrdiff_t,
-_swigt__p_wxRegion,
-_swigt__p_wxPoint2D,
-_swigt__p_int,
-_swigt__p_wxSize,
-_swigt__p_wxDC,
-_swigt__p_wxPySizer,
-_swigt__p_wxVisualAttributes,
-_swigt__p_wxNotifyEvent,
-_swigt__p_wxPyEvent,
-_swigt__p_wxPropagationDisabler,
-_swigt__p_form_ops_t,
-_swigt__p_wxAppTraits,
-_swigt__p_wxArrayString,
-_swigt__p_wxShowEvent,
-_swigt__p_wxToolTip,
-_swigt__p_wxMoveEvent,
-_swigt__p_wxSizeEvent,
-_swigt__p_wxActivateEvent,
-_swigt__p_wxIconizeEvent,
-_swigt__p_wxMaximizeEvent,
-_swigt__p_wxQueryNewPaletteEvent,
-_swigt__p_wxWindowCreateEvent,
-_swigt__p_wxIdleEvent,
-_swigt__p_wxDateEvent,
-_swigt__p_wxMenuItem,
-_swigt__p_wxStaticBox,
-_swigt__p_long,
-_swigt__p_wxDuplexMode,
-_swigt__p_wxTIFFHandler,
-_swigt__p_wxXPMHandler,
-_swigt__p_wxPNMHandler,
-_swigt__p_wxJPEGHandler,
-_swigt__p_wxPCXHandler,
-_swigt__p_wxGIFHandler,
-_swigt__p_wxPNGHandler,
-_swigt__p_wxANIHandler,
-_swigt__p_wxMemoryFSHandler,
-_swigt__p_wxZipFSHandler,
-_swigt__p_wxInternetFSHandler,
-_swigt__p_wxPyFileSystemHandler,
-_swigt__p_wxEvtHandler,
-_swigt__p_wxCURHandler,
-_swigt__p_wxICOHandler,
-_swigt__p_wxBMPHandler,
-_swigt__p_wxImageHandler,
-_swigt__p_wxFileSystemHandler,
-_swigt__p_wxRect,
-_swigt__p_wxButton,
-_swigt__p_wxGBSpan,
-_swigt__p_wxPropagateOnce,
-_swigt__p_wxAcceleratorTable,
-_swigt__p_wxStdDialogButtonSizer,
-_swigt__p_char,
-_swigt__p_wxGBPosition,
-_swigt__p_wxImage,
-_swigt__p_wxFrame,
-_swigt__p_wxScrollWinEvent,
-_swigt__p_wxPaperSize,
-_swigt__p_wxImageHistogram,
-_swigt__p_wxPoint,
-_swigt__p_wxCursor,
-_swigt__p_wxObject,
-_swigt__p_wxInputStream,
-_swigt__p_wxOutputStream,
-_swigt__p_wxPyInputStream,
-_swigt__p_wxDateTime,
-_swigt__p_wxKeyEvent,
-_swigt__p_wxNavigationKeyEvent,
-_swigt__p_wxWindowDestroyEvent,
-_swigt__p_unsigned_long,
-_swigt__p_wxWindow,
-_swigt__p_wxMenuBar,
-_swigt__p_wxFileSystem,
-_swigt__p_wxBitmap,
-_swigt__unsigned_int,
-_swigt__p_unsigned_int,
-_swigt__p_wxMenuEvent,
-_swigt__p_wxContextMenuEvent,
-_swigt__p_unsigned_char,
-_swigt__p_wxEraseEvent,
-_swigt__p_wxMouseEvent,
-_swigt__p_wxCloseEvent,
-_swigt__p_wxPyApp,
-_swigt__p_wxCommandEvent,
-_swigt__p_wxPyCommandEvent,
-_swigt__p_wxPyDropTarget,
-_swigt__p_wxQuantize,
-_swigt__p_wxFocusEvent,
-_swigt__p_wxChildFocusEvent,
-_swigt__p_wxDropFilesEvent,
-_swigt__p_wxControlWithItems,
-_swigt__p_wxColour,
-_swigt__p_wxValidator,
-_swigt__p_wxPyValidator,
-0
+static swig_type_info _swigt__p_buffer = {"_p_buffer", "buffer *", 0, 0, 0};
+static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
+static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
+static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
+static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
+static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", "wxANIHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxAcceleratorEntry = {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, 0};
+static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, 0};
+static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxAppTraits = {"_p_wxAppTraits", "wxAppTraits *", 0, 0, 0};
+static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", "wxCURHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0};
+static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", "wxDateEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
+static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxEventLoop = {"_p_wxEventLoop", "wxEventLoop *", 0, 0, 0};
+static swig_type_info _swigt__p_wxEventLoopActivator = {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, 0};
+static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", "wxFSFile *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFileSystemHandler = {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGBPosition = {"_p_wxGBPosition", "wxGBPosition *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGBSpan = {"_p_wxGBSpan", "wxGBSpan *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", "wxGridSizer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", "wxICOHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0};
+static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", "wxImageHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxImageHistogram = {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, 0};
+static swig_type_info _swigt__p_wxImage_HSVValue = {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, 0};
+static swig_type_info _swigt__p_wxImage_RGBValue = {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, 0};
+static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, 0};
+static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 0, 0, 0};
+static swig_type_info _swigt__p_wxInternetFSHandler = {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuBarBase = {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", "wxMenuItem *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPoint2D = {"_p_wxPoint2D", "wxPoint2D *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPropagateOnce = {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPropagationDisabler = {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", "wxPyApp *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", "wxPyEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyFileSystemHandler = {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyInputStream = {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", "wxPySizer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", "wxPyValidator *", 0, 0, 0};
+static swig_type_info _swigt__p_wxQuantize = {"_p_wxQuantize", "wxQuantize *", 0, 0, 0};
+static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxRealPoint = {"_p_wxRealPoint", "wxRealPoint *", 0, 0, 0};
+static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
+static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", "wxShowEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
+static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
+static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
+static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxZipFSHandler = {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, 0};
+static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
+static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
+static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
+
+static swig_type_info *swig_type_initial[] = {
+ &_swigt__p_buffer,
+ &_swigt__p_char,
+ &_swigt__p_form_ops_t,
+ &_swigt__p_int,
+ &_swigt__p_long,
+ &_swigt__p_unsigned_char,
+ &_swigt__p_unsigned_int,
+ &_swigt__p_unsigned_long,
+ &_swigt__p_wxANIHandler,
+ &_swigt__p_wxAcceleratorEntry,
+ &_swigt__p_wxAcceleratorTable,
+ &_swigt__p_wxActivateEvent,
+ &_swigt__p_wxAppTraits,
+ &_swigt__p_wxArrayString,
+ &_swigt__p_wxBMPHandler,
+ &_swigt__p_wxBitmap,
+ &_swigt__p_wxBoxSizer,
+ &_swigt__p_wxButton,
+ &_swigt__p_wxCURHandler,
+ &_swigt__p_wxCaret,
+ &_swigt__p_wxChildFocusEvent,
+ &_swigt__p_wxCloseEvent,
+ &_swigt__p_wxColour,
+ &_swigt__p_wxCommandEvent,
+ &_swigt__p_wxContextMenuEvent,
+ &_swigt__p_wxControl,
+ &_swigt__p_wxControlWithItems,
+ &_swigt__p_wxCursor,
+ &_swigt__p_wxDC,
+ &_swigt__p_wxDateEvent,
+ &_swigt__p_wxDateTime,
+ &_swigt__p_wxDisplayChangedEvent,
+ &_swigt__p_wxDropFilesEvent,
+ &_swigt__p_wxDuplexMode,
+ &_swigt__p_wxEraseEvent,
+ &_swigt__p_wxEvent,
+ &_swigt__p_wxEventLoop,
+ &_swigt__p_wxEventLoopActivator,
+ &_swigt__p_wxEvtHandler,
+ &_swigt__p_wxFSFile,
+ &_swigt__p_wxFileSystem,
+ &_swigt__p_wxFileSystemHandler,
+ &_swigt__p_wxFlexGridSizer,
+ &_swigt__p_wxFocusEvent,
+ &_swigt__p_wxFont,
+ &_swigt__p_wxFrame,
+ &_swigt__p_wxGBPosition,
+ &_swigt__p_wxGBSizerItem,
+ &_swigt__p_wxGBSpan,
+ &_swigt__p_wxGIFHandler,
+ &_swigt__p_wxGridBagSizer,
+ &_swigt__p_wxGridSizer,
+ &_swigt__p_wxICOHandler,
+ &_swigt__p_wxIconizeEvent,
+ &_swigt__p_wxIdleEvent,
+ &_swigt__p_wxImage,
+ &_swigt__p_wxImageHandler,
+ &_swigt__p_wxImageHistogram,
+ &_swigt__p_wxImage_HSVValue,
+ &_swigt__p_wxImage_RGBValue,
+ &_swigt__p_wxIndividualLayoutConstraint,
+ &_swigt__p_wxInitDialogEvent,
+ &_swigt__p_wxInputStream,
+ &_swigt__p_wxInternetFSHandler,
+ &_swigt__p_wxItemContainer,
+ &_swigt__p_wxJPEGHandler,
+ &_swigt__p_wxKeyEvent,
+ &_swigt__p_wxLayoutConstraints,
+ &_swigt__p_wxMaximizeEvent,
+ &_swigt__p_wxMemoryFSHandler,
+ &_swigt__p_wxMenu,
+ &_swigt__p_wxMenuBar,
+ &_swigt__p_wxMenuBarBase,
+ &_swigt__p_wxMenuEvent,
+ &_swigt__p_wxMenuItem,
+ &_swigt__p_wxMouseCaptureChangedEvent,
+ &_swigt__p_wxMouseEvent,
+ &_swigt__p_wxMoveEvent,
+ &_swigt__p_wxNavigationKeyEvent,
+ &_swigt__p_wxNcPaintEvent,
+ &_swigt__p_wxNotifyEvent,
+ &_swigt__p_wxObject,
+ &_swigt__p_wxOutputStream,
+ &_swigt__p_wxPCXHandler,
+ &_swigt__p_wxPNGHandler,
+ &_swigt__p_wxPNMHandler,
+ &_swigt__p_wxPaintEvent,
+ &_swigt__p_wxPaletteChangedEvent,
+ &_swigt__p_wxPaperSize,
+ &_swigt__p_wxPoint,
+ &_swigt__p_wxPoint2D,
+ &_swigt__p_wxPropagateOnce,
+ &_swigt__p_wxPropagationDisabler,
+ &_swigt__p_wxPyApp,
+ &_swigt__p_wxPyCommandEvent,
+ &_swigt__p_wxPyDropTarget,
+ &_swigt__p_wxPyEvent,
+ &_swigt__p_wxPyFileSystemHandler,
+ &_swigt__p_wxPyImageHandler,
+ &_swigt__p_wxPyInputStream,
+ &_swigt__p_wxPySizer,
+ &_swigt__p_wxPyValidator,
+ &_swigt__p_wxQuantize,
+ &_swigt__p_wxQueryNewPaletteEvent,
+ &_swigt__p_wxRealPoint,
+ &_swigt__p_wxRect,
+ &_swigt__p_wxRegion,
+ &_swigt__p_wxScrollEvent,
+ &_swigt__p_wxScrollWinEvent,
+ &_swigt__p_wxSetCursorEvent,
+ &_swigt__p_wxShowEvent,
+ &_swigt__p_wxSize,
+ &_swigt__p_wxSizeEvent,
+ &_swigt__p_wxSizer,
+ &_swigt__p_wxSizerItem,
+ &_swigt__p_wxStaticBox,
+ &_swigt__p_wxStaticBoxSizer,
+ &_swigt__p_wxStdDialogButtonSizer,
+ &_swigt__p_wxSysColourChangedEvent,
+ &_swigt__p_wxTIFFHandler,
+ &_swigt__p_wxToolTip,
+ &_swigt__p_wxUpdateUIEvent,
+ &_swigt__p_wxValidator,
+ &_swigt__p_wxVisualAttributes,
+ &_swigt__p_wxWindow,
+ &_swigt__p_wxWindowCreateEvent,
+ &_swigt__p_wxWindowDestroyEvent,
+ &_swigt__p_wxXPMHandler,
+ &_swigt__p_wxZipFSHandler,
+ &_swigt__ptrdiff_t,
+ &_swigt__std__ptrdiff_t,
+ &_swigt__unsigned_int,
+};
+
+static swig_cast_info _swigc__p_buffer[] = { {&_swigt__p_buffer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxANIHandler[] = { {&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxAcceleratorEntry[] = { {&_swigt__p_wxAcceleratorEntry, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxAcceleratorTable[] = { {&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxActivateEvent[] = { {&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxAppTraits[] = { {&_swigt__p_wxAppTraits, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBMPHandler[] = { {&_swigt__p_wxBMPHandler, 0, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBoxSizer[] = { {&_swigt__p_wxBoxSizer, 0, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCURHandler[] = { {&_swigt__p_wxCURHandler, 0, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxCURHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxChildFocusEvent[] = { {&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCloseEvent[] = { {&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxContextMenuEvent[] = { {&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDateEvent[] = { {&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = { {&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDropFilesEvent[] = { {&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEraseEvent[] = { {&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEventLoop[] = { {&_swigt__p_wxEventLoop, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEventLoopActivator[] = { {&_swigt__p_wxEventLoopActivator, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFSFile[] = { {&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileSystemHandler[] = { {&_swigt__p_wxFileSystemHandler, 0, 0, 0}, {&_swigt__p_wxPyFileSystemHandler, _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxInternetFSHandler, _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxZipFSHandler, _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxMemoryFSHandler, _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFlexGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFocusEvent[] = { {&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGBPosition[] = { {&_swigt__p_wxGBPosition, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGBSizerItem[] = { {&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGBSpan[] = { {&_swigt__p_wxGBSpan, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGIFHandler[] = { {&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGridBagSizer[] = { {&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0}, {&_swigt__p_wxGridSizer, 0, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxICOHandler[] = { {&_swigt__p_wxICOHandler, 0, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxICOHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxICOHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIconizeEvent[] = { {&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIdleEvent[] = { {&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImageHandler[] = { {&_swigt__p_wxImageHandler, 0, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImageHistogram[] = { {&_swigt__p_wxImageHistogram, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImage_HSVValue[] = { {&_swigt__p_wxImage_HSVValue, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImage_RGBValue[] = { {&_swigt__p_wxImage_RGBValue, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = { {&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxInitDialogEvent[] = { {&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxInputStream[] = { {&_swigt__p_wxInputStream, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxInternetFSHandler[] = { {&_swigt__p_wxInternetFSHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxJPEGHandler[] = { {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLayoutConstraints[] = { {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMaximizeEvent[] = { {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMemoryFSHandler[] = { {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuBarBase[] = { {&_swigt__p_wxMenuBarBase, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuEvent[] = { {&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuItem[] = { {&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = { {&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMoveEvent[] = { {&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = { {&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNcPaintEvent[] = { {&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPCXHandler[] = { {&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPNGHandler[] = { {&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPNMHandler[] = { {&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaintEvent[] = { {&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = { {&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPoint2D[] = { {&_swigt__p_wxPoint2D, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPropagateOnce[] = { {&_swigt__p_wxPropagateOnce, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPropagationDisabler[] = { {&_swigt__p_wxPropagationDisabler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyApp[] = { {&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyCommandEvent[] = { {&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyEvent[] = { {&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyFileSystemHandler[] = { {&_swigt__p_wxPyFileSystemHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyImageHandler[] = { {&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyInputStream[] = { {&_swigt__p_wxPyInputStream, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPySizer[] = { {&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyValidator[] = { {&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxQuantize[] = { {&_swigt__p_wxQuantize, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = { {&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxRealPoint[] = { {&_swigt__p_wxRealPoint, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollEvent[] = { {&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSetCursorEvent[] = { {&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxShowEvent[] = { {&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizeEvent[] = { {&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizer[] = { {&_swigt__p_wxSizer, 0, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxSizer, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizerItem[] = { {&_swigt__p_wxSizerItem, 0, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticBoxSizer[] = { {&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = { {&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTIFFHandler[] = { {&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxUpdateUIEvent[] = { {&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindowCreateEvent[] = { {&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = { {&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxXPMHandler[] = { {&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxZipFSHandler[] = { {&_swigt__p_wxZipFSHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
+
+static swig_cast_info *swig_cast_initial[] = {
+ _swigc__p_buffer,
+ _swigc__p_char,
+ _swigc__p_form_ops_t,
+ _swigc__p_int,
+ _swigc__p_long,
+ _swigc__p_unsigned_char,
+ _swigc__p_unsigned_int,
+ _swigc__p_unsigned_long,
+ _swigc__p_wxANIHandler,
+ _swigc__p_wxAcceleratorEntry,
+ _swigc__p_wxAcceleratorTable,
+ _swigc__p_wxActivateEvent,
+ _swigc__p_wxAppTraits,
+ _swigc__p_wxArrayString,
+ _swigc__p_wxBMPHandler,
+ _swigc__p_wxBitmap,
+ _swigc__p_wxBoxSizer,
+ _swigc__p_wxButton,
+ _swigc__p_wxCURHandler,
+ _swigc__p_wxCaret,
+ _swigc__p_wxChildFocusEvent,
+ _swigc__p_wxCloseEvent,
+ _swigc__p_wxColour,
+ _swigc__p_wxCommandEvent,
+ _swigc__p_wxContextMenuEvent,
+ _swigc__p_wxControl,
+ _swigc__p_wxControlWithItems,
+ _swigc__p_wxCursor,
+ _swigc__p_wxDC,
+ _swigc__p_wxDateEvent,
+ _swigc__p_wxDateTime,
+ _swigc__p_wxDisplayChangedEvent,
+ _swigc__p_wxDropFilesEvent,
+ _swigc__p_wxDuplexMode,
+ _swigc__p_wxEraseEvent,
+ _swigc__p_wxEvent,
+ _swigc__p_wxEventLoop,
+ _swigc__p_wxEventLoopActivator,
+ _swigc__p_wxEvtHandler,
+ _swigc__p_wxFSFile,
+ _swigc__p_wxFileSystem,
+ _swigc__p_wxFileSystemHandler,
+ _swigc__p_wxFlexGridSizer,
+ _swigc__p_wxFocusEvent,
+ _swigc__p_wxFont,
+ _swigc__p_wxFrame,
+ _swigc__p_wxGBPosition,
+ _swigc__p_wxGBSizerItem,
+ _swigc__p_wxGBSpan,
+ _swigc__p_wxGIFHandler,
+ _swigc__p_wxGridBagSizer,
+ _swigc__p_wxGridSizer,
+ _swigc__p_wxICOHandler,
+ _swigc__p_wxIconizeEvent,
+ _swigc__p_wxIdleEvent,
+ _swigc__p_wxImage,
+ _swigc__p_wxImageHandler,
+ _swigc__p_wxImageHistogram,
+ _swigc__p_wxImage_HSVValue,
+ _swigc__p_wxImage_RGBValue,
+ _swigc__p_wxIndividualLayoutConstraint,
+ _swigc__p_wxInitDialogEvent,
+ _swigc__p_wxInputStream,
+ _swigc__p_wxInternetFSHandler,
+ _swigc__p_wxItemContainer,
+ _swigc__p_wxJPEGHandler,
+ _swigc__p_wxKeyEvent,
+ _swigc__p_wxLayoutConstraints,
+ _swigc__p_wxMaximizeEvent,
+ _swigc__p_wxMemoryFSHandler,
+ _swigc__p_wxMenu,
+ _swigc__p_wxMenuBar,
+ _swigc__p_wxMenuBarBase,
+ _swigc__p_wxMenuEvent,
+ _swigc__p_wxMenuItem,
+ _swigc__p_wxMouseCaptureChangedEvent,
+ _swigc__p_wxMouseEvent,
+ _swigc__p_wxMoveEvent,
+ _swigc__p_wxNavigationKeyEvent,
+ _swigc__p_wxNcPaintEvent,
+ _swigc__p_wxNotifyEvent,
+ _swigc__p_wxObject,
+ _swigc__p_wxOutputStream,
+ _swigc__p_wxPCXHandler,
+ _swigc__p_wxPNGHandler,
+ _swigc__p_wxPNMHandler,
+ _swigc__p_wxPaintEvent,
+ _swigc__p_wxPaletteChangedEvent,
+ _swigc__p_wxPaperSize,
+ _swigc__p_wxPoint,
+ _swigc__p_wxPoint2D,
+ _swigc__p_wxPropagateOnce,
+ _swigc__p_wxPropagationDisabler,
+ _swigc__p_wxPyApp,
+ _swigc__p_wxPyCommandEvent,
+ _swigc__p_wxPyDropTarget,
+ _swigc__p_wxPyEvent,
+ _swigc__p_wxPyFileSystemHandler,
+ _swigc__p_wxPyImageHandler,
+ _swigc__p_wxPyInputStream,
+ _swigc__p_wxPySizer,
+ _swigc__p_wxPyValidator,
+ _swigc__p_wxQuantize,
+ _swigc__p_wxQueryNewPaletteEvent,
+ _swigc__p_wxRealPoint,
+ _swigc__p_wxRect,
+ _swigc__p_wxRegion,
+ _swigc__p_wxScrollEvent,
+ _swigc__p_wxScrollWinEvent,
+ _swigc__p_wxSetCursorEvent,
+ _swigc__p_wxShowEvent,
+ _swigc__p_wxSize,
+ _swigc__p_wxSizeEvent,
+ _swigc__p_wxSizer,
+ _swigc__p_wxSizerItem,
+ _swigc__p_wxStaticBox,
+ _swigc__p_wxStaticBoxSizer,
+ _swigc__p_wxStdDialogButtonSizer,
+ _swigc__p_wxSysColourChangedEvent,
+ _swigc__p_wxTIFFHandler,
+ _swigc__p_wxToolTip,
+ _swigc__p_wxUpdateUIEvent,
+ _swigc__p_wxValidator,
+ _swigc__p_wxVisualAttributes,
+ _swigc__p_wxWindow,
+ _swigc__p_wxWindowCreateEvent,
+ _swigc__p_wxWindowDestroyEvent,
+ _swigc__p_wxXPMHandler,
+ _swigc__p_wxZipFSHandler,
+ _swigc__ptrdiff_t,
+ _swigc__std__ptrdiff_t,
+ _swigc__unsigned_int,
};
#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);
#endif
{
- PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND)));
+ PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int(static_cast<int >(wxNOT_FOUND)));
+ }
+ {
+ PyDict_SetItemString(d,"VSCROLL", SWIG_From_int(static_cast<int >(wxVSCROLL)));
+ }
+ {
+ PyDict_SetItemString(d,"HSCROLL", SWIG_From_int(static_cast<int >(wxHSCROLL)));
+ }
+ {
+ PyDict_SetItemString(d,"CAPTION", SWIG_From_int(static_cast<int >(wxCAPTION)));
+ }
+ {
+ PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int(static_cast<int >(wxDOUBLE_BORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int(static_cast<int >(wxSUNKEN_BORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int(static_cast<int >(wxRAISED_BORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"BORDER", SWIG_From_int(static_cast<int >(wxBORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int(static_cast<int >(wxSIMPLE_BORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int(static_cast<int >(wxSTATIC_BORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int(static_cast<int >(wxTRANSPARENT_WINDOW)));
+ }
+ {
+ PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int(static_cast<int >(wxNO_BORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int(static_cast<int >(wxDEFAULT_CONTROL_BORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_STATUSBAR_STYLE)));
+ }
+ {
+ PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int(static_cast<int >(wxTAB_TRAVERSAL)));
+ }
+ {
+ PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int(static_cast<int >(wxWANTS_CHARS)));
+ }
+ {
+ PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int(static_cast<int >(wxPOPUP_WINDOW)));
+ }
+ {
+ PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int(static_cast<int >(wxCENTER_FRAME)));
+ }
+ {
+ PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxCENTRE_ON_SCREEN)));
+ }
+ {
+ PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int(static_cast<int >(wxCENTER_ON_SCREEN)));
+ }
+ {
+ PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int(static_cast<int >(wxCLIP_CHILDREN)));
+ }
+ {
+ PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int(static_cast<int >(wxCLIP_SIBLINGS)));
+ }
+ {
+ PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int(static_cast<int >(wxALWAYS_SHOW_SB)));
+ }
+ {
+ PyDict_SetItemString(d,"RETAINED", SWIG_From_int(static_cast<int >(wxRETAINED)));
+ }
+ {
+ PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int(static_cast<int >(wxBACKINGSTORE)));
+ }
+ {
+ PyDict_SetItemString(d,"COLOURED", SWIG_From_int(static_cast<int >(wxCOLOURED)));
+ }
+ {
+ PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int(static_cast<int >(wxFIXED_LENGTH)));
+ }
+ {
+ PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int(static_cast<int >(wxLB_NEEDED_SB)));
+ }
+ {
+ PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int(static_cast<int >(wxLB_ALWAYS_SB)));
+ }
+ {
+ PyDict_SetItemString(d,"LB_SORT", SWIG_From_int(static_cast<int >(wxLB_SORT)));
+ }
+ {
+ PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int(static_cast<int >(wxLB_SINGLE)));
+ }
+ {
+ PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int(static_cast<int >(wxLB_MULTIPLE)));
+ }
+ {
+ PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int(static_cast<int >(wxLB_EXTENDED)));
+ }
+ {
+ PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int(static_cast<int >(wxLB_OWNERDRAW)));
+ }
+ {
+ PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int(static_cast<int >(wxLB_HSCROLL)));
+ }
+ {
+ PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxPROCESS_ENTER)));
+ }
+ {
+ PyDict_SetItemString(d,"PASSWORD", SWIG_From_int(static_cast<int >(wxPASSWORD)));
+ }
+ {
+ PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int(static_cast<int >(wxCB_SIMPLE)));
+ }
+ {
+ PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int(static_cast<int >(wxCB_DROPDOWN)));
+ }
+ {
+ PyDict_SetItemString(d,"CB_SORT", SWIG_From_int(static_cast<int >(wxCB_SORT)));
+ }
+ {
+ PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int(static_cast<int >(wxCB_READONLY)));
+ }
+ {
+ PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxRA_HORIZONTAL)));
+ }
+ {
+ PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int(static_cast<int >(wxRA_VERTICAL)));
+ }
+ {
+ PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int(static_cast<int >(wxRA_SPECIFY_ROWS)));
+ }
+ {
+ PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int(static_cast<int >(wxRA_SPECIFY_COLS)));
+ }
+ {
+ PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int(static_cast<int >(wxRA_USE_CHECKBOX)));
+ }
+ {
+ PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int(static_cast<int >(wxRB_GROUP)));
+ }
+ {
+ PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int(static_cast<int >(wxRB_SINGLE)));
+ }
+ {
+ PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSB_HORIZONTAL)));
+ }
+ {
+ PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int(static_cast<int >(wxSB_VERTICAL)));
+ }
+ {
+ PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int(static_cast<int >(wxRB_USE_CHECKBOX)));
+ }
+ {
+ PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int(static_cast<int >(wxST_SIZEGRIP)));
+ }
+ {
+ PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int(static_cast<int >(wxST_NO_AUTORESIZE)));
+ }
+ {
+ PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int(static_cast<int >(wxFLOOD_SURFACE)));
+ }
+ {
+ PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int(static_cast<int >(wxFLOOD_BORDER)));
+ }
+ {
+ PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int(static_cast<int >(wxODDEVEN_RULE)));
+ }
+ {
+ PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int(static_cast<int >(wxWINDING_RULE)));
+ }
+ {
+ PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int(static_cast<int >(wxTOOL_TOP)));
+ }
+ {
+ PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int(static_cast<int >(wxTOOL_BOTTOM)));
}
{
- PyDict_SetItemString(d,"VSCROLL", SWIG_From_int((int)(wxVSCROLL)));
+ PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int(static_cast<int >(wxTOOL_LEFT)));
}
{
- PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)(wxHSCROLL)));
+ PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int(static_cast<int >(wxTOOL_RIGHT)));
}
{
- PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)(wxCAPTION)));
+ PyDict_SetItemString(d,"OK", SWIG_From_int(static_cast<int >(wxOK)));
}
{
- PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER)));
+ PyDict_SetItemString(d,"YES_NO", SWIG_From_int(static_cast<int >(wxYES_NO)));
}
{
- PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER)));
+ PyDict_SetItemString(d,"CANCEL", SWIG_From_int(static_cast<int >(wxCANCEL)));
}
{
- PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER)));
+ PyDict_SetItemString(d,"YES", SWIG_From_int(static_cast<int >(wxYES)));
}
{
- PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)(wxBORDER)));
+ PyDict_SetItemString(d,"NO", SWIG_From_int(static_cast<int >(wxNO)));
}
{
- PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER)));
+ PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int(static_cast<int >(wxNO_DEFAULT)));
}
{
- PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER)));
+ PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int(static_cast<int >(wxYES_DEFAULT)));
}
{
- PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW)));
+ PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int(static_cast<int >(wxICON_EXCLAMATION)));
}
{
- PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER)));
+ PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int(static_cast<int >(wxICON_HAND)));
}
{
- PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER)));
+ PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int(static_cast<int >(wxICON_QUESTION)));
}
{
- PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE)));
+ PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int(static_cast<int >(wxICON_INFORMATION)));
}
{
- PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL)));
+ PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int(static_cast<int >(wxICON_STOP)));
}
{
- PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS)));
+ PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int(static_cast<int >(wxICON_ASTERISK)));
}
{
- PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW)));
+ PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int(static_cast<int >(wxICON_MASK)));
}
{
- PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME)));
+ PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int(static_cast<int >(wxICON_WARNING)));
}
{
- PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN)));
+ PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int(static_cast<int >(wxICON_ERROR)));
}
{
- PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN)));
+ PyDict_SetItemString(d,"FORWARD", SWIG_From_int(static_cast<int >(wxFORWARD)));
}
{
- PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN)));
+ PyDict_SetItemString(d,"BACKWARD", SWIG_From_int(static_cast<int >(wxBACKWARD)));
}
{
- PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS)));
+ PyDict_SetItemString(d,"RESET", SWIG_From_int(static_cast<int >(wxRESET)));
}
{
- PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB)));
+ PyDict_SetItemString(d,"HELP", SWIG_From_int(static_cast<int >(wxHELP)));
}
{
- PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)(wxRETAINED)));
+ PyDict_SetItemString(d,"MORE", SWIG_From_int(static_cast<int >(wxMORE)));
}
{
- PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE)));
+ PyDict_SetItemString(d,"SETUP", SWIG_From_int(static_cast<int >(wxSETUP)));
}
{
- PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)(wxCOLOURED)));
+ PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int(static_cast<int >(wxSIZE_AUTO_WIDTH)));
}
{
- PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH)));
+ PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int(static_cast<int >(wxSIZE_AUTO_HEIGHT)));
}
{
- PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB)));
+ PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int(static_cast<int >(wxSIZE_AUTO)));
}
{
- PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB)));
+ PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int(static_cast<int >(wxSIZE_USE_EXISTING)));
}
{
- PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)(wxLB_SORT)));
+ PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int(static_cast<int >(wxSIZE_ALLOW_MINUS_ONE)));
}
{
- PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE)));
+ PyDict_SetItemString(d,"SIZE_FORCE", SWIG_From_int(static_cast<int >(wxSIZE_FORCE)));
}
{
- PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE)));
+ PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int(static_cast<int >(wxPORTRAIT)));
}
{
- PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED)));
+ PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int(static_cast<int >(wxLANDSCAPE)));
}
{
- PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW)));
+ PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int(static_cast<int >(wxPRINT_QUALITY_HIGH)));
}
{
- PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL)));
+ PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int(static_cast<int >(wxPRINT_QUALITY_MEDIUM)));
}
{
- PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER)));
+ PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int(static_cast<int >(wxPRINT_QUALITY_LOW)));
}
{
- PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)(wxPASSWORD)));
+ PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int(static_cast<int >(wxPRINT_QUALITY_DRAFT)));
}
{
- PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE)));
+ PyDict_SetItemString(d,"ID_ANY", SWIG_From_int(static_cast<int >(wxID_ANY)));
}
{
- PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN)));
+ PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int(static_cast<int >(wxID_SEPARATOR)));
}
{
- PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)(wxCB_SORT)));
+ PyDict_SetItemString(d,"ID_NONE", SWIG_From_int(static_cast<int >(wxID_NONE)));
}
{
- PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY)));
+ PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int(static_cast<int >(wxID_LOWEST)));
}
{
- PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL)));
+ PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int(static_cast<int >(wxID_OPEN)));
}
{
- PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL)));
+ PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int(static_cast<int >(wxID_CLOSE)));
}
{
- PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS)));
+ PyDict_SetItemString(d,"ID_NEW", SWIG_From_int(static_cast<int >(wxID_NEW)));
}
{
- PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS)));
+ PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int(static_cast<int >(wxID_SAVE)));
}
{
- PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX)));
+ PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int(static_cast<int >(wxID_SAVEAS)));
}
{
- PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP)));
+ PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int(static_cast<int >(wxID_REVERT)));
}
{
- PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE)));
+ PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int(static_cast<int >(wxID_EXIT)));
}
{
- PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL)));
+ PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int(static_cast<int >(wxID_UNDO)));
}
{
- PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL)));
+ PyDict_SetItemString(d,"ID_REDO", SWIG_From_int(static_cast<int >(wxID_REDO)));
}
{
- PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX)));
+ PyDict_SetItemString(d,"ID_HELP", SWIG_From_int(static_cast<int >(wxID_HELP)));
}
{
- PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP)));
+ PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int(static_cast<int >(wxID_PRINT)));
}
{
- PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE)));
+ PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int(static_cast<int >(wxID_PRINT_SETUP)));
}
{
- PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE)));
+ PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int(static_cast<int >(wxID_PREVIEW)));
}
{
- PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER)));
+ PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int(static_cast<int >(wxID_ABOUT)));
}
{
- PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE)));
+ PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int(static_cast<int >(wxID_HELP_CONTENTS)));
}
{
- PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE)));
+ PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int(static_cast<int >(wxID_HELP_COMMANDS)));
}
{
- PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP)));
+ PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int(static_cast<int >(wxID_HELP_PROCEDURES)));
}
{
- PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM)));
+ PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int(static_cast<int >(wxID_HELP_CONTEXT)));
}
{
- PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT)));
+ PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int(static_cast<int >(wxID_CLOSE_ALL)));
}
{
- PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT)));
+ PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int(static_cast<int >(wxID_PREFERENCES)));
}
{
- PyDict_SetItemString(d,"OK", SWIG_From_int((int)(wxOK)));
+ PyDict_SetItemString(d,"ID_CUT", SWIG_From_int(static_cast<int >(wxID_CUT)));
}
{
- PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)(wxYES_NO)));
+ PyDict_SetItemString(d,"ID_COPY", SWIG_From_int(static_cast<int >(wxID_COPY)));
}
{
- PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)(wxCANCEL)));
+ PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int(static_cast<int >(wxID_PASTE)));
}
{
- PyDict_SetItemString(d,"YES", SWIG_From_int((int)(wxYES)));
+ PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int(static_cast<int >(wxID_CLEAR)));
}
{
- PyDict_SetItemString(d,"NO", SWIG_From_int((int)(wxNO)));
+ PyDict_SetItemString(d,"ID_FIND", SWIG_From_int(static_cast<int >(wxID_FIND)));
}
{
- PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT)));
+ PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int(static_cast<int >(wxID_DUPLICATE)));
}
{
- PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT)));
+ PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int(static_cast<int >(wxID_SELECTALL)));
}
{
- PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION)));
+ PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int(static_cast<int >(wxID_DELETE)));
}
{
- PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND)));
+ PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int(static_cast<int >(wxID_REPLACE)));
}
{
- PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION)));
+ PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int(static_cast<int >(wxID_REPLACE_ALL)));
}
{
- PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION)));
+ PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int(static_cast<int >(wxID_PROPERTIES)));
}
{
- PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP)));
+ PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int(static_cast<int >(wxID_VIEW_DETAILS)));
}
{
- PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK)));
+ PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int(static_cast<int >(wxID_VIEW_LARGEICONS)));
}
{
- PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK)));
+ PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int(static_cast<int >(wxID_VIEW_SMALLICONS)));
}
{
- PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING)));
+ PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int(static_cast<int >(wxID_VIEW_LIST)));
}
{
- PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR)));
+ PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int(static_cast<int >(wxID_VIEW_SORTDATE)));
}
{
- PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)(wxFORWARD)));
+ PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int(static_cast<int >(wxID_VIEW_SORTNAME)));
}
{
- PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)(wxBACKWARD)));
+ PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int(static_cast<int >(wxID_VIEW_SORTSIZE)));
}
{
- PyDict_SetItemString(d,"RESET", SWIG_From_int((int)(wxRESET)));
+ PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int(static_cast<int >(wxID_VIEW_SORTTYPE)));
}
{
- PyDict_SetItemString(d,"HELP", SWIG_From_int((int)(wxHELP)));
+ PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int(static_cast<int >(wxID_FILE1)));
}
{
- PyDict_SetItemString(d,"MORE", SWIG_From_int((int)(wxMORE)));
+ PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int(static_cast<int >(wxID_FILE2)));
}
{
- PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)(wxSETUP)));
+ PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int(static_cast<int >(wxID_FILE3)));
}
{
- PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH)));
+ PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int(static_cast<int >(wxID_FILE4)));
}
{
- PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT)));
+ PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int(static_cast<int >(wxID_FILE5)));
}
{
- PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO)));
+ PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int(static_cast<int >(wxID_FILE6)));
}
{
- PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING)));
+ PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int(static_cast<int >(wxID_FILE7)));
}
{
- PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE)));
+ PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int(static_cast<int >(wxID_FILE8)));
}
{
- PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT)));
+ PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int(static_cast<int >(wxID_FILE9)));
}
{
- PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE)));
+ PyDict_SetItemString(d,"ID_OK", SWIG_From_int(static_cast<int >(wxID_OK)));
}
{
- PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH)));
+ PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int(static_cast<int >(wxID_CANCEL)));
}
{
- PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM)));
+ PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int(static_cast<int >(wxID_APPLY)));
}
{
- PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW)));
+ PyDict_SetItemString(d,"ID_YES", SWIG_From_int(static_cast<int >(wxID_YES)));
}
{
- PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT)));
+ PyDict_SetItemString(d,"ID_NO", SWIG_From_int(static_cast<int >(wxID_NO)));
}
{
- PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)(wxID_ANY)));
+ PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int(static_cast<int >(wxID_STATIC)));
}
{
- PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR)));
+ PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int(static_cast<int >(wxID_FORWARD)));
}
{
- PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST)));
+ PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int(static_cast<int >(wxID_BACKWARD)));
}
{
- PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN)));
+ PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int(static_cast<int >(wxID_DEFAULT)));
}
{
- PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE)));
+ PyDict_SetItemString(d,"ID_MORE", SWIG_From_int(static_cast<int >(wxID_MORE)));
}
{
- PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)(wxID_NEW)));
+ PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int(static_cast<int >(wxID_SETUP)));
}
{
- PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE)));
+ PyDict_SetItemString(d,"ID_RESET", SWIG_From_int(static_cast<int >(wxID_RESET)));
}
{
- PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS)));
+ PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int(static_cast<int >(wxID_CONTEXT_HELP)));
}
{
- PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT)));
+ PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int(static_cast<int >(wxID_YESTOALL)));
}
{
- PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT)));
+ PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int(static_cast<int >(wxID_NOTOALL)));
}
{
- PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO)));
+ PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int(static_cast<int >(wxID_ABORT)));
}
{
- PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)(wxID_REDO)));
+ PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int(static_cast<int >(wxID_RETRY)));
}
{
- PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)(wxID_HELP)));
+ PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int(static_cast<int >(wxID_IGNORE)));
}
{
- PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT)));
+ PyDict_SetItemString(d,"ID_ADD", SWIG_From_int(static_cast<int >(wxID_ADD)));
}
{
- PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP)));
+ PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int(static_cast<int >(wxID_REMOVE)));
}
{
- PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW)));
+ PyDict_SetItemString(d,"ID_UP", SWIG_From_int(static_cast<int >(wxID_UP)));
}
{
- PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT)));
+ PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int(static_cast<int >(wxID_DOWN)));
}
{
- PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS)));
+ PyDict_SetItemString(d,"ID_HOME", SWIG_From_int(static_cast<int >(wxID_HOME)));
}
{
- PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS)));
+ PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int(static_cast<int >(wxID_REFRESH)));
}
{
- PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES)));
+ PyDict_SetItemString(d,"ID_STOP", SWIG_From_int(static_cast<int >(wxID_STOP)));
}
{
- PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT)));
+ PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int(static_cast<int >(wxID_INDEX)));
}
{
- PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL)));
+ PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int(static_cast<int >(wxID_BOLD)));
}
{
- PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES)));
+ PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int(static_cast<int >(wxID_ITALIC)));
}
{
- PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)(wxID_CUT)));
+ PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int(static_cast<int >(wxID_JUSTIFY_CENTER)));
}
{
- PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)(wxID_COPY)));
+ PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int(static_cast<int >(wxID_JUSTIFY_FILL)));
}
{
- PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE)));
+ PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int(static_cast<int >(wxID_JUSTIFY_RIGHT)));
}
{
- PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR)));
+ PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int(static_cast<int >(wxID_JUSTIFY_LEFT)));
}
{
- PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)(wxID_FIND)));
+ PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int(static_cast<int >(wxID_UNDERLINE)));
}
{
- PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE)));
+ PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int(static_cast<int >(wxID_INDENT)));
}
{
- PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL)));
+ PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int(static_cast<int >(wxID_UNINDENT)));
}
{
- PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE)));
+ PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int(static_cast<int >(wxID_ZOOM_100)));
}
{
- PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE)));
+ PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int(static_cast<int >(wxID_ZOOM_FIT)));
}
{
- PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL)));
+ PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int(static_cast<int >(wxID_ZOOM_IN)));
}
{
- PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES)));
+ PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int(static_cast<int >(wxID_ZOOM_OUT)));
}
{
- PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS)));
+ PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int(static_cast<int >(wxID_UNDELETE)));
}
{
- PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS)));
+ PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int(static_cast<int >(wxID_REVERT_TO_SAVED)));
}
{
- PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS)));
+ PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int(static_cast<int >(wxID_HIGHEST)));
}
{
- PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST)));
+ PyDict_SetItemString(d,"OPEN", SWIG_From_int(static_cast<int >(wxOPEN)));
}
{
- PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE)));
+ PyDict_SetItemString(d,"SAVE", SWIG_From_int(static_cast<int >(wxSAVE)));
}
{
- PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME)));
+ PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int(static_cast<int >(wxHIDE_READONLY)));
}
{
- PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE)));
+ PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int(static_cast<int >(wxOVERWRITE_PROMPT)));
}
{
- PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE)));
+ PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int(static_cast<int >(wxFILE_MUST_EXIST)));
}
{
- PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1)));
+ PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int(static_cast<int >(wxMULTIPLE)));
}
{
- PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2)));
+ PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int(static_cast<int >(wxCHANGE_DIR)));
}
{
- PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3)));
+ PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int(static_cast<int >(wxACCEL_ALT)));
}
{
- PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4)));
+ PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int(static_cast<int >(wxACCEL_CTRL)));
}
{
- PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5)));
+ PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int(static_cast<int >(wxACCEL_SHIFT)));
}
{
- PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6)));
+ PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int(static_cast<int >(wxACCEL_NORMAL)));
}
{
- PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7)));
+ PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int(static_cast<int >(wxPD_AUTO_HIDE)));
}
{
- PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8)));
+ PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int(static_cast<int >(wxPD_APP_MODAL)));
}
{
- PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9)));
+ PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int(static_cast<int >(wxPD_CAN_ABORT)));
}
{
- PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)(wxID_OK)));
+ PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int(static_cast<int >(wxPD_ELAPSED_TIME)));
}
{
- PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL)));
+ PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int(static_cast<int >(wxPD_ESTIMATED_TIME)));
}
{
- PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY)));
+ PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int(static_cast<int >(wxPD_REMAINING_TIME)));
}
{
- PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)(wxID_YES)));
+ PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int(static_cast<int >(wxPD_SMOOTH)));
}
{
- PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)(wxID_NO)));
+ PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int(static_cast<int >(wxPD_CAN_SKIP)));
}
{
- PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC)));
+ PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int(static_cast<int >(wxDD_NEW_DIR_BUTTON)));
}
{
- PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD)));
+ PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxDD_DEFAULT_STYLE)));
}
{
- PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD)));
+ PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int(static_cast<int >(wxMENU_TEAROFF)));
}
{
- PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT)));
+ PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int(static_cast<int >(wxMB_DOCKABLE)));
}
{
- PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)(wxID_MORE)));
+ PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast<int >(wxNO_FULL_REPAINT_ON_RESIZE)));
}
{
- PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP)));
+ PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast<int >(wxFULL_REPAINT_ON_RESIZE)));
}
{
- PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)(wxID_RESET)));
+ PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLI_HORIZONTAL)));
}
{
- PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP)));
+ PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int(static_cast<int >(wxLI_VERTICAL)));
}
{
- PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL)));
+ PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int(static_cast<int >(wxWS_EX_VALIDATE_RECURSIVELY)));
}
{
- PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL)));
+ PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int(static_cast<int >(wxWS_EX_BLOCK_EVENTS)));
}
{
- PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT)));
+ PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int(static_cast<int >(wxWS_EX_TRANSIENT)));
}
{
- PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY)));
+ PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int(static_cast<int >(wxWS_EX_THEMED_BACKGROUND)));
}
{
- PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE)));
+ PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int(static_cast<int >(wxWS_EX_PROCESS_IDLE)));
}
{
- PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)(wxID_ADD)));
+ PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int(static_cast<int >(wxWS_EX_PROCESS_UI_UPDATES)));
}
{
- PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE)));
+ PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int(static_cast<int >(wxMM_TEXT)));
}
{
- PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)(wxID_UP)));
+ PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int(static_cast<int >(wxMM_LOMETRIC)));
}
{
- PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN)));
+ PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int(static_cast<int >(wxMM_HIMETRIC)));
}
{
- PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)(wxID_HOME)));
+ PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int(static_cast<int >(wxMM_LOENGLISH)));
}
{
- PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH)));
+ PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int(static_cast<int >(wxMM_HIENGLISH)));
}
{
- PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)(wxID_STOP)));
+ PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int(static_cast<int >(wxMM_TWIPS)));
}
{
- PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX)));
+ PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int(static_cast<int >(wxMM_ISOTROPIC)));
}
{
- PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD)));
+ PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int(static_cast<int >(wxMM_ANISOTROPIC)));
}
{
- PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC)));
+ PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int(static_cast<int >(wxMM_POINTS)));
}
{
- PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER)));
+ PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int(static_cast<int >(wxMM_METRIC)));
}
{
- PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL)));
+ PyDict_SetItemString(d,"CENTRE", SWIG_From_int(static_cast<int >(wxCENTRE)));
}
{
- PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT)));
+ PyDict_SetItemString(d,"CENTER", SWIG_From_int(static_cast<int >(wxCENTER)));
}
{
- PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT)));
+ PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int(static_cast<int >(wxHORIZONTAL)));
}
{
- PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE)));
+ PyDict_SetItemString(d,"VERTICAL", SWIG_From_int(static_cast<int >(wxVERTICAL)));
}
{
- PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT)));
+ PyDict_SetItemString(d,"BOTH", SWIG_From_int(static_cast<int >(wxBOTH)));
}
{
- PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT)));
+ PyDict_SetItemString(d,"LEFT", SWIG_From_int(static_cast<int >(wxLEFT)));
}
{
- PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100)));
+ PyDict_SetItemString(d,"RIGHT", SWIG_From_int(static_cast<int >(wxRIGHT)));
}
{
- PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT)));
+ PyDict_SetItemString(d,"UP", SWIG_From_int(static_cast<int >(wxUP)));
}
{
- PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN)));
+ PyDict_SetItemString(d,"DOWN", SWIG_From_int(static_cast<int >(wxDOWN)));
}
{
- PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT)));
+ PyDict_SetItemString(d,"TOP", SWIG_From_int(static_cast<int >(wxTOP)));
}
{
- PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE)));
+ PyDict_SetItemString(d,"BOTTOM", SWIG_From_int(static_cast<int >(wxBOTTOM)));
}
{
- PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED)));
+ PyDict_SetItemString(d,"NORTH", SWIG_From_int(static_cast<int >(wxNORTH)));
}
{
- PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST)));
+ PyDict_SetItemString(d,"SOUTH", SWIG_From_int(static_cast<int >(wxSOUTH)));
}
{
- PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)(wxOPEN)));
+ PyDict_SetItemString(d,"WEST", SWIG_From_int(static_cast<int >(wxWEST)));
}
{
- PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)(wxSAVE)));
+ PyDict_SetItemString(d,"EAST", SWIG_From_int(static_cast<int >(wxEAST)));
}
{
- PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY)));
+ PyDict_SetItemString(d,"ALL", SWIG_From_int(static_cast<int >(wxALL)));
}
{
- PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT)));
+ PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int(static_cast<int >(wxALIGN_NOT)));
}
{
- PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST)));
+ PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int(static_cast<int >(wxALIGN_CENTER_HORIZONTAL)));
}
{
- PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE)));
+ PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int(static_cast<int >(wxALIGN_CENTRE_HORIZONTAL)));
}
{
- PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR)));
+ PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxALIGN_LEFT)));
}
{
- PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT)));
+ PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int(static_cast<int >(wxALIGN_TOP)));
}
{
- PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL)));
+ PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxALIGN_RIGHT)));
}
{
- PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT)));
+ PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int(static_cast<int >(wxALIGN_BOTTOM)));
}
{
- PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL)));
+ PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int(static_cast<int >(wxALIGN_CENTER_VERTICAL)));
}
{
- PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE)));
+ PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int(static_cast<int >(wxALIGN_CENTRE_VERTICAL)));
}
{
- PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL)));
+ PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxALIGN_CENTER)));
}
{
- PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT)));
+ PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int(static_cast<int >(wxALIGN_CENTRE)));
}
{
- PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME)));
+ PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int(static_cast<int >(wxALIGN_MASK)));
}
{
- PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME)));
+ PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int(static_cast<int >(wxSTRETCH_NOT)));
}
{
- PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME)));
+ PyDict_SetItemString(d,"SHRINK", SWIG_From_int(static_cast<int >(wxSHRINK)));
}
{
- PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH)));
+ PyDict_SetItemString(d,"GROW", SWIG_From_int(static_cast<int >(wxGROW)));
}
{
- PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP)));
+ PyDict_SetItemString(d,"EXPAND", SWIG_From_int(static_cast<int >(wxEXPAND)));
}
{
- PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON)));
+ PyDict_SetItemString(d,"SHAPED", SWIG_From_int(static_cast<int >(wxSHAPED)));
}
{
- PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE)));
+ PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int(static_cast<int >(wxFIXED_MINSIZE)));
}
{
- PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF)));
+ PyDict_SetItemString(d,"TILE", SWIG_From_int(static_cast<int >(wxTILE)));
}
{
- PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE)));
+ PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int(static_cast<int >(wxADJUST_MINSIZE)));
}
{
- PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE)));
+ PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int(static_cast<int >(wxBORDER_DEFAULT)));
}
{
- PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE)));
+ PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int(static_cast<int >(wxBORDER_NONE)));
}
{
- PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL)));
+ PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int(static_cast<int >(wxBORDER_STATIC)));
}
{
- PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL)));
+ PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int(static_cast<int >(wxBORDER_SIMPLE)));
}
{
- PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY)));
+ PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int(static_cast<int >(wxBORDER_RAISED)));
}
{
- PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS)));
+ PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int(static_cast<int >(wxBORDER_SUNKEN)));
}
{
- PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT)));
+ PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int(static_cast<int >(wxBORDER_DOUBLE)));
}
{
- PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND)));
+ PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int(static_cast<int >(wxBORDER_MASK)));
}
{
- PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE)));
+ PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int(static_cast<int >(wxBG_STYLE_SYSTEM)));
}
{
- PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES)));
+ PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int(static_cast<int >(wxBG_STYLE_COLOUR)));
}
{
- PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT)));
+ PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int(static_cast<int >(wxBG_STYLE_CUSTOM)));
}
{
- PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC)));
+ PyDict_SetItemString(d,"DEFAULT", SWIG_From_int(static_cast<int >(wxDEFAULT)));
}
{
- PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC)));
+ PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int(static_cast<int >(wxDECORATIVE)));
}
{
- PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH)));
+ PyDict_SetItemString(d,"ROMAN", SWIG_From_int(static_cast<int >(wxROMAN)));
}
{
- PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH)));
+ PyDict_SetItemString(d,"SCRIPT", SWIG_From_int(static_cast<int >(wxSCRIPT)));
}
{
- PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS)));
+ PyDict_SetItemString(d,"SWISS", SWIG_From_int(static_cast<int >(wxSWISS)));
}
{
- PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC)));
+ PyDict_SetItemString(d,"MODERN", SWIG_From_int(static_cast<int >(wxMODERN)));
}
{
- PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC)));
+ PyDict_SetItemString(d,"TELETYPE", SWIG_From_int(static_cast<int >(wxTELETYPE)));
}
{
- PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS)));
+ PyDict_SetItemString(d,"VARIABLE", SWIG_From_int(static_cast<int >(wxVARIABLE)));
}
{
- PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC)));
+ PyDict_SetItemString(d,"FIXED", SWIG_From_int(static_cast<int >(wxFIXED)));
}
{
- PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)(wxCENTRE)));
+ PyDict_SetItemString(d,"NORMAL", SWIG_From_int(static_cast<int >(wxNORMAL)));
}
{
- PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)(wxCENTER)));
+ PyDict_SetItemString(d,"LIGHT", SWIG_From_int(static_cast<int >(wxLIGHT)));
}
{
- PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL)));
+ PyDict_SetItemString(d,"BOLD", SWIG_From_int(static_cast<int >(wxBOLD)));
}
{
- PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)(wxVERTICAL)));
+ PyDict_SetItemString(d,"ITALIC", SWIG_From_int(static_cast<int >(wxITALIC)));
}
{
- PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)(wxBOTH)));
+ PyDict_SetItemString(d,"SLANT", SWIG_From_int(static_cast<int >(wxSLANT)));
}
{
- PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)(wxLEFT)));
+ PyDict_SetItemString(d,"SOLID", SWIG_From_int(static_cast<int >(wxSOLID)));
}
{
- PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)(wxRIGHT)));
+ PyDict_SetItemString(d,"DOT", SWIG_From_int(static_cast<int >(wxDOT)));
}
{
- PyDict_SetItemString(d,"UP", SWIG_From_int((int)(wxUP)));
+ PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int(static_cast<int >(wxLONG_DASH)));
}
{
- PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)(wxDOWN)));
+ PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int(static_cast<int >(wxSHORT_DASH)));
}
{
- PyDict_SetItemString(d,"TOP", SWIG_From_int((int)(wxTOP)));
+ PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int(static_cast<int >(wxDOT_DASH)));
}
{
- PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)(wxBOTTOM)));
+ PyDict_SetItemString(d,"USER_DASH", SWIG_From_int(static_cast<int >(wxUSER_DASH)));
}
{
- PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)(wxNORTH)));
+ PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int(static_cast<int >(wxTRANSPARENT)));
}
{
- PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)(wxSOUTH)));
+ PyDict_SetItemString(d,"STIPPLE", SWIG_From_int(static_cast<int >(wxSTIPPLE)));
}
{
- PyDict_SetItemString(d,"WEST", SWIG_From_int((int)(wxWEST)));
+ PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int(static_cast<int >(wxSTIPPLE_MASK)));
}
{
- PyDict_SetItemString(d,"EAST", SWIG_From_int((int)(wxEAST)));
+ PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int(static_cast<int >(wxSTIPPLE_MASK_OPAQUE)));
}
{
- PyDict_SetItemString(d,"ALL", SWIG_From_int((int)(wxALL)));
+ PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int(static_cast<int >(wxBDIAGONAL_HATCH)));
}
{
- PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT)));
+ PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int(static_cast<int >(wxCROSSDIAG_HATCH)));
}
{
- PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL)));
+ PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int(static_cast<int >(wxFDIAGONAL_HATCH)));
}
{
- PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL)));
+ PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int(static_cast<int >(wxCROSS_HATCH)));
}
{
- PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT)));
+ PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int(static_cast<int >(wxHORIZONTAL_HATCH)));
}
{
- PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP)));
+ PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int(static_cast<int >(wxVERTICAL_HATCH)));
}
{
- PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT)));
+ PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int(static_cast<int >(wxJOIN_BEVEL)));
}
{
- PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM)));
+ PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int(static_cast<int >(wxJOIN_MITER)));
}
{
- PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL)));
+ PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int(static_cast<int >(wxJOIN_ROUND)));
}
{
- PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL)));
+ PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int(static_cast<int >(wxCAP_ROUND)));
}
{
- PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER)));
+ PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int(static_cast<int >(wxCAP_PROJECTING)));
}
{
- PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE)));
+ PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int(static_cast<int >(wxCAP_BUTT)));
}
{
- PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK)));
+ PyDict_SetItemString(d,"CLEAR", SWIG_From_int(static_cast<int >(wxCLEAR)));
}
{
- PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT)));
+ PyDict_SetItemString(d,"XOR", SWIG_From_int(static_cast<int >(wxXOR)));
}
{
- PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)(wxSHRINK)));
+ PyDict_SetItemString(d,"INVERT", SWIG_From_int(static_cast<int >(wxINVERT)));
}
{
- PyDict_SetItemString(d,"GROW", SWIG_From_int((int)(wxGROW)));
+ PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int(static_cast<int >(wxOR_REVERSE)));
}
{
- PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)(wxEXPAND)));
+ PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int(static_cast<int >(wxAND_REVERSE)));
}
{
- PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)(wxSHAPED)));
+ PyDict_SetItemString(d,"COPY", SWIG_From_int(static_cast<int >(wxCOPY)));
}
{
- PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE)));
+ PyDict_SetItemString(d,"AND", SWIG_From_int(static_cast<int >(wxAND)));
}
{
- PyDict_SetItemString(d,"TILE", SWIG_From_int((int)(wxTILE)));
+ PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int(static_cast<int >(wxAND_INVERT)));
}
{
- PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE)));
+ PyDict_SetItemString(d,"NO_OP", SWIG_From_int(static_cast<int >(wxNO_OP)));
}
{
- PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT)));
+ PyDict_SetItemString(d,"NOR", SWIG_From_int(static_cast<int >(wxNOR)));
}
{
- PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE)));
+ PyDict_SetItemString(d,"EQUIV", SWIG_From_int(static_cast<int >(wxEQUIV)));
}
{
- PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC)));
+ PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int(static_cast<int >(wxSRC_INVERT)));
}
{
- PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE)));
+ PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int(static_cast<int >(wxOR_INVERT)));
}
{
- PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED)));
+ PyDict_SetItemString(d,"NAND", SWIG_From_int(static_cast<int >(wxNAND)));
}
{
- PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN)));
+ PyDict_SetItemString(d,"OR", SWIG_From_int(static_cast<int >(wxOR)));
}
{
- PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE)));
+ PyDict_SetItemString(d,"SET", SWIG_From_int(static_cast<int >(wxSET)));
}
{
- PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK)));
+ PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int(static_cast<int >(WXK_BACK)));
}
{
- PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM)));
+ PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int(static_cast<int >(WXK_TAB)));
}
{
- PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR)));
+ PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int(static_cast<int >(WXK_RETURN)));
}
{
- PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM)));
+ PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int(static_cast<int >(WXK_ESCAPE)));
}
{
- PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)(wxDEFAULT)));
+ PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int(static_cast<int >(WXK_SPACE)));
}
{
- PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE)));
+ PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int(static_cast<int >(WXK_DELETE)));
}
{
- PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)(wxROMAN)));
+ PyDict_SetItemString(d,"WXK_START", SWIG_From_int(static_cast<int >(WXK_START)));
}
{
- PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)(wxSCRIPT)));
+ PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int(static_cast<int >(WXK_LBUTTON)));
}
{
- PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)(wxSWISS)));
+ PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int(static_cast<int >(WXK_RBUTTON)));
}
{
- PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)(wxMODERN)));
+ PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int(static_cast<int >(WXK_CANCEL)));
}
{
- PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)(wxTELETYPE)));
+ PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int(static_cast<int >(WXK_MBUTTON)));
}
{
- PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)(wxVARIABLE)));
+ PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int(static_cast<int >(WXK_CLEAR)));
}
{
- PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)(wxFIXED)));
+ PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int(static_cast<int >(WXK_SHIFT)));
}
{
- PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)(wxNORMAL)));
+ PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int(static_cast<int >(WXK_ALT)));
}
{
- PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)(wxLIGHT)));
+ PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int(static_cast<int >(WXK_CONTROL)));
}
{
- PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)(wxBOLD)));
+ PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int(static_cast<int >(WXK_MENU)));
}
{
- PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)(wxITALIC)));
+ PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int(static_cast<int >(WXK_PAUSE)));
}
{
- PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)(wxSLANT)));
+ PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int(static_cast<int >(WXK_CAPITAL)));
}
{
- PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)(wxSOLID)));
+ PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int(static_cast<int >(WXK_PRIOR)));
}
{
- PyDict_SetItemString(d,"DOT", SWIG_From_int((int)(wxDOT)));
+ PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int(static_cast<int >(WXK_NEXT)));
}
{
- PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH)));
+ PyDict_SetItemString(d,"WXK_END", SWIG_From_int(static_cast<int >(WXK_END)));
}
{
- PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH)));
+ PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int(static_cast<int >(WXK_HOME)));
}
{
- PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH)));
+ PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int(static_cast<int >(WXK_LEFT)));
}
{
- PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH)));
+ PyDict_SetItemString(d,"WXK_UP", SWIG_From_int(static_cast<int >(WXK_UP)));
}
{
- PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT)));
+ PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int(static_cast<int >(WXK_RIGHT)));
}
{
- PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE)));
+ PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int(static_cast<int >(WXK_DOWN)));
}
{
- PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH)));
+ PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int(static_cast<int >(WXK_SELECT)));
}
{
- PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH)));
+ PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int(static_cast<int >(WXK_PRINT)));
}
{
- PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH)));
+ PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int(static_cast<int >(WXK_EXECUTE)));
}
{
- PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH)));
+ PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int(static_cast<int >(WXK_SNAPSHOT)));
}
{
- PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH)));
+ PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int(static_cast<int >(WXK_INSERT)));
}
{
- PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH)));
+ PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int(static_cast<int >(WXK_HELP)));
}
{
- PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL)));
+ PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int(static_cast<int >(WXK_NUMPAD0)));
}
{
- PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER)));
+ PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int(static_cast<int >(WXK_NUMPAD1)));
}
{
- PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND)));
+ PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int(static_cast<int >(WXK_NUMPAD2)));
}
{
- PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND)));
+ PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int(static_cast<int >(WXK_NUMPAD3)));
}
{
- PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING)));
+ PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int(static_cast<int >(WXK_NUMPAD4)));
}
{
- PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int(static_cast<int >(WXK_NUMPAD5)));
}
{
- PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)(wxCLEAR)));
+ PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int(static_cast<int >(WXK_NUMPAD6)));
}
{
- PyDict_SetItemString(d,"XOR", SWIG_From_int((int)(wxXOR)));
+ PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int(static_cast<int >(WXK_NUMPAD7)));
}
{
- PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)(wxINVERT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int(static_cast<int >(WXK_NUMPAD8)));
}
{
- PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE)));
+ PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int(static_cast<int >(WXK_NUMPAD9)));
}
{
- PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE)));
+ PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int(static_cast<int >(WXK_MULTIPLY)));
}
{
- PyDict_SetItemString(d,"COPY", SWIG_From_int((int)(wxCOPY)));
+ PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int(static_cast<int >(WXK_ADD)));
}
{
- PyDict_SetItemString(d,"AND", SWIG_From_int((int)(wxAND)));
+ PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int(static_cast<int >(WXK_SEPARATOR)));
}
{
- PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT)));
+ PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int(static_cast<int >(WXK_SUBTRACT)));
}
{
- PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)(wxNO_OP)));
+ PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int(static_cast<int >(WXK_DECIMAL)));
}
{
- PyDict_SetItemString(d,"NOR", SWIG_From_int((int)(wxNOR)));
+ PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int(static_cast<int >(WXK_DIVIDE)));
}
{
- PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)(wxEQUIV)));
+ PyDict_SetItemString(d,"WXK_F1", SWIG_From_int(static_cast<int >(WXK_F1)));
}
{
- PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT)));
+ PyDict_SetItemString(d,"WXK_F2", SWIG_From_int(static_cast<int >(WXK_F2)));
}
{
- PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT)));
+ PyDict_SetItemString(d,"WXK_F3", SWIG_From_int(static_cast<int >(WXK_F3)));
}
{
- PyDict_SetItemString(d,"NAND", SWIG_From_int((int)(wxNAND)));
+ PyDict_SetItemString(d,"WXK_F4", SWIG_From_int(static_cast<int >(WXK_F4)));
}
{
- PyDict_SetItemString(d,"OR", SWIG_From_int((int)(wxOR)));
+ PyDict_SetItemString(d,"WXK_F5", SWIG_From_int(static_cast<int >(WXK_F5)));
}
{
- PyDict_SetItemString(d,"SET", SWIG_From_int((int)(wxSET)));
+ PyDict_SetItemString(d,"WXK_F6", SWIG_From_int(static_cast<int >(WXK_F6)));
}
{
- PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)(WXK_BACK)));
+ PyDict_SetItemString(d,"WXK_F7", SWIG_From_int(static_cast<int >(WXK_F7)));
}
{
- PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)(WXK_TAB)));
+ PyDict_SetItemString(d,"WXK_F8", SWIG_From_int(static_cast<int >(WXK_F8)));
}
{
- PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN)));
+ PyDict_SetItemString(d,"WXK_F9", SWIG_From_int(static_cast<int >(WXK_F9)));
}
{
- PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE)));
+ PyDict_SetItemString(d,"WXK_F10", SWIG_From_int(static_cast<int >(WXK_F10)));
}
{
- PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE)));
+ PyDict_SetItemString(d,"WXK_F11", SWIG_From_int(static_cast<int >(WXK_F11)));
}
{
- PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE)));
+ PyDict_SetItemString(d,"WXK_F12", SWIG_From_int(static_cast<int >(WXK_F12)));
}
{
- PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)(WXK_START)));
+ PyDict_SetItemString(d,"WXK_F13", SWIG_From_int(static_cast<int >(WXK_F13)));
}
{
- PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON)));
+ PyDict_SetItemString(d,"WXK_F14", SWIG_From_int(static_cast<int >(WXK_F14)));
}
{
- PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON)));
+ PyDict_SetItemString(d,"WXK_F15", SWIG_From_int(static_cast<int >(WXK_F15)));
}
{
- PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL)));
+ PyDict_SetItemString(d,"WXK_F16", SWIG_From_int(static_cast<int >(WXK_F16)));
}
{
- PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON)));
+ PyDict_SetItemString(d,"WXK_F17", SWIG_From_int(static_cast<int >(WXK_F17)));
}
{
- PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR)));
+ PyDict_SetItemString(d,"WXK_F18", SWIG_From_int(static_cast<int >(WXK_F18)));
}
{
- PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT)));
+ PyDict_SetItemString(d,"WXK_F19", SWIG_From_int(static_cast<int >(WXK_F19)));
}
{
- PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)(WXK_ALT)));
+ PyDict_SetItemString(d,"WXK_F20", SWIG_From_int(static_cast<int >(WXK_F20)));
}
{
- PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL)));
+ PyDict_SetItemString(d,"WXK_F21", SWIG_From_int(static_cast<int >(WXK_F21)));
}
{
- PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)(WXK_MENU)));
+ PyDict_SetItemString(d,"WXK_F22", SWIG_From_int(static_cast<int >(WXK_F22)));
}
{
- PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE)));
+ PyDict_SetItemString(d,"WXK_F23", SWIG_From_int(static_cast<int >(WXK_F23)));
}
{
- PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL)));
+ PyDict_SetItemString(d,"WXK_F24", SWIG_From_int(static_cast<int >(WXK_F24)));
}
{
- PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR)));
+ PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int(static_cast<int >(WXK_NUMLOCK)));
}
{
- PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT)));
+ PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int(static_cast<int >(WXK_SCROLL)));
}
{
- PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)(WXK_END)));
+ PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int(static_cast<int >(WXK_PAGEUP)));
}
{
- PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)(WXK_HOME)));
+ PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int(static_cast<int >(WXK_PAGEDOWN)));
}
{
- PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int(static_cast<int >(WXK_NUMPAD_SPACE)));
}
{
- PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)(WXK_UP)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int(static_cast<int >(WXK_NUMPAD_TAB)));
}
{
- PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int(static_cast<int >(WXK_NUMPAD_ENTER)));
}
{
- PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int(static_cast<int >(WXK_NUMPAD_F1)));
}
{
- PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int(static_cast<int >(WXK_NUMPAD_F2)));
}
{
- PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int(static_cast<int >(WXK_NUMPAD_F3)));
}
{
- PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int(static_cast<int >(WXK_NUMPAD_F4)));
}
{
- PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int(static_cast<int >(WXK_NUMPAD_HOME)));
}
{
- PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_LEFT)));
}
{
- PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)(WXK_HELP)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int(static_cast<int >(WXK_NUMPAD_UP)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_RIGHT)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int(static_cast<int >(WXK_NUMPAD_DOWN)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int(static_cast<int >(WXK_NUMPAD_PRIOR)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int(static_cast<int >(WXK_NUMPAD_PAGEUP)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_NEXT)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int(static_cast<int >(WXK_NUMPAD_PAGEDOWN)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int(static_cast<int >(WXK_NUMPAD_END)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int(static_cast<int >(WXK_NUMPAD_BEGIN)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_INSERT)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int(static_cast<int >(WXK_NUMPAD_DELETE)));
}
{
- PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int(static_cast<int >(WXK_NUMPAD_EQUAL)));
}
{
- PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)(WXK_ADD)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int(static_cast<int >(WXK_NUMPAD_MULTIPLY)));
}
{
- PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int(static_cast<int >(WXK_NUMPAD_ADD)));
}
{
- PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int(static_cast<int >(WXK_NUMPAD_SEPARATOR)));
}
{
- PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_SUBTRACT)));
}
{
- PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int(static_cast<int >(WXK_NUMPAD_DECIMAL)));
}
{
- PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)(WXK_F1)));
+ PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int(static_cast<int >(WXK_NUMPAD_DIVIDE)));
}
{
- PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)(WXK_F2)));
+ PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int(static_cast<int >(WXK_WINDOWS_LEFT)));
}
{
- PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)(WXK_F3)));
+ PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int(static_cast<int >(WXK_WINDOWS_RIGHT)));
}
{
- PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)(WXK_F4)));
+ PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int(static_cast<int >(WXK_WINDOWS_MENU)));
}
{
- PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)(WXK_F5)));
+ PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int(static_cast<int >(WXK_COMMAND)));
}
{
- PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)(WXK_F6)));
+ PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int(static_cast<int >(WXK_SPECIAL1)));
}
{
- PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)(WXK_F7)));
+ PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int(static_cast<int >(WXK_SPECIAL2)));
}
{
- PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)(WXK_F8)));
+ PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int(static_cast<int >(WXK_SPECIAL3)));
}
{
- PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)(WXK_F9)));
+ PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int(static_cast<int >(WXK_SPECIAL4)));
}
{
- PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)(WXK_F10)));
+ PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int(static_cast<int >(WXK_SPECIAL5)));
}
{
- PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)(WXK_F11)));
+ PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int(static_cast<int >(WXK_SPECIAL6)));
}
{
- PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)(WXK_F12)));
+ PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int(static_cast<int >(WXK_SPECIAL7)));
}
{
- PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)(WXK_F13)));
+ PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int(static_cast<int >(WXK_SPECIAL8)));
}
{
- PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)(WXK_F14)));
+ PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int(static_cast<int >(WXK_SPECIAL9)));
}
{
- PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)(WXK_F15)));
+ PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int(static_cast<int >(WXK_SPECIAL10)));
}
{
- PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)(WXK_F16)));
+ PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int(static_cast<int >(WXK_SPECIAL11)));
}
{
- PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)(WXK_F17)));
+ PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int(static_cast<int >(WXK_SPECIAL12)));
}
{
- PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)(WXK_F18)));
+ PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int(static_cast<int >(WXK_SPECIAL13)));
}
{
- PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)(WXK_F19)));
+ PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int(static_cast<int >(WXK_SPECIAL14)));
}
{
- PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)(WXK_F20)));
+ PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int(static_cast<int >(WXK_SPECIAL15)));
}
{
- PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)(WXK_F21)));
+ PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int(static_cast<int >(WXK_SPECIAL16)));
}
{
- PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)(WXK_F22)));
+ PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int(static_cast<int >(WXK_SPECIAL17)));
}
{
- PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)(WXK_F23)));
+ PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int(static_cast<int >(WXK_SPECIAL18)));
}
{
- PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)(WXK_F24)));
+ PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int(static_cast<int >(WXK_SPECIAL19)));
}
{
- PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK)));
+ PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int(static_cast<int >(WXK_SPECIAL20)));
}
{
- PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL)));
+ PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int(static_cast<int >(wxPAPER_NONE)));
}
{
- PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP)));
+ PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int(static_cast<int >(wxPAPER_LETTER)));
}
{
- PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN)));
+ PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int(static_cast<int >(wxPAPER_LEGAL)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE)));
+ PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int(static_cast<int >(wxPAPER_A4)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB)));
+ PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int(static_cast<int >(wxPAPER_CSHEET)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER)));
+ PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int(static_cast<int >(wxPAPER_DSHEET)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1)));
+ PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int(static_cast<int >(wxPAPER_ESHEET)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2)));
+ PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int(static_cast<int >(wxPAPER_LETTERSMALL)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3)));
+ PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int(static_cast<int >(wxPAPER_TABLOID)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4)));
+ PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int(static_cast<int >(wxPAPER_LEDGER)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME)));
+ PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int(static_cast<int >(wxPAPER_STATEMENT)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT)));
+ PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int(static_cast<int >(wxPAPER_EXECUTIVE)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP)));
+ PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int(static_cast<int >(wxPAPER_A3)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT)));
+ PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int(static_cast<int >(wxPAPER_A4SMALL)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN)));
+ PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int(static_cast<int >(wxPAPER_A5)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR)));
+ PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int(static_cast<int >(wxPAPER_B4)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP)));
+ PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int(static_cast<int >(wxPAPER_B5)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT)));
+ PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int(static_cast<int >(wxPAPER_FOLIO)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN)));
+ PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int(static_cast<int >(wxPAPER_QUARTO)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END)));
+ PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int(static_cast<int >(wxPAPER_10X14)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN)));
+ PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int(static_cast<int >(wxPAPER_11X17)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT)));
+ PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int(static_cast<int >(wxPAPER_NOTE)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE)));
+ PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int(static_cast<int >(wxPAPER_ENV_9)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL)));
+ PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int(static_cast<int >(wxPAPER_ENV_10)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY)));
+ PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int(static_cast<int >(wxPAPER_ENV_11)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD)));
+ PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int(static_cast<int >(wxPAPER_ENV_12)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR)));
+ PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int(static_cast<int >(wxPAPER_ENV_14)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT)));
+ PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int(static_cast<int >(wxPAPER_ENV_DL)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL)));
+ PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C5)));
}
{
- PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE)));
+ PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C3)));
}
{
- PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT)));
+ PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C4)));
}
{
- PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT)));
+ PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C6)));
}
{
- PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU)));
+ PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C65)));
}
{
- PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND)));
+ PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int(static_cast<int >(wxPAPER_ENV_B4)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1)));
+ PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int(static_cast<int >(wxPAPER_ENV_B5)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2)));
+ PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int(static_cast<int >(wxPAPER_ENV_B6)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3)));
+ PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int(static_cast<int >(wxPAPER_ENV_ITALY)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4)));
+ PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int(static_cast<int >(wxPAPER_ENV_MONARCH)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5)));
+ PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int(static_cast<int >(wxPAPER_ENV_PERSONAL)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6)));
+ PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int(static_cast<int >(wxPAPER_FANFOLD_US)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7)));
+ PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int(static_cast<int >(wxPAPER_FANFOLD_STD_GERMAN)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8)));
+ PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int(static_cast<int >(wxPAPER_FANFOLD_LGL_GERMAN)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9)));
+ PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int(static_cast<int >(wxPAPER_ISO_B4)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10)));
+ PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int(static_cast<int >(wxPAPER_JAPANESE_POSTCARD)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11)));
+ PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int(static_cast<int >(wxPAPER_9X11)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12)));
+ PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int(static_cast<int >(wxPAPER_10X11)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13)));
+ PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int(static_cast<int >(wxPAPER_15X11)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14)));
+ PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int(static_cast<int >(wxPAPER_ENV_INVITE)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15)));
+ PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_EXTRA)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16)));
+ PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_LEGAL_EXTRA)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17)));
+ PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_TABLOID_EXTRA)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18)));
+ PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_A4_EXTRA)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19)));
+ PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_TRANSVERSE)));
}
{
- PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20)));
+ PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_A4_TRANSVERSE)));
}
{
- PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE)));
+ PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_EXTRA_TRANSVERSE)));
}
{
- PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER)));
+ PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int(static_cast<int >(wxPAPER_A_PLUS)));
}
{
- PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL)));
+ PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int(static_cast<int >(wxPAPER_B_PLUS)));
}
{
- PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4)));
+ PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_PLUS)));
}
{
- PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET)));
+ PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int(static_cast<int >(wxPAPER_A4_PLUS)));
}
{
- PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET)));
+ PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_A5_TRANSVERSE)));
}
{
- PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET)));
+ PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_B5_TRANSVERSE)));
}
{
- PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL)));
+ PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_A3_EXTRA)));
}
{
- PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID)));
+ PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_A5_EXTRA)));
}
{
- PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER)));
+ PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_B5_EXTRA)));
}
{
- PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT)));
+ PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int(static_cast<int >(wxPAPER_A2)));
}
{
- PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE)));
+ PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_A3_TRANSVERSE)));
}
{
- PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3)));
+ PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_A3_EXTRA_TRANSVERSE)));
}
{
- PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL)));
+ PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int(static_cast<int >(wxPAPER_DBL_JAPANESE_POSTCARD)));
}
{
- PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5)));
+ PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int(static_cast<int >(wxPAPER_A6)));
}
{
- PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4)));
+ PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int(static_cast<int >(wxPAPER_JENV_KAKU2)));
}
{
- PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5)));
+ PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int(static_cast<int >(wxPAPER_JENV_KAKU3)));
}
{
- PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO)));
+ PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int(static_cast<int >(wxPAPER_JENV_CHOU3)));
}
{
- PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO)));
+ PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int(static_cast<int >(wxPAPER_JENV_CHOU4)));
}
{
- PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14)));
+ PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17)));
+ PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_A3_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE)));
+ PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_A4_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9)));
+ PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_A5_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10)));
+ PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_B4_JIS_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11)));
+ PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_B5_JIS_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12)));
+ PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JAPANESE_POSTCARD_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14)));
+ PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL)));
+ PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_A6_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5)));
+ PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_KAKU2_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3)));
+ PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_KAKU3_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4)));
+ PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_CHOU3_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6)));
+ PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_CHOU4_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65)));
+ PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int(static_cast<int >(wxPAPER_B6_JIS)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4)));
+ PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_B6_JIS_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5)));
+ PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int(static_cast<int >(wxPAPER_12X11)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6)));
+ PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int(static_cast<int >(wxPAPER_JENV_YOU4)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY)));
+ PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_YOU4_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH)));
+ PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int(static_cast<int >(wxPAPER_P16K)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL)));
+ PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int(static_cast<int >(wxPAPER_P32K)));
}
{
- PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US)));
+ PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int(static_cast<int >(wxPAPER_P32KBIG)));
}
{
- PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN)));
+ PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int(static_cast<int >(wxPAPER_PENV_1)));
}
{
- PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN)));
+ PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int(static_cast<int >(wxPAPER_PENV_2)));
}
{
- PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4)));
+ PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int(static_cast<int >(wxPAPER_PENV_3)));
}
{
- PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD)));
+ PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int(static_cast<int >(wxPAPER_PENV_4)));
}
{
- PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11)));
+ PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int(static_cast<int >(wxPAPER_PENV_5)));
}
{
- PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11)));
+ PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int(static_cast<int >(wxPAPER_PENV_6)));
}
{
- PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11)));
+ PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int(static_cast<int >(wxPAPER_PENV_7)));
}
{
- PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE)));
+ PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int(static_cast<int >(wxPAPER_PENV_8)));
}
{
- PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA)));
+ PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int(static_cast<int >(wxPAPER_PENV_9)));
}
{
- PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA)));
+ PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int(static_cast<int >(wxPAPER_PENV_10)));
}
{
- PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA)));
+ PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_P16K_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA)));
+ PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_P32K_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE)));
+ PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_P32KBIG_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE)));
+ PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_1_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE)));
+ PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_2_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS)));
+ PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_3_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS)));
+ PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_4_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS)));
+ PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_5_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS)));
+ PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_6_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE)));
+ PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_7_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE)));
+ PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_8_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA)));
+ PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_9_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA)));
+ PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_10_ROTATED)));
}
{
- PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA)));
+ PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int(static_cast<int >(wxDUPLEX_SIMPLEX)));
}
{
- PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2)));
+ PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int(static_cast<int >(wxDUPLEX_HORIZONTAL)));
}
{
- PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE)));
+ PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int(static_cast<int >(wxDUPLEX_VERTICAL)));
}
{
- PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE)));
+ PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int(static_cast<int >(wxITEM_SEPARATOR)));
}
{
- PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX)));
+ PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int(static_cast<int >(wxITEM_NORMAL)));
}
{
- PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL)));
+ PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int(static_cast<int >(wxITEM_CHECK)));
}
{
- PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL)));
+ PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int(static_cast<int >(wxITEM_RADIO)));
}
{
- PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR)));
+ PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int(static_cast<int >(wxITEM_MAX)));
}
{
- PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL)));
+ PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int(static_cast<int >(wxHT_NOWHERE)));
}
{
- PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_FIRST)));
}
{
- PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_ARROW_LINE_1)));
}
{
- PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_ARROW_LINE_2)));
}
{
- PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_ARROW_PAGE_1)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_ARROW_PAGE_2)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_THUMB)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_BAR_1)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_BAR_2)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2)));
+ PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_LAST)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB)));
+ PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int(static_cast<int >(wxHT_WINDOW_OUTSIDE)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1)));
+ PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int(static_cast<int >(wxHT_WINDOW_INSIDE)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2)));
+ PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int(static_cast<int >(wxHT_WINDOW_VERT_SCROLLBAR)));
}
{
- PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST)));
+ PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int(static_cast<int >(wxHT_WINDOW_HORZ_SCROLLBAR)));
}
{
- PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE)));
+ PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int(static_cast<int >(wxHT_WINDOW_CORNER)));
}
{
- PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE)));
+ PyDict_SetItemString(d,"HT_MAX", SWIG_From_int(static_cast<int >(wxHT_MAX)));
}
{
- PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR)));
+ PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int(static_cast<int >(wxMOD_NONE)));
}
{
- PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR)));
+ PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int(static_cast<int >(wxMOD_ALT)));
}
{
- PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER)));
+ PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int(static_cast<int >(wxMOD_CONTROL)));
}
{
- PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)(wxHT_MAX)));
+ PyDict_SetItemString(d,"MOD_ALTGR", SWIG_From_int(static_cast<int >(wxMOD_ALTGR)));
}
{
- PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE)));
+ PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int(static_cast<int >(wxMOD_SHIFT)));
}
{
- PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT)));
+ PyDict_SetItemString(d,"MOD_META", SWIG_From_int(static_cast<int >(wxMOD_META)));
}
{
- PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL)));
+ PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int(static_cast<int >(wxMOD_WIN)));
}
{
- PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT)));
+ PyDict_SetItemString(d,"MOD_CMD", SWIG_From_int(static_cast<int >(wxMOD_CMD)));
}
{
- PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN)));
+ PyDict_SetItemString(d,"MOD_ALL", SWIG_From_int(static_cast<int >(wxMOD_ALL)));
}
{
- PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE)));
+ PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int(static_cast<int >(wxUPDATE_UI_NONE)));
}
{
- PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE)));
+ PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int(static_cast<int >(wxUPDATE_UI_RECURSE)));
}
{
- PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE)));
+ PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int(static_cast<int >(wxUPDATE_UI_FROMIDLE)));
}
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
{
- PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_INVALID)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_BMP)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_ICO)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_CUR)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_XBM)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_XBM_DATA)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_XPM)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_XPM_DATA)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_TIF)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_GIF)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_PNG)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_JPEG)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_PNM)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_PCX)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_PICT)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_ICON)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_ANI)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_IFF)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_MACCURSOR)));
}
{
- PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY)));
+ PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_ANY)));
}
{
- PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE)));
+ PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int(static_cast<int >(wxCURSOR_NONE)));
}
{
- PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW)));
+ PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int(static_cast<int >(wxCURSOR_ARROW)));
}
{
- PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW)));
+ PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int(static_cast<int >(wxCURSOR_RIGHT_ARROW)));
}
{
- PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE)));
+ PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int(static_cast<int >(wxCURSOR_BULLSEYE)));
}
{
- PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR)));
+ PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int(static_cast<int >(wxCURSOR_CHAR)));
}
{
- PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS)));
+ PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int(static_cast<int >(wxCURSOR_CROSS)));
}
{
- PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND)));
+ PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int(static_cast<int >(wxCURSOR_HAND)));
}
{
- PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM)));
+ PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int(static_cast<int >(wxCURSOR_IBEAM)));
}
{
- PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON)));
+ PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int(static_cast<int >(wxCURSOR_LEFT_BUTTON)));
}
{
- PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER)));
+ PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int(static_cast<int >(wxCURSOR_MAGNIFIER)));
}
{
- PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON)));
+ PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int(static_cast<int >(wxCURSOR_MIDDLE_BUTTON)));
}
{
- PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY)));
+ PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int(static_cast<int >(wxCURSOR_NO_ENTRY)));
}
{
- PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH)));
+ PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int(static_cast<int >(wxCURSOR_PAINT_BRUSH)));
}
{
- PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL)));
+ PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int(static_cast<int >(wxCURSOR_PENCIL)));
}
{
- PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT)));
+ PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int(static_cast<int >(wxCURSOR_POINT_LEFT)));
}
{
- PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT)));
+ PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int(static_cast<int >(wxCURSOR_POINT_RIGHT)));
}
{
- PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW)));
+ PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int(static_cast<int >(wxCURSOR_QUESTION_ARROW)));
}
{
- PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON)));
+ PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int(static_cast<int >(wxCURSOR_RIGHT_BUTTON)));
}
{
- PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW)));
+ PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int(static_cast<int >(wxCURSOR_SIZENESW)));
}
{
- PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS)));
+ PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int(static_cast<int >(wxCURSOR_SIZENS)));
}
{
- PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE)));
+ PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int(static_cast<int >(wxCURSOR_SIZENWSE)));
}
{
- PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE)));
+ PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int(static_cast<int >(wxCURSOR_SIZEWE)));
}
{
- PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING)));
+ PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int(static_cast<int >(wxCURSOR_SIZING)));
}
{
- PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN)));
+ PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int(static_cast<int >(wxCURSOR_SPRAYCAN)));
}
{
- PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT)));
+ PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int(static_cast<int >(wxCURSOR_WAIT)));
}
{
- PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH)));
+ PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int(static_cast<int >(wxCURSOR_WATCH)));
}
{
- PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK)));
+ PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int(static_cast<int >(wxCURSOR_BLANK)));
}
{
- PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT)));
+ PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int(static_cast<int >(wxCURSOR_DEFAULT)));
}
{
- PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW)));
+ PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int(static_cast<int >(wxCURSOR_COPY_ARROW)));
}
{
- PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT)));
+ PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int(static_cast<int >(wxCURSOR_ARROWWAIT)));
}
{
- PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX)));
+ PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int(static_cast<int >(wxCURSOR_MAX)));
}
SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
{
- PyDict_SetItemString(d,"FromStart", SWIG_From_int((int)(wxFromStart)));
+ PyDict_SetItemString(d,"FromStart", SWIG_From_int(static_cast<int >(wxFromStart)));
}
{
- PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)(wxFromCurrent)));
+ PyDict_SetItemString(d,"FromCurrent", SWIG_From_int(static_cast<int >(wxFromCurrent)));
}
{
- PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)(wxFromEnd)));
+ PyDict_SetItemString(d,"FromEnd", SWIG_From_int(static_cast<int >(wxFromEnd)));
}
wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
{
- PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT)));
+ PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int(static_cast<int >(wxIMAGE_ALPHA_TRANSPARENT)));
}
{
- PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD)));
+ PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int(static_cast<int >(wxIMAGE_ALPHA_THRESHOLD)));
}
{
- PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE)));
+ PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int(static_cast<int >(wxIMAGE_ALPHA_OPAQUE)));
}
SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get, _wrap_IMAGE_OPTION_FILENAME_set);
SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set);
{
- PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES)));
+ PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int(static_cast<int >(wxIMAGE_RESOLUTION_INCHES)));
}
{
- PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM)));
+ PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int(static_cast<int >(wxIMAGE_RESOLUTION_CM)));
}
SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set);
SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set);
SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get, _wrap_IMAGE_OPTION_PNG_FORMAT_set);
SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set);
{
- PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR)));
+ PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int(static_cast<int >(wxPNG_TYPE_COLOUR)));
}
{
- PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY)));
+ PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int(static_cast<int >(wxPNG_TYPE_GREY)));
}
{
- PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED)));
+ PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int(static_cast<int >(wxPNG_TYPE_GREY_RED)));
}
{
- PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP)));
+ PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int(static_cast<int >(wxBMP_24BPP)));
}
{
- PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP)));
+ PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int(static_cast<int >(wxBMP_8BPP)));
}
{
- PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY)));
+ PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int(static_cast<int >(wxBMP_8BPP_GREY)));
}
{
- PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY)));
+ PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int(static_cast<int >(wxBMP_8BPP_GRAY)));
}
{
- PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED)));
+ PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int(static_cast<int >(wxBMP_8BPP_RED)));
}
{
- PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE)));
+ PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int(static_cast<int >(wxBMP_8BPP_PALETTE)));
}
{
- PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP)));
+ PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int(static_cast<int >(wxBMP_4BPP)));
}
{
- PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP)));
+ PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int(static_cast<int >(wxBMP_1BPP)));
}
{
- PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW)));
+ PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int(static_cast<int >(wxBMP_1BPP_BW)));
}
{
- PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS)));
+ PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int(static_cast<int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS)));
}
{
- PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE)));
+ PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int(static_cast<int >(wxQUANTIZE_FILL_DESTINATION_IMAGE)));
}
{
- PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE)));
+ PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int(static_cast<int >(wxEVENT_PROPAGATE_NONE)));
}
{
- PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX)));
+ PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int(static_cast<int >(wxEVENT_PROPAGATE_MAX)));
}
PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
- PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
+ PyDict_SetItemString(d, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED));
PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
{
- PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY)));
+ PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_ANY)));
}
{
- PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE)));
+ PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_NONE)));
}
{
- PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT)));
+ PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_LEFT)));
}
{
- PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE)));
+ PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_MIDDLE)));
}
{
- PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT)));
+ PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_RIGHT)));
}
{
- PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL)));
+ PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int(static_cast<int >(wxUPDATE_UI_PROCESS_ALL)));
}
{
- PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED)));
+ PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int(static_cast<int >(wxUPDATE_UI_PROCESS_SPECIFIED)));
}
{
- PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward)));
+ PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int(static_cast<int >(wxNavigationKeyEvent::IsBackward)));
}
{
- PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward)));
+ PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int(static_cast<int >(wxNavigationKeyEvent::IsForward)));
}
{
- PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange)));
+ PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int(static_cast<int >(wxNavigationKeyEvent::WinChange)));
}
{
- PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab)));
+ PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int(static_cast<int >(wxNavigationKeyEvent::FromTab)));
}
{
- PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL)));
+ PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int(static_cast<int >(wxIDLE_PROCESS_ALL)));
}
{
- PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED)));
+ PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int(static_cast<int >(wxIDLE_PROCESS_SPECIFIED)));
}
PyDict_SetItemString(d, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED));
{
- PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS)));
+ PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int(static_cast<int >(wxPYAPP_ASSERT_SUPPRESS)));
}
{
- PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION)));
+ PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int(static_cast<int >(wxPYAPP_ASSERT_EXCEPTION)));
}
{
- PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG)));
+ PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int(static_cast<int >(wxPYAPP_ASSERT_DIALOG)));
}
{
- PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG)));
+ PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int(static_cast<int >(wxPYAPP_ASSERT_LOG)));
}
{
- PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS)));
+ PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int(static_cast<int >(wxPRINT_WINDOWS)));
}
{
- PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT)));
+ PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int(static_cast<int >(wxPRINT_POSTSCRIPT)));
}
SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
{
- PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL)));
+ PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_NORMAL)));
}
{
- PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL)));
+ PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_SMALL)));
}
{
- PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI)));
+ PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_MINI)));
}
{
- PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE)));
+ PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_LARGE)));
}
{
- PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX)));
+ PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_MAX)));
}
SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
{
- PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE)));
+ PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int(static_cast<int >(wxFLEX_GROWMODE_NONE)));
}
{
- PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED)));
+ PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int(static_cast<int >(wxFLEX_GROWMODE_SPECIFIED)));
}
{
- PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL)));
+ PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int(static_cast<int >(wxFLEX_GROWMODE_ALL)));
}
SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
{
- PyDict_SetItemString(d,"Left", SWIG_From_int((int)(wxLeft)));
+ PyDict_SetItemString(d,"Left", SWIG_From_int(static_cast<int >(wxLeft)));
}
{
- PyDict_SetItemString(d,"Top", SWIG_From_int((int)(wxTop)));
+ PyDict_SetItemString(d,"Top", SWIG_From_int(static_cast<int >(wxTop)));
}
{
- PyDict_SetItemString(d,"Right", SWIG_From_int((int)(wxRight)));
+ PyDict_SetItemString(d,"Right", SWIG_From_int(static_cast<int >(wxRight)));
}
{
- PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)(wxBottom)));
+ PyDict_SetItemString(d,"Bottom", SWIG_From_int(static_cast<int >(wxBottom)));
}
{
- PyDict_SetItemString(d,"Width", SWIG_From_int((int)(wxWidth)));
+ PyDict_SetItemString(d,"Width", SWIG_From_int(static_cast<int >(wxWidth)));
}
{
- PyDict_SetItemString(d,"Height", SWIG_From_int((int)(wxHeight)));
+ PyDict_SetItemString(d,"Height", SWIG_From_int(static_cast<int >(wxHeight)));
}
{
- PyDict_SetItemString(d,"Centre", SWIG_From_int((int)(wxCentre)));
+ PyDict_SetItemString(d,"Centre", SWIG_From_int(static_cast<int >(wxCentre)));
}
{
- PyDict_SetItemString(d,"Center", SWIG_From_int((int)(wxCenter)));
+ PyDict_SetItemString(d,"Center", SWIG_From_int(static_cast<int >(wxCenter)));
}
{
- PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)(wxCentreX)));
+ PyDict_SetItemString(d,"CentreX", SWIG_From_int(static_cast<int >(wxCentreX)));
}
{
- PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)(wxCentreY)));
+ PyDict_SetItemString(d,"CentreY", SWIG_From_int(static_cast<int >(wxCentreY)));
}
{
- PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)(wxUnconstrained)));
+ PyDict_SetItemString(d,"Unconstrained", SWIG_From_int(static_cast<int >(wxUnconstrained)));
}
{
- PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)(wxAsIs)));
+ PyDict_SetItemString(d,"AsIs", SWIG_From_int(static_cast<int >(wxAsIs)));
}
{
- PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)(wxPercentOf)));
+ PyDict_SetItemString(d,"PercentOf", SWIG_From_int(static_cast<int >(wxPercentOf)));
}
{
- PyDict_SetItemString(d,"Above", SWIG_From_int((int)(wxAbove)));
+ PyDict_SetItemString(d,"Above", SWIG_From_int(static_cast<int >(wxAbove)));
}
{
- PyDict_SetItemString(d,"Below", SWIG_From_int((int)(wxBelow)));
+ PyDict_SetItemString(d,"Below", SWIG_From_int(static_cast<int >(wxBelow)));
}
{
- PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)(wxLeftOf)));
+ PyDict_SetItemString(d,"LeftOf", SWIG_From_int(static_cast<int >(wxLeftOf)));
}
{
- PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)(wxRightOf)));
+ PyDict_SetItemString(d,"RightOf", SWIG_From_int(static_cast<int >(wxRightOf)));
}
{
- PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)(wxSameAs)));
+ PyDict_SetItemString(d,"SameAs", SWIG_From_int(static_cast<int >(wxSameAs)));
}
{
- PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)(wxAbsolute)));
+ PyDict_SetItemString(d,"Absolute", SWIG_From_int(static_cast<int >(wxAbsolute)));
}
// Initialize threading, some globals and such