/* ----------------------------------------------------------------------------
* 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)
-#else
-#define SWIG_TYPE_TABLE_NAME
-#endif
-
-#include <string.h>
-
-#ifndef SWIGINLINE
-#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
+# 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 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_wxLogChain swig_types[0]
-#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
-#define SWIGTYPE_p_wxMetafile swig_types[2]
-#define SWIGTYPE_p_wxFileHistory swig_types[3]
-#define SWIGTYPE_p_wxLog swig_types[4]
-#define SWIGTYPE_p_wxMenu swig_types[5]
-#define SWIGTYPE_p_wxEvent swig_types[6]
-#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
-#define SWIGTYPE_p_wxConfigBase swig_types[8]
-#define SWIGTYPE_p_wxDisplay swig_types[9]
-#define SWIGTYPE_p_wxFileType swig_types[10]
-#define SWIGTYPE_p_wxLogGui swig_types[11]
-#define SWIGTYPE_p_wxFont swig_types[12]
-#define SWIGTYPE_p_wxDataFormat swig_types[13]
-#define SWIGTYPE_p_wxTimerEvent swig_types[14]
-#define SWIGTYPE_p_wxCaret swig_types[15]
-#define SWIGTYPE_ptrdiff_t swig_types[16]
-#define SWIGTYPE_std__ptrdiff_t swig_types[17]
-#define SWIGTYPE_p_int swig_types[18]
-#define SWIGTYPE_p_wxSize swig_types[19]
-#define SWIGTYPE_p_wxClipboard swig_types[20]
-#define SWIGTYPE_p_wxStopWatch swig_types[21]
-#define SWIGTYPE_p_wxDC swig_types[22]
-#define SWIGTYPE_p_wxClipboardLocker swig_types[23]
-#define SWIGTYPE_p_wxIcon swig_types[24]
-#define SWIGTYPE_p_wxLogStderr swig_types[25]
-#define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
-#define SWIGTYPE_p_wxTextCtrl swig_types[27]
-#define SWIGTYPE_p_wxBusyCursor swig_types[28]
-#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
-#define SWIGTYPE_p_wxTextDataObject swig_types[30]
-#define SWIGTYPE_p_wxDataObject swig_types[31]
-#define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
-#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
-#define SWIGTYPE_p_wxFileDataObject swig_types[34]
-#define SWIGTYPE_p_wxCustomDataObject swig_types[35]
-#define SWIGTYPE_p_wxURLDataObject swig_types[36]
-#define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
-#define SWIGTYPE_p_wxSound swig_types[38]
-#define SWIGTYPE_p_wxTimerRunner swig_types[39]
-#define SWIGTYPE_p_wxLogWindow swig_types[40]
-#define SWIGTYPE_p_wxTimeSpan swig_types[41]
-#define SWIGTYPE_p_wxArrayString swig_types[42]
-#define SWIGTYPE_p_wxWindowDisabler swig_types[43]
-#define SWIGTYPE_p_form_ops_t swig_types[44]
-#define SWIGTYPE_p_wxToolTip swig_types[45]
-#define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
-#define SWIGTYPE_p_wxSystemSettings swig_types[47]
-#define SWIGTYPE_p_wxFileConfig swig_types[48]
-#define SWIGTYPE_p_wxVideoMode swig_types[49]
-#define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
-#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
-#define SWIGTYPE_p_wxDuplexMode swig_types[52]
-#define SWIGTYPE_p_wxEvtHandler swig_types[53]
-#define SWIGTYPE_p_wxRect swig_types[54]
-#define SWIGTYPE_p_char swig_types[55]
-#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
-#define SWIGTYPE_p_wxStandardPaths swig_types[57]
-#define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
-#define SWIGTYPE_p_wxFrame swig_types[59]
-#define SWIGTYPE_p_wxTimer swig_types[60]
-#define SWIGTYPE_p_wxPaperSize swig_types[61]
-#define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
-#define SWIGTYPE_p_wxPyArtProvider swig_types[63]
-#define SWIGTYPE_p_wxPyTipProvider swig_types[64]
-#define SWIGTYPE_p_wxTipProvider swig_types[65]
-#define SWIGTYPE_p_wxJoystick swig_types[66]
-#define SWIGTYPE_p_wxSystemOptions swig_types[67]
-#define SWIGTYPE_p_wxPoint swig_types[68]
-#define SWIGTYPE_p_wxJoystickEvent swig_types[69]
-#define SWIGTYPE_p_wxCursor swig_types[70]
-#define SWIGTYPE_p_wxObject swig_types[71]
-#define SWIGTYPE_p_wxOutputStream swig_types[72]
-#define SWIGTYPE_p_wxDateTime swig_types[73]
-#define SWIGTYPE_p_wxPyDropSource swig_types[74]
-#define SWIGTYPE_p_unsigned_long swig_types[75]
-#define SWIGTYPE_p_wxKillError swig_types[76]
-#define SWIGTYPE_p_wxWindow swig_types[77]
-#define SWIGTYPE_p_wxString swig_types[78]
-#define SWIGTYPE_p_wxPyProcess swig_types[79]
-#define SWIGTYPE_p_wxBitmap swig_types[80]
-#define SWIGTYPE_p_wxConfig swig_types[81]
-#define SWIGTYPE_unsigned_int swig_types[82]
-#define SWIGTYPE_p_unsigned_int swig_types[83]
-#define SWIGTYPE_p_unsigned_char swig_types[84]
-#define SWIGTYPE_p_wxChar swig_types[85]
-#define SWIGTYPE_p_wxBusyInfo swig_types[86]
-#define SWIGTYPE_p_wxPyDropTarget swig_types[87]
-#define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
-#define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
-#define SWIGTYPE_p_wxProcessEvent swig_types[90]
-#define SWIGTYPE_p_wxPyLog swig_types[91]
-#define SWIGTYPE_p_wxLogNull swig_types[92]
-#define SWIGTYPE_p_wxColour swig_types[93]
-#define SWIGTYPE_p_wxPyTimer swig_types[94]
-#define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
-#define SWIGTYPE_p_wxDateSpan swig_types[96]
-static swig_type_info *swig_types[98];
+#define SWIGTYPE_p_char swig_types[0]
+#define SWIGTYPE_p_form_ops_t swig_types[1]
+#define SWIGTYPE_p_int swig_types[2]
+#define SWIGTYPE_p_unsigned_char swig_types[3]
+#define SWIGTYPE_p_unsigned_int swig_types[4]
+#define SWIGTYPE_p_unsigned_long swig_types[5]
+#define SWIGTYPE_p_void swig_types[6]
+#define SWIGTYPE_p_wxANIHandler swig_types[7]
+#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
+#define SWIGTYPE_p_wxActivateEvent swig_types[9]
+#define SWIGTYPE_p_wxArrayString swig_types[10]
+#define SWIGTYPE_p_wxBMPHandler swig_types[11]
+#define SWIGTYPE_p_wxBitmap swig_types[12]
+#define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
+#define SWIGTYPE_p_wxBoxSizer swig_types[14]
+#define SWIGTYPE_p_wxBusyCursor swig_types[15]
+#define SWIGTYPE_p_wxBusyInfo swig_types[16]
+#define SWIGTYPE_p_wxCURHandler swig_types[17]
+#define SWIGTYPE_p_wxCaret swig_types[18]
+#define SWIGTYPE_p_wxChar swig_types[19]
+#define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
+#define SWIGTYPE_p_wxClipboard swig_types[21]
+#define SWIGTYPE_p_wxClipboardLocker swig_types[22]
+#define SWIGTYPE_p_wxCloseEvent swig_types[23]
+#define SWIGTYPE_p_wxColour swig_types[24]
+#define SWIGTYPE_p_wxCommandEvent swig_types[25]
+#define SWIGTYPE_p_wxConfig swig_types[26]
+#define SWIGTYPE_p_wxConfigBase swig_types[27]
+#define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
+#define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
+#define SWIGTYPE_p_wxControl swig_types[30]
+#define SWIGTYPE_p_wxControlWithItems swig_types[31]
+#define SWIGTYPE_p_wxCursor swig_types[32]
+#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
+#define SWIGTYPE_p_wxDC swig_types[34]
+#define SWIGTYPE_p_wxDataFormat swig_types[35]
+#define SWIGTYPE_p_wxDataObject swig_types[36]
+#define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
+#define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
+#define SWIGTYPE_p_wxDateEvent swig_types[39]
+#define SWIGTYPE_p_wxDateSpan swig_types[40]
+#define SWIGTYPE_p_wxDateTime swig_types[41]
+#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
+#define SWIGTYPE_p_wxDisplay swig_types[43]
+#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
+#define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
+#define SWIGTYPE_p_wxDuplexMode swig_types[46]
+#define SWIGTYPE_p_wxEraseEvent swig_types[47]
+#define SWIGTYPE_p_wxEvent swig_types[48]
+#define SWIGTYPE_p_wxEvtHandler swig_types[49]
+#define SWIGTYPE_p_wxFSFile swig_types[50]
+#define SWIGTYPE_p_wxFileConfig swig_types[51]
+#define SWIGTYPE_p_wxFileDataObject swig_types[52]
+#define SWIGTYPE_p_wxFileHistory swig_types[53]
+#define SWIGTYPE_p_wxFileSystem swig_types[54]
+#define SWIGTYPE_p_wxFileType swig_types[55]
+#define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
+#define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
+#define SWIGTYPE_p_wxFocusEvent swig_types[58]
+#define SWIGTYPE_p_wxFont swig_types[59]
+#define SWIGTYPE_p_wxFrame swig_types[60]
+#define SWIGTYPE_p_wxGBSizerItem swig_types[61]
+#define SWIGTYPE_p_wxGIFHandler swig_types[62]
+#define SWIGTYPE_p_wxGridBagSizer swig_types[63]
+#define SWIGTYPE_p_wxGridSizer swig_types[64]
+#define SWIGTYPE_p_wxICOHandler swig_types[65]
+#define SWIGTYPE_p_wxIcon swig_types[66]
+#define SWIGTYPE_p_wxIconizeEvent swig_types[67]
+#define SWIGTYPE_p_wxIdleEvent swig_types[68]
+#define SWIGTYPE_p_wxImage swig_types[69]
+#define SWIGTYPE_p_wxImageHandler swig_types[70]
+#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
+#define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
+#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
+#define SWIGTYPE_p_wxJoystick swig_types[74]
+#define SWIGTYPE_p_wxJoystickEvent swig_types[75]
+#define SWIGTYPE_p_wxKeyEvent swig_types[76]
+#define SWIGTYPE_p_wxKillError swig_types[77]
+#define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
+#define SWIGTYPE_p_wxLog swig_types[79]
+#define SWIGTYPE_p_wxLogBuffer swig_types[80]
+#define SWIGTYPE_p_wxLogChain swig_types[81]
+#define SWIGTYPE_p_wxLogGui swig_types[82]
+#define SWIGTYPE_p_wxLogNull swig_types[83]
+#define SWIGTYPE_p_wxLogStderr swig_types[84]
+#define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
+#define SWIGTYPE_p_wxLogWindow swig_types[86]
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
+#define SWIGTYPE_p_wxMemorySize swig_types[88]
+#define SWIGTYPE_p_wxMenu swig_types[89]
+#define SWIGTYPE_p_wxMenuBar swig_types[90]
+#define SWIGTYPE_p_wxMenuEvent swig_types[91]
+#define SWIGTYPE_p_wxMenuItem swig_types[92]
+#define SWIGTYPE_p_wxMetafile swig_types[93]
+#define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
+#define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
+#define SWIGTYPE_p_wxMouseEvent swig_types[97]
+#define SWIGTYPE_p_wxMouseState swig_types[98]
+#define SWIGTYPE_p_wxMoveEvent swig_types[99]
+#define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[103]
+#define SWIGTYPE_p_wxObject swig_types[104]
+#define SWIGTYPE_p_wxOutputStream swig_types[105]
+#define SWIGTYPE_p_wxPCXHandler swig_types[106]
+#define SWIGTYPE_p_wxPNGHandler swig_types[107]
+#define SWIGTYPE_p_wxPNMHandler swig_types[108]
+#define SWIGTYPE_p_wxPaintEvent swig_types[109]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
+#define SWIGTYPE_p_wxPaperSize swig_types[111]
+#define SWIGTYPE_p_wxPoint swig_types[112]
+#define SWIGTYPE_p_wxProcessEvent swig_types[113]
+#define SWIGTYPE_p_wxPyApp swig_types[114]
+#define SWIGTYPE_p_wxPyArtProvider swig_types[115]
+#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
+#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
+#define SWIGTYPE_p_wxPyDropSource swig_types[119]
+#define SWIGTYPE_p_wxPyDropTarget swig_types[120]
+#define SWIGTYPE_p_wxPyEvent swig_types[121]
+#define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
+#define SWIGTYPE_p_wxPyLog swig_types[124]
+#define SWIGTYPE_p_wxPyProcess swig_types[125]
+#define SWIGTYPE_p_wxPySizer swig_types[126]
+#define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
+#define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
+#define SWIGTYPE_p_wxPyTimer swig_types[129]
+#define SWIGTYPE_p_wxPyTipProvider swig_types[130]
+#define SWIGTYPE_p_wxPyValidator swig_types[131]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
+#define SWIGTYPE_p_wxRect swig_types[133]
+#define SWIGTYPE_p_wxScrollEvent swig_types[134]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
+#define SWIGTYPE_p_wxShowEvent swig_types[137]
+#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
+#define SWIGTYPE_p_wxSize swig_types[139]
+#define SWIGTYPE_p_wxSizeEvent swig_types[140]
+#define SWIGTYPE_p_wxSizer swig_types[141]
+#define SWIGTYPE_p_wxSizerItem swig_types[142]
+#define SWIGTYPE_p_wxSound swig_types[143]
+#define SWIGTYPE_p_wxStandardPaths swig_types[144]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
+#define SWIGTYPE_p_wxStopWatch swig_types[147]
+#define SWIGTYPE_p_wxString swig_types[148]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
+#define SWIGTYPE_p_wxSystemOptions swig_types[150]
+#define SWIGTYPE_p_wxSystemSettings swig_types[151]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
+#define SWIGTYPE_p_wxTextCtrl swig_types[153]
+#define SWIGTYPE_p_wxTextDataObject swig_types[154]
+#define SWIGTYPE_p_wxTimeSpan swig_types[155]
+#define SWIGTYPE_p_wxTimer swig_types[156]
+#define SWIGTYPE_p_wxTimerEvent swig_types[157]
+#define SWIGTYPE_p_wxTimerRunner swig_types[158]
+#define SWIGTYPE_p_wxTipProvider swig_types[159]
+#define SWIGTYPE_p_wxToolTip swig_types[160]
+#define SWIGTYPE_p_wxURLDataObject swig_types[161]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
+#define SWIGTYPE_p_wxValidator swig_types[163]
+#define SWIGTYPE_p_wxVideoMode swig_types[164]
+#define SWIGTYPE_p_wxWindow swig_types[165]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
+#define SWIGTYPE_p_wxWindowDisabler swig_types[168]
+#define SWIGTYPE_p_wxXPMHandler swig_types[169]
+#define SWIGTYPE_ptrdiff_t swig_types[170]
+#define SWIGTYPE_std__ptrdiff_t swig_types[171]
+#define SWIGTYPE_unsigned_int swig_types[172]
+static swig_type_info *swig_types[174];
+static swig_module_info swig_module = {swig_types, 173, 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) -------- */
- /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
+ /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_int PyInt_FromLong
/*@@*/
return 1;
}
else {
- SWIG_type_error("number", obj);
+ SWIG_Python_TypeError("number", obj);
}
return 0;
}
long v;
if (SWIG_AsVal_long(obj, &v)) {
if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
- if (val) *val = (int)(v);
+ if (val) *val = static_cast<int >(v);
return 1;
} else {
return 0;
return 0;
}
#else
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_AsVal_int(PyObject *obj, int *val)
{
return SWIG_AsVal_long(obj,(long*)val);
#endif
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_As_int(PyObject* obj)
{
int v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_int(PyObject* obj)
{
return SWIG_AsVal_int(obj, (int*)0);
static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
- /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
+ /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_long PyInt_FromLong
/*@@*/
-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);
}
-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 PyObject* t_output_helper(PyObject* target, PyObject* o) {
- PyObject* o2;
- PyObject* o3;
-
- if (!target) {
- target = o;
- } else if (target == Py_None) {
- Py_DECREF(Py_None);
- target = o;
- } else {
- if (!PyTuple_Check(target)) {
- o2 = target;
- target = PyTuple_New(1);
- PyTuple_SetItem(target, 0, o2);
- }
- o3 = PyTuple_New(1);
- PyTuple_SetItem(o3, 0, o);
-
- o2 = target;
- target = PySequence_Concat(o2, o3);
- Py_DECREF(o2);
- Py_DECREF(o3);
- }
- return target;
- }
+ static PyObject* t_output_helper(PyObject* result, PyObject* obj)
+ {
+ PyObject* o2;
+ PyObject* o3;
+ if (!result) {
+ result = obj;
+ } else if (result == Py_None) {
+ Py_DECREF(result);
+ result = obj;
+ } else {
+ if (!PyTuple_Check(result)) {
+ o2 = result;
+ result = PyTuple_New(1);
+ PyTuple_SET_ITEM(result, 0, o2);
+ }
+ o3 = PyTuple_New(1);
+ PyTuple_SetItem(o3, 0, obj);
+ o2 = result;
+ result = PySequence_Concat(o2, o3);
+ Py_DECREF(o2);
+ Py_DECREF(o3);
+ }
+ return result;
+ }
{
long v = 0;
if (SWIG_AsVal_long(obj, &v) && v < 0) {
- SWIG_type_error("unsigned number", obj);
+ SWIG_Python_TypeError("unsigned number", obj);
}
else if (val)
*val = (unsigned long)v;
}
-SWIGINTERNSHORT unsigned long
+SWIGINTERNINLINE unsigned long
SWIG_As_unsigned_SS_long(PyObject* obj)
{
unsigned long v;
}
-SWIGINTERNSHORT int
+SWIGINTERNINLINE int
SWIG_Check_unsigned_SS_long(PyObject* obj)
{
return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
}
-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));
}
+ void* wxGetXDisplay()
+ {
+#ifdef __WXGTK__
+ return wxGetDisplay();
+#else
+ return NULL;
+#endif
+ }
+
+
+ wxWindow* FindWindowAtPointer() {
+ wxPoint unused;
+ return wxFindWindowAtPointer(unused);
+ }
+
+
bool wxThread_IsMain() {
#ifdef WXP_WITH_THREAD
return wxThread::IsMain();
IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
-//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
+IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
}
-void wxPyTimer::Notify() {
- bool found;
- bool blocked = wxPyBeginBlockThreads();
- if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
- wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
- wxPyEndBlockThreads(blocked);
- if (! found)
- wxTimer::Notify();
-}
-void wxPyTimer::base_Notify() {
- wxTimer::Notify();
-}
-
-
-
SWIGINTERN PyObject *
SWIG_FromCharPtr(const char* cptr)
{
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) {
}
-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, 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 wxString Log_TimeStamp(){
+static wxString wxLog_TimeStamp(){
wxString msg;
wxLog::TimeStamp(&msg);
return msg;
}
static void wxLog_Destroy(wxLog *self){ delete self; }
-// Make somce wrappers that double any % signs so they are 'escaped'
+// Make some wrappers that double any % signs so they are 'escaped'
void wxPyLogFatalError(const wxString& msg)
{
wxString m(msg);
virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
bool found;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
PyObject* s = wx2PyString(szString);
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
virtual void DoLogString(const wxChar *szString, time_t t) {
bool found;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
PyObject* s = wx2PyString(szString);
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
wxLog::DoLogString(szString, t);
}
+ DEC_PYCALLBACK_VOID_(Flush);
PYPRIVATE;
};
+IMP_PYCALLBACK_VOID_(wxPyLog, wxLog, Flush);
class wxJoystick : public wxObject {
public:
wxJoystick(int joystick = wxJOYSTICK1) {
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError,
"wxJoystick is not available on this platform.");
wxPyEndBlockThreads(blocked);
{
public:
wxSound() {
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError,
"wxSound is not available on this platform.");
wxPyEndBlockThreads(blocked);
}
wxSound(const wxString&/*, bool*/) {
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError,
"wxSound is not available on this platform.");
wxPyEndBlockThreads(blocked);
}
wxSound(int, const wxByte*) {
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError,
"wxSound is not available on this platform.");
wxPyEndBlockThreads(blocked);
unsigned char* buffer; int size;
wxSound *sound = NULL;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (!PyArg_Parse(data, "t#", &buffer, &size))
goto done;
sound = new wxSound(size, buffer);
int size;
bool rv = false;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (!PyArg_Parse(data, "t#", &buffer, &size))
goto done;
rv = self->Create(size, buffer);
wxPyEndBlockThreads(blocked);
return rv;
#else
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError,
"Create from data is not available on this platform.");
wxPyEndBlockThreads(blocked);
iconIndex = loc.GetIndex();
// Make a tuple and put the values in it
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyObject* tuple = PyTuple_New(3);
PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
wxT("wxIcon"), true));
wxArrayString commands;
if (self->GetAllCommands(&verbs, &commands,
wxFileType::MessageParameters(filename, mimetype))) {
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyObject* tuple = PyTuple_New(2);
PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
else
RETURN_NONE();
}
-static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
+static wxString wxFileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
return wxFileType::ExpandCommand(command,
wxFileType::MessageParameters(filename, mimetype));
}
static const wxString wxPyART_CUT(wxART_CUT);
static const wxString wxPyART_PASTE(wxART_PASTE);
static const wxString wxPyART_DELETE(wxART_DELETE);
+ static const wxString wxPyART_NEW(wxART_NEW);
static const wxString wxPyART_UNDO(wxART_UNDO);
static const wxString wxPyART_REDO(wxART_REDO);
static const wxString wxPyART_QUIT(wxART_QUIT);
const wxArtClient& client,
const wxSize& size) {
wxBitmap rval = wxNullBitmap;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
PyObject* ro;
return 1;
}
else {
- SWIG_type_error("number", obj);
+ SWIG_Python_TypeError("number", obj);
}
return 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);
return rv;
}
- /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
+ /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_double PyFloat_FromDouble
/*@@*/
#define LOCAL_TZ wxDateTime::Local
-static PyObject *DateTime_GetAmPmStrings(){
+static PyObject *wxDateTime_GetAmPmStrings(){
wxString am;
wxString pm;
wxDateTime::GetAmPmStrings(&am, &pm);
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyObject* tup = PyTuple_New(2);
PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
}
#if UINT_MAX < LONG_MAX
-/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
+/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_unsigned_SS_int SWIG_From_long
/*@@*/
#else
-/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
+/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
/*@@*/
#endif
wxDataFormat* formats = new wxDataFormat[count];
self->GetAllFormats(formats, dir);
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyObject* list = PyList_New(count);
for (size_t i=0; i<count; i++) {
wxDataFormat* format = new wxDataFormat(formats[i]);
PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
- PyList_Append(list, obj);
- Py_DECREF(obj);
+ PyList_SET_ITEM(list, i, obj); // PyList_SET_ITEM steals a reference
}
wxPyEndBlockThreads(blocked);
delete [] formats;
static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
PyObject* rval = NULL;
size_t size = self->GetDataSize(format);
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (size) {
char* buf = new char[size];
if (self->GetDataHere(format, buf))
}
static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
bool rval;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (PyString_Check(data)) {
rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
}
static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
PyObject* rval = NULL;
size_t size = self->GetDataSize();
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (size) {
char* buf = new char[size];
if (self->GetDataHere(buf))
}
static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
bool rval;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (PyString_Check(data)) {
rval = self->SetData(PyString_Size(data), PyString_AsString(data));
}
// C++ version.
bool rval = false;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
PyObject* ro;
ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
// For this one we simply need to make a string from buf and len
// and send it to the Python method.
bool rval = false;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "SetData")) {
PyObject* data = PyString_FromStringAndSize((char*)buf, len);
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
wxBitmap wxPyBitmapDataObject::GetBitmap() const {
wxBitmap* rval = &wxNullBitmap;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
PyObject* ro;
wxBitmap* ptr;
}
void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
}
static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
bool rval;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (PyString_Check(data)) {
rval = self->SetData(PyString_Size(data), PyString_AsString(data));
}
}
static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
PyObject* obj;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
wxPyEndBlockThreads(blocked);
return obj;
bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
const wxArrayString& filenames) {
bool rval = false;
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
PyObject* list = wxArrayString2PyList_helper(filenames);
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
#include <wx/dynarray.h>
#include <wx/vidmode.h>
-WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
+ WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
#include "wx/arrimpl.cpp"
WX_DEFINE_OBJARRAY(wxArrayVideoModes);
const wxVideoMode wxDefaultVideoMode;
static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
PyObject* pyList = NULL;
wxArrayVideoModes arr = self->GetModes(mode);
- bool blocked = wxPyBeginBlockThreads();
+ wxPyBlock_t blocked = wxPyBeginBlockThreads();
pyList = PyList_New(0);
for (int i=0; i < arr.GetCount(); i++) {
wxVideoMode* m = new wxVideoMode(arr.Item(i));
#include <wx/stdpaths.h>
-static wxStandardPaths *StandardPaths_Get(){
+static wxStandardPaths *wxStandardPaths_Get(){
return (wxStandardPaths*) &wxStandardPaths::Get();
}
static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
extern "C" {
#endif
static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSystemColour arg1 ;
wxColour result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
{
- arg1 = (wxSystemColour)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxSystemColour >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxSystemSettings::GetColour((wxSystemColour )arg1);
+ result = wxSystemSettings::GetColour(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxColour * resultptr;
- resultptr = new wxColour((wxColour &)(result));
+ resultptr = new wxColour(static_cast<wxColour & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
}
return resultobj;
static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSystemFont arg1 ;
wxFont result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
{
- arg1 = (wxSystemFont)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxSystemFont >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxSystemSettings::GetFont((wxSystemFont )arg1);
+ result = wxSystemSettings::GetFont(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
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_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSystemMetric arg1 ;
wxWindow *arg2 = (wxWindow *) NULL ;
int result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
{
- arg1 = (wxSystemMetric)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxSystemMetric >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
if (obj1) {
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1,arg2);
+ result = (int)wxSystemSettings::GetMetric(arg1,arg2);
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_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSystemFeature arg1 ;
bool result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
{
- arg1 = (wxSystemFeature)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxSystemFeature >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
+ result = (bool)wxSystemSettings::HasFeature(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSystemScreenType result;
char *kwnames[] = {
NULL
static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSystemScreenType arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
{
- arg1 = (wxSystemScreenType)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxSystemScreenType >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
+ wxSystemSettings::SetScreenType(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSystemOptions *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
bool temp1 = false ;
static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
int arg2 ;
bool temp1 = false ;
temp1 = true;
}
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString result;
bool temp1 = false ;
static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
int result;
bool temp1 = false ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp1)
static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool result;
bool temp1 = false ;
}
-static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
-static int _wrap_FileSelectorPromptStr_set(PyObject *) {
- PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
- return 1;
-}
-
-
-static PyObject *_wrap_FileSelectorPromptStr_get(void) {
- PyObject *pyobj;
+static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxString *arg1 = 0 ;
+ bool result;
+ bool temp1 = false ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "name", NULL
+ };
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_IsFalse",kwnames,&obj0)) goto fail;
{
-#if wxUSE_UNICODE
- pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
-#else
- pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
-#endif
+ arg1 = wxString_in_helper(obj0);
+ if (arg1 == NULL) SWIG_fail;
+ temp1 = true;
}
- return pyobj;
-}
-
-
-static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
- PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)wxSystemOptions::IsFalse((wxString const &)*arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp1)
+ delete arg1;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp1)
+ delete arg1;
+ }
+ return NULL;
+}
+
+
+static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static int _wrap_FileSelectorPromptStr_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_FileSelectorPromptStr_get(void) {
+ PyObject *pyobj = NULL;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
return 1;
}
static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_DirSelectorPromptStr_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_NewId(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_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",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_GetCurrentId(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_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
bool result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",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;
}
{
static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxString *arg2 = 0 ;
bool result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
bool arg2 = (bool) true ;
wxString arg3 = (wxString) wxPyEmptyString ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",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;
}
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_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool arg1 = (bool) true ;
long result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (bool)(SWIG_As_bool(obj0));
+ arg1 = static_cast<bool >(SWIG_As_bool(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
-static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- int *arg1 = (int *) 0 ;
- int *arg2 = (int *) 0 ;
- int temp1 ;
- int res1 = 0 ;
- int temp2 ;
- int res2 = 0 ;
- char *kwnames[] = {
- NULL
- };
-
- arg1 = &temp1; res1 = SWIG_NEWOBJ;
- arg2 = &temp2; res2 = SWIG_NEWOBJ;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
- {
- if (!wxPyCheckForApp()) SWIG_fail;
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxGetMousePosition(arg1,arg2);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
- Py_INCREF(Py_None); resultobj = Py_None;
- resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
- SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
- resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
- SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
return resultobj;
fail:
return NULL;
static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
bool result;
static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int *arg1 = (int *) 0 ;
int *arg2 = (int *) 0 ;
int result;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- long result;
+ PyObject *resultobj = NULL;
+ wxMemorySize result;
char *kwnames[] = {
NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (long)wxGetFreeMemory();
+ result = wxGetFreeMemory();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ wxMemorySize * resultptr;
+ resultptr = new wxMemorySize(static_cast<wxMemorySize & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMemorySize, 1);
}
return resultobj;
fail:
static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxShutdownFlags arg1 ;
bool result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
{
- arg1 = (wxShutdownFlags)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxShutdownFlags >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)wxShutdown((wxShutdownFlags )arg1);
+ result = (bool)wxShutdown(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",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;
}
{
static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
unsigned long arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
{
- arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
unsigned long arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
{
- arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",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_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString result;
bool temp1 = false ;
static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxString result;
static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
unsigned long result;
char *kwnames[] = {
NULL
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_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxString const &arg2_defvalue = wxPyEmptyString ;
}
if (obj5) {
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(SWIG_As_int(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
}
if (obj7) {
{
- arg8 = (int)(SWIG_As_int(obj7));
+ arg8 = static_cast<int >(SWIG_As_int(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
if (obj8) {
{
- arg9 = (int)(SWIG_As_int(obj8));
+ arg9 = static_cast<int >(SWIG_As_int(obj8));
if (SWIG_arg_fail(9)) SWIG_fail;
}
}
static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxString const &arg2_defvalue = wxPyEmptyString ;
}
if (obj2) {
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
}
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 = (bool)(SWIG_As_bool(obj6));
+ arg7 = static_cast<bool >(SWIG_As_bool(obj6));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
int arg3 ;
}
if (obj4) {
{
- arg6 = (int)(SWIG_As_int(obj4));
+ arg6 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
if (obj5) {
{
- arg7 = (int)(SWIG_As_int(obj5));
+ arg7 = static_cast<int >(SWIG_As_int(obj5));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
if (obj6) {
{
- arg8 = (bool)(SWIG_As_bool(obj6));
+ arg8 = static_cast<bool >(SWIG_As_bool(obj6));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
if (obj7) {
{
- arg9 = (int)(SWIG_As_int(obj7));
+ arg9 = static_cast<int >(SWIG_As_int(obj7));
if (SWIG_arg_fail(9)) SWIG_fail;
}
}
if (obj8) {
{
- arg10 = (int)(SWIG_As_int(obj8));
+ arg10 = static_cast<int >(SWIG_As_int(obj8));
if (SWIG_arg_fail(10)) SWIG_fail;
}
}
static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
int arg3 ;
}
if (obj4) {
{
- arg6 = (int)(SWIG_As_int(obj4));
+ arg6 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
if (obj5) {
{
- arg7 = (int)(SWIG_As_int(obj5));
+ arg7 = static_cast<int >(SWIG_As_int(obj5));
if (SWIG_arg_fail(7)) SWIG_fail;
}
}
if (obj6) {
{
- arg8 = (bool)(SWIG_As_bool(obj6));
+ arg8 = static_cast<bool >(SWIG_As_bool(obj6));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
if (obj7) {
{
- arg9 = (int)(SWIG_As_int(obj7));
+ arg9 = static_cast<int >(SWIG_As_int(obj7));
if (SWIG_arg_fail(9)) SWIG_fail;
}
}
if (obj8) {
{
- arg10 = (int)(SWIG_As_int(obj8));
+ arg10 = static_cast<int >(SWIG_As_int(obj8));
if (SWIG_arg_fail(10)) 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_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (obj5) {
{
- arg6 = (int)(SWIG_As_int(obj5));
+ arg6 = static_cast<int >(SWIG_As_int(obj5));
if (SWIG_arg_fail(6)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
- }
- {
- if (temp1)
- delete arg1;
- }
- {
- if (temp2)
- delete arg2;
- }
- return resultobj;
- fail:
- {
- if (temp1)
- delete arg1;
- }
- {
- if (temp2)
- delete arg2;
- }
- return NULL;
-}
-
-
-static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxString *arg1 = 0 ;
- wxString *arg2 = 0 ;
- wxString *arg3 = 0 ;
- long arg4 ;
- long arg5 = (long) 0 ;
- long arg6 = (long) 100 ;
- wxWindow *arg7 = (wxWindow *) NULL ;
- wxPoint const &arg8_defvalue = wxDefaultPosition ;
- wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
- long result;
- bool temp1 = false ;
- bool temp2 = false ;
- bool temp3 = false ;
- wxPoint temp8 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- PyObject * obj5 = 0 ;
- PyObject * obj6 = 0 ;
- PyObject * obj7 = 0 ;
- char *kwnames[] = {
- (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
- {
- arg1 = wxString_in_helper(obj0);
- if (arg1 == NULL) SWIG_fail;
- temp1 = true;
- }
- {
- arg2 = wxString_in_helper(obj1);
- if (arg2 == NULL) SWIG_fail;
- temp2 = true;
- }
- {
- arg3 = wxString_in_helper(obj2);
- if (arg3 == NULL) SWIG_fail;
- temp3 = true;
- }
- {
- arg4 = (long)(SWIG_As_long(obj3));
- if (SWIG_arg_fail(4)) SWIG_fail;
- }
- if (obj4) {
- {
- arg5 = (long)(SWIG_As_long(obj4));
- if (SWIG_arg_fail(5)) SWIG_fail;
- }
- }
- if (obj5) {
- {
- arg6 = (long)(SWIG_As_long(obj5));
- if (SWIG_arg_fail(6)) SWIG_fail;
- }
- }
- if (obj6) {
- SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(7)) SWIG_fail;
- }
- if (obj7) {
- {
- arg8 = &temp8;
- if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
- }
- }
- {
- if (!wxPyCheckForApp()) SWIG_fail;
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp1)
if (temp2)
delete arg2;
}
- {
- if (temp3)
- delete arg3;
- }
return resultobj;
fail:
{
if (temp2)
delete arg2;
}
- {
- if (temp3)
- delete arg3;
- }
return NULL;
}
static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_DisplayDepth(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_GetDisplayDepth(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_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int *arg1 = (int *) 0 ;
int *arg2 = (int *) 0 ;
int temp1 ;
static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize result;
char *kwnames[] = {
NULL
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int *arg1 = (int *) 0 ;
int *arg2 = (int *) 0 ;
int temp1 ;
static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSize result;
char *kwnames[] = {
NULL
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
return resultobj;
static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int *arg1 = (int *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxRect result;
char *kwnames[] = {
NULL
}
{
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_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCursor *arg1 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
}
+static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ void *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetXDisplay",kwnames)) goto fail;
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (void *)wxGetXDisplay();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
}
+static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPoint result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = wxGetMousePosition();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxPoint * resultptr;
+ resultptr = new wxPoint(static_cast<wxPoint & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_FindWindowAtPointer(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxWindow *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FindWindowAtPointer",kwnames)) goto fail;
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxWindow *)FindWindowAtPointer();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *result;
char *kwnames[] = {
NULL
{
if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxWindow *)wxGetActiveWindow();
+ result = (wxWindow *)wxGetActiveWindow();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPoint *arg1 = 0 ;
+ wxWindow *result;
+ wxPoint temp1 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "pt", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
+ {
+ arg1 = &temp1;
+ if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPoint *arg1 = 0 ;
+ wxWindow *result;
+ wxPoint temp1 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "pt", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
+ {
+ arg1 = &temp1;
+ if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxWindow *arg1 = (wxWindow *) 0 ;
+ wxWindow *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "win", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxWindow *)wxGetTopLevelParent(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxString *arg1 = 0 ;
+ bool result;
+ bool temp1 = false ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "url", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail;
+ {
+ arg1 = wxString_in_helper(obj0);
+ if (arg1 == NULL) SWIG_fail;
+ temp1 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp1)
+ delete arg1;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp1)
+ delete arg1;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxKeyCode arg1 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "key", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
+ {
+ arg1 = static_cast<wxKeyCode >(SWIG_As_int(obj0));
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)wxGetKeyState(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_new_MouseState(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MouseState",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxMouseState *)new wxMouseState();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseState, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_delete_MouseState(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MouseState",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetX",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetX();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetY",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetY();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_LeftDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->LeftDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MiddleDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->MiddleDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_RightDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->RightDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ControlDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->ControlDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ShiftDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->ShiftDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_AltDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->AltDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MetaDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->MetaDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_CmdDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->CmdDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "x", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetX",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetX(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "y", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetY",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetY(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_SetLeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "down", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetLeftDown",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLeftDown(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_SetMiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "down", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMiddleDown",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMiddleDown(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_SetRightDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "down", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetRightDown",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetRightDown(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_MouseState_SetControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "down", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetControlDown",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetControlDown(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxObject(result, 0);
- }
+ Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPoint *arg1 = 0 ;
- wxWindow *result;
- wxPoint temp1 ;
+static PyObject *_wrap_MouseState_SetShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool arg2 ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "pt", NULL
+ (char *) "self",(char *) "down", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetShiftDown",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg1 = &temp1;
- if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
+ (arg1)->SetShiftDown(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxObject(result, 0);
- }
+ Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPoint *arg1 = 0 ;
- wxWindow *result;
- wxPoint temp1 ;
+static PyObject *_wrap_MouseState_SetAltDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool arg2 ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "pt", NULL
+ (char *) "self",(char *) "down", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetAltDown",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg1 = &temp1;
- if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
+ (arg1)->SetAltDown(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxObject(result, 0);
- }
+ Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxWindow *arg1 = (wxWindow *) 0 ;
- wxWindow *result;
+static PyObject *_wrap_MouseState_SetMetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState *arg1 = (wxMouseState *) 0 ;
+ bool arg2 ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "win", NULL
+ (char *) "self",(char *) "down", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMetaDown",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- if (!wxPyCheckForApp()) SWIG_fail;
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxWindow *)wxGetTopLevelParent(arg1);
+ (arg1)->SetMetaDown(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxObject(result, 0);
- }
+ Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxKeyCode arg1 ;
- bool result;
- PyObject * obj0 = 0 ;
+static PyObject * MouseState_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxMouseState, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_GetMouseState(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxMouseState result;
char *kwnames[] = {
- (char *) "key", NULL
+ NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
- {
- arg1 = (wxKeyCode)(SWIG_As_int(obj0));
- if (SWIG_arg_fail(1)) SWIG_fail;
- }
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMouseState",kwnames)) goto fail;
{
- if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)wxGetKeyState((wxKeyCode )arg1);
+ result = wxGetMouseState();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ wxMouseState * resultptr;
+ resultptr = new wxMouseState(static_cast<wxMouseState & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMouseState, 1);
}
return resultobj;
fail:
static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMutexGuiLocker *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxToolTip *result;
bool temp1 = false ;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxObject(result, 1);
- }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolTip, 1);
{
if (temp1)
delete arg1;
}
+static PyObject *_wrap_delete_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxToolTip *arg1 = (wxToolTip *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ToolTip",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolTip *arg1 = (wxToolTip *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolTip *arg1 = (wxToolTip *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxToolTip *arg1 = (wxToolTip *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",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_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",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;
}
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSize *arg2 = 0 ;
wxCaret *result;
}
+static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxCaret *arg1 = (wxCaret *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 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_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 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_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
wxWindow *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, 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_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
int arg2 ;
int arg3 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, 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_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
wxSize *arg2 = 0 ;
wxSize temp2 ;
static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
int arg2 = (int) true ;
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_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCaret *arg1 = (wxCaret *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Caret_GetBlinkTime(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_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",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;
}
{
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
wxBusyCursor *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) NULL ;
wxWindowDisabler *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxBusyInfo *result;
bool temp1 = false ;
static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStopWatch *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStopWatch *arg1 = (wxStopWatch *) 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_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStopWatch *arg1 = (wxStopWatch *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStopWatch *arg1 = (wxStopWatch *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStopWatch *arg1 = (wxStopWatch *) 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_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 9 ;
int arg2 = (int) wxID_FILE1 ;
wxFileHistory *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",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_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, 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_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 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_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
wxConfigBase *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
wxConfigBase *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
wxMenu *arg2 = (wxMenu *) 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
int arg2 ;
wxString result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, 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_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileHistory *arg1 = (wxFileHistory *) 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_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSingleInstanceChecker *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxDC *arg2 = 0 ;
bool result;
static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTipProvider *arg1 = (wxTipProvider *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTipProvider *arg1 = (wxTipProvider *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTipProvider *arg1 = (wxTipProvider *) 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_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTipProvider *arg1 = (wxTipProvider *) 0 ;
wxString *arg2 = 0 ;
wxString result;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
size_t arg1 ;
wxPyTipProvider *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
{
- arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxTipProvider *arg2 = (wxTipProvider *) 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_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
size_t arg2 ;
wxTipProvider *result;
temp1 = true;
}
{
- 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_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
int arg2 = (int) -1 ;
wxPyTimer *result;
}
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_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 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_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
wxEvtHandler *arg2 = (wxEvtHandler *) 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;
}
}
static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
wxEvtHandler *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
int arg2 = (int) -1 ;
bool arg3 = (bool) false ;
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_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
}
+static PyObject *_wrap_Timer_Notify(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyTimer *arg1 = (wxPyTimer *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Notify();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 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_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTimer *arg1 = (wxPyTimer *) 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_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
wxTimerEvent *result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",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_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimerEvent *arg1 = (wxTimerEvent *) 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_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimer *arg1 = 0 ;
wxTimerRunner *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimer *arg1 = 0 ;
int arg2 ;
bool arg3 = (bool) false ;
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
int arg2 ;
bool arg3 = (bool) false ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLog *result;
char *kwnames[] = {
NULL
}
+static PyObject *_wrap_delete_Log(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxLog *arg1 = (wxLog *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Log",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool arg1 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (bool)(SWIG_As_bool(obj0));
+ arg1 = static_cast<bool >(SWIG_As_bool(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogLevel arg1 ;
wxChar *arg2 = (wxChar *) 0 ;
time_t arg3 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
{
- arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<wxLogLevel >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(2)) SWIG_fail;
{
- arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2));
+ arg3 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLog *arg1 = (wxLog *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLog *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLog *arg1 = (wxLog *) 0 ;
wxLog *result;
PyObject * obj0 = 0 ;
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
return resultobj;
fail:
return NULL;
static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool arg1 = (bool) true ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (bool)(SWIG_As_bool(obj0));
+ arg1 = static_cast<bool >(SWIG_As_bool(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogLevel arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
{
- arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<wxLogLevel >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTraceMask arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
{
- arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<wxTraceMask >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxArrayString *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxChar *arg1 = (wxChar *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTraceMask result;
char *kwnames[] = {
NULL
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_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxChar *arg1 = (wxChar *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogLevel result;
char *kwnames[] = {
NULL
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_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxChar *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString result;
char *kwnames[] = {
NULL
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = Log_TimeStamp();
+ result = wxLog_TimeStamp();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLog *arg1 = (wxLog *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogStderr *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxLogTextCtrl *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogGui *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
bool arg3 = (bool) true ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
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_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogWindow *arg1 = (wxLogWindow *) 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_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogWindow *arg1 = (wxLogWindow *) 0 ;
wxFrame *result;
PyObject * obj0 = 0 ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result, 0);
+ resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogWindow *arg1 = (wxLogWindow *) 0 ;
wxLog *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogWindow *arg1 = (wxLogWindow *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogWindow *arg1 = (wxLogWindow *) 0 ;
bool arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, 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_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLog *arg1 = (wxLog *) 0 ;
wxLogChain *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogChain *arg1 = (wxLogChain *) 0 ;
wxLog *arg2 = (wxLog *) 0 ;
PyObject * obj0 = 0 ;
fail:
return NULL;
}
-
-
-static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxLogChain *arg1 = (wxLogChain *) 0 ;
- bool arg2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
+
+
+static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxLogChain *arg1 = (wxLogChain *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "bDoPass", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->PassMessages(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxLogChain *arg1 = (wxLogChain *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->IsPassingMessages();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxLogChain *arg1 = (wxLogChain *) 0 ;
+ wxLog *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxLog *)(arg1)->GetOldLog();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxLogBuffer *result;
char *kwnames[] = {
- (char *) "self",(char *) "bDoPass", NULL
+ NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
- if (SWIG_arg_fail(1)) SWIG_fail;
- {
- arg2 = (bool)(SWIG_As_bool(obj1));
- if (SWIG_arg_fail(2)) SWIG_fail;
- }
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->PassMessages(arg2);
+ result = (wxLogBuffer *)new wxLogBuffer();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- Py_INCREF(Py_None); resultobj = Py_None;
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1);
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxLogChain *arg1 = (wxLogChain *) 0 ;
- bool result;
+static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
+ wxString *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->IsPassingMessages();
+ {
+ wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer();
+ result = (wxString *) &_result_ref;
+ }
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
+#else
+ resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
+#endif
}
return resultobj;
fail:
}
-static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxLogChain *arg1 = (wxLogChain *) 0 ;
- wxLog *result;
+static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxLog *)(arg1)->GetOldLog();
+ (arg1)->Flush();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
+ Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
-static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
+static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
+ SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj);
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
unsigned long result;
char *kwnames[] = {
NULL
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_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
unsigned long arg1 = (unsigned long) 0 ;
wxString result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
unsigned long arg1 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
{
- arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
unsigned long arg1 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
{
- arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
bool temp1 = false ;
static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
bool temp1 = false ;
static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogNull *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLogNull *arg1 = (wxLogNull *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyLog *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyLog *arg1 = (wxPyLog *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxSignal arg2 = (wxSignal) wxSIGTERM ;
int arg3 = (int) wxKILL_NOCHILDREN ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",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;
}
if (obj1) {
{
- arg2 = (wxSignal)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxSignal >(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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3);
+ result = (wxKillError)wxPyProcess::Kill(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
bool result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",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;
}
{
static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
int arg2 = (int) wxEXEC_ASYNC ;
wxPyProcess *result;
}
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_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
int arg2 = (int) -1 ;
wxPyProcess *result;
}
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_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
}
-static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_Process_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "pid",(char *) "status", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->base_OnTerminate(arg2,arg3);
+ (arg1)->OnTerminate(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
wxInputStream *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
wxInputStream *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
wxOutputStream *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyProcess *arg1 = (wxPyProcess *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ProcessEvent(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_ProcessEvent",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_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxProcessEvent *arg1 = (wxProcessEvent *) 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_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxProcessEvent *arg1 = (wxProcessEvent *) 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_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, 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_pid = arg2;
static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_pid);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, 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_exitcode = arg2;
static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->m_exitcode);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
int arg2 = (int) wxEXEC_ASYNC ;
wxPyProcess *arg3 = (wxPyProcess *) NULL ;
}
if (obj1) {
{
- 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_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
{
if (temp1)
static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
wxSignal arg2 = (wxSignal) wxSIGTERM ;
wxKillError *arg3 = (wxKillError *) 0 ;
}
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) 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) {
{
- arg2 = (wxSignal)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxSignal >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg4 = (int)(SWIG_As_int(obj2));
+ arg4 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4);
+ result = (int)wxKill(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
PyObject* o;
o = PyInt_FromLong((long) (*arg3));
+
resultobj = t_output_helper(resultobj, o);
+
+
+
}
return resultobj;
fail:
static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) wxJOYSTICK1 ;
wxJoystick *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",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_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, 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_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 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_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystick *arg1 = (wxJoystick *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) 0 ;
int arg3 = (int) wxJOYSTICK1 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",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_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 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_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 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_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 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_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 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_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 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_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, 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_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, 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_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, 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_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
wxPoint *arg2 = 0 ;
wxPoint temp2 ;
static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, 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_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
int arg2 = (int) wxJOY_BUTTON_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_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
int arg2 = (int) wxJOY_BUTTON_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_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
int arg2 = (int) wxJOY_BUTTON_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;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxSound *result;
static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
PyObject *arg1 = (PyObject *) 0 ;
wxSound *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSound *arg1 = (wxSound *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSound *arg1 = (wxSound *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSound *arg1 = (wxSound *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool result;
static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSound *arg1 = (wxSound *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxSound *arg1 = (wxSound *) 0 ;
unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
bool result;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
+ arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
bool result;
}
if (obj1) {
{
- arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
+ arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxArrayString *arg1 = 0 ;
wxFileTypeInfo *result;
bool temp1 = false ;
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, 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;
- arg1->Add(Py2wxString(str));
+ arg1->Add(*s);
+ delete s;
Py_DECREF(item);
- Py_DECREF(str);
}
}
{
static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 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_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxArrayString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 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_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 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_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileTypeInfo *arg1 = 0 ;
wxFileType *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
wxIcon *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
}
if (obj3) {
{
- arg4 = (bool)(SWIG_As_bool(obj3));
+ arg4 = static_cast<bool >(SWIG_As_bool(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
}
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_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileType *arg1 = (wxFileType *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
+ result = wxFileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_TheMimeTypesManager_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
return pyobj;
static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
int arg2 = (int) wxMAILCAP_ALL ;
wxString const &arg3_defvalue = wxPyEmptyString ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxString *arg2 = 0 ;
wxFileType *result;
static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxString *arg2 = 0 ;
wxFileType *result;
static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 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_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxFileTypeInfo *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxFileTypeInfo *arg2 = 0 ;
wxFileType *result;
static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxFileType *arg2 = (wxFileType *) 0 ;
bool result;
static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ART_TOOLBAR_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_MENU_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FRAME_ICON_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_BUTTON_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_OTHER_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_HELP_BOOK_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_HELP_PAGE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_GO_BACK_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_GO_FORWARD_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_GO_UP_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_GO_DOWN_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_GO_HOME_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FILE_OPEN_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FILE_SAVE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_PRINT_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_HELP_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_TIP_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_LIST_VIEW_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_NEW_DIR_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_HARDDISK_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FLOPPY_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_CDROM_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_REMOVABLE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FOLDER_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_TICK_MARK_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_CROSS_MARK_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_ERROR_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_QUESTION_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_WARNING_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_INFORMATION_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_COPY_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_CUT_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_PASTE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_DELETE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
}
+static int _wrap_ART_NEW_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_ART_NEW_get(void) {
+ PyObject *pyobj = NULL;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
static int _wrap_ART_UNDO_set(PyObject *) {
PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
return 1;
static PyObject *_wrap_ART_UNDO_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_REDO_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_QUIT_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FIND_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyArtProvider *result;
char *kwnames[] = {
NULL
}
+static PyObject *_wrap_delete_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool result;
char *kwnames[] = {
NULL
static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString const &arg2_defvalue = wxPyART_OTHER ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
}
{
wxBitmap * resultptr;
- resultptr = new wxBitmap((wxBitmap &)(result));
+ resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
{
static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString const &arg2_defvalue = wxPyART_OTHER ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
}
{
wxIcon * resultptr;
- resultptr = new wxIcon((wxIcon &)(result));
+ resultptr = new wxIcon(static_cast<wxIcon & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
}
{
}
-static PyObject *_wrap_ArtProvider_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
bool arg2 = (bool) false ;
wxSize result;
(char *) "client",(char *) "platform_dependent", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSize",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) 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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxPyArtProvider::GetSize((wxString const &)*arg1,arg2);
+ result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxSize * resultptr;
- resultptr = new wxSize((wxSize &)(result));
+ resultptr = new wxSize(static_cast<wxSize & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
}
{
static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxConfigBase *result;
PyObject * obj0 = 0 ;
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
- SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
bool arg1 = (bool) true ;
wxConfigBase *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (bool)(SWIG_As_bool(obj0));
+ arg1 = static_cast<bool >(SWIG_As_bool(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
char *kwnames[] = {
NULL
};
static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
long arg2 ;
PyObject *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, 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_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
long arg2 ;
PyObject *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, 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_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
bool arg2 = (bool) false ;
size_t 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;
}
}
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_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
bool arg2 = (bool) false ;
size_t 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;
}
}
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_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxConfigBase::EntryType result;
static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
long arg3 = (long) 0 ;
}
if (obj2) {
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_long((long)(result));
+ resultobj = SWIG_From_long(static_cast<long >(result));
}
{
if (temp2)
static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
double arg3 = (double) 0.0 ;
}
if (obj2) {
{
- arg3 = (double)(SWIG_As_double(obj2));
+ arg3 = static_cast<double >(SWIG_As_double(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ resultobj = SWIG_From_double(static_cast<double >(result));
}
{
if (temp2)
static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 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_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
long arg3 ;
temp2 = true;
}
{
- arg3 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
double arg3 ;
temp2 = true;
}
{
- arg3 = (double)(SWIG_As_double(obj2));
+ arg3 = static_cast<double >(SWIG_As_double(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool arg3 ;
temp2 = true;
}
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
{
static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 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_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool arg3 = (bool) true ;
}
if (obj2) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 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_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 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_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxString result;
static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
long arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, 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_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 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_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxString const &arg2_defvalue = wxPyEmptyString ;
}
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_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfig *arg1 = (wxConfig *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxString const &arg2_defvalue = wxPyEmptyString ;
}
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_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileConfig *arg1 = (wxFileConfig *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxConfigPathChanger *result;
static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
wxString *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxString result;
bool temp1 = false ;
static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
{
#if wxUSE_UNICODE
static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime::Country arg1 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
{
- arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDateTime::Country >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxDateTime::SetCountry((wxDateTime::Country )arg1);
+ wxDateTime::SetCountry(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime::Country result;
char *kwnames[] = {
NULL
static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
bool result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDateTime::Country >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
+ result = (bool)wxDateTime::IsWestEuropeanCountry(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
int result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
+ result = (int)wxDateTime::GetCurrentYear(arg1);
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_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",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_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
wxDateTime::Month result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
+ result = (wxDateTime::Month)wxDateTime::GetCurrentMonth(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) wxDateTime::Inv_Year ;
wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
bool result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",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 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
+ result = (bool)wxDateTime::IsLeapYear(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) wxDateTime::Inv_Year ;
int result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",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;
}
}
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_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
int result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
if (obj1) {
{
- arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
+ result = (int)wxDateTime::GetNumberOfDays(arg1,arg2);
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_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime::Month arg1 ;
int arg2 = (int) wxDateTime::Inv_Year ;
wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
{
- arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDateTime::Month >(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 = (wxDateTime::Calendar)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
+ result = (int)wxDateTime::GetNumberOfDays(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime::Month arg1 ;
wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
wxString result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
{
- arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDateTime::Month >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
if (obj1) {
{
- arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::NameFlags >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
+ result = wxDateTime::GetMonthName(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime::WeekDay arg1 ;
wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
wxString result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
{
- arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
if (obj1) {
{
- arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::NameFlags >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
+ result = wxDateTime::GetWeekDayName(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
PyObject *result;
char *kwnames[] = {
NULL
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (PyObject *)DateTime_GetAmPmStrings();
+ result = (PyObject *)wxDateTime_GetAmPmStrings();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) wxDateTime::Inv_Year ;
wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
bool result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",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 = (wxDateTime::Country)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
+ result = (bool)wxDateTime::IsDSTApplicable(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) wxDateTime::Inv_Year ;
wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
wxDateTime result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",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 = (wxDateTime::Country)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
+ result = wxDateTime::GetBeginDST(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 = (int) wxDateTime::Inv_Year ;
wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
wxDateTime result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",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 = (wxDateTime::Country)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
+ result = wxDateTime::GetEndDST(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime result;
char *kwnames[] = {
NULL
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime result;
char *kwnames[] = {
NULL
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime result;
char *kwnames[] = {
NULL
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
time_t arg1 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
{
- arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0));
+ arg1 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
double arg1 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
{
- arg1 = (double)(SWIG_As_double(obj0));
+ arg1 = static_cast<double >(SWIG_As_double(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
{
- arg1 = (int)(SWIG_As_int(obj0));
+ arg1 = static_cast<int >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
if (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_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
int arg3 = (int) wxDateTime::Inv_Year ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",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;
}
if (obj1) {
{
- arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
if (obj2) {
{
- arg3 = (int)(SWIG_As_int(obj2));
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
if (obj4) {
{
- arg5 = (int)(SWIG_As_int(obj4));
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
if (SWIG_arg_fail(5)) SWIG_fail;
}
}
if (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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
+ result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
time_t arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1));
+ arg2 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
double arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
int arg3 = (int) 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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 = (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_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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 = (wxDateTime::Month)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::Month >(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;
}
}
if (obj7) {
{
- arg8 = (int)(SWIG_As_int(obj7));
+ arg8 = static_cast<int >(SWIG_As_int(obj7));
if (SWIG_arg_fail(8)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
- wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
+ wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
result = (wxDateTime *) &_result_ref;
}
static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::Month arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
- wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
+ wxDateTime &_result_ref = (arg1)->SetMonth(arg2);
result = (wxDateTime *) &_result_ref;
}
static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
- wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
+ wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek(arg2,arg3);
result = (wxDateTime *) &_result_ref;
}
static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
+ result = (arg1)->GetWeekDayInSameWeek(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
- wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
+ wxDateTime &_result_ref = (arg1)->SetToNextWeekDay(arg2);
result = (wxDateTime *) &_result_ref;
}
static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
wxDateTime result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
+ result = (arg1)->GetNextWeekDay(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
- wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
+ wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay(arg2);
result = (wxDateTime *) &_result_ref;
}
static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
wxDateTime result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
+ result = (arg1)->GetPrevWeekDay(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
int arg3 = (int) 1 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(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 = (wxDateTime::Month)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDateTime::Month >(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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
+ result = (bool)(arg1)->SetToWeekDay(arg2,arg3,arg4,arg5);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::Month >(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)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
+ result = (bool)(arg1)->SetToLastWeekDay(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekDay arg2 ;
wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
if (obj2) {
{
- arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::Month >(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 = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
+ result = (arg1)->GetLastWeekDay(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
+ result = (bool)(arg1)->SetToTheWeek(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
+ result = (arg1)->GetWeek(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
int arg2 ;
wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",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;
}
if (obj2) {
{
- arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
+ result = wxDateTime::SetToWeekOfYear(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
int arg3 = (int) wxDateTime::Inv_Year ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Month >(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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
- wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
+ wxDateTime &_result_ref = (arg1)->SetToLastMonthDay(arg2,arg3);
result = (wxDateTime *) &_result_ref;
}
static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
int arg3 = (int) wxDateTime::Inv_Year ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Month >(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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
+ result = (arg1)->GetLastMonthDay(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
int arg2 ;
wxDateTime result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->GetYearDay(arg2);
+ result = (arg1)->GetYearDay(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxDateTime * resultptr;
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxDateTime *arg1 = (wxDateTime *) 0 ;
+ double result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (double)(arg1)->GetJulianDayNumber();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_double(static_cast<double >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxDateTime *arg1 = (wxDateTime *) 0 ;
+ double result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (double)(arg1)->GetJDN();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_double(static_cast<double >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxDateTime *arg1 = (wxDateTime *) 0 ;
+ double result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_double(static_cast<double >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxDateTime *arg1 = (wxDateTime *) 0 ;
+ double result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (double)(arg1)->GetMJD();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_double(static_cast<double >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxDateTime *arg1 = (wxDateTime *) 0 ;
+ double result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (double)(arg1)->GetRataDie();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_double(static_cast<double >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxDateTime *arg1 = (wxDateTime *) 0 ;
+ wxDateTime::TimeZone *arg2 = 0 ;
+ bool arg3 = (bool) false ;
+ wxDateTime result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "tz",(char *) "noDST", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = true;
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
+ {
+ if (temp2) delete arg2;
+ }
return resultobj;
fail:
+ {
+ if (temp2) delete arg2;
+ }
return NULL;
}
-static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- double result;
+ wxDateTime::TimeZone *arg2 = 0 ;
+ bool arg3 = (bool) false ;
+ wxDateTime *result;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self", NULL
+ (char *) "self",(char *) "tz",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = true;
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (double)(arg1)->GetJulianDayNumber();
+ {
+ wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
+ result = (wxDateTime *) &_result_ref;
+ }
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
{
- resultobj = SWIG_From_double((double)(result));
+ if (temp2) delete arg2;
}
return resultobj;
fail:
+ {
+ if (temp2) delete arg2;
+ }
return NULL;
}
-static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- double result;
+ wxDateTime::TimeZone *arg2 = 0 ;
+ bool arg3 = (bool) false ;
+ wxDateTime result;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self", NULL
+ (char *) "self",(char *) "tz",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_FromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = true;
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (double)(arg1)->GetJDN();
+ result = ((wxDateTime const *)arg1)->FromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ wxDateTime * resultptr;
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
+ }
+ {
+ if (temp2) delete arg2;
}
return resultobj;
fail:
+ {
+ if (temp2) delete arg2;
+ }
return NULL;
}
-static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- double result;
+ wxDateTime::TimeZone *arg2 = 0 ;
+ bool arg3 = (bool) false ;
+ wxDateTime *result;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self", NULL
+ (char *) "self",(char *) "tz",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = true;
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
+ {
+ wxDateTime &_result_ref = (arg1)->MakeFromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
+ result = (wxDateTime *) &_result_ref;
+ }
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
{
- resultobj = SWIG_From_double((double)(result));
+ if (temp2) delete arg2;
}
return resultobj;
fail:
+ {
+ if (temp2) delete arg2;
+ }
return NULL;
}
-static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- double result;
+ bool arg2 = (bool) false ;
+ wxDateTime result;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "self", NULL
+ (char *) "self",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToUTC",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (double)(arg1)->GetMJD();
+ result = ((wxDateTime const *)arg1)->ToUTC(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_double((double)(result));
+ wxDateTime * resultptr;
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
fail:
}
-static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- double result;
+ bool arg2 = (bool) false ;
+ wxDateTime *result;
PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
char *kwnames[] = {
- (char *) "self", NULL
+ (char *) "self",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeUTC",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (double)(arg1)->GetRataDie();
+ {
+ wxDateTime &_result_ref = (arg1)->MakeUTC(arg2);
+ result = (wxDateTime *) &_result_ref;
+ }
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = SWIG_From_double((double)(result));
- }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::TimeZone *arg2 = 0 ;
- bool arg3 = (bool) false ;
+ bool arg2 = (bool) false ;
wxDateTime result;
- bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "tz",(char *) "noDST", NULL
+ (char *) "self",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
- {
- arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = true;
- }
- if (obj2) {
+ if (obj1) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
- if (SWIG_arg_fail(3)) SWIG_fail;
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
+ result = ((wxDateTime const *)arg1)->ToGMT(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
- {
- if (temp2) delete arg2;
- }
return resultobj;
fail:
- {
- if (temp2) delete arg2;
- }
return NULL;
}
-static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::TimeZone *arg2 = 0 ;
- bool arg3 = (bool) false ;
+ bool arg2 = (bool) false ;
wxDateTime *result;
- bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "tz",(char *) "noDST", NULL
+ (char *) "self",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
- {
- arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = true;
- }
- if (obj2) {
+ if (obj1) {
{
- arg3 = (bool)(SWIG_As_bool(obj2));
- if (SWIG_arg_fail(3)) SWIG_fail;
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
- wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
+ wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
result = (wxDateTime *) &_result_ref;
}
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
- {
- if (temp2) delete arg2;
- }
return resultobj;
fail:
- {
- if (temp2) delete arg2;
- }
return NULL;
}
-static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
bool arg2 = (bool) false ;
wxDateTime result;
(char *) "self",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_FromUTC",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->ToGMT(arg2);
+ result = ((wxDateTime const *)arg1)->FromUTC(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
}
-static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
bool arg2 = (bool) false ;
wxDateTime *result;
(char *) "self",(char *) "noDST", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeFromUTC",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 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;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
- wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
+ wxDateTime &_result_ref = (arg1)->MakeFromUTC(arg2);
result = (wxDateTime *) &_result_ref;
}
static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
int result;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
+ result = (int)(arg1)->IsDST(arg2);
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_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
time_t 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_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2) delete arg2;
static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2) delete arg2;
static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2) delete arg2;
static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2) delete arg2;
static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2) delete arg2;
static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2) delete arg2;
static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2) delete arg2;
static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
+ result = (int)((wxDateTime const *)arg1)->GetWeekOfYear(arg2,(wxDateTime::TimeZone const &)*arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp3) delete arg3;
static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
+ result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth(arg2,(wxDateTime::TimeZone const &)*arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp3) delete arg3;
static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
bool result;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
+ result = (bool)((wxDateTime const *)arg1)->IsWorkDay(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
bool result;
static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
bool result;
static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
bool result;
static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
wxDateTime *arg3 = 0 ;
static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
wxDateTime *arg3 = 0 ;
static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
bool result;
static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
bool result;
static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
wxTimeSpan *arg3 = 0 ;
static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxDateTime *result;
static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateTime *result;
static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxDateTime *result;
static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateTime *result;
static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
wxTimeSpan result;
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxDateTime *result;
static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateTime *result;
static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxDateTime *result;
static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateTime *result;
static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxDateTime result;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateTime result;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = 0 ;
wxTimeSpan result;
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxDateTime result;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateTime result;
}
{
wxDateTime * resultptr;
- resultptr = new wxDateTime((wxDateTime &)(result));
+ resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
}
return resultobj;
static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = (wxDateTime *) 0 ;
bool result;
static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = (wxDateTime *) 0 ;
bool result;
static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = (wxDateTime *) 0 ;
bool result;
static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = (wxDateTime *) 0 ;
bool result;
static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = (wxDateTime *) 0 ;
bool result;
static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime *arg2 = (wxDateTime *) 0 ;
bool result;
static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 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_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
{
if (temp2)
static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 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_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 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_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 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_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
wxTimeSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",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;
}
{
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan result;
char *kwnames[] = {
NULL
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
wxTimeSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",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;
}
{
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan result;
char *kwnames[] = {
NULL
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
wxTimeSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",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;
}
{
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan result;
char *kwnames[] = {
NULL
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
wxTimeSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",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;
}
{
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan result;
char *kwnames[] = {
NULL
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 ;
wxTimeSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",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;
}
{
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan result;
char *kwnames[] = {
NULL
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
long arg1 = (long) 0 ;
long arg2 = (long) 0 ;
long arg3 = (long) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) 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;
}
}
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 = (long)(SWIG_As_long(obj2));
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
if (obj3) {
{
- arg4 = (long)(SWIG_As_long(obj3));
+ arg4 = static_cast<long >(SWIG_As_long(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
}
static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxTimeSpan *result;
static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxTimeSpan *result;
static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
int arg2 ;
wxTimeSpan *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, 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_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan result;
PyObject * obj0 = 0 ;
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxTimeSpan *result;
static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxTimeSpan *result;
static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
int arg2 ;
wxTimeSpan *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
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_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxTimeSpan result;
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
wxTimeSpan result;
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
int arg2 ;
wxTimeSpan result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, 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;
}
{
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
int arg2 ;
wxTimeSpan result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, 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;
}
{
}
{
wxTimeSpan * resultptr;
- resultptr = new wxTimeSpan((wxTimeSpan &)(result));
+ resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
}
return resultobj;
static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
bool result;
static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
bool result;
static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
bool result;
static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
bool result;
static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
bool result;
static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
bool result;
static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
bool result;
static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
bool result;
static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxTimeSpan *arg2 = 0 ;
bool result;
static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 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_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 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_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 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_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 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_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxLongLong result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxLongLong result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_DateSpan(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_DateSpan",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_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxDateSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",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;
}
{
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan result;
char *kwnames[] = {
NULL
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxDateSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",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;
}
{
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan result;
char *kwnames[] = {
NULL
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxDateSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",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;
}
{
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan result;
char *kwnames[] = {
NULL
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
int arg1 ;
wxDateSpan result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",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;
}
{
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan result;
char *kwnames[] = {
NULL
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
int arg2 ;
wxDateSpan *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, 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_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
int arg2 ;
wxDateSpan *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, 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_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
int arg2 ;
wxDateSpan *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, 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_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
int arg2 ;
wxDateSpan *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, 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_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 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_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 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_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 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_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 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_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 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_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateSpan *result;
static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateSpan *result;
static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
int arg2 ;
wxDateSpan *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, 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_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateSpan *result;
static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateSpan *result;
static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
int arg2 ;
wxDateSpan *result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
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_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateSpan result;
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *arg2 = 0 ;
wxDateSpan result;
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
int arg2 ;
wxDateSpan result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, 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;
}
{
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
int arg2 ;
wxDateSpan result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, 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;
}
{
}
{
wxDateSpan * resultptr;
- resultptr = new wxDateSpan((wxDateSpan &)(result));
+ resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
}
return resultobj;
static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *arg2 = (wxDateSpan *) 0 ;
bool result;
static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDateSpan *arg1 = (wxDateSpan *) 0 ;
wxDateSpan *arg2 = (wxDateSpan *) 0 ;
bool result;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_GetLocalTime(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_GetUTCTime(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_GetCurrentTime(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_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxLongLong result;
char *kwnames[] = {
NULL
static PyObject *_wrap_DefaultDateTime_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
return pyobj;
static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormatId arg1 ;
wxDataFormat *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
{
- arg1 = (wxDataFormatId)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDataFormatId >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
+ result = (wxDataFormat *)new wxDataFormat(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxDataFormat *result;
bool temp1 = false ;
static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxDataFormatId arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
+ result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxDataFormatId arg2 ;
bool result;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
+ result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxDataFormat *arg2 = 0 ;
bool result;
static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxDataFormat *arg2 = 0 ;
bool result;
static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxDataFormatId arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetType((wxDataFormatId )arg2);
+ (arg1)->SetType(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxDataFormatId result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_FormatInvalid_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
return pyobj;
static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) 0 ;
wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
SwigValueWrapper<wxDataFormat > result;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
+ result = ((wxDataObject const *)arg1)->GetPreferredFormat(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxDataFormat * resultptr;
- resultptr = new wxDataFormat((wxDataFormat &)(result));
+ resultptr = new wxDataFormat(static_cast<wxDataFormat & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
}
return resultobj;
static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) 0 ;
wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
size_t result;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
+ result = (size_t)((wxDataObject const *)arg1)->GetFormatCount(arg2);
wxPyEndAllowThreads(__tstate);
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_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) 0 ;
wxDataFormat *arg2 = 0 ;
wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
}
if (obj2) {
{
- arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2));
+ arg3 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj2));
if (SWIG_arg_fail(3)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
+ result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) 0 ;
wxDataFormat *arg2 = 0 ;
size_t 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_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) 0 ;
wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
PyObject *result;
if (SWIG_arg_fail(1)) SWIG_fail;
if (obj1) {
{
- arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
+ result = (PyObject *)wxDataObject_GetAllFormats(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) 0 ;
wxDataFormat *arg2 = 0 ;
PyObject *result;
static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) 0 ;
wxDataFormat *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
wxDataObjectSimple *result;
static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
wxDataFormat *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
wxDataFormat *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 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_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool result;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
wxPyDataObjectSimple *result;
static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObjectComposite *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
bool arg3 = (bool) false ;
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;
}
}
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxTextDataObject *result;
static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextDataObject *arg1 = (wxTextDataObject *) 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_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxPyTextDataObject *result;
static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmap const &arg1_defvalue = wxNullBitmap ;
wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
wxBitmapDataObject *result;
static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
wxBitmap result;
PyObject * obj0 = 0 ;
}
{
wxBitmap * resultptr;
- resultptr = new wxBitmap((wxBitmap &)(result));
+ resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
wxBitmap *arg2 = 0 ;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxBitmap const &arg1_defvalue = wxNullBitmap ;
wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
wxPyBitmapDataObject *result;
static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileDataObject *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
wxArrayString *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataFormat *arg1 = 0 ;
wxCustomDataObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxString *arg1 = 0 ;
wxCustomDataObject *result;
bool temp1 = false ;
static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCustomDataObject *result;
if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
bool result;
static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCustomDataObject *arg1 = (wxCustomDataObject *) 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_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
PyObject *result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxURLDataObject *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMetafileDataObject *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
wxMetafile *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
wxMetafile result;
PyObject * obj0 = 0 ;
}
{
wxMetafile * resultptr;
- resultptr = new wxMetafile((wxMetafile &)(result));
+ resultptr = new wxMetafile(static_cast<wxMetafile & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
}
return resultobj;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDragResult arg1 ;
bool result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
{
- arg1 = (wxDragResult)(SWIG_As_int(obj0));
+ arg1 = static_cast<wxDragResult >(SWIG_As_int(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)wxIsDragResultOk((wxDragResult )arg1);
+ result = (bool)wxIsDragResultOk(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxWindow *arg1 = (wxWindow *) 0 ;
wxCursor const &arg2_defvalue = wxNullCursor ;
wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
arg2 = obj1;
arg3 = obj2;
{
- arg4 = (int)(SWIG_As_int(obj3));
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
wxDataObject *arg2 = 0 ;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
wxDataObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
wxDragResult arg2 ;
wxCursor *arg3 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDragResult)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
+ (arg1)->SetCursor(arg2,(wxCursor const &)*arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
int arg2 = (int) wxDrag_CopyOnly ;
wxDragResult 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_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DropSource_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
wxDragResult arg2 ;
bool result;
(char *) "self",(char *) "effect", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (wxDragResult)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
+ result = (bool)(arg1)->GiveFeedback(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDataObject *arg1 = (wxDataObject *) NULL ;
wxPyDropTarget *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
wxDataObject *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
wxDataObject *arg2 = (wxDataObject *) 0 ;
PyObject * obj0 = 0 ;
}
-static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxDragResult arg4 ;
+ wxDragResult result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((result));
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_DropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, 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 = (wxDragResult)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
+ result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_OnLeave",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->OnLeave();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_DropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
int arg2 ;
int arg3 ;
- wxDragResult arg4 ;
- wxDragResult result;
+ bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
+ (char *) "self",(char *) "x",(char *) "y", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, 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 = (wxDragResult)(SWIG_As_int(obj3));
- if (SWIG_arg_fail(4)) SWIG_fail;
- }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
+ result = (bool)(arg1)->OnDrop(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_From_int((result));
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
}
-static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
+ bool result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->base_OnLeave();
+ result = (bool)(arg1)->GetData();
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_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
- int arg2 ;
- int arg3 ;
- bool result;
+ wxDragResult arg2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "x",(char *) "y", NULL
+ (char *) "self",(char *) "action", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
- arg2 = (int)(SWIG_As_int(obj1));
+ arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
if (SWIG_arg_fail(2)) SWIG_fail;
}
- {
- arg3 = (int)(SWIG_As_int(obj2));
- if (SWIG_arg_fail(3)) SWIG_fail;
- }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->base_OnDrop(arg2,arg3);
+ (arg1)->SetDefaultAction(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_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
- bool result;
+ wxDragResult result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->GetData();
+ result = (wxDragResult)(arg1)->GetDefaultAction();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
- }
+ resultobj = SWIG_From_int((result));
return resultobj;
fail:
return NULL;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTextDropTarget *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
}
-static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_TextDropTarget_OnDropText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxString *arg4 = 0 ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->OnDropText(arg2,arg3,(wxString const &)*arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_TextDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, 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 = (wxDragResult)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
+ result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_TextDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, 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 = (wxDragResult)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
+ result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_TextDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_OnLeave",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->base_OnLeave();
+ (arg1)->OnLeave();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_TextDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, 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 = (bool)(arg1)->base_OnDrop(arg2,arg3);
+ result = (bool)(arg1)->OnDrop(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_TextDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, 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 = (wxDragResult)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
+ result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileDropTarget *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
}
-static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_FileDropTarget_OnDropFiles(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxArrayString *arg4 = 0 ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ if (! PySequence_Check(obj3)) {
+ PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
+ SWIG_fail;
+ }
+ arg4 = new wxArrayString;
+ temp4 = true;
+ int i, len=PySequence_Length(obj3);
+ for (i=0; i<len; i++) {
+ PyObject* item = PySequence_GetItem(obj3, i);
+ wxString* s = wxString_in_helper(item);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg4->Add(*s);
+ delete s;
+ Py_DECREF(item);
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->OnDropFiles(arg2,arg3,(wxArrayString const &)*arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4) delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4) delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_FileDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, 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 = (wxDragResult)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
+ result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_FileDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, 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 = (wxDragResult)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
+ result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_FileDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_OnLeave",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->base_OnLeave();
+ (arg1)->OnLeave();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_FileDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, 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 = (bool)(arg1)->base_OnDrop(arg2,arg3);
+ result = (bool)(arg1)->OnDrop(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+static PyObject *_wrap_FileDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
int arg2 ;
int arg3 ;
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, 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 = (wxDragResult)(SWIG_As_int(obj3));
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
if (SWIG_arg_fail(4)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
+ result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *result;
char *kwnames[] = {
NULL
static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
wxDataObject *arg2 = (wxDataObject *) 0 ;
bool result;
static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
wxDataObject *arg2 = (wxDataObject *) 0 ;
bool result;
static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
wxDataFormat *arg2 = 0 ;
bool result;
static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
wxDataObject *arg2 = 0 ;
bool result;
static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) 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_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *result;
char *kwnames[] = {
NULL
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboard *arg1 = (wxClipboard *) NULL ;
wxClipboardLocker *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
bool result;
PyObject * obj0 = 0 ;
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_VideoMode(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_VideoMode",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_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
wxVideoMode *arg2 = 0 ;
bool result;
static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 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_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 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_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 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_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
wxVideoMode *arg2 = (wxVideoMode *) 0 ;
bool result;
static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
wxVideoMode *arg2 = (wxVideoMode *) 0 ;
bool result;
static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, 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)->w = arg2;
static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->w);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, 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)->h = arg2;
static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->h);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, 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)->bpp = arg2;
static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->bpp);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
int arg2 ;
PyObject * obj0 = 0 ;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, 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)->refresh = arg2;
static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxVideoMode *arg1 = (wxVideoMode *) 0 ;
int result;
PyObject * obj0 = 0 ;
result = (int) ((arg1)->refresh);
{
- resultobj = SWIG_From_int((int)(result));
+ resultobj = SWIG_From_int(static_cast<int >(result));
}
return resultobj;
fail:
static PyObject *_wrap_DefaultVideoMode_get(void) {
- PyObject *pyobj;
+ PyObject *pyobj = NULL;
pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
return pyobj;
static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
size_t arg1 = (size_t) 0 ;
wxDisplay *result;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
if (obj0) {
{
- arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
+ arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
if (SWIG_arg_fail(1)) SWIG_fail;
}
}
static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
size_t result;
char *kwnames[] = {
NULL
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_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxPoint *arg1 = 0 ;
int result;
wxPoint temp1 ;
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_Display_GetFromWindow(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_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 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_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 0 ;
bool result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 0 ;
wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 0 ;
wxVideoMode result;
PyObject * obj0 = 0 ;
}
{
wxVideoMode * resultptr;
- resultptr = new wxVideoMode((wxVideoMode &)(result));
+ resultptr = new wxVideoMode(static_cast<wxVideoMode & >(result));
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
}
return resultobj;
static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 0 ;
wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxDisplay *arg1 = (wxDisplay *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *result;
char *kwnames[] = {
NULL
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxStandardPaths *)StandardPaths_Get();
+ result = (wxStandardPaths *)wxStandardPaths_Get();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
+ PyObject *resultobj = NULL;
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
wxString result;
PyObject * obj0 = 0 ;
{ (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"SystemOptions_IsFalse", (PyCFunction) _wrap_SystemOptions_IsFalse, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
{ (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"FindWindowAtPointer", (PyCFunction) _wrap_FindWindowAtPointer, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"new_MouseState", (PyCFunction) _wrap_new_MouseState, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"delete_MouseState", (PyCFunction) _wrap_delete_MouseState, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_GetX", (PyCFunction) _wrap_MouseState_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_GetY", (PyCFunction) _wrap_MouseState_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_LeftDown", (PyCFunction) _wrap_MouseState_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_MiddleDown", (PyCFunction) _wrap_MouseState_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_RightDown", (PyCFunction) _wrap_MouseState_RightDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_ControlDown", (PyCFunction) _wrap_MouseState_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_ShiftDown", (PyCFunction) _wrap_MouseState_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_AltDown", (PyCFunction) _wrap_MouseState_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_MetaDown", (PyCFunction) _wrap_MouseState_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_CmdDown", (PyCFunction) _wrap_MouseState_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetX", (PyCFunction) _wrap_MouseState_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetY", (PyCFunction) _wrap_MouseState_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetLeftDown", (PyCFunction) _wrap_MouseState_SetLeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetMiddleDown", (PyCFunction) _wrap_MouseState_SetMiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetRightDown", (PyCFunction) _wrap_MouseState_SetRightDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetControlDown", (PyCFunction) _wrap_MouseState_SetControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetShiftDown", (PyCFunction) _wrap_MouseState_SetShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetAltDown", (PyCFunction) _wrap_MouseState_SetAltDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_SetMetaDown", (PyCFunction) _wrap_MouseState_SetMetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"MouseState_swigregister", MouseState_swigregister, METH_VARARGS, NULL},
+ { (char *)"GetMouseState", (PyCFunction) _wrap_GetMouseState, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
{ (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"delete_ToolTip", (PyCFunction) _wrap_delete_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"delete_Log", (PyCFunction) _wrap_delete_Log, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
+ { (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL},
{ (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"Process_OnTerminate", (PyCFunction) _wrap_Process_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
{ (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ArtProvider_GetSize", (PyCFunction) _wrap_ArtProvider_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
{ (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DateTime_FromTimezone", (PyCFunction) _wrap_DateTime_FromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DateTime_MakeFromTimezone", (PyCFunction) _wrap_DateTime_MakeFromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DateTime_ToUTC", (PyCFunction) _wrap_DateTime_ToUTC, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DateTime_MakeUTC", (PyCFunction) _wrap_DateTime_MakeUTC, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DateTime_FromUTC", (PyCFunction) _wrap_DateTime_FromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DateTime_MakeFromUTC", (PyCFunction) _wrap_DateTime_MakeFromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DropSource_GiveFeedback", (PyCFunction) _wrap_DropSource_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
{ (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DropTarget_OnEnter", (PyCFunction) _wrap_DropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DropTarget_OnDragOver", (PyCFunction) _wrap_DropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DropTarget_OnLeave", (PyCFunction) _wrap_DropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DropTarget_OnDrop", (PyCFunction) _wrap_DropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
{ (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"TextDropTarget_OnDropText", (PyCFunction) _wrap_TextDropTarget_OnDropText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"TextDropTarget_OnEnter", (PyCFunction) _wrap_TextDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"TextDropTarget_OnDragOver", (PyCFunction) _wrap_TextDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"TextDropTarget_OnLeave", (PyCFunction) _wrap_TextDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"TextDropTarget_OnDrop", (PyCFunction) _wrap_TextDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"TextDropTarget_OnData", (PyCFunction) _wrap_TextDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
{ (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"FileDropTarget_OnDropFiles", (PyCFunction) _wrap_FileDropTarget_OnDropFiles, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"FileDropTarget_OnEnter", (PyCFunction) _wrap_FileDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"FileDropTarget_OnDragOver", (PyCFunction) _wrap_FileDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"FileDropTarget_OnLeave", (PyCFunction) _wrap_FileDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"FileDropTarget_OnDrop", (PyCFunction) _wrap_FileDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"FileDropTarget_OnData", (PyCFunction) _wrap_FileDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
}
static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
- return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
+ return (void *)((wxDataObject *) ((wxURLDataObject *) x));
}
static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
}
-static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
- return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
-}
static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) 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_wxPyTimerTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
}
+static void *_p_wxLogBufferTo_p_wxLog(void *x) {
+ return (void *)((wxLog *) ((wxLogBuffer *) x));
+}
static void *_p_wxLogStderrTo_p_wxLog(void *x) {
return (void *)((wxLog *) ((wxLogStderr *) x));
}
static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
}
-static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 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_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_wxTimerEvent", _p_wxTimerEventTo_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_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_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_wxProcessEvent", _p_wxProcessEventTo_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_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 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_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 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_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_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 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_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 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_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 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_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_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_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_wxPyTimer", _p_wxPyTimerTo_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},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 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_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_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 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_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 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_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 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_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 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_wxFileHistory", _p_wxFileHistoryTo_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_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_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_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_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_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_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_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_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_wxPyProcess", _p_wxPyProcessTo_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_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxProcessEvent", _p_wxProcessEventTo_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},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 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_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_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 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 *|wxLogLevel *", 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_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 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_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 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__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 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},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 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_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-
-static swig_type_info *swig_types_initial[] = {
-_swigt__p_wxLogChain,
-_swigt__p_wxMutexGuiLocker,
-_swigt__p_wxMetafile,
-_swigt__p_wxFileHistory,
-_swigt__p_wxLog,
-_swigt__p_wxMenu,
-_swigt__p_wxEvent,
-_swigt__p_wxDateTime__TimeZone,
-_swigt__p_wxConfigBase,
-_swigt__p_wxDisplay,
-_swigt__p_wxFileType,
-_swigt__p_wxLogGui,
-_swigt__p_wxFont,
-_swigt__p_wxDataFormat,
-_swigt__p_wxTimerEvent,
-_swigt__p_wxCaret,
-_swigt__ptrdiff_t,
-_swigt__std__ptrdiff_t,
-_swigt__p_int,
-_swigt__p_wxSize,
-_swigt__p_wxClipboard,
-_swigt__p_wxStopWatch,
-_swigt__p_wxDC,
-_swigt__p_wxClipboardLocker,
-_swigt__p_wxIcon,
-_swigt__p_wxLogStderr,
-_swigt__p_wxLogTextCtrl,
-_swigt__p_wxTextCtrl,
-_swigt__p_wxBusyCursor,
-_swigt__p_wxBitmapDataObject,
-_swigt__p_wxTextDataObject,
-_swigt__p_wxDataObject,
-_swigt__p_wxPyTextDataObject,
-_swigt__p_wxPyBitmapDataObject,
-_swigt__p_wxFileDataObject,
-_swigt__p_wxCustomDataObject,
-_swigt__p_wxURLDataObject,
-_swigt__p_wxMetafileDataObject,
-_swigt__p_wxSound,
-_swigt__p_wxTimerRunner,
-_swigt__p_wxLogWindow,
-_swigt__p_wxTimeSpan,
-_swigt__p_wxArrayString,
-_swigt__p_wxWindowDisabler,
-_swigt__p_form_ops_t,
-_swigt__p_wxToolTip,
-_swigt__p_wxDataObjectComposite,
-_swigt__p_wxSystemSettings,
-_swigt__p_wxFileConfig,
-_swigt__p_wxVideoMode,
-_swigt__p_wxDataObjectSimple,
-_swigt__p_wxPyDataObjectSimple,
-_swigt__p_wxDuplexMode,
-_swigt__p_wxEvtHandler,
-_swigt__p_wxRect,
-_swigt__p_char,
-_swigt__p_wxSingleInstanceChecker,
-_swigt__p_wxStandardPaths,
-_swigt__p_wxFileTypeInfo,
-_swigt__p_wxFrame,
-_swigt__p_wxTimer,
-_swigt__p_wxPaperSize,
-_swigt__p_wxMimeTypesManager,
-_swigt__p_wxPyArtProvider,
-_swigt__p_wxPyTipProvider,
-_swigt__p_wxTipProvider,
-_swigt__p_wxJoystick,
-_swigt__p_wxSystemOptions,
-_swigt__p_wxPoint,
-_swigt__p_wxJoystickEvent,
-_swigt__p_wxCursor,
-_swigt__p_wxObject,
-_swigt__p_wxOutputStream,
-_swigt__p_wxDateTime,
-_swigt__p_wxPyDropSource,
-_swigt__p_unsigned_long,
-_swigt__p_wxKillError,
-_swigt__p_wxWindow,
-_swigt__p_wxString,
-_swigt__p_wxPyProcess,
-_swigt__p_wxBitmap,
-_swigt__p_wxConfig,
-_swigt__unsigned_int,
-_swigt__p_unsigned_int,
-_swigt__p_unsigned_char,
-_swigt__p_wxChar,
-_swigt__p_wxBusyInfo,
-_swigt__p_wxPyDropTarget,
-_swigt__p_wxPyTextDropTarget,
-_swigt__p_wxPyFileDropTarget,
-_swigt__p_wxProcessEvent,
-_swigt__p_wxPyLog,
-_swigt__p_wxLogNull,
-_swigt__p_wxColour,
-_swigt__p_wxPyTimer,
-_swigt__p_wxConfigPathChanger,
-_swigt__p_wxDateSpan,
-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_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 *|wxLogLevel *", 0, 0, 0};
+static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
+static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0};
+static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0};
+static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
+static swig_type_info _swigt__p_wxClipboardLocker = {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
+static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
+static swig_type_info _swigt__p_wxConfig = {"_p_wxConfig", "wxConfig *", 0, 0, 0};
+static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
+static swig_type_info _swigt__p_wxConfigPathChanger = {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCustomDataObject = {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDataFormat = {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDataObject = {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDataObjectComposite = {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDataObjectSimple = {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDateSpan = {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDateTime__TimeZone = {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDisplay = {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
+static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFileConfig = {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFileDataObject = {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFileType = {"_p_wxFileType", "wxFileType *", 0, 0, 0};
+static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 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_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
+static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
+static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLog = {"_p_wxLog", "wxLog *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLogBuffer = {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLogChain = {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLogGui = {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLogNull = {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLogStderr = {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLogTextCtrl = {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLogWindow = {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMemorySize = {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMetafile = {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMimeTypesManager = {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseState = {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMutexGuiLocker = {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
+static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 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_wxProcessEvent = {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyArtProvider = {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyBitmapDataObject = {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyDataObjectSimple = {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyDropSource = {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyFileDropTarget = {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyLog = {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyTextDataObject = {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyTextDropTarget = {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyTipProvider = {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
+static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSingleInstanceChecker = {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSound = {"_p_wxSound", "wxSound *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStandardPaths = {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStopWatch = {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
+static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
+static swig_type_info _swigt__p_wxSystemSettings = {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTextDataObject = {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTimeSpan = {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTimer = {"_p_wxTimer", "wxTimer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTimerRunner = {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
+static swig_type_info _swigt__p_wxTipProvider = {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
+static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
+static swig_type_info _swigt__p_wxURLDataObject = {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxVideoMode = {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
+static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowDisabler = {"_p_wxWindowDisabler", "wxWindowDisabler *", 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_char,
+ &_swigt__p_form_ops_t,
+ &_swigt__p_int,
+ &_swigt__p_unsigned_char,
+ &_swigt__p_unsigned_int,
+ &_swigt__p_unsigned_long,
+ &_swigt__p_void,
+ &_swigt__p_wxANIHandler,
+ &_swigt__p_wxAcceleratorTable,
+ &_swigt__p_wxActivateEvent,
+ &_swigt__p_wxArrayString,
+ &_swigt__p_wxBMPHandler,
+ &_swigt__p_wxBitmap,
+ &_swigt__p_wxBitmapDataObject,
+ &_swigt__p_wxBoxSizer,
+ &_swigt__p_wxBusyCursor,
+ &_swigt__p_wxBusyInfo,
+ &_swigt__p_wxCURHandler,
+ &_swigt__p_wxCaret,
+ &_swigt__p_wxChar,
+ &_swigt__p_wxChildFocusEvent,
+ &_swigt__p_wxClipboard,
+ &_swigt__p_wxClipboardLocker,
+ &_swigt__p_wxCloseEvent,
+ &_swigt__p_wxColour,
+ &_swigt__p_wxCommandEvent,
+ &_swigt__p_wxConfig,
+ &_swigt__p_wxConfigBase,
+ &_swigt__p_wxConfigPathChanger,
+ &_swigt__p_wxContextMenuEvent,
+ &_swigt__p_wxControl,
+ &_swigt__p_wxControlWithItems,
+ &_swigt__p_wxCursor,
+ &_swigt__p_wxCustomDataObject,
+ &_swigt__p_wxDC,
+ &_swigt__p_wxDataFormat,
+ &_swigt__p_wxDataObject,
+ &_swigt__p_wxDataObjectComposite,
+ &_swigt__p_wxDataObjectSimple,
+ &_swigt__p_wxDateEvent,
+ &_swigt__p_wxDateSpan,
+ &_swigt__p_wxDateTime,
+ &_swigt__p_wxDateTime__TimeZone,
+ &_swigt__p_wxDisplay,
+ &_swigt__p_wxDisplayChangedEvent,
+ &_swigt__p_wxDropFilesEvent,
+ &_swigt__p_wxDuplexMode,
+ &_swigt__p_wxEraseEvent,
+ &_swigt__p_wxEvent,
+ &_swigt__p_wxEvtHandler,
+ &_swigt__p_wxFSFile,
+ &_swigt__p_wxFileConfig,
+ &_swigt__p_wxFileDataObject,
+ &_swigt__p_wxFileHistory,
+ &_swigt__p_wxFileSystem,
+ &_swigt__p_wxFileType,
+ &_swigt__p_wxFileTypeInfo,
+ &_swigt__p_wxFlexGridSizer,
+ &_swigt__p_wxFocusEvent,
+ &_swigt__p_wxFont,
+ &_swigt__p_wxFrame,
+ &_swigt__p_wxGBSizerItem,
+ &_swigt__p_wxGIFHandler,
+ &_swigt__p_wxGridBagSizer,
+ &_swigt__p_wxGridSizer,
+ &_swigt__p_wxICOHandler,
+ &_swigt__p_wxIcon,
+ &_swigt__p_wxIconizeEvent,
+ &_swigt__p_wxIdleEvent,
+ &_swigt__p_wxImage,
+ &_swigt__p_wxImageHandler,
+ &_swigt__p_wxIndividualLayoutConstraint,
+ &_swigt__p_wxInitDialogEvent,
+ &_swigt__p_wxJPEGHandler,
+ &_swigt__p_wxJoystick,
+ &_swigt__p_wxJoystickEvent,
+ &_swigt__p_wxKeyEvent,
+ &_swigt__p_wxKillError,
+ &_swigt__p_wxLayoutConstraints,
+ &_swigt__p_wxLog,
+ &_swigt__p_wxLogBuffer,
+ &_swigt__p_wxLogChain,
+ &_swigt__p_wxLogGui,
+ &_swigt__p_wxLogNull,
+ &_swigt__p_wxLogStderr,
+ &_swigt__p_wxLogTextCtrl,
+ &_swigt__p_wxLogWindow,
+ &_swigt__p_wxMaximizeEvent,
+ &_swigt__p_wxMemorySize,
+ &_swigt__p_wxMenu,
+ &_swigt__p_wxMenuBar,
+ &_swigt__p_wxMenuEvent,
+ &_swigt__p_wxMenuItem,
+ &_swigt__p_wxMetafile,
+ &_swigt__p_wxMetafileDataObject,
+ &_swigt__p_wxMimeTypesManager,
+ &_swigt__p_wxMouseCaptureChangedEvent,
+ &_swigt__p_wxMouseEvent,
+ &_swigt__p_wxMouseState,
+ &_swigt__p_wxMoveEvent,
+ &_swigt__p_wxMutexGuiLocker,
+ &_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_wxProcessEvent,
+ &_swigt__p_wxPyApp,
+ &_swigt__p_wxPyArtProvider,
+ &_swigt__p_wxPyBitmapDataObject,
+ &_swigt__p_wxPyCommandEvent,
+ &_swigt__p_wxPyDataObjectSimple,
+ &_swigt__p_wxPyDropSource,
+ &_swigt__p_wxPyDropTarget,
+ &_swigt__p_wxPyEvent,
+ &_swigt__p_wxPyFileDropTarget,
+ &_swigt__p_wxPyImageHandler,
+ &_swigt__p_wxPyLog,
+ &_swigt__p_wxPyProcess,
+ &_swigt__p_wxPySizer,
+ &_swigt__p_wxPyTextDataObject,
+ &_swigt__p_wxPyTextDropTarget,
+ &_swigt__p_wxPyTimer,
+ &_swigt__p_wxPyTipProvider,
+ &_swigt__p_wxPyValidator,
+ &_swigt__p_wxQueryNewPaletteEvent,
+ &_swigt__p_wxRect,
+ &_swigt__p_wxScrollEvent,
+ &_swigt__p_wxScrollWinEvent,
+ &_swigt__p_wxSetCursorEvent,
+ &_swigt__p_wxShowEvent,
+ &_swigt__p_wxSingleInstanceChecker,
+ &_swigt__p_wxSize,
+ &_swigt__p_wxSizeEvent,
+ &_swigt__p_wxSizer,
+ &_swigt__p_wxSizerItem,
+ &_swigt__p_wxSound,
+ &_swigt__p_wxStandardPaths,
+ &_swigt__p_wxStaticBoxSizer,
+ &_swigt__p_wxStdDialogButtonSizer,
+ &_swigt__p_wxStopWatch,
+ &_swigt__p_wxString,
+ &_swigt__p_wxSysColourChangedEvent,
+ &_swigt__p_wxSystemOptions,
+ &_swigt__p_wxSystemSettings,
+ &_swigt__p_wxTIFFHandler,
+ &_swigt__p_wxTextCtrl,
+ &_swigt__p_wxTextDataObject,
+ &_swigt__p_wxTimeSpan,
+ &_swigt__p_wxTimer,
+ &_swigt__p_wxTimerEvent,
+ &_swigt__p_wxTimerRunner,
+ &_swigt__p_wxTipProvider,
+ &_swigt__p_wxToolTip,
+ &_swigt__p_wxURLDataObject,
+ &_swigt__p_wxUpdateUIEvent,
+ &_swigt__p_wxValidator,
+ &_swigt__p_wxVideoMode,
+ &_swigt__p_wxWindow,
+ &_swigt__p_wxWindowCreateEvent,
+ &_swigt__p_wxWindowDestroyEvent,
+ &_swigt__p_wxWindowDisabler,
+ &_swigt__p_wxXPMHandler,
+ &_swigt__ptrdiff_t,
+ &_swigt__std__ptrdiff_t,
+ &_swigt__unsigned_int,
+};
+
+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_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBitmapDataObject[] = { {&_swigt__p_wxBitmapDataObject, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBusyInfo[] = { {&_swigt__p_wxBusyInfo, 0, 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_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxClipboard[] = { {&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxClipboardLocker[] = { {&_swigt__p_wxClipboardLocker, 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_wxConfig[] = { {&_swigt__p_wxConfig, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxFileConfig, _p_wxFileConfigTo_p_wxConfigBase, 0, 0}, {&_swigt__p_wxConfigBase, 0, 0, 0}, {&_swigt__p_wxConfig, _p_wxConfigTo_p_wxConfigBase, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxConfigPathChanger[] = { {&_swigt__p_wxConfigPathChanger, 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_wxCustomDataObject[] = { {&_swigt__p_wxCustomDataObject, 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_wxDataFormat[] = { {&_swigt__p_wxDataFormat, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDataObject[] = { {&_swigt__p_wxDataObjectSimple, _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObjectComposite, _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObject, 0, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxURLDataObject, _p_wxURLDataObjectTo_p_wxDataObject, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDataObjectComposite[] = { {&_swigt__p_wxDataObjectComposite, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDataObjectSimple[] = { {&_swigt__p_wxDataObjectSimple, 0, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDateSpan[] = { {&_swigt__p_wxDateSpan, 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_wxDateTime__TimeZone[] = { {&_swigt__p_wxDateTime__TimeZone, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDisplay[] = { {&_swigt__p_wxDisplay, 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_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 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_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 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_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 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_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 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_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_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_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_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_wxControl[] = {{&_swigt__p_wxControl, 0, 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_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxValidator[] = {{&_swigt__p_wxValidator, 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_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_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}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileConfig[] = { {&_swigt__p_wxFileConfig, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileDataObject[] = { {&_swigt__p_wxFileDataObject, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileHistory[] = { {&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileType[] = { {&_swigt__p_wxFileType, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo, 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_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLog[] = { {&_swigt__p_wxLogBuffer, _p_wxLogBufferTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogStderr, _p_wxLogStderrTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogTextCtrl, _p_wxLogTextCtrlTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogWindow, _p_wxLogWindowTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogChain, _p_wxLogChainTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogGui, _p_wxLogGuiTo_p_wxLog, 0, 0}, {&_swigt__p_wxPyLog, _p_wxPyLogTo_p_wxLog, 0, 0}, {&_swigt__p_wxLog, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLogBuffer[] = { {&_swigt__p_wxLogBuffer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLogChain[] = { {&_swigt__p_wxLogChain, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLogGui[] = { {&_swigt__p_wxLogGui, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLogNull[] = { {&_swigt__p_wxLogNull, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLogStderr[] = { {&_swigt__p_wxLogStderr, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLogTextCtrl[] = { {&_swigt__p_wxLogTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLogWindow[] = { {&_swigt__p_wxLogWindow, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMemorySize[] = { {&_swigt__p_wxMemorySize, 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_wxMetafile[] = { {&_swigt__p_wxMetafile, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMimeTypesManager[] = { {&_swigt__p_wxMimeTypesManager, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseState[] = { {&_swigt__p_wxMouseState, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMutexGuiLocker[] = { {&_swigt__p_wxMutexGuiLocker, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_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_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_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_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_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_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_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_wxPyProcess, _p_wxPyProcessTo_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_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_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_wxProcessEvent, _p_wxProcessEventTo_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}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_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_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_wxProcessEvent[] = { {&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyArtProvider[] = { {&_swigt__p_wxPyArtProvider, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyBitmapDataObject[] = { {&_swigt__p_wxPyBitmapDataObject, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyDataObjectSimple[] = { {&_swigt__p_wxPyDataObjectSimple, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyDropSource[] = { {&_swigt__p_wxPyDropSource, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0}, {&_swigt__p_wxPyTextDropTarget, _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0}, {&_swigt__p_wxPyFileDropTarget, _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyFileDropTarget[] = { {&_swigt__p_wxPyFileDropTarget, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyLog[] = { {&_swigt__p_wxPyLog, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyProcess[] = { {&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyTextDataObject[] = { {&_swigt__p_wxPyTextDataObject, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyTextDropTarget[] = { {&_swigt__p_wxPyTextDropTarget, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyTimer[] = { {&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyTipProvider[] = { {&_swigt__p_wxPyTipProvider, 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_wxSingleInstanceChecker[] = { {&_swigt__p_wxSingleInstanceChecker, 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_wxSound[] = { {&_swigt__p_wxSound, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStandardPaths[] = { {&_swigt__p_wxStandardPaths, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStopWatch[] = { {&_swigt__p_wxStopWatch, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSystemOptions[] = { {&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSystemSettings[] = { {&_swigt__p_wxSystemSettings, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTextDataObject[] = { {&_swigt__p_wxTextDataObject, 0, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTimeSpan[] = { {&_swigt__p_wxTimeSpan, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTimer[] = { {&_swigt__p_wxTimer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTimerEvent[] = { {&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTimerRunner[] = { {&_swigt__p_wxTimerRunner, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTipProvider[] = { {&_swigt__p_wxTipProvider, 0, 0, 0}, {&_swigt__p_wxPyTipProvider, _p_wxPyTipProviderTo_p_wxTipProvider, 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_wxURLDataObject[] = { {&_swigt__p_wxURLDataObject, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxVideoMode[] = { {&_swigt__p_wxVideoMode, 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_wxWindowDisabler[] = { {&_swigt__p_wxWindowDisabler, 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_char,
+ _swigc__p_form_ops_t,
+ _swigc__p_int,
+ _swigc__p_unsigned_char,
+ _swigc__p_unsigned_int,
+ _swigc__p_unsigned_long,
+ _swigc__p_void,
+ _swigc__p_wxANIHandler,
+ _swigc__p_wxAcceleratorTable,
+ _swigc__p_wxActivateEvent,
+ _swigc__p_wxArrayString,
+ _swigc__p_wxBMPHandler,
+ _swigc__p_wxBitmap,
+ _swigc__p_wxBitmapDataObject,
+ _swigc__p_wxBoxSizer,
+ _swigc__p_wxBusyCursor,
+ _swigc__p_wxBusyInfo,
+ _swigc__p_wxCURHandler,
+ _swigc__p_wxCaret,
+ _swigc__p_wxChar,
+ _swigc__p_wxChildFocusEvent,
+ _swigc__p_wxClipboard,
+ _swigc__p_wxClipboardLocker,
+ _swigc__p_wxCloseEvent,
+ _swigc__p_wxColour,
+ _swigc__p_wxCommandEvent,
+ _swigc__p_wxConfig,
+ _swigc__p_wxConfigBase,
+ _swigc__p_wxConfigPathChanger,
+ _swigc__p_wxContextMenuEvent,
+ _swigc__p_wxControl,
+ _swigc__p_wxControlWithItems,
+ _swigc__p_wxCursor,
+ _swigc__p_wxCustomDataObject,
+ _swigc__p_wxDC,
+ _swigc__p_wxDataFormat,
+ _swigc__p_wxDataObject,
+ _swigc__p_wxDataObjectComposite,
+ _swigc__p_wxDataObjectSimple,
+ _swigc__p_wxDateEvent,
+ _swigc__p_wxDateSpan,
+ _swigc__p_wxDateTime,
+ _swigc__p_wxDateTime__TimeZone,
+ _swigc__p_wxDisplay,
+ _swigc__p_wxDisplayChangedEvent,
+ _swigc__p_wxDropFilesEvent,
+ _swigc__p_wxDuplexMode,
+ _swigc__p_wxEraseEvent,
+ _swigc__p_wxEvent,
+ _swigc__p_wxEvtHandler,
+ _swigc__p_wxFSFile,
+ _swigc__p_wxFileConfig,
+ _swigc__p_wxFileDataObject,
+ _swigc__p_wxFileHistory,
+ _swigc__p_wxFileSystem,
+ _swigc__p_wxFileType,
+ _swigc__p_wxFileTypeInfo,
+ _swigc__p_wxFlexGridSizer,
+ _swigc__p_wxFocusEvent,
+ _swigc__p_wxFont,
+ _swigc__p_wxFrame,
+ _swigc__p_wxGBSizerItem,
+ _swigc__p_wxGIFHandler,
+ _swigc__p_wxGridBagSizer,
+ _swigc__p_wxGridSizer,
+ _swigc__p_wxICOHandler,
+ _swigc__p_wxIcon,
+ _swigc__p_wxIconizeEvent,
+ _swigc__p_wxIdleEvent,
+ _swigc__p_wxImage,
+ _swigc__p_wxImageHandler,
+ _swigc__p_wxIndividualLayoutConstraint,
+ _swigc__p_wxInitDialogEvent,
+ _swigc__p_wxJPEGHandler,
+ _swigc__p_wxJoystick,
+ _swigc__p_wxJoystickEvent,
+ _swigc__p_wxKeyEvent,
+ _swigc__p_wxKillError,
+ _swigc__p_wxLayoutConstraints,
+ _swigc__p_wxLog,
+ _swigc__p_wxLogBuffer,
+ _swigc__p_wxLogChain,
+ _swigc__p_wxLogGui,
+ _swigc__p_wxLogNull,
+ _swigc__p_wxLogStderr,
+ _swigc__p_wxLogTextCtrl,
+ _swigc__p_wxLogWindow,
+ _swigc__p_wxMaximizeEvent,
+ _swigc__p_wxMemorySize,
+ _swigc__p_wxMenu,
+ _swigc__p_wxMenuBar,
+ _swigc__p_wxMenuEvent,
+ _swigc__p_wxMenuItem,
+ _swigc__p_wxMetafile,
+ _swigc__p_wxMetafileDataObject,
+ _swigc__p_wxMimeTypesManager,
+ _swigc__p_wxMouseCaptureChangedEvent,
+ _swigc__p_wxMouseEvent,
+ _swigc__p_wxMouseState,
+ _swigc__p_wxMoveEvent,
+ _swigc__p_wxMutexGuiLocker,
+ _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_wxProcessEvent,
+ _swigc__p_wxPyApp,
+ _swigc__p_wxPyArtProvider,
+ _swigc__p_wxPyBitmapDataObject,
+ _swigc__p_wxPyCommandEvent,
+ _swigc__p_wxPyDataObjectSimple,
+ _swigc__p_wxPyDropSource,
+ _swigc__p_wxPyDropTarget,
+ _swigc__p_wxPyEvent,
+ _swigc__p_wxPyFileDropTarget,
+ _swigc__p_wxPyImageHandler,
+ _swigc__p_wxPyLog,
+ _swigc__p_wxPyProcess,
+ _swigc__p_wxPySizer,
+ _swigc__p_wxPyTextDataObject,
+ _swigc__p_wxPyTextDropTarget,
+ _swigc__p_wxPyTimer,
+ _swigc__p_wxPyTipProvider,
+ _swigc__p_wxPyValidator,
+ _swigc__p_wxQueryNewPaletteEvent,
+ _swigc__p_wxRect,
+ _swigc__p_wxScrollEvent,
+ _swigc__p_wxScrollWinEvent,
+ _swigc__p_wxSetCursorEvent,
+ _swigc__p_wxShowEvent,
+ _swigc__p_wxSingleInstanceChecker,
+ _swigc__p_wxSize,
+ _swigc__p_wxSizeEvent,
+ _swigc__p_wxSizer,
+ _swigc__p_wxSizerItem,
+ _swigc__p_wxSound,
+ _swigc__p_wxStandardPaths,
+ _swigc__p_wxStaticBoxSizer,
+ _swigc__p_wxStdDialogButtonSizer,
+ _swigc__p_wxStopWatch,
+ _swigc__p_wxString,
+ _swigc__p_wxSysColourChangedEvent,
+ _swigc__p_wxSystemOptions,
+ _swigc__p_wxSystemSettings,
+ _swigc__p_wxTIFFHandler,
+ _swigc__p_wxTextCtrl,
+ _swigc__p_wxTextDataObject,
+ _swigc__p_wxTimeSpan,
+ _swigc__p_wxTimer,
+ _swigc__p_wxTimerEvent,
+ _swigc__p_wxTimerRunner,
+ _swigc__p_wxTipProvider,
+ _swigc__p_wxToolTip,
+ _swigc__p_wxURLDataObject,
+ _swigc__p_wxUpdateUIEvent,
+ _swigc__p_wxValidator,
+ _swigc__p_wxVideoMode,
+ _swigc__p_wxWindow,
+ _swigc__p_wxWindowCreateEvent,
+ _swigc__p_wxWindowDestroyEvent,
+ _swigc__p_wxWindowDisabler,
+ _swigc__p_wxXPMHandler,
+ _swigc__ptrdiff_t,
+ _swigc__std__ptrdiff_t,
+ _swigc__unsigned_int,
};
#ifdef __cplusplus
}
#endif
+/*************************************************************************
+ * Type initialization:
+ * This problem is tough by the requirement that no dynamic
+ * memory is used. Also, since swig_type_info structures store pointers to
+ * swig_cast_info structures and swig_cast_info structures store pointers back
+ * to swig_type_info structures, we need some lookup code at initialization.
+ * The idea is that swig generates all the structures that are needed.
+ * The runtime then collects these partially filled structures.
+ * The SWIG_InitializeModule function takes these initial arrays out of
+ * swig_module, and does all the lookup, filling in the swig_module.types
+ * array with the correct data and linking the correct swig_cast_info
+ * structures together.
+
+ * The generated swig_type_info structures are assigned staticly to an initial
+ * array. We just loop though that array, and handle each type individually.
+ * First we lookup if this type has been already loaded, and if so, use the
+ * loaded structure instead of the generated one. Then we have to fill in the
+ * cast linked list. The cast data is initially stored in something like a
+ * two-dimensional array. Each row corresponds to a type (there are the same
+ * number of rows as there are in the swig_type_initial array). Each entry in
+ * a column is one of the swig_cast_info structures for that type.
+ * The cast_initial array is actually an array of arrays, because each row has
+ * a variable number of columns. So to actually build the cast linked list,
+ * we find the array of casts associated with the type, and loop through it
+ * adding the casts to the list. The one last trick we need to do is making
+ * sure the type pointer in the swig_cast_info struct is correct.
+
+ * First off, we lookup the cast->type name to see if it is already loaded.
+ * There are three cases to handle:
+ * 1) If the cast->type has already been loaded AND the type we are adding
+ * casting info to has not been loaded (it is in this module), THEN we
+ * replace the cast->type pointer with the type pointer that has already
+ * been loaded.
+ * 2) If BOTH types (the one we are adding casting info to, and the
+ * cast->type) are loaded, THEN the cast info has already been loaded by
+ * the previous module so we just ignore it.
+ * 3) Finally, if cast->type has not already been loaded, then we add that
+ * swig_cast_info to the linked list (because the cast->type) pointer will
+ * be correct.
+**/
+
+#ifdef __cplusplus
+extern "C" {
+#if 0
+} /* c-mode */
+#endif
+#endif
+
+#if 0
+#define SWIGRUNTIME_DEBUG
+#endif
+
+SWIGRUNTIME void
+SWIG_InitializeModule(void *clientdata) {
+ size_t i;
+ swig_module_info *module_head;
+ static int init_run = 0;
+
+ clientdata = clientdata;
+
+ if (init_run) return;
+ init_run = 1;
+
+ /* Initialize the swig_module */
+ swig_module.type_initial = swig_type_initial;
+ swig_module.cast_initial = swig_cast_initial;
+
+ /* Try and load any already created modules */
+ module_head = SWIG_GetModule(clientdata);
+ if (module_head) {
+ swig_module.next = module_head->next;
+ module_head->next = &swig_module;
+ } else {
+ /* This is the first module loaded */
+ swig_module.next = &swig_module;
+ SWIG_SetModule(clientdata, &swig_module);
+ }
+
+ /* Now work on filling in swig_module.types */
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: size %d\n", swig_module.size);
+#endif
+ for (i = 0; i < swig_module.size; ++i) {
+ swig_type_info *type = 0;
+ swig_type_info *ret;
+ swig_cast_info *cast;
+
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
+#endif
+
+ /* if there is another module already loaded */
+ if (swig_module.next != &swig_module) {
+ type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
+ }
+ if (type) {
+ /* Overwrite clientdata field */
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: found type %s\n", type->name);
+#endif
+ if (swig_module.type_initial[i]->clientdata) {
+ type->clientdata = swig_module.type_initial[i]->clientdata;
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
+#endif
+ }
+ } else {
+ type = swig_module.type_initial[i];
+ }
+
+ /* Insert casting types */
+ cast = swig_module.cast_initial[i];
+ while (cast->type) {
+ /* Don't need to add information already in the list */
+ ret = 0;
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
+#endif
+ if (swig_module.next != &swig_module) {
+ ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
+#ifdef SWIGRUNTIME_DEBUG
+ if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
+#endif
+ }
+ if (ret) {
+ if (type == swig_module.type_initial[i]) {
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
+#endif
+ cast->type = ret;
+ ret = 0;
+ } else {
+ /* Check for casting already in the list */
+ swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
+#ifdef SWIGRUNTIME_DEBUG
+ if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
+#endif
+ if (!ocast) ret = 0;
+ }
+ }
+
+ if (!ret) {
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
+#endif
+ if (type->cast) {
+ type->cast->prev = cast;
+ cast->next = type->cast;
+ }
+ type->cast = cast;
+ }
+ cast++;
+ }
+ /* Set entry in modules->types array equal to the type */
+ swig_module.types[i] = type;
+ }
+ swig_module.types[i] = 0;
+
+#ifdef SWIGRUNTIME_DEBUG
+ printf("**** SWIG_InitializeModule: Cast List ******\n");
+ for (i = 0; i < swig_module.size; ++i) {
+ int j = 0;
+ swig_cast_info *cast = swig_module.cast_initial[i];
+ printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
+ while (cast->type) {
+ printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
+ cast++;
+ ++j;
+ }
+ printf("---- Total casts: %d\n",j);
+ }
+ printf("**** SWIG_InitializeModule: Cast List ******\n");
+#endif
+}
+
+/* This function will propagate the clientdata field of type to
+* any new swig_type_info structures that have been added into the list
+* of equivalent types. It is like calling
+* SWIG_TypeClientData(type, clientdata) a second time.
+*/
+SWIGRUNTIME void
+SWIG_PropagateClientData(void) {
+ size_t i;
+ swig_cast_info *equiv;
+ static int init_run = 0;
+
+ if (init_run) return;
+ init_run = 1;
+
+ for (i = 0; i < swig_module.size; i++) {
+ if (swig_module.types[i]->clientdata) {
+ equiv = swig_module.types[i]->cast;
+ while (equiv) {
+ if (!equiv->converter) {
+ if (equiv->type && !equiv->type->clientdata)
+ SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
+ }
+ equiv = equiv->next;
+ }
+ }
+ }
+}
+
+#ifdef __cplusplus
+#if 0
+{
+ /* c-mode */
+#endif
+}
+#endif
+
#ifdef __cplusplus
typedef struct swig_globalvar {
char *name; /* Name of global variable */
- PyObject *(*get_attr)(); /* Return the current value */
+ PyObject *(*get_attr)(void); /* Return the current value */
int (*set_attr)(PyObject *); /* Set the value */
struct swig_globalvar *next;
} swig_globalvar;
swig_globalvar *vars;
} swig_varlinkobject;
- static PyObject *
+ SWIGINTERN PyObject *
swig_varlink_repr(swig_varlinkobject *v) {
v = v;
return PyString_FromString("<Swig global variables>");
}
- static int
+ SWIGINTERN int
swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
swig_globalvar *var;
flags = flags;
return 0;
}
- static PyObject *
+ SWIGINTERN PyObject *
swig_varlink_getattr(swig_varlinkobject *v, char *n) {
swig_globalvar *var = v->vars;
while (var) {
return NULL;
}
- static int
+ SWIGINTERN int
swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
swig_globalvar *var = v->vars;
while (var) {
return 1;
}
- static PyTypeObject varlinktype = {
- PyObject_HEAD_INIT(0)
- 0, /* Number of items in variable part (ob_size) */
- (char *)"swigvarlink", /* Type name (tp_name) */
- sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
- 0, /* Itemsize (tp_itemsize) */
- 0, /* Deallocator (tp_dealloc) */
- (printfunc) swig_varlink_print, /* Print (tp_print) */
- (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
- (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
- 0, /* tp_compare */
- (reprfunc) swig_varlink_repr, /* tp_repr */
- 0, /* tp_as_number */
- 0, /* tp_as_sequence */
- 0, /* tp_as_mapping */
- 0, /* tp_hash */
- 0, /* tp_call */
- 0, /* tp_str */
- 0, /* tp_getattro */
- 0, /* tp_setattro */
- 0, /* tp_as_buffer */
- 0, /* tp_flags */
- 0, /* tp_doc */
+ SWIGINTERN PyTypeObject*
+ swig_varlink_type(void) {
+ static char varlink__doc__[] = "Swig var link object";
+ static PyTypeObject varlink_type
+#if !defined(__cplusplus)
+ ;
+ static int type_init = 0;
+ if (!type_init) {
+ PyTypeObject tmp
+#endif
+ = {
+ PyObject_HEAD_INIT(&PyType_Type)
+ 0, /* Number of items in variable part (ob_size) */
+ (char *)"swigvarlink", /* Type name (tp_name) */
+ sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
+ 0, /* Itemsize (tp_itemsize) */
+ 0, /* Deallocator (tp_dealloc) */
+ (printfunc) swig_varlink_print, /* Print (tp_print) */
+ (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
+ (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
+ 0, /* tp_compare */
+ (reprfunc) swig_varlink_repr, /* tp_repr */
+ 0, /* tp_as_number */
+ 0, /* tp_as_sequence */
+ 0, /* tp_as_mapping */
+ 0, /* tp_hash */
+ 0, /* tp_call */
+ 0, /* tp_str */
+ 0, /* tp_getattro */
+ 0, /* tp_setattro */
+ 0, /* tp_as_buffer */
+ 0, /* tp_flags */
+ varlink__doc__, /* tp_doc */
#if PY_VERSION_HEX >= 0x02000000
- 0, /* tp_traverse */
- 0, /* tp_clear */
+ 0, /* tp_traverse */
+ 0, /* tp_clear */
#endif
#if PY_VERSION_HEX >= 0x02010000
- 0, /* tp_richcompare */
- 0, /* tp_weaklistoffset */
+ 0, /* tp_richcompare */
+ 0, /* tp_weaklistoffset */
#endif
#if PY_VERSION_HEX >= 0x02020000
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
- 0, /* tp_del */
+ 0, /* tp_del */
#endif
#ifdef COUNT_ALLOCS
- 0,0,0,0 /* tp_alloc -> tp_next */
+ 0,0,0,0 /* tp_alloc -> tp_next */
#endif
- };
+ };
+#if !defined(__cplusplus)
+ varlink_type = tmp;
+ type_init = 1;
+ }
+#endif
+ return &varlink_type;
+ }
/* Create a variable linking object for use later */
- static PyObject *
+ SWIGINTERN PyObject *
SWIG_Python_newvarlink(void) {
- swig_varlinkobject *result = 0;
- result = PyMem_NEW(swig_varlinkobject,1);
- varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
- result->ob_type = &varlinktype;
- result->vars = 0;
- result->ob_refcnt = 0;
- Py_XINCREF((PyObject *) result);
+ swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
+ if (result) {
+ result->vars = 0;
+ }
return ((PyObject*) result);
}
- static void
+ SWIGINTERN void
SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
- swig_varlinkobject *v;
- swig_globalvar *gv;
- v= (swig_varlinkobject *) p;
- gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
- gv->name = (char *) malloc(strlen(name)+1);
- strcpy(gv->name,name);
- gv->get_attr = get_attr;
- gv->set_attr = set_attr;
- gv->next = v->vars;
+ swig_varlinkobject *v = (swig_varlinkobject *) p;
+ swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
+ if (gv) {
+ size_t size = strlen(name)+1;
+ gv->name = (char *)malloc(size);
+ if (gv->name) {
+ strncpy(gv->name,name,size);
+ gv->get_attr = get_attr;
+ gv->set_attr = set_attr;
+ gv->next = v->vars;
+ }
+ }
v->vars = gv;
}
* ----------------------------------------------------------------------------- */
/* Install Constants */
- static void
+ SWIGINTERN void
SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
PyObject *obj = 0;
size_t i;
- for (i = 0; constants[i].type; i++) {
+ for (i = 0; constants[i].type; ++i) {
switch(constants[i].type) {
case SWIG_PY_INT:
obj = PyInt_FromLong(constants[i].lvalue);
/* Fix SwigMethods to carry the callback ptrs when needed */
/* -----------------------------------------------------------------------------*/
- static void
+ SWIGINTERN void
SWIG_Python_FixMethods(PyMethodDef *methods,
swig_const_info *const_table,
swig_type_info **types,
int j;
swig_const_info *ci = 0;
char *name = c + 10;
- for (j = 0; const_table[j].type; j++) {
+ for (j = 0; const_table[j].type; ++j) {
if (strncmp(const_table[j].name, name,
strlen(const_table[j].name)) == 0) {
ci = &(const_table[j]);
size_t ldoc = (c - methods[i].ml_doc);
size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
char *ndoc = (char*)malloc(ldoc + lptr + 10);
- char *buff = ndoc;
- void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
- strncpy(buff, methods[i].ml_doc, ldoc);
- buff += ldoc;
- strncpy(buff, "swig_ptr: ", 10);
- buff += 10;
- SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
- methods[i].ml_doc = ndoc;
+ if (ndoc) {
+ char *buff = ndoc;
+ void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
+ if (ptr) {
+ strncpy(buff, methods[i].ml_doc, ldoc);
+ buff += ldoc;
+ strncpy(buff, "swig_ptr: ", 10);
+ buff += 10;
+ SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
+ methods[i].ml_doc = ndoc;
+ }
+ }
}
}
}
* Initialize type list
* -----------------------------------------------------------------------------*/
-#if PY_MAJOR_VERSION < 2
- /* PyModule_AddObject function was introduced in Python 2.0. The following function
- is copied out of Python/modsupport.c in python version 2.3.4 */
- static int
- PyModule_AddObject(PyObject *m, char *name, PyObject *o)
- {
- PyObject *dict;
- if (!PyModule_Check(m)) {
- PyErr_SetString(PyExc_TypeError,
- "PyModule_AddObject() needs module as first arg");
- return -1;
- }
- if (!o) {
- PyErr_SetString(PyExc_TypeError,
- "PyModule_AddObject() needs non-NULL value");
- return -1;
- }
-
- dict = PyModule_GetDict(m);
- if (dict == NULL) {
- /* Internal error -- modules must have a dict! */
- PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
- PyModule_GetName(m));
- return -1;
- }
- if (PyDict_SetItemString(dict, name, o))
- return -1;
- Py_DECREF(o);
- return 0;
- }
-#endif
-
- static swig_type_info **
- SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
- static PyMethodDef swig_empty_runtime_method_table[] = {
- {
- NULL, NULL, 0, NULL
- }
- };/* Sentinel */
-
- PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
- swig_empty_runtime_method_table);
- PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
- if (pointer && module) {
- PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
- }
- return type_list_handle;
- }
-
- static swig_type_info **
- SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
- swig_type_info **type_pointer;
-
- /* first check if module already created */
- type_pointer = SWIG_Python_GetTypeListHandle();
- if (type_pointer) {
- return type_pointer;
- } else {
- /* create a new module and variable */
- return SWIG_Python_SetTypeListHandle(type_list_handle);
- }
- }
-
#ifdef __cplusplus
}
#endif
* Partial Init method
* -----------------------------------------------------------------------------*/
-#ifdef SWIG_LINK_RUNTIME
-#ifdef __cplusplus
-extern "C"
-#endif
-SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
-#endif
-
#ifdef __cplusplus
extern "C"
#endif
-SWIGEXPORT(void) SWIG_init(void) {
+SWIGEXPORT void SWIG_init(void) {
static PyObject *SWIG_globals = 0;
- static int typeinit = 0;
PyObject *m, *d;
- int i;
if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
/* Fix SwigMethods to carry the callback ptrs when needed */
- SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
+ SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
m = Py_InitModule((char *) SWIG_name, SwigMethods);
d = PyModule_GetDict(m);
- if (!typeinit) {
-#ifdef SWIG_LINK_RUNTIME
- swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
-#else
-# ifndef SWIG_STATIC_RUNTIME
- swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
-# endif
-#endif
- for (i = 0; swig_types_initial[i]; i++) {
- swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
- }
- typeinit = 1;
- }
+ SWIG_InitializeModule(0);
SWIG_InstallConstants(d,swig_const_table);
{
- PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT)));
+ PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT)));
+ }
+ {
+ PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT)));
}
{
- PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT)));
+ PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT)));
}
{
- PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT)));
+ PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT)));
}
{
- PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT)));
+ PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT)));
}
{
- PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT)));
+ PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE)));
}
{
- PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE)));
+ PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT)));
}
{
- PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT)));
+ PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT)));
}
{
- PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT)));
+ PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT)));
}
{
- PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR)));
+ PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND)));
+ PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP)));
+ PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION)));
+ PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION)));
+ PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU)));
+ PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW)));
+ PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME)));
+ PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER)));
+ PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER)));
+ PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE)));
+ PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE)));
+ PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE)));
+ PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW)));
+ PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW)));
+ PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW)));
+ PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK)));
+ PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX)));
+ PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
+ PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
+ PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT)));
+ PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR)));
+ PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX)));
}
{
- PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX)));
+ PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS)));
}
{
- PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS)));
+ PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X)));
}
{
- PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X)));
+ PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y)));
}
{
- PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y)));
+ PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X)));
}
{
- PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X)));
+ PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y)));
}
{
- PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y)));
+ PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X)));
}
{
- PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X)));
+ PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y)));
}
{
- PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y)));
+ PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X)));
}
{
- PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X)));
+ PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y)));
}
{
- PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y)));
+ PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X)));
}
{
- PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X)));
+ PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y)));
}
{
- PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y)));
+ PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X)));
}
{
- PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X)));
+ PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y)));
}
{
- PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y)));
+ PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X)));
}
{
- PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X)));
+ PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X)));
}
{
- PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X)));
+ PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y)));
}
{
- PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y)));
+ PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X)));
}
{
- PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X)));
+ PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y)));
}
{
- PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y)));
+ PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X)));
}
{
- PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X)));
+ PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y)));
}
{
- PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y)));
+ PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X)));
}
{
- PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X)));
+ PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y)));
}
{
- PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y)));
+ PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X)));
}
{
- PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X)));
+ PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y)));
}
{
- PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y)));
+ PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X)));
}
{
- PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X)));
+ PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y)));
}
{
- PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y)));
+ PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y)));
}
{
- PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y)));
+ PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X)));
}
{
- PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X)));
+ PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X)));
}
{
- PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X)));
+ PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y)));
}
{
- PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y)));
+ PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y)));
}
{
- PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y)));
+ PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y)));
}
{
- PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y)));
+ PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y)));
}
{
- PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y)));
+ PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT)));
}
{
- PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT)));
+ PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT)));
}
{
- PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT)));
+ PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS)));
}
{
- PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS)));
+ PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS)));
}
{
- PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS)));
+ PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
}
{
- PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
+ PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME)));
}
{
- PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME)));
+ PyDict_SetItemString(d,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT)));
}
{
- PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE)));
+ PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE)));
}
{
- PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY)));
+ PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY)));
}
{
- PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA)));
+ PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA)));
}
{
- PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL)));
+ PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL)));
}
{
- PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP)));
+ PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP)));
}
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
{
- PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF)));
+ PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF)));
}
{
- PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT)));
+ PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT)));
}
{
- PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS)));
+ PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS)));
}
{
- PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT)));
+ PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT)));
}
PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
{
- PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError)));
+ PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError)));
}
{
- PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error)));
+ PyDict_SetItemString(d,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error)));
}
{
- PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning)));
+ PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning)));
}
{
- PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message)));
+ PyDict_SetItemString(d,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message)));
}
{
- PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status)));
+ PyDict_SetItemString(d,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status)));
}
{
- PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info)));
+ PyDict_SetItemString(d,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info)));
}
{
- PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug)));
+ PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug)));
}
{
- PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace)));
+ PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace)));
}
{
- PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress)));
+ PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress)));
}
{
- PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User)));
+ PyDict_SetItemString(d,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User)));
}
{
- PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max)));
+ PyDict_SetItemString(d,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max)));
}
PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
{
- PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
+ PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
}
{
- PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002)));
+ PyDict_SetItemString(d,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
}
{
- PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
+ PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
}
{
- PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008)));
+ PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
}
{
- PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
+ PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
}
{
- PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT)));
+ PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT)));
}
{
- PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT)));
+ PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT)));
}
{
- PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK)));
+ PyDict_SetItemString(d,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK)));
}
{
- PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL)));
+ PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL)));
}
{
- PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED)));
+ PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED)));
}
{
- PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS)));
+ PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS)));
}
{
- PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR)));
+ PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR)));
}
{
- PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN)));
+ PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN)));
}
{
- PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN)));
+ PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN)));
}
{
- PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE)));
+ PyDict_SetItemString(d,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE)));
}
{
- PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP)));
+ PyDict_SetItemString(d,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP)));
}
{
- PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT)));
+ PyDict_SetItemString(d,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT)));
}
{
- PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT)));
+ PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT)));
}
{
- PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL)));
+ PyDict_SetItemString(d,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL)));
}
{
- PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP)));
+ PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP)));
}
{
- PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT)));
+ PyDict_SetItemString(d,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT)));
}
{
- PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT)));
+ PyDict_SetItemString(d,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT)));
}
{
- PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT)));
+ PyDict_SetItemString(d,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT)));
}
{
- PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE)));
+ PyDict_SetItemString(d,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE)));
}
{
- PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL)));
+ PyDict_SetItemString(d,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL)));
}
{
- PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS)));
+ PyDict_SetItemString(d,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS)));
}
{
- PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV)));
+ PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV)));
}
{
- PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS)));
+ PyDict_SetItemString(d,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS)));
}
{
- PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE)));
+ PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE)));
}
{
- PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM)));
+ PyDict_SetItemString(d,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM)));
}
{
- PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM)));
+ PyDict_SetItemString(d,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM)));
}
PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
{
- PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC)));
+ PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC)));
}
{
- PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC)));
+ PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC)));
}
{
- PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE)));
+ PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE)));
}
{
- PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER)));
+ PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER)));
}
{
- PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE)));
+ PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE)));
}
wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
{
- PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1)));
+ PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1)));
}
{
- PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2)));
+ PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2)));
}
{
- PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY)));
+ PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY)));
}
{
- PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1)));
+ PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1)));
}
{
- PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2)));
+ PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2)));
}
{
- PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3)));
+ PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3)));
}
{
- PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4)));
+ PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4)));
}
PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
{
- PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC)));
+ PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC)));
}
{
- PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC)));
+ PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC)));
}
{
- PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP)));
+ PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP)));
}
{
- PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD)));
+ PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD)));
}
{
- PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE)));
+ PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE)));
}
{
- PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE)));
+ PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE)));
}
{
- PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME)));
+ PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME)));
}
{
- PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL)));
+ PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL)));
}
SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
+ SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
{
- PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE)));
+ PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE)));
}
{
- PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE)));
+ PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE)));
}
{
- PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH)));
+ PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH)));
}
{
- PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
+ PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
}
{
- PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown)));
+ PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown)));
}
{
- PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String)));
+ PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String)));
}
{
- PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean)));
+ PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean)));
}
{
- PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer)));
+ PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer)));
}
{
- PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float)));
+ PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float)));
}
SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
{
- PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local)));
+ PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12)));
+ PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11)));
+ PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10)));
+ PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9)));
+ PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8)));
+ PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7)));
+ PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6)));
+ PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5)));
+ PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4)));
+ PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3)));
+ PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2)));
+ PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1)));
+ PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0)));
+ PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1)));
+ PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2)));
+ PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3)));
+ PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4)));
+ PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5)));
+ PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6)));
+ PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7)));
+ PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8)));
+ PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9)));
+ PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10)));
+ PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11)));
+ PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11)));
}
{
- PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12)));
+ PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12)));
}
{
- PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET)));
+ PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET)));
}
{
- PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST)));
+ PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST)));
}
{
- PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET)));
+ PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET)));
}
{
- PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST)));
+ PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST)));
}
{
- PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET)));
+ PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET)));
}
{
- PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST)));
+ PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST)));
}
{
- PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK)));
+ PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK)));
}
{
- PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD)));
+ PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD)));
}
{
- PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST)));
+ PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST)));
}
{
- PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT)));
+ PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT)));
}
{
- PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST)));
+ PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST)));
}
{
- PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT)));
+ PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT)));
}
{
- PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST)));
+ PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST)));
}
{
- PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT)));
+ PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT)));
}
{
- PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST)));
+ PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST)));
}
{
- PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT)));
+ PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT)));
}
{
- PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST)));
+ PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST)));
}
{
- PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT)));
+ PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT)));
}
{
- PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST)));
+ PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST)));
}
{
- PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST)));
+ PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST)));
}
{
- PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT)));
+ PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT)));
}
{
- PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST)));
+ PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST)));
}
{
- PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST)));
+ PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST)));
}
{
- PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST)));
+ PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST)));
}
{
- PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST)));
+ PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST)));
}
{
- PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC)));
+ PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC)));
}
{
- PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian)));
+ PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian)));
}
{
- PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian)));
+ PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown)));
+ PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard)));
+ PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska)));
+ PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania)));
+ PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria)));
+ PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen)));
+ PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg)));
+ PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol)));
+ PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia)));
+ PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria)));
+ PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium)));
+ PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria)));
+ PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1)));
+ PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2)));
+ PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3)));
+ PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada)));
+ PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China)));
+ PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1)));
+ PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2)));
+ PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia)));
+ PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark)));
+ PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt)));
+ PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia)));
+ PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland)));
+ PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France)));
+ PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace)));
+ PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine)));
+ PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg)));
+ PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany)));
+ PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic)));
+ PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia)));
+ PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant)));
+ PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain)));
+ PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece)));
+ PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary)));
+ PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland)));
+ PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy)));
+ PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan)));
+ PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1)));
+ PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2)));
+ PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3)));
+ PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia)));
+ PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania)));
+ PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg)));
+ PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands)));
+ PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen)));
+ PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland)));
+ PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht)));
+ PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland)));
+ PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway)));
+ PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland)));
+ PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal)));
+ PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania)));
+ PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia)));
+ PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland)));
+ PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain)));
+ PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden)));
+ PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland)));
+ PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic)));
+ PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant)));
+ PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey)));
+ PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA)));
+ PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales)));
+ PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales)));
}
{
- PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia)));
+ PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia)));
}
{
- PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown)));
+ PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown)));
}
{
- PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default)));
+ PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default)));
}
{
- PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start)));
+ PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start)));
}
{
- PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC)));
+ PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC)));
}
{
- PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France)));
+ PyDict_SetItemString(d,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France)));
}
{
- PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany)));
+ PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany)));
}
{
- PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK)));
+ PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK)));
}
{
- PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End)));
+ PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End)));
}
{
- PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia)));
+ PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia)));
}
{
- PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA)));
+ PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA)));
}
{
- PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan)));
+ PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan)));
}
{
- PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb)));
+ PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb)));
}
{
- PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar)));
+ PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar)));
}
{
- PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr)));
+ PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr)));
}
{
- PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May)));
+ PyDict_SetItemString(d,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May)));
}
{
- PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun)));
+ PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun)));
}
{
- PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul)));
+ PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul)));
}
{
- PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug)));
+ PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug)));
}
{
- PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep)));
+ PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep)));
}
{
- PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct)));
+ PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct)));
}
{
- PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov)));
+ PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov)));
}
{
- PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec)));
+ PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec)));
}
{
- PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month)));
+ PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month)));
}
{
- PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun)));
+ PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun)));
}
{
- PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon)));
+ PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon)));
}
{
- PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue)));
+ PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue)));
}
{
- PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed)));
+ PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed)));
}
{
- PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu)));
+ PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu)));
}
{
- PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri)));
+ PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri)));
}
{
- PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat)));
+ PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat)));
}
{
- PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay)));
+ PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay)));
}
{
- PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year)));
+ PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year)));
}
{
- PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full)));
+ PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full)));
}
{
- PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr)));
+ PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr)));
}
{
- PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First)));
+ PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First)));
}
{
- PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First)));
+ PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First)));
}
{
- PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First)));
+ PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First)));
}
SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
{
- PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID)));
+ PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID)));
}
{
- PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT)));
+ PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT)));
}
{
- PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP)));
+ PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP)));
}
{
- PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE)));
+ PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE)));
}
{
- PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK)));
+ PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK)));
}
{
- PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF)));
+ PyDict_SetItemString(d,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF)));
}
{
- PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF)));
+ PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF)));
}
{
- PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT)));
+ PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT)));
}
{
- PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB)));
+ PyDict_SetItemString(d,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB)));
}
{
- PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE)));
+ PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE)));
}
{
- PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA)));
+ PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA)));
}
{
- PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF)));
+ PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF)));
}
{
- PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE)));
+ PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE)));
}
{
- PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT)));
+ PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT)));
}
{
- PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE)));
+ PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE)));
}
{
- PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME)));
+ PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME)));
}
{
- PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE)));
+ PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE)));
}
{
- PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE)));
+ PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE)));
}
{
- PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML)));
+ PyDict_SetItemString(d,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML)));
}
{
- PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX)));
+ PyDict_SetItemString(d,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX)));
}
SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
{
- PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get)));
+ PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get)));
}
{
- PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set)));
+ PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set)));
}
{
- PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both)));
+ PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both)));
}
{
- PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly)));
+ PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly)));
}
{
- PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove)));
+ PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove)));
}
{
- PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove)));
+ PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove)));
}
{
- PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError)));
+ PyDict_SetItemString(d,"DragError", SWIG_From_int(static_cast<int >(wxDragError)));
}
{
- PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone)));
+ PyDict_SetItemString(d,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone)));
}
{
- PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy)));
+ PyDict_SetItemString(d,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy)));
}
{
- PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove)));
+ PyDict_SetItemString(d,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove)));
}
{
- PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink)));
+ PyDict_SetItemString(d,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink)));
}
{
- PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel)));
+ PyDict_SetItemString(d,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel)));
}
wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");