1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_void swig_types[6]
1442 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1443 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445 #define SWIGTYPE_p_wxArrayString swig_types[10]
1446 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447 #define SWIGTYPE_p_wxBitmap swig_types[12]
1448 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
1449 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
1450 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
1451 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
1452 #define SWIGTYPE_p_wxCURHandler swig_types[17]
1453 #define SWIGTYPE_p_wxCaret swig_types[18]
1454 #define SWIGTYPE_p_wxChar swig_types[19]
1455 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1456 #define SWIGTYPE_p_wxClipboard swig_types[21]
1457 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1458 #define SWIGTYPE_p_wxCloseEvent swig_types[23]
1459 #define SWIGTYPE_p_wxColour swig_types[24]
1460 #define SWIGTYPE_p_wxCommandEvent swig_types[25]
1461 #define SWIGTYPE_p_wxConfig swig_types[26]
1462 #define SWIGTYPE_p_wxConfigBase swig_types[27]
1463 #define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
1464 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
1465 #define SWIGTYPE_p_wxControl swig_types[30]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
1467 #define SWIGTYPE_p_wxCursor swig_types[32]
1468 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1469 #define SWIGTYPE_p_wxDC swig_types[34]
1470 #define SWIGTYPE_p_wxDataFormat swig_types[35]
1471 #define SWIGTYPE_p_wxDataObject swig_types[36]
1472 #define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
1473 #define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
1474 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1475 #define SWIGTYPE_p_wxDateSpan swig_types[40]
1476 #define SWIGTYPE_p_wxDateTime swig_types[41]
1477 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
1478 #define SWIGTYPE_p_wxDisplay swig_types[43]
1479 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
1480 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
1481 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
1482 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
1483 #define SWIGTYPE_p_wxEvent swig_types[48]
1484 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
1485 #define SWIGTYPE_p_wxFSFile swig_types[50]
1486 #define SWIGTYPE_p_wxFileConfig swig_types[51]
1487 #define SWIGTYPE_p_wxFileDataObject swig_types[52]
1488 #define SWIGTYPE_p_wxFileHistory swig_types[53]
1489 #define SWIGTYPE_p_wxFileSystem swig_types[54]
1490 #define SWIGTYPE_p_wxFileType swig_types[55]
1491 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1492 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
1493 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
1494 #define SWIGTYPE_p_wxFont swig_types[59]
1495 #define SWIGTYPE_p_wxFrame swig_types[60]
1496 #define SWIGTYPE_p_wxGBSizerItem swig_types[61]
1497 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
1498 #define SWIGTYPE_p_wxGridBagSizer swig_types[63]
1499 #define SWIGTYPE_p_wxGridSizer swig_types[64]
1500 #define SWIGTYPE_p_wxICOHandler swig_types[65]
1501 #define SWIGTYPE_p_wxIcon swig_types[66]
1502 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
1503 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
1504 #define SWIGTYPE_p_wxImage swig_types[69]
1505 #define SWIGTYPE_p_wxImageHandler swig_types[70]
1506 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
1507 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
1508 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1509 #define SWIGTYPE_p_wxJoystick swig_types[74]
1510 #define SWIGTYPE_p_wxJoystickEvent swig_types[75]
1511 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
1512 #define SWIGTYPE_p_wxKillError swig_types[77]
1513 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
1514 #define SWIGTYPE_p_wxLog swig_types[79]
1515 #define SWIGTYPE_p_wxLogBuffer swig_types[80]
1516 #define SWIGTYPE_p_wxLogChain swig_types[81]
1517 #define SWIGTYPE_p_wxLogGui swig_types[82]
1518 #define SWIGTYPE_p_wxLogNull swig_types[83]
1519 #define SWIGTYPE_p_wxLogStderr swig_types[84]
1520 #define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
1521 #define SWIGTYPE_p_wxLogWindow swig_types[86]
1522 #define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
1523 #define SWIGTYPE_p_wxMemorySize swig_types[88]
1524 #define SWIGTYPE_p_wxMenu swig_types[89]
1525 #define SWIGTYPE_p_wxMenuBar swig_types[90]
1526 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
1527 #define SWIGTYPE_p_wxMenuItem swig_types[92]
1528 #define SWIGTYPE_p_wxMetafileDataObject swig_types[93]
1529 #define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
1530 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
1531 #define SWIGTYPE_p_wxMouseEvent swig_types[96]
1532 #define SWIGTYPE_p_wxMouseState swig_types[97]
1533 #define SWIGTYPE_p_wxMoveEvent swig_types[98]
1534 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[99]
1535 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1536 #define SWIGTYPE_p_wxNcPaintEvent swig_types[101]
1537 #define SWIGTYPE_p_wxNotifyEvent swig_types[102]
1538 #define SWIGTYPE_p_wxObject swig_types[103]
1539 #define SWIGTYPE_p_wxOutputStream swig_types[104]
1540 #define SWIGTYPE_p_wxPCXHandler swig_types[105]
1541 #define SWIGTYPE_p_wxPNGHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPNMHandler swig_types[107]
1543 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
1544 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
1545 #define SWIGTYPE_p_wxPaperSize swig_types[110]
1546 #define SWIGTYPE_p_wxPoint swig_types[111]
1547 #define SWIGTYPE_p_wxProcessEvent swig_types[112]
1548 #define SWIGTYPE_p_wxPyApp swig_types[113]
1549 #define SWIGTYPE_p_wxPyArtProvider swig_types[114]
1550 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[115]
1551 #define SWIGTYPE_p_wxPyCommandEvent swig_types[116]
1552 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[117]
1553 #define SWIGTYPE_p_wxPyDropSource swig_types[118]
1554 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1555 #define SWIGTYPE_p_wxPyEvent swig_types[120]
1556 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[121]
1557 #define SWIGTYPE_p_wxPyImageHandler swig_types[122]
1558 #define SWIGTYPE_p_wxPyLog swig_types[123]
1559 #define SWIGTYPE_p_wxPyProcess swig_types[124]
1560 #define SWIGTYPE_p_wxPySizer swig_types[125]
1561 #define SWIGTYPE_p_wxPyTextDataObject swig_types[126]
1562 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[127]
1563 #define SWIGTYPE_p_wxPyTimer swig_types[128]
1564 #define SWIGTYPE_p_wxPyTipProvider swig_types[129]
1565 #define SWIGTYPE_p_wxPyValidator swig_types[130]
1566 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[131]
1567 #define SWIGTYPE_p_wxRect swig_types[132]
1568 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
1569 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
1570 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
1571 #define SWIGTYPE_p_wxShowEvent swig_types[136]
1572 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[137]
1573 #define SWIGTYPE_p_wxSize swig_types[138]
1574 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
1575 #define SWIGTYPE_p_wxSizer swig_types[140]
1576 #define SWIGTYPE_p_wxSizerItem swig_types[141]
1577 #define SWIGTYPE_p_wxSound swig_types[142]
1578 #define SWIGTYPE_p_wxStandardPaths swig_types[143]
1579 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
1580 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
1581 #define SWIGTYPE_p_wxStopWatch swig_types[146]
1582 #define SWIGTYPE_p_wxString swig_types[147]
1583 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
1584 #define SWIGTYPE_p_wxSystemOptions swig_types[149]
1585 #define SWIGTYPE_p_wxSystemSettings swig_types[150]
1586 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
1587 #define SWIGTYPE_p_wxTextCtrl swig_types[152]
1588 #define SWIGTYPE_p_wxTextDataObject swig_types[153]
1589 #define SWIGTYPE_p_wxTimeSpan swig_types[154]
1590 #define SWIGTYPE_p_wxTimer swig_types[155]
1591 #define SWIGTYPE_p_wxTimerEvent swig_types[156]
1592 #define SWIGTYPE_p_wxTimerRunner swig_types[157]
1593 #define SWIGTYPE_p_wxTipProvider swig_types[158]
1594 #define SWIGTYPE_p_wxToolTip swig_types[159]
1595 #define SWIGTYPE_p_wxURLDataObject swig_types[160]
1596 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[161]
1597 #define SWIGTYPE_p_wxValidator swig_types[162]
1598 #define SWIGTYPE_p_wxVideoMode swig_types[163]
1599 #define SWIGTYPE_p_wxWindow swig_types[164]
1600 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
1601 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[166]
1602 #define SWIGTYPE_p_wxWindowDisabler swig_types[167]
1603 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
1604 #define SWIGTYPE_ptrdiff_t swig_types[169]
1605 #define SWIGTYPE_std__ptrdiff_t swig_types[170]
1606 #define SWIGTYPE_unsigned_int swig_types[171]
1607 static swig_type_info
*swig_types
[173];
1608 static swig_module_info swig_module
= {swig_types
, 172, 0, 0, 0, 0};
1609 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1610 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1612 /* -------- TYPES TABLE (END) -------- */
1615 /*-----------------------------------------------
1616 @(target):= _misc_.so
1617 ------------------------------------------------*/
1618 #define SWIG_init init_misc_
1620 #define SWIG_name "_misc_"
1622 #include "wx/wxPython/wxPython.h"
1623 #include "wx/wxPython/pyclasses.h"
1624 #include "wx/wxPython/pyistream.h"
1626 static const wxString
wxPyEmptyString(wxEmptyString
);
1630 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1631 #define SWIG_From_int PyInt_FromLong
1639 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1642 if (value
< min_value
) {
1644 PyErr_Format(PyExc_OverflowError
,
1645 "value %ld is less than '%s' minimum %ld",
1646 value
, errmsg
, min_value
);
1649 } else if (value
> max_value
) {
1651 PyErr_Format(PyExc_OverflowError
,
1652 "value %ld is greater than '%s' maximum %ld",
1653 value
, errmsg
, max_value
);
1662 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1664 if (PyNumber_Check(obj
)) {
1665 if (val
) *val
= PyInt_AsLong(obj
);
1669 SWIG_Python_TypeError("number", obj
);
1675 #if INT_MAX != LONG_MAX
1677 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1679 const char* errmsg
= val
? "int" : (char*)0;
1681 if (SWIG_AsVal_long(obj
, &v
)) {
1682 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1683 if (val
) *val
= static_cast<int >(v
);
1692 SWIG_type_error(errmsg
, obj
);
1697 SWIGINTERNINLINE
int
1698 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1700 return SWIG_AsVal_long(obj
,(long*)val
);
1705 SWIGINTERNINLINE
int
1706 SWIG_As_int(PyObject
* obj
)
1709 if (!SWIG_AsVal_int(obj
, &v
)) {
1711 this is needed to make valgrind/purify happier.
1713 memset((void*)&v
, 0, sizeof(int));
1719 SWIGINTERNINLINE
int
1720 SWIG_Check_int(PyObject
* obj
)
1722 return SWIG_AsVal_int(obj
, (int*)0);
1725 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1727 #include <wx/stockitem.h>
1729 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1730 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1731 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1733 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1734 #define SWIG_From_long PyInt_FromLong
1738 SWIGINTERNINLINE
long
1739 SWIG_As_long(PyObject
* obj
)
1742 if (!SWIG_AsVal_long(obj
, &v
)) {
1744 this is needed to make valgrind/purify happier.
1746 memset((void*)&v
, 0, sizeof(long));
1752 SWIGINTERNINLINE
int
1753 SWIG_Check_long(PyObject
* obj
)
1755 return SWIG_AsVal_long(obj
, (long*)0);
1760 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1762 if (obj
== Py_True
) {
1763 if (val
) *val
= true;
1766 if (obj
== Py_False
) {
1767 if (val
) *val
= false;
1771 if (SWIG_AsVal_int(obj
, &res
)) {
1772 if (val
) *val
= res
? true : false;
1778 SWIG_type_error("bool", obj
);
1784 SWIGINTERNINLINE
bool
1785 SWIG_As_bool(PyObject
* obj
)
1788 if (!SWIG_AsVal_bool(obj
, &v
)) {
1790 this is needed to make valgrind/purify happier.
1792 memset((void*)&v
, 0, sizeof(bool));
1798 SWIGINTERNINLINE
int
1799 SWIG_Check_bool(PyObject
* obj
)
1801 return SWIG_AsVal_bool(obj
, (bool*)0);
1805 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1811 } else if (result
== Py_None
) {
1815 if (!PyTuple_Check(result
)) {
1817 result
= PyTuple_New(1);
1818 PyTuple_SET_ITEM(result
, 0, o2
);
1820 o3
= PyTuple_New(1);
1821 PyTuple_SetItem(o3
, 0, obj
);
1823 result
= PySequence_Concat(o2
, o3
);
1832 wxMemorySize
wxGetFreeMemory()
1833 { wxPyRaiseNotImplemented(); return 0; }
1837 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1840 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1841 SWIG_Python_TypeError("unsigned number", obj
);
1844 *val
= (unsigned long)v
;
1849 SWIGINTERNINLINE
unsigned long
1850 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(unsigned long));
1863 SWIGINTERNINLINE
int
1864 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1866 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1870 SWIGINTERNINLINE PyObject
*
1871 SWIG_From_unsigned_SS_long(unsigned long value
)
1873 return (value
> LONG_MAX
) ?
1874 PyLong_FromUnsignedLong(value
)
1875 : PyInt_FromLong(static_cast<long >(value
));
1879 void* wxGetXDisplay()
1882 return wxGetDisplay();
1889 wxWindow
* FindWindowAtPointer() {
1891 return wxFindWindowAtPointer(unused
);
1895 void wxWakeUpMainThread() {}
1898 bool wxThread_IsMain() {
1899 #ifdef WXP_WITH_THREAD
1900 return wxThread::IsMain();
1906 static void wxCaret_Destroy(wxCaret
*self
){
1910 #include <wx/snglinst.h>
1914 #include <wx/msw/private.h>
1915 #include <wx/dynload.h>
1920 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1931 // This one only partially works. Appears to be an undocumented
1932 // "standard" convention that not all widgets adhear to. For
1933 // example, for some widgets backgrounds or non-client areas may
1935 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1940 // This one works much better, nearly all widgets and their
1941 // children are captured correctly[**]. Prior to the big
1942 // background erase changes that Vadim did in 2004-2005 this
1943 // method failed badly on XP with Themes activated, most native
1944 // widgets draw only partially, if at all. Without themes it
1945 // worked just like on Win2k. After those changes this method
1948 // ** For example the radio buttons in a wxRadioBox are not its
1949 // children by default, but you can capture it via the panel
1950 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1951 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1952 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1953 PRF_ERASEBKGND
| PRF_OWNED
);
1959 // This one is only defined in the latest SDK and is only
1960 // available on XP. MSDN says it is similar to sending WM_PRINT
1961 // so I expect that it will work similar to the above. Since it
1962 // is avaialble only on XP, it can't be compiled like this and
1963 // will have to be loaded dynamically.
1964 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1969 // Use PrintWindow if available, or fallback to WM_PRINT
1970 // otherwise. Unfortunately using PrintWindow is even worse than
1971 // WM_PRINT. For most native widgets nothing is drawn to the dc
1972 // at all, with or without Themes.
1973 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1974 static bool s_triedToLoad
= false;
1975 static PrintWindow_t pfnPrintWindow
= NULL
;
1976 if ( !s_triedToLoad
)
1979 s_triedToLoad
= true;
1980 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1981 if ( dllUser32
.IsLoaded() )
1983 wxLogNull nolog
; // Don't report errors here
1984 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1989 //printf("Using PrintWindow\n");
1990 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1994 //printf("Using WM_PRINT\n");
1995 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1996 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1997 PRF_ERASEBKGND
| PRF_OWNED
);
2008 #include <wx/tipdlg.h>
2011 class wxPyTipProvider
: public wxTipProvider
{
2013 wxPyTipProvider(size_t currentTip
)
2014 : wxTipProvider(currentTip
) {}
2016 DEC_PYCALLBACK_STRING__pure(GetTip
);
2017 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2021 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2022 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2025 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
2027 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2029 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2030 : wxTimer(owner
, id
)
2032 if (owner
== NULL
) SetOwner(this);
2036 void wxPyTimer::Notify() {
2038 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2039 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
2040 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
2041 wxPyEndBlockThreads(blocked
);
2045 void wxPyTimer::base_Notify() {
2051 SWIGINTERN PyObject
*
2052 SWIG_FromCharPtr(const char* cptr
)
2055 size_t size
= strlen(cptr
);
2056 if (size
> INT_MAX
) {
2057 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2058 SWIG_TypeQuery("char *"), 0);
2061 return PyString_FromStringAndSize(cptr
, size
);
2063 return PyString_FromString(cptr
);
2072 SWIGINTERNINLINE
int
2073 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2074 unsigned long max_value
,
2077 if (value
> max_value
) {
2079 PyErr_Format(PyExc_OverflowError
,
2080 "value %lu is greater than '%s' minimum %lu",
2081 value
, errmsg
, max_value
);
2089 #if UINT_MAX != ULONG_MAX
2091 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2093 const char* errmsg
= val
? "unsigned int" : (char*)0;
2095 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2096 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2097 if (val
) *val
= static_cast<unsigned int >(v
);
2104 SWIG_type_error(errmsg
, obj
);
2109 SWIGINTERNINLINE
unsigned int
2110 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2112 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2117 SWIGINTERNINLINE
unsigned int
2118 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2121 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2123 this is needed to make valgrind/purify happier.
2125 memset((void*)&v
, 0, sizeof(unsigned int));
2131 SWIGINTERNINLINE
int
2132 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2134 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2137 static wxString
wxLog_TimeStamp(){
2139 wxLog::TimeStamp(&msg
);
2142 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
2143 // Make some wrappers that double any % signs so they are 'escaped'
2144 void wxPyLogFatalError(const wxString
& msg
)
2147 m
.Replace(wxT("%"), wxT("%%"));
2151 void wxPyLogError(const wxString
& msg
)
2154 m
.Replace(wxT("%"), wxT("%%"));
2158 void wxPyLogWarning(const wxString
& msg
)
2161 m
.Replace(wxT("%"), wxT("%%"));
2165 void wxPyLogMessage(const wxString
& msg
)
2168 m
.Replace(wxT("%"), wxT("%%"));
2172 void wxPyLogInfo(const wxString
& msg
)
2175 m
.Replace(wxT("%"), wxT("%%"));
2179 void wxPyLogDebug(const wxString
& msg
)
2182 m
.Replace(wxT("%"), wxT("%%"));
2186 void wxPyLogVerbose(const wxString
& msg
)
2189 m
.Replace(wxT("%"), wxT("%%"));
2193 void wxPyLogStatus(const wxString
& msg
)
2196 m
.Replace(wxT("%"), wxT("%%"));
2200 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2203 m
.Replace(wxT("%"), wxT("%%"));
2204 wxLogStatus(pFrame
, m
);
2207 void wxPyLogSysError(const wxString
& msg
)
2210 m
.Replace(wxT("%"), wxT("%%"));
2214 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2217 m
.Replace(wxT("%"), wxT("%%"));
2218 wxLogGeneric(level
, m
);
2221 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2224 m
.Replace(wxT("%"), wxT("%%"));
2225 wxLogTrace(mask
, m
);
2228 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2231 m
.Replace(wxT("%"), wxT("%%"));
2232 wxLogTrace(mask
, m
);
2237 // A wxLog class that can be derived from in wxPython
2238 class wxPyLog
: public wxLog
{
2240 wxPyLog() : wxLog() {}
2242 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2244 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2245 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2246 PyObject
* s
= wx2PyString(szString
);
2247 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2250 wxPyEndBlockThreads(blocked
);
2252 wxLog::DoLog(level
, szString
, t
);
2255 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2257 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2258 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2259 PyObject
* s
= wx2PyString(szString
);
2260 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2263 wxPyEndBlockThreads(blocked
);
2265 wxLog::DoLogString(szString
, t
);
2274 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2277 #include <wx/joystick.h>
2280 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2281 // A C++ stub class for wxJoystick for platforms that don't have it.
2282 class wxJoystick
: public wxObject
{
2284 wxJoystick(int joystick
= wxJOYSTICK1
) {
2285 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2286 PyErr_SetString(PyExc_NotImplementedError
,
2287 "wxJoystick is not available on this platform.");
2288 wxPyEndBlockThreads(blocked
);
2290 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2291 int GetZPosition() { return -1; }
2292 int GetButtonState() { return -1; }
2293 int GetPOVPosition() { return -1; }
2294 int GetPOVCTSPosition() { return -1; }
2295 int GetRudderPosition() { return -1; }
2296 int GetUPosition() { return -1; }
2297 int GetVPosition() { return -1; }
2298 int GetMovementThreshold() { return -1; }
2299 void SetMovementThreshold(int threshold
) {}
2301 bool IsOk(void) { return false; }
2302 int GetNumberJoysticks() { return -1; }
2303 int GetManufacturerId() { return -1; }
2304 int GetProductId() { return -1; }
2305 wxString
GetProductName() { return wxEmptyString
; }
2306 int GetXMin() { return -1; }
2307 int GetYMin() { return -1; }
2308 int GetZMin() { return -1; }
2309 int GetXMax() { return -1; }
2310 int GetYMax() { return -1; }
2311 int GetZMax() { return -1; }
2312 int GetNumberButtons() { return -1; }
2313 int GetNumberAxes() { return -1; }
2314 int GetMaxButtons() { return -1; }
2315 int GetMaxAxes() { return -1; }
2316 int GetPollingMin() { return -1; }
2317 int GetPollingMax() { return -1; }
2318 int GetRudderMin() { return -1; }
2319 int GetRudderMax() { return -1; }
2320 int GetUMin() { return -1; }
2321 int GetUMax() { return -1; }
2322 int GetVMin() { return -1; }
2323 int GetVMax() { return -1; }
2325 bool HasRudder() { return false; }
2326 bool HasZ() { return false; }
2327 bool HasU() { return false; }
2328 bool HasV() { return false; }
2329 bool HasPOV() { return false; }
2330 bool HasPOV4Dir() { return false; }
2331 bool HasPOVCTS() { return false; }
2333 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2334 bool ReleaseCapture() { return false; }
2339 #include <wx/sound.h>
2343 // A C++ stub class for wxWave for platforms that don't have it.
2344 class wxSound
: public wxObject
2348 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2349 PyErr_SetString(PyExc_NotImplementedError
,
2350 "wxSound is not available on this platform.");
2351 wxPyEndBlockThreads(blocked
);
2353 wxSound(const wxString
&/*, bool*/) {
2354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2355 PyErr_SetString(PyExc_NotImplementedError
,
2356 "wxSound is not available on this platform.");
2357 wxPyEndBlockThreads(blocked
);
2359 wxSound(int, const wxByte
*) {
2360 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2361 PyErr_SetString(PyExc_NotImplementedError
,
2362 "wxSound is not available on this platform.");
2363 wxPyEndBlockThreads(blocked
);
2368 bool Create(const wxString
&/*, bool*/) { return false; }
2369 bool Create(int, const wxByte
*) { return false; };
2370 bool IsOk() { return false; };
2371 bool Play(unsigned) const { return false; }
2372 static bool Play(const wxString
&, unsigned) { return false; }
2373 static void Stop() {}
2378 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2379 if (fileName
.Length() == 0)
2382 return new wxSound(fileName
);
2384 static wxSound
*new_wxSound(PyObject
*data
){
2385 unsigned char* buffer
; int size
;
2386 wxSound
*sound
= NULL
;
2388 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2389 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2391 sound
= new wxSound(size
, buffer
);
2393 wxPyEndBlockThreads(blocked
);
2396 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2398 unsigned char* buffer
;
2402 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2403 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2405 rv
= self
->Create(size
, buffer
);
2407 wxPyEndBlockThreads(blocked
);
2410 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2411 PyErr_SetString(PyExc_NotImplementedError
,
2412 "Create from data is not available on this platform.");
2413 wxPyEndBlockThreads(blocked
);
2418 #include <wx/mimetype.h>
2420 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2422 if (self
->GetMimeType(&str
))
2423 return wx2PyString(str
);
2427 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2429 if (self
->GetMimeTypes(arr
))
2430 return wxArrayString2PyList_helper(arr
);
2434 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2436 if (self
->GetExtensions(arr
))
2437 return wxArrayString2PyList_helper(arr
);
2441 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2443 if (self
->GetIcon(&loc
))
2444 return new wxIcon(loc
);
2448 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2450 if (self
->GetIcon(&loc
)) {
2451 wxString iconFile
= loc
.GetFileName();
2456 // Make a tuple and put the values in it
2457 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2458 PyObject
* tuple
= PyTuple_New(3);
2459 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2460 wxT("wxIcon"), true));
2461 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2462 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2463 wxPyEndBlockThreads(blocked
);
2469 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2471 if (self
->GetDescription(&str
))
2472 return wx2PyString(str
);
2476 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2478 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2479 return wx2PyString(str
);
2483 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2485 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2486 return wx2PyString(str
);
2490 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2491 wxArrayString verbs
;
2492 wxArrayString commands
;
2493 if (self
->GetAllCommands(&verbs
, &commands
,
2494 wxFileType::MessageParameters(filename
, mimetype
))) {
2495 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2496 PyObject
* tuple
= PyTuple_New(2);
2497 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2498 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2499 wxPyEndBlockThreads(blocked
);
2505 static wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2506 return wxFileType::ExpandCommand(command
,
2507 wxFileType::MessageParameters(filename
, mimetype
));
2509 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2511 self
->EnumAllFileTypes(arr
);
2512 return wxArrayString2PyList_helper(arr
);
2515 #include <wx/artprov.h>
2517 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2518 static const wxString
wxPyART_MENU(wxART_MENU
);
2519 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2520 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2521 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2522 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2523 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2524 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2525 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2526 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2527 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2528 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2529 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2530 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2531 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2532 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2533 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2534 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2535 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2536 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2537 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2538 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2539 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2540 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2541 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2542 static const wxString
wxPyART_HELP(wxART_HELP
);
2543 static const wxString
wxPyART_TIP(wxART_TIP
);
2544 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2545 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2546 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2547 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2548 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2549 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2550 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2551 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2552 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2553 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2554 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2555 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2556 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2557 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2558 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2559 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2560 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2561 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2562 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2563 static const wxString
wxPyART_COPY(wxART_COPY
);
2564 static const wxString
wxPyART_CUT(wxART_CUT
);
2565 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2566 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2567 static const wxString
wxPyART_NEW(wxART_NEW
);
2568 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2569 static const wxString
wxPyART_REDO(wxART_REDO
);
2570 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2571 static const wxString
wxPyART_FIND(wxART_FIND
);
2572 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2573 // Python aware wxArtProvider
2574 class wxPyArtProvider
: public wxArtProvider
{
2577 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2578 const wxArtClient
& client
,
2579 const wxSize
& size
) {
2580 wxBitmap rval
= wxNullBitmap
;
2581 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2582 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2583 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2587 s1
= wx2PyString(id
);
2588 s2
= wx2PyString(client
);
2589 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2594 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2599 wxPyEndBlockThreads(blocked
);
2606 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2610 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2611 PyObject
* ret
= PyTuple_New(3);
2613 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2614 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2615 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2620 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2625 cont
= self
->GetFirstGroup(value
, index
);
2626 return __EnumerationHelper(cont
, value
, index
);
2628 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2632 cont
= self
->GetNextGroup(value
, index
);
2633 return __EnumerationHelper(cont
, value
, index
);
2635 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2640 cont
= self
->GetFirstEntry(value
, index
);
2641 return __EnumerationHelper(cont
, value
, index
);
2643 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2647 cont
= self
->GetNextEntry(value
, index
);
2648 return __EnumerationHelper(cont
, value
, index
);
2650 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2652 self
->Read(key
, &rv
, defaultVal
);
2657 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2659 if (PyNumber_Check(obj
)) {
2660 if (val
) *val
= PyFloat_AsDouble(obj
);
2664 SWIG_Python_TypeError("number", obj
);
2670 SWIGINTERNINLINE
double
2671 SWIG_As_double(PyObject
* obj
)
2674 if (!SWIG_AsVal_double(obj
, &v
)) {
2676 this is needed to make valgrind/purify happier.
2678 memset((void*)&v
, 0, sizeof(double));
2684 SWIGINTERNINLINE
int
2685 SWIG_Check_double(PyObject
* obj
)
2687 return SWIG_AsVal_double(obj
, (double*)0);
2690 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2692 self
->Read(key
, &rv
, defaultVal
);
2696 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2697 #define SWIG_From_double PyFloat_FromDouble
2700 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2702 self
->Read(key
, &rv
, defaultVal
);
2706 #include <wx/datetime.h>
2708 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2709 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2711 #define LOCAL_TZ wxDateTime::Local
2713 static PyObject
*wxDateTime_GetAmPmStrings(){
2716 wxDateTime::GetAmPmStrings(&am
, &pm
);
2717 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2718 PyObject
* tup
= PyTuple_New(2);
2719 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2720 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2721 wxPyEndBlockThreads(blocked
);
2725 #if UINT_MAX < LONG_MAX
2726 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2727 #define SWIG_From_unsigned_SS_int SWIG_From_long
2730 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2731 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2735 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2736 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2737 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2738 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2739 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2740 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2741 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2742 return (*self
< *other
);
2744 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2745 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2746 return (*self
<= *other
);
2748 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2749 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2750 return (*self
> *other
);
2752 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2753 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2754 return (*self
>= *other
);
2756 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2757 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2758 return (*self
== *other
);
2760 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2761 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2762 return (*self
!= *other
);
2764 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2766 const wxChar
* _date
= date
;
2767 rv
= self
->ParseRfc822Date(_date
);
2768 if (rv
== NULL
) return -1;
2771 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2773 const wxChar
* _date
= date
;
2774 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2775 if (rv
== NULL
) return -1;
2778 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2780 const wxChar
* _datetime
= datetime
;
2781 rv
= self
->ParseDateTime(_datetime
);
2782 if (rv
== NULL
) return -1;
2783 return rv
- _datetime
;
2785 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2787 const wxChar
* _date
= date
;
2788 rv
= self
->ParseDate(_date
);
2789 if (rv
== NULL
) return -1;
2792 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2794 const wxChar
* _time
= time
;
2795 rv
= self
->ParseTime(_time
);
2796 if (rv
== NULL
) return -1;
2799 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2800 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2801 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2802 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2803 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2804 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2805 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2806 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2807 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2808 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2809 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2810 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2811 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2812 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2813 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2814 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2816 #include <wx/dataobj.h>
2818 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2819 size_t count
= self
->GetFormatCount(dir
);
2820 wxDataFormat
* formats
= new wxDataFormat
[count
];
2821 self
->GetAllFormats(formats
, dir
);
2823 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2824 PyObject
* list
= PyList_New(count
);
2825 for (size_t i
=0; i
<count
; i
++) {
2826 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2827 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2828 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
2830 wxPyEndBlockThreads(blocked
);
2834 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2835 PyObject
* rval
= NULL
;
2836 size_t size
= self
->GetDataSize(format
);
2837 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2839 char* buf
= new char[size
];
2840 if (self
->GetDataHere(format
, buf
))
2841 rval
= PyString_FromStringAndSize(buf
, size
);
2848 wxPyEndBlockThreads(blocked
);
2851 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2853 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2854 if (PyString_Check(data
)) {
2855 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2858 // raise a TypeError if not a string
2859 PyErr_SetString(PyExc_TypeError
, "String expected.");
2862 wxPyEndBlockThreads(blocked
);
2865 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2866 PyObject
* rval
= NULL
;
2867 size_t size
= self
->GetDataSize();
2868 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2870 char* buf
= new char[size
];
2871 if (self
->GetDataHere(buf
))
2872 rval
= PyString_FromStringAndSize(buf
, size
);
2879 wxPyEndBlockThreads(blocked
);
2882 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2884 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2885 if (PyString_Check(data
)) {
2886 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2889 // raise a TypeError if not a string
2890 PyErr_SetString(PyExc_TypeError
, "String expected.");
2893 wxPyEndBlockThreads(blocked
);
2896 // Create a new class for wxPython to use
2897 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2899 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2900 : wxDataObjectSimple(format
) {}
2902 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2903 bool GetDataHere(void *buf
) const;
2904 bool SetData(size_t len
, const void *buf
) const;
2908 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2910 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2911 // We need to get the data for this object and write it to buf. I think
2912 // the best way to do this for wxPython is to have the Python method
2913 // return either a string or None and then act appropriately with the
2917 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2918 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2920 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2922 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2924 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2928 wxPyEndBlockThreads(blocked
);
2932 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2933 // For this one we simply need to make a string from buf and len
2934 // and send it to the Python method.
2936 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2937 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2938 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2939 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2942 wxPyEndBlockThreads(blocked
);
2946 // Create a new class for wxPython to use
2947 class wxPyTextDataObject
: public wxTextDataObject
{
2949 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2950 : wxTextDataObject(text
) {}
2952 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2953 DEC_PYCALLBACK_STRING__const(GetText
);
2954 DEC_PYCALLBACK__STRING(SetText
);
2958 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2959 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2960 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2963 // Create a new class for wxPython to use
2964 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2966 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2967 : wxBitmapDataObject(bitmap
) {}
2969 wxBitmap
GetBitmap() const;
2970 void SetBitmap(const wxBitmap
& bitmap
);
2974 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2975 wxBitmap
* rval
= &wxNullBitmap
;
2976 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2977 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2980 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2982 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2987 wxPyEndBlockThreads(blocked
);
2991 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2992 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2993 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2994 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2995 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2998 wxPyEndBlockThreads(blocked
);
3001 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3002 return new wxCustomDataObject(wxDataFormat(formatName
));
3004 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3006 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3007 if (PyString_Check(data
)) {
3008 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3011 // raise a TypeError if not a string
3012 PyErr_SetString(PyExc_TypeError
, "String expected.");
3015 wxPyEndBlockThreads(blocked
);
3018 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3020 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3021 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3022 wxPyEndBlockThreads(blocked
);
3026 class wxMetafileDataObject
: public wxDataObjectSimple
3029 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3033 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3036 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3037 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3038 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3039 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3040 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3043 class wxPyTextDropTarget
: public wxTextDropTarget
{
3045 wxPyTextDropTarget() {}
3047 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3049 DEC_PYCALLBACK__(OnLeave
);
3050 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3051 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3052 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3053 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3058 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3059 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3060 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3061 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3062 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3063 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3067 class wxPyFileDropTarget
: public wxFileDropTarget
{
3069 wxPyFileDropTarget() {}
3071 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3073 DEC_PYCALLBACK__(OnLeave
);
3074 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3075 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3076 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3077 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3082 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3083 const wxArrayString
& filenames
) {
3085 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3086 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3087 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3088 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3091 wxPyEndBlockThreads(blocked
);
3097 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3098 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3099 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3100 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3101 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3106 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3108 #include <wx/display.h>
3110 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
3111 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
3113 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3115 #include <wx/dynarray.h>
3116 #include <wx/vidmode.h>
3118 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
3119 #include "wx/arrimpl.cpp"
3120 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
3121 const wxVideoMode wxDefaultVideoMode
;
3126 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
3129 static size_t GetCount()
3130 { wxPyRaiseNotImplemented(); return 0; }
3132 static int GetFromPoint(const wxPoint
& pt
)
3133 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3134 static int GetFromWindow(wxWindow
*window
)
3135 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3137 virtual bool IsOk() const { return false; }
3138 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
3139 virtual wxString
GetName() const { return wxEmptyString
; }
3140 bool IsPrimary() const { return false; }
3142 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3143 { wxArrayVideoModes a
; return a
; }
3145 virtual wxVideoMode
GetCurrentMode() const
3146 { return wxDefaultVideoMode
; }
3148 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3155 static int wxDisplay_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3156 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3157 PyObject
* pyList
= NULL
;
3158 wxArrayVideoModes arr
= self
->GetModes(mode
);
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 pyList
= PyList_New(0);
3161 for (int i
=0; i
< arr
.GetCount(); i
++) {
3162 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3163 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3164 PyList_Append(pyList
, pyObj
);
3167 wxPyEndBlockThreads(blocked
);
3171 #include <wx/stdpaths.h>
3173 static wxStandardPaths
*wxStandardPaths_Get(){
3174 return (wxStandardPaths
*) &wxStandardPaths::Get();
3179 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
= NULL
;
3181 wxSystemColour arg1
;
3183 PyObject
* obj0
= 0 ;
3185 (char *) "index", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3190 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3191 if (SWIG_arg_fail(1)) SWIG_fail
;
3194 if (!wxPyCheckForApp()) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 result
= wxSystemSettings::GetColour(arg1
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3202 wxColour
* resultptr
;
3203 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3212 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
= NULL
;
3216 PyObject
* obj0
= 0 ;
3218 (char *) "index", NULL
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3223 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3224 if (SWIG_arg_fail(1)) SWIG_fail
;
3227 if (!wxPyCheckForApp()) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= wxSystemSettings::GetFont(arg1
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3236 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3245 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
= NULL
;
3247 wxSystemMetric arg1
;
3248 wxWindow
*arg2
= (wxWindow
*) NULL
;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "index",(char *) "win", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3258 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3259 if (SWIG_arg_fail(1)) SWIG_fail
;
3262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3263 if (SWIG_arg_fail(2)) SWIG_fail
;
3266 if (!wxPyCheckForApp()) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= SWIG_From_int(static_cast<int >(result
));
3282 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
= NULL
;
3284 wxSystemFeature arg1
;
3286 PyObject
* obj0
= 0 ;
3288 (char *) "index", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3293 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3294 if (SWIG_arg_fail(1)) SWIG_fail
;
3297 if (!wxPyCheckForApp()) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3313 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
= NULL
;
3315 wxSystemScreenType result
;
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3322 if (!wxPyCheckForApp()) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 resultobj
= SWIG_From_int((result
));
3336 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
= NULL
;
3338 wxSystemScreenType arg1
;
3339 PyObject
* obj0
= 0 ;
3341 (char *) "screen", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3346 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3347 if (SWIG_arg_fail(1)) SWIG_fail
;
3350 if (!wxPyCheckForApp()) SWIG_fail
;
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 wxSystemSettings::SetScreenType(arg1
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3357 Py_INCREF(Py_None
); resultobj
= Py_None
;
3364 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3367 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3369 return Py_BuildValue((char *)"");
3371 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3372 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3377 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3378 PyObject
*pyobj
= NULL
;
3382 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3384 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3391 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
= NULL
;
3393 wxSystemOptions
*result
;
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= (wxSystemOptions
*)new wxSystemOptions();
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3413 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
= NULL
;
3415 wxString
*arg1
= 0 ;
3416 wxString
*arg2
= 0 ;
3417 bool temp1
= false ;
3418 bool temp2
= false ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3422 (char *) "name",(char *) "value", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3427 arg1
= wxString_in_helper(obj0
);
3428 if (arg1
== NULL
) SWIG_fail
;
3432 arg2
= wxString_in_helper(obj1
);
3433 if (arg2
== NULL
) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 Py_INCREF(Py_None
); resultobj
= Py_None
;
3466 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
= NULL
;
3468 wxString
*arg1
= 0 ;
3470 bool temp1
= false ;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3474 (char *) "name",(char *) "value", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3479 arg1
= wxString_in_helper(obj0
);
3480 if (arg1
== NULL
) SWIG_fail
;
3484 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3485 if (SWIG_arg_fail(2)) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3509 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
= NULL
;
3511 wxString
*arg1
= 0 ;
3513 bool temp1
= false ;
3514 PyObject
* obj0
= 0 ;
3516 (char *) "name", NULL
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3521 arg1
= wxString_in_helper(obj0
);
3522 if (arg1
== NULL
) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3553 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
= NULL
;
3555 wxString
*arg1
= 0 ;
3557 bool temp1
= false ;
3558 PyObject
* obj0
= 0 ;
3560 (char *) "name", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3565 arg1
= wxString_in_helper(obj0
);
3566 if (arg1
== NULL
) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_From_int(static_cast<int >(result
));
3593 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
= NULL
;
3595 wxString
*arg1
= 0 ;
3597 bool temp1
= false ;
3598 PyObject
* obj0
= 0 ;
3600 (char *) "name", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3605 arg1
= wxString_in_helper(obj0
);
3606 if (arg1
== NULL
) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3633 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
= NULL
;
3635 wxString
*arg1
= 0 ;
3637 bool temp1
= false ;
3638 PyObject
* obj0
= 0 ;
3640 (char *) "name", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3645 arg1
= wxString_in_helper(obj0
);
3646 if (arg1
== NULL
) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3673 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3676 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3678 return Py_BuildValue((char *)"");
3680 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3681 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3686 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3687 PyObject
*pyobj
= NULL
;
3691 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3693 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3700 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3701 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3706 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3707 PyObject
*pyobj
= NULL
;
3711 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3713 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3720 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3721 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3726 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3727 PyObject
*pyobj
= NULL
;
3731 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3733 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3740 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= NULL
;
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (long)wxNewId();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3756 resultobj
= SWIG_From_long(static_cast<long >(result
));
3764 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
= NULL
;
3767 PyObject
* obj0
= 0 ;
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3774 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3775 if (SWIG_arg_fail(1)) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
= NULL
;
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (long)wxGetCurrentId();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_long(static_cast<long >(result
));
3815 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
= NULL
;
3819 PyObject
* obj0
= 0 ;
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3826 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3827 if (SWIG_arg_fail(1)) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (bool)wxIsStockID(arg1
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3845 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
= NULL
;
3848 wxString
*arg2
= 0 ;
3850 bool temp2
= false ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3854 (char *) "id",(char *) "label", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3859 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3860 if (SWIG_arg_fail(1)) SWIG_fail
;
3863 arg2
= wxString_in_helper(obj1
);
3864 if (arg2
== NULL
) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3891 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
= NULL
;
3894 bool arg2
= (bool) true ;
3895 wxString arg3
= (wxString
) wxPyEmptyString
;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3899 PyObject
* obj2
= 0 ;
3901 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3906 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3907 if (SWIG_arg_fail(1)) SWIG_fail
;
3911 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3912 if (SWIG_arg_fail(2)) SWIG_fail
;
3917 wxString
* sptr
= wxString_in_helper(obj2
);
3918 if (sptr
== NULL
) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3943 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
= NULL
;
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3951 if (!wxPyCheckForApp()) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
= NULL
;
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3973 if (!wxPyCheckForApp()) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
= NULL
;
3989 bool arg1
= (bool) true ;
3991 PyObject
* obj0
= 0 ;
3993 (char *) "resetTimer", NULL
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3999 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4000 if (SWIG_arg_fail(1)) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (long)wxGetElapsedTime(arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_From_long(static_cast<long >(result
));
4019 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
= NULL
;
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (bool)wxIsBusy();
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4043 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
= NULL
;
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4071 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
= NULL
;
4073 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4074 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4076 bool temp1
= false ;
4077 PyObject
* obj0
= 0 ;
4079 (char *) "command", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4085 arg1
= wxString_in_helper(obj0
);
4086 if (arg1
== NULL
) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (bool)wxShell((wxString
const &)*arg1
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4114 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
= NULL
;
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
= NULL
;
4137 int *arg1
= (int *) 0 ;
4138 int *arg2
= (int *) 0 ;
4148 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4149 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (int)wxGetOsVersion(arg1
,arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= SWIG_From_int(static_cast<int >(result
));
4161 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4162 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4163 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4164 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4171 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
= NULL
;
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= wxGetOsDescription();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4199 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= NULL
;
4201 wxMemorySize result
;
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= wxGetFreeMemory();
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4215 wxMemorySize
* resultptr
;
4216 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4225 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= NULL
;
4227 wxShutdownFlags arg1
;
4229 PyObject
* obj0
= 0 ;
4231 (char *) "wFlags", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4236 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4237 if (SWIG_arg_fail(1)) SWIG_fail
;
4240 if (!wxPyCheckForApp()) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (bool)wxShutdown(arg1
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4256 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
= NULL
;
4259 PyObject
* obj0
= 0 ;
4261 (char *) "secs", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4266 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4267 if (SWIG_arg_fail(1)) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4283 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
= NULL
;
4285 unsigned long arg1
;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "milliseconds", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4293 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4294 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4310 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
= NULL
;
4312 unsigned long arg1
;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "microseconds", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4320 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4321 if (SWIG_arg_fail(1)) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
= NULL
;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "enable", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4347 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4348 if (SWIG_arg_fail(1)) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 wxEnableTopLevelWindows(arg1
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 Py_INCREF(Py_None
); resultobj
= Py_None
;
4364 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
= NULL
;
4366 wxString
*arg1
= 0 ;
4368 bool temp1
= false ;
4369 PyObject
* obj0
= 0 ;
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4376 arg1
= wxString_in_helper(obj0
);
4377 if (arg1
== NULL
) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4408 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= NULL
;
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= wxGetEmailAddress();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4436 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
= NULL
;
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= wxGetHostName();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4464 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
= NULL
;
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= wxGetFullHostName();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4492 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
= NULL
;
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= wxGetUserId();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4520 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= NULL
;
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 result
= wxGetUserName();
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4548 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
= NULL
;
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= wxGetHomeDir();
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4576 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
= NULL
;
4578 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4579 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4581 bool temp1
= false ;
4582 PyObject
* obj0
= 0 ;
4584 (char *) "user", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4590 arg1
= wxString_in_helper(obj0
);
4591 if (arg1
== NULL
) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= wxGetUserHome((wxString
const &)*arg1
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4623 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
= NULL
;
4625 unsigned long result
;
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (unsigned long)wxGetProcessId();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4647 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
= NULL
;
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 Py_INCREF(Py_None
); resultobj
= Py_None
;
4668 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= NULL
;
4670 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4671 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4672 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4674 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4676 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4677 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4678 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4679 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4680 int arg6
= (int) 0 ;
4681 wxWindow
*arg7
= (wxWindow
*) NULL
;
4682 int arg8
= (int) -1 ;
4683 int arg9
= (int) -1 ;
4685 bool temp1
= false ;
4686 bool temp2
= false ;
4687 bool temp3
= false ;
4688 bool temp4
= false ;
4689 bool temp5
= false ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 PyObject
* obj2
= 0 ;
4693 PyObject
* obj3
= 0 ;
4694 PyObject
* obj4
= 0 ;
4695 PyObject
* obj5
= 0 ;
4696 PyObject
* obj6
= 0 ;
4697 PyObject
* obj7
= 0 ;
4698 PyObject
* obj8
= 0 ;
4700 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4706 arg1
= wxString_in_helper(obj0
);
4707 if (arg1
== NULL
) SWIG_fail
;
4713 arg2
= wxString_in_helper(obj1
);
4714 if (arg2
== NULL
) SWIG_fail
;
4720 arg3
= wxString_in_helper(obj2
);
4721 if (arg3
== NULL
) SWIG_fail
;
4727 arg4
= wxString_in_helper(obj3
);
4728 if (arg4
== NULL
) SWIG_fail
;
4734 arg5
= wxString_in_helper(obj4
);
4735 if (arg5
== NULL
) SWIG_fail
;
4741 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4742 if (SWIG_arg_fail(6)) SWIG_fail
;
4746 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4747 if (SWIG_arg_fail(7)) SWIG_fail
;
4751 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4752 if (SWIG_arg_fail(8)) SWIG_fail
;
4757 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4758 if (SWIG_arg_fail(9)) SWIG_fail
;
4762 if (!wxPyCheckForApp()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4822 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
= NULL
;
4824 wxString
*arg1
= 0 ;
4825 wxString
*arg2
= 0 ;
4826 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4827 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4828 wxWindow
*arg4
= (wxWindow
*) NULL
;
4830 bool temp1
= false ;
4831 bool temp2
= false ;
4832 bool temp3
= false ;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4835 PyObject
* obj2
= 0 ;
4836 PyObject
* obj3
= 0 ;
4838 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4843 arg1
= wxString_in_helper(obj0
);
4844 if (arg1
== NULL
) SWIG_fail
;
4848 arg2
= wxString_in_helper(obj1
);
4849 if (arg2
== NULL
) SWIG_fail
;
4854 arg3
= wxString_in_helper(obj2
);
4855 if (arg3
== NULL
) SWIG_fail
;
4860 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4861 if (SWIG_arg_fail(4)) SWIG_fail
;
4864 if (!wxPyCheckForApp()) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4908 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
= NULL
;
4910 wxString
*arg1
= 0 ;
4911 wxString
*arg2
= 0 ;
4912 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4914 wxWindow
*arg4
= (wxWindow
*) NULL
;
4916 bool temp1
= false ;
4917 bool temp2
= false ;
4918 bool temp3
= false ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 PyObject
* obj2
= 0 ;
4922 PyObject
* obj3
= 0 ;
4924 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4929 arg1
= wxString_in_helper(obj0
);
4930 if (arg1
== NULL
) SWIG_fail
;
4934 arg2
= wxString_in_helper(obj1
);
4935 if (arg2
== NULL
) SWIG_fail
;
4940 arg3
= wxString_in_helper(obj2
);
4941 if (arg3
== NULL
) SWIG_fail
;
4946 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4947 if (SWIG_arg_fail(4)) SWIG_fail
;
4950 if (!wxPyCheckForApp()) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4994 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
= NULL
;
4996 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4997 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4998 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4999 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5000 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5003 wxWindow
*arg5
= (wxWindow
*) NULL
;
5005 bool temp1
= false ;
5006 bool temp2
= false ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5010 PyObject
* obj2
= 0 ;
5011 PyObject
* obj3
= 0 ;
5012 PyObject
* obj4
= 0 ;
5014 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5020 arg1
= wxString_in_helper(obj0
);
5021 if (arg1
== NULL
) SWIG_fail
;
5027 arg2
= wxString_in_helper(obj1
);
5028 if (arg2
== NULL
) SWIG_fail
;
5034 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5035 if (SWIG_arg_fail(3)) SWIG_fail
;
5041 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5045 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5046 if (SWIG_arg_fail(5)) SWIG_fail
;
5049 if (!wxPyCheckForApp()) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5085 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
= NULL
;
5087 wxString
*arg1
= 0 ;
5088 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5089 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5090 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5092 wxWindow
*arg4
= (wxWindow
*) NULL
;
5093 int arg5
= (int) -1 ;
5094 int arg6
= (int) -1 ;
5095 bool arg7
= (bool) true ;
5097 bool temp1
= false ;
5098 bool temp2
= false ;
5099 bool temp3
= false ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5102 PyObject
* obj2
= 0 ;
5103 PyObject
* obj3
= 0 ;
5104 PyObject
* obj4
= 0 ;
5105 PyObject
* obj5
= 0 ;
5106 PyObject
* obj6
= 0 ;
5108 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5113 arg1
= wxString_in_helper(obj0
);
5114 if (arg1
== NULL
) SWIG_fail
;
5119 arg2
= wxString_in_helper(obj1
);
5120 if (arg2
== NULL
) SWIG_fail
;
5126 arg3
= wxString_in_helper(obj2
);
5127 if (arg3
== NULL
) SWIG_fail
;
5132 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5133 if (SWIG_arg_fail(4)) SWIG_fail
;
5137 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5138 if (SWIG_arg_fail(5)) SWIG_fail
;
5143 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5144 if (SWIG_arg_fail(6)) SWIG_fail
;
5149 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5150 if (SWIG_arg_fail(7)) SWIG_fail
;
5154 if (!wxPyCheckForApp()) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5198 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
= NULL
;
5200 wxString
*arg1
= 0 ;
5201 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5202 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5205 wxWindow
*arg4
= (wxWindow
*) NULL
;
5207 bool temp1
= false ;
5208 bool temp2
= false ;
5209 bool temp3
= false ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5212 PyObject
* obj2
= 0 ;
5213 PyObject
* obj3
= 0 ;
5215 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5220 arg1
= wxString_in_helper(obj0
);
5221 if (arg1
== NULL
) SWIG_fail
;
5226 arg2
= wxString_in_helper(obj1
);
5227 if (arg2
== NULL
) SWIG_fail
;
5233 arg3
= wxString_in_helper(obj2
);
5234 if (arg3
== NULL
) SWIG_fail
;
5239 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5240 if (SWIG_arg_fail(4)) SWIG_fail
;
5243 if (!wxPyCheckForApp()) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5287 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
= NULL
;
5289 wxString
*arg1
= 0 ;
5290 wxString
*arg2
= 0 ;
5292 wxString
*arg4
= (wxString
*) 0 ;
5293 wxWindow
*arg5
= (wxWindow
*) NULL
;
5294 int arg6
= (int) -1 ;
5295 int arg7
= (int) -1 ;
5296 bool arg8
= (bool) true ;
5297 int arg9
= (int) 150 ;
5298 int arg10
= (int) 200 ;
5300 bool temp1
= false ;
5301 bool temp2
= false ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5304 PyObject
* obj2
= 0 ;
5305 PyObject
* obj3
= 0 ;
5306 PyObject
* obj4
= 0 ;
5307 PyObject
* obj5
= 0 ;
5308 PyObject
* obj6
= 0 ;
5309 PyObject
* obj7
= 0 ;
5310 PyObject
* obj8
= 0 ;
5312 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5317 arg1
= wxString_in_helper(obj0
);
5318 if (arg1
== NULL
) SWIG_fail
;
5322 arg2
= wxString_in_helper(obj1
);
5323 if (arg2
== NULL
) SWIG_fail
;
5327 arg3
= PyList_Size(obj2
);
5328 arg4
= wxString_LIST_helper(obj2
);
5329 if (arg4
== NULL
) SWIG_fail
;
5332 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5333 if (SWIG_arg_fail(5)) SWIG_fail
;
5337 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5338 if (SWIG_arg_fail(6)) SWIG_fail
;
5343 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5344 if (SWIG_arg_fail(7)) SWIG_fail
;
5349 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5350 if (SWIG_arg_fail(8)) SWIG_fail
;
5355 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5356 if (SWIG_arg_fail(9)) SWIG_fail
;
5361 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5362 if (SWIG_arg_fail(10)) SWIG_fail
;
5366 if (!wxPyCheckForApp()) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5389 if (arg4
) delete [] arg4
;
5402 if (arg4
) delete [] arg4
;
5408 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
= NULL
;
5410 wxString
*arg1
= 0 ;
5411 wxString
*arg2
= 0 ;
5413 wxString
*arg4
= (wxString
*) 0 ;
5414 wxWindow
*arg5
= (wxWindow
*) NULL
;
5415 int arg6
= (int) -1 ;
5416 int arg7
= (int) -1 ;
5417 bool arg8
= (bool) true ;
5418 int arg9
= (int) 150 ;
5419 int arg10
= (int) 200 ;
5421 bool temp1
= false ;
5422 bool temp2
= false ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5426 PyObject
* obj3
= 0 ;
5427 PyObject
* obj4
= 0 ;
5428 PyObject
* obj5
= 0 ;
5429 PyObject
* obj6
= 0 ;
5430 PyObject
* obj7
= 0 ;
5431 PyObject
* obj8
= 0 ;
5433 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5438 arg1
= wxString_in_helper(obj0
);
5439 if (arg1
== NULL
) SWIG_fail
;
5443 arg2
= wxString_in_helper(obj1
);
5444 if (arg2
== NULL
) SWIG_fail
;
5448 arg3
= PyList_Size(obj2
);
5449 arg4
= wxString_LIST_helper(obj2
);
5450 if (arg4
== NULL
) SWIG_fail
;
5453 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5454 if (SWIG_arg_fail(5)) SWIG_fail
;
5458 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5459 if (SWIG_arg_fail(6)) SWIG_fail
;
5464 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5465 if (SWIG_arg_fail(7)) SWIG_fail
;
5470 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5471 if (SWIG_arg_fail(8)) SWIG_fail
;
5476 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5477 if (SWIG_arg_fail(9)) SWIG_fail
;
5482 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5483 if (SWIG_arg_fail(10)) SWIG_fail
;
5487 if (!wxPyCheckForApp()) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= SWIG_From_int(static_cast<int >(result
));
5506 if (arg4
) delete [] arg4
;
5519 if (arg4
) delete [] arg4
;
5525 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
= NULL
;
5527 wxString
*arg1
= 0 ;
5528 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5529 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5530 int arg3
= (int) wxOK
|wxCENTRE
;
5531 wxWindow
*arg4
= (wxWindow
*) NULL
;
5532 int arg5
= (int) -1 ;
5533 int arg6
= (int) -1 ;
5535 bool temp1
= false ;
5536 bool temp2
= false ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5539 PyObject
* obj2
= 0 ;
5540 PyObject
* obj3
= 0 ;
5541 PyObject
* obj4
= 0 ;
5542 PyObject
* obj5
= 0 ;
5544 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5549 arg1
= wxString_in_helper(obj0
);
5550 if (arg1
== NULL
) SWIG_fail
;
5555 arg2
= wxString_in_helper(obj1
);
5556 if (arg2
== NULL
) SWIG_fail
;
5562 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5563 if (SWIG_arg_fail(3)) SWIG_fail
;
5567 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5568 if (SWIG_arg_fail(4)) SWIG_fail
;
5572 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5573 if (SWIG_arg_fail(5)) SWIG_fail
;
5578 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5579 if (SWIG_arg_fail(6)) SWIG_fail
;
5583 if (!wxPyCheckForApp()) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_From_int(static_cast<int >(result
));
5615 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
= NULL
;
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5624 if (!wxPyCheckForApp()) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (bool)wxColourDisplay();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5640 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
= NULL
;
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5649 if (!wxPyCheckForApp()) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (int)wxDisplayDepth();
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_From_int(static_cast<int >(result
));
5665 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
= NULL
;
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5674 if (!wxPyCheckForApp()) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (int)wxGetDisplayDepth();
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= SWIG_From_int(static_cast<int >(result
));
5690 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
= NULL
;
5692 int *arg1
= (int *) 0 ;
5693 int *arg2
= (int *) 0 ;
5702 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5703 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5706 if (!wxPyCheckForApp()) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 wxDisplaySize(arg1
,arg2
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5715 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5716 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5717 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5724 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
= NULL
;
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5733 if (!wxPyCheckForApp()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= wxGetDisplaySize();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5742 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5751 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
= NULL
;
5753 int *arg1
= (int *) 0 ;
5754 int *arg2
= (int *) 0 ;
5763 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5764 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5767 if (!wxPyCheckForApp()) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 wxDisplaySizeMM(arg1
,arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5776 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5777 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5778 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5785 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
= NULL
;
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5794 if (!wxPyCheckForApp()) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= wxGetDisplaySizeMM();
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5803 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5812 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
= NULL
;
5814 int *arg1
= (int *) 0 ;
5815 int *arg2
= (int *) 0 ;
5816 int *arg3
= (int *) 0 ;
5817 int *arg4
= (int *) 0 ;
5830 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5831 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5832 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5833 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5836 if (!wxPyCheckForApp()) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 Py_INCREF(Py_None
); resultobj
= Py_None
;
5844 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5845 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5846 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5847 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5848 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5849 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5850 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5851 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5858 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= NULL
;
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5867 if (!wxPyCheckForApp()) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= wxGetClientDisplayRect();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5876 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5885 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
= NULL
;
5887 wxCursor
*arg1
= 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "cursor", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5896 if (SWIG_arg_fail(1)) SWIG_fail
;
5898 SWIG_null_ref("wxCursor");
5900 if (SWIG_arg_fail(1)) SWIG_fail
;
5903 if (!wxPyCheckForApp()) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
= NULL
;
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5926 if (!wxPyCheckForApp()) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (void *)wxGetXDisplay();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5940 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
= NULL
;
5942 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "cursor", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail
;
5954 if (!wxPyCheckForApp()) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 wxBeginBusyCursor(arg1
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 Py_INCREF(Py_None
); resultobj
= Py_None
;
5968 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
= NULL
;
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5977 if (!wxPyCheckForApp()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= wxGetMousePosition();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 wxPoint
* resultptr
;
5986 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5995 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= NULL
;
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
6004 if (!wxPyCheckForApp()) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= (wxWindow
*)FindWindowAtPointer();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= wxPyMake_wxObject(result
, 0);
6020 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
= NULL
;
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6029 if (!wxPyCheckForApp()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (wxWindow
*)wxGetActiveWindow();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= wxPyMake_wxObject(result
, 0);
6045 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
= NULL
;
6050 PyObject
* obj0
= 0 ;
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6058 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6061 if (!wxPyCheckForApp()) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= wxPyMake_wxObject(result
, 0);
6077 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
= NULL
;
6082 PyObject
* obj0
= 0 ;
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6090 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6093 if (!wxPyCheckForApp()) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= wxPyMake_wxObject(result
, 0);
6109 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
= NULL
;
6111 wxWindow
*arg1
= (wxWindow
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "win", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6120 if (SWIG_arg_fail(1)) SWIG_fail
;
6122 if (!wxPyCheckForApp()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= wxPyMake_wxObject(result
, 0);
6138 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= NULL
;
6140 wxString
*arg1
= 0 ;
6142 bool temp1
= false ;
6143 PyObject
* obj0
= 0 ;
6145 (char *) "url", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6150 arg1
= wxString_in_helper(obj0
);
6151 if (arg1
== NULL
) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6178 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
= NULL
;
6182 PyObject
* obj0
= 0 ;
6184 (char *) "key", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6189 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6190 if (SWIG_arg_fail(1)) SWIG_fail
;
6193 if (!wxPyCheckForApp()) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (bool)wxGetKeyState(arg1
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6209 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
= NULL
;
6211 wxMouseState
*result
;
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (wxMouseState
*)new wxMouseState();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6231 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
= NULL
;
6233 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
= NULL
;
6258 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6267 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (int)(arg1
)->GetX();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_From_int(static_cast<int >(result
));
6284 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
= NULL
;
6286 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6290 (char *) "self", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (int)(arg1
)->GetY();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_From_int(static_cast<int >(result
));
6312 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
= NULL
;
6314 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6318 (char *) "self", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6323 if (SWIG_arg_fail(1)) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (bool)(arg1
)->LeftDown();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6340 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
= NULL
;
6342 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6346 (char *) "self", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (bool)(arg1
)->MiddleDown();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6368 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= NULL
;
6370 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6372 PyObject
* obj0
= 0 ;
6374 (char *) "self", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6379 if (SWIG_arg_fail(1)) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (bool)(arg1
)->RightDown();
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6396 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
= NULL
;
6398 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6400 PyObject
* obj0
= 0 ;
6402 (char *) "self", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (bool)(arg1
)->ControlDown();
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6424 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
= NULL
;
6426 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6435 if (SWIG_arg_fail(1)) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (bool)(arg1
)->ShiftDown();
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6452 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
= NULL
;
6454 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6458 (char *) "self", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (bool)(arg1
)->AltDown();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6480 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= NULL
;
6482 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6486 (char *) "self", NULL
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6491 if (SWIG_arg_fail(1)) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)(arg1
)->MetaDown();
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6508 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
= NULL
;
6510 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6519 if (SWIG_arg_fail(1)) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (bool)(arg1
)->CmdDown();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6536 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
= NULL
;
6538 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6543 (char *) "self",(char *) "x", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail
;
6550 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6551 if (SWIG_arg_fail(2)) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 Py_INCREF(Py_None
); resultobj
= Py_None
;
6567 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
= NULL
;
6569 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6574 (char *) "self",(char *) "y", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6582 if (SWIG_arg_fail(2)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 Py_INCREF(Py_None
); resultobj
= Py_None
;
6598 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
= NULL
;
6600 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6605 (char *) "self",(char *) "down", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6610 if (SWIG_arg_fail(1)) SWIG_fail
;
6612 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6613 if (SWIG_arg_fail(2)) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 (arg1
)->SetLeftDown(arg2
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 Py_INCREF(Py_None
); resultobj
= Py_None
;
6629 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
= NULL
;
6631 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6633 PyObject
* obj0
= 0 ;
6634 PyObject
* obj1
= 0 ;
6636 (char *) "self",(char *) "down", NULL
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6641 if (SWIG_arg_fail(1)) SWIG_fail
;
6643 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6644 if (SWIG_arg_fail(2)) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 (arg1
)->SetMiddleDown(arg2
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 Py_INCREF(Py_None
); resultobj
= Py_None
;
6660 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
= NULL
;
6662 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6667 (char *) "self",(char *) "down", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6672 if (SWIG_arg_fail(1)) SWIG_fail
;
6674 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6675 if (SWIG_arg_fail(2)) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 (arg1
)->SetRightDown(arg2
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 Py_INCREF(Py_None
); resultobj
= Py_None
;
6691 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
= NULL
;
6693 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6698 (char *) "self",(char *) "down", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6703 if (SWIG_arg_fail(1)) SWIG_fail
;
6705 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6706 if (SWIG_arg_fail(2)) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 (arg1
)->SetControlDown(arg2
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
= NULL
;
6724 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6729 (char *) "self",(char *) "down", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6734 if (SWIG_arg_fail(1)) SWIG_fail
;
6736 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6737 if (SWIG_arg_fail(2)) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 (arg1
)->SetShiftDown(arg2
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 Py_INCREF(Py_None
); resultobj
= Py_None
;
6753 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= NULL
;
6755 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6760 (char *) "self",(char *) "down", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6765 if (SWIG_arg_fail(1)) SWIG_fail
;
6767 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6768 if (SWIG_arg_fail(2)) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 (arg1
)->SetAltDown(arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 Py_INCREF(Py_None
); resultobj
= Py_None
;
6784 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
= NULL
;
6786 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6791 (char *) "self",(char *) "down", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6796 if (SWIG_arg_fail(1)) SWIG_fail
;
6798 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6799 if (SWIG_arg_fail(2)) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 (arg1
)->SetMetaDown(arg2
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 Py_INCREF(Py_None
); resultobj
= Py_None
;
6815 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6818 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6820 return Py_BuildValue((char *)"");
6822 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
= NULL
;
6824 wxMouseState result
;
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= wxGetMouseState();
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6838 wxMouseState
* resultptr
;
6839 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6848 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
= NULL
;
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6856 if (!wxPyCheckForApp()) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 wxWakeUpMainThread();
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 Py_INCREF(Py_None
); resultobj
= Py_None
;
6870 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
= NULL
;
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6878 if (!wxPyCheckForApp()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= NULL
;
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6900 if (!wxPyCheckForApp()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 Py_INCREF(Py_None
); resultobj
= Py_None
;
6914 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
= NULL
;
6916 wxMutexGuiLocker
*result
;
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6937 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
= NULL
;
6939 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6942 (char *) "self", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6947 if (SWIG_arg_fail(1)) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 Py_INCREF(Py_None
); resultobj
= Py_None
;
6962 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6965 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6967 return Py_BuildValue((char *)"");
6969 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
= NULL
;
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= (bool)wxThread_IsMain();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6993 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
= NULL
;
6995 wxString
*arg1
= 0 ;
6997 bool temp1
= false ;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "tip", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
7005 arg1
= wxString_in_helper(obj0
);
7006 if (arg1
== NULL
) SWIG_fail
;
7010 if (!wxPyCheckForApp()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolTip
, 1);
7032 static PyObject
*_wrap_delete_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
= NULL
;
7034 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7035 PyObject
* obj0
= 0 ;
7037 (char *) "self", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ToolTip",kwnames
,&obj0
)) goto fail
;
7041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7042 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
= NULL
;
7059 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7060 wxString
*arg2
= 0 ;
7061 bool temp2
= false ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7065 (char *) "self",(char *) "tip", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7070 if (SWIG_arg_fail(1)) SWIG_fail
;
7072 arg2
= wxString_in_helper(obj1
);
7073 if (arg2
== NULL
) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 (arg1
)->SetTip((wxString
const &)*arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 Py_INCREF(Py_None
); resultobj
= Py_None
;
7098 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
= NULL
;
7100 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "self", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7109 if (SWIG_arg_fail(1)) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (arg1
)->GetTip();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7130 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= NULL
;
7132 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7136 (char *) "self", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7141 if (SWIG_arg_fail(1)) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (wxWindow
*)(arg1
)->GetWindow();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= wxPyMake_wxObject(result
, 0);
7158 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
= NULL
;
7161 PyObject
* obj0
= 0 ;
7163 (char *) "flag", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7168 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7169 if (SWIG_arg_fail(1)) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 wxToolTip::Enable(arg1
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 Py_INCREF(Py_None
); resultobj
= Py_None
;
7185 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
= NULL
;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "milliseconds", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7195 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7196 if (SWIG_arg_fail(1)) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 wxToolTip::SetDelay(arg1
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7215 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7217 return Py_BuildValue((char *)"");
7219 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
= NULL
;
7221 wxWindow
*arg1
= (wxWindow
*) 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7228 (char *) "window",(char *) "size", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7233 if (SWIG_arg_fail(1)) SWIG_fail
;
7236 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7239 if (!wxPyCheckForApp()) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7253 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= NULL
;
7255 wxCaret
*arg1
= (wxCaret
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
7262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7263 if (SWIG_arg_fail(1)) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 Py_INCREF(Py_None
); resultobj
= Py_None
;
7278 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
= NULL
;
7280 wxCaret
*arg1
= (wxCaret
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "self", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 wxCaret_Destroy(arg1
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
= NULL
;
7305 wxCaret
*arg1
= (wxCaret
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7309 (char *) "self", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (bool)(arg1
)->IsOk();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7331 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
= NULL
;
7333 wxCaret
*arg1
= (wxCaret
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "self", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7342 if (SWIG_arg_fail(1)) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (bool)(arg1
)->IsVisible();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7359 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
= NULL
;
7361 wxCaret
*arg1
= (wxCaret
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7365 (char *) "self", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7370 if (SWIG_arg_fail(1)) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (arg1
)->GetPosition();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7379 wxPoint
* resultptr
;
7380 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7389 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
= NULL
;
7391 wxCaret
*arg1
= (wxCaret
*) 0 ;
7392 int *arg2
= (int *) 0 ;
7393 int *arg3
= (int *) 0 ;
7398 PyObject
* obj0
= 0 ;
7400 (char *) "self", NULL
7403 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7404 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 (arg1
)->GetPosition(arg2
,arg3
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7416 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7417 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7418 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7419 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7426 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
= NULL
;
7428 wxCaret
*arg1
= (wxCaret
*) 0 ;
7430 PyObject
* obj0
= 0 ;
7432 (char *) "self", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7437 if (SWIG_arg_fail(1)) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (arg1
)->GetSize();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7447 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7456 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
= NULL
;
7458 wxCaret
*arg1
= (wxCaret
*) 0 ;
7459 int *arg2
= (int *) 0 ;
7460 int *arg3
= (int *) 0 ;
7465 PyObject
* obj0
= 0 ;
7467 (char *) "self", NULL
7470 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7471 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 (arg1
)->GetSize(arg2
,arg3
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 Py_INCREF(Py_None
); resultobj
= Py_None
;
7483 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7484 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7485 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7486 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7493 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
= NULL
;
7495 wxCaret
*arg1
= (wxCaret
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7499 (char *) "self", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (wxWindow
*)(arg1
)->GetWindow();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= wxPyMake_wxObject(result
, 0);
7521 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
= NULL
;
7523 wxCaret
*arg1
= (wxCaret
*) 0 ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7528 PyObject
* obj2
= 0 ;
7530 (char *) "self",(char *) "x",(char *) "y", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7535 if (SWIG_arg_fail(1)) SWIG_fail
;
7537 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7538 if (SWIG_arg_fail(2)) SWIG_fail
;
7541 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7542 if (SWIG_arg_fail(3)) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 (arg1
)->Move(arg2
,arg3
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 Py_INCREF(Py_None
); resultobj
= Py_None
;
7558 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
= NULL
;
7560 wxCaret
*arg1
= (wxCaret
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7566 (char *) "self",(char *) "pt", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7571 if (SWIG_arg_fail(1)) SWIG_fail
;
7574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 (arg1
)->Move((wxPoint
const &)*arg2
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 Py_INCREF(Py_None
); resultobj
= Py_None
;
7590 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
= NULL
;
7592 wxCaret
*arg1
= (wxCaret
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7596 PyObject
* obj1
= 0 ;
7597 PyObject
* obj2
= 0 ;
7599 (char *) "self",(char *) "width",(char *) "height", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7606 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7607 if (SWIG_arg_fail(2)) SWIG_fail
;
7610 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7611 if (SWIG_arg_fail(3)) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetSize(arg2
,arg3
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
= NULL
;
7629 wxCaret
*arg1
= (wxCaret
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7635 (char *) "self",(char *) "size", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7640 if (SWIG_arg_fail(1)) SWIG_fail
;
7643 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 (arg1
)->SetSize((wxSize
const &)*arg2
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 Py_INCREF(Py_None
); resultobj
= Py_None
;
7659 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
= NULL
;
7661 wxCaret
*arg1
= (wxCaret
*) 0 ;
7662 int arg2
= (int) true ;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7666 (char *) "self",(char *) "show", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7671 if (SWIG_arg_fail(1)) SWIG_fail
;
7674 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7675 if (SWIG_arg_fail(2)) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 Py_INCREF(Py_None
); resultobj
= Py_None
;
7692 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
= NULL
;
7694 wxCaret
*arg1
= (wxCaret
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "self", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7702 if (SWIG_arg_fail(1)) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 Py_INCREF(Py_None
); resultobj
= Py_None
;
7717 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
= NULL
;
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (int)wxCaret::GetBlinkTime();
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_From_int(static_cast<int >(result
));
7741 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
= NULL
;
7744 PyObject
* obj0
= 0 ;
7746 (char *) "milliseconds", NULL
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7751 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7752 if (SWIG_arg_fail(1)) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 wxCaret::SetBlinkTime(arg1
);
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 Py_INCREF(Py_None
); resultobj
= Py_None
;
7768 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7771 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7773 return Py_BuildValue((char *)"");
7775 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
= NULL
;
7777 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7778 wxBusyCursor
*result
;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "cursor", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7787 if (SWIG_arg_fail(1)) SWIG_fail
;
7790 if (!wxPyCheckForApp()) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7804 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= NULL
;
7806 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "self", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 Py_INCREF(Py_None
); resultobj
= Py_None
;
7829 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7832 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7834 return Py_BuildValue((char *)"");
7836 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
= NULL
;
7838 wxWindow
*arg1
= (wxWindow
*) NULL
;
7839 wxWindowDisabler
*result
;
7840 PyObject
* obj0
= 0 ;
7842 (char *) "winToSkip", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 if (!wxPyCheckForApp()) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7865 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
= NULL
;
7867 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7893 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7895 return Py_BuildValue((char *)"");
7897 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
= NULL
;
7899 wxString
*arg1
= 0 ;
7901 bool temp1
= false ;
7902 PyObject
* obj0
= 0 ;
7904 (char *) "message", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7909 arg1
= wxString_in_helper(obj0
);
7910 if (arg1
== NULL
) SWIG_fail
;
7914 if (!wxPyCheckForApp()) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7936 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= NULL
;
7938 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7941 (char *) "self", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7964 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7966 return Py_BuildValue((char *)"");
7968 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
= NULL
;
7970 wxStopWatch
*result
;
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (wxStopWatch
*)new wxStopWatch();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7990 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
= NULL
;
7992 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7993 long arg2
= (long) 0 ;
7994 PyObject
* obj0
= 0 ;
7995 PyObject
* obj1
= 0 ;
7997 (char *) "self",(char *) "t0", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
8001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8002 if (SWIG_arg_fail(1)) SWIG_fail
;
8005 arg2
= static_cast<long >(SWIG_As_long(obj1
));
8006 if (SWIG_arg_fail(2)) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 (arg1
)->Start(arg2
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 Py_INCREF(Py_None
); resultobj
= Py_None
;
8023 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
= NULL
;
8025 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8026 PyObject
* obj0
= 0 ;
8028 (char *) "self", NULL
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
8032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8033 if (SWIG_arg_fail(1)) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 Py_INCREF(Py_None
); resultobj
= Py_None
;
8048 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= NULL
;
8050 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8058 if (SWIG_arg_fail(1)) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8073 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
= NULL
;
8075 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "self", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8084 if (SWIG_arg_fail(1)) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_From_long(static_cast<long >(result
));
8101 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8104 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8106 return Py_BuildValue((char *)"");
8108 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
= NULL
;
8110 int arg1
= (int) 9 ;
8111 int arg2
= (int) wxID_FILE1
;
8112 wxFileHistory
*result
;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8116 (char *) "maxFiles",(char *) "idBase", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8122 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8123 if (SWIG_arg_fail(1)) SWIG_fail
;
8128 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8129 if (SWIG_arg_fail(2)) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8146 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= NULL
;
8148 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8156 if (SWIG_arg_fail(1)) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 Py_INCREF(Py_None
); resultobj
= Py_None
;
8171 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
= NULL
;
8173 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8174 wxString
*arg2
= 0 ;
8175 bool temp2
= false ;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8179 (char *) "self",(char *) "file", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8184 if (SWIG_arg_fail(1)) SWIG_fail
;
8186 arg2
= wxString_in_helper(obj1
);
8187 if (arg2
== NULL
) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 Py_INCREF(Py_None
); resultobj
= Py_None
;
8212 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
= NULL
;
8214 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8219 (char *) "self",(char *) "i", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8224 if (SWIG_arg_fail(1)) SWIG_fail
;
8226 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8227 if (SWIG_arg_fail(2)) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 (arg1
)->RemoveFileFromHistory(arg2
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 Py_INCREF(Py_None
); resultobj
= Py_None
;
8243 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
= NULL
;
8245 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8249 (char *) "self", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= SWIG_From_int(static_cast<int >(result
));
8271 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
= NULL
;
8273 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8274 wxMenu
*arg2
= (wxMenu
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8276 PyObject
* obj1
= 0 ;
8278 (char *) "self",(char *) "menu", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8283 if (SWIG_arg_fail(1)) SWIG_fail
;
8284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8285 if (SWIG_arg_fail(2)) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 (arg1
)->UseMenu(arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
= NULL
;
8302 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8303 wxMenu
*arg2
= (wxMenu
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8307 (char *) "self",(char *) "menu", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8312 if (SWIG_arg_fail(1)) SWIG_fail
;
8313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8314 if (SWIG_arg_fail(2)) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 (arg1
)->RemoveMenu(arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8329 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
= NULL
;
8331 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8332 wxConfigBase
*arg2
= 0 ;
8333 PyObject
* obj0
= 0 ;
8334 PyObject
* obj1
= 0 ;
8336 (char *) "self",(char *) "config", NULL
8339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8341 if (SWIG_arg_fail(1)) SWIG_fail
;
8343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8344 if (SWIG_arg_fail(2)) SWIG_fail
;
8346 SWIG_null_ref("wxConfigBase");
8348 if (SWIG_arg_fail(2)) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 (arg1
)->Load(*arg2
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 Py_INCREF(Py_None
); resultobj
= Py_None
;
8364 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
= NULL
;
8366 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8367 wxConfigBase
*arg2
= 0 ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8371 (char *) "self",(char *) "config", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8376 if (SWIG_arg_fail(1)) SWIG_fail
;
8378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8379 if (SWIG_arg_fail(2)) SWIG_fail
;
8381 SWIG_null_ref("wxConfigBase");
8383 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->Save(*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8399 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
= NULL
;
8401 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 (arg1
)->AddFilesToMenu();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 Py_INCREF(Py_None
); resultobj
= Py_None
;
8424 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
= NULL
;
8426 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8427 wxMenu
*arg2
= (wxMenu
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8431 (char *) "self",(char *) "menu", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8436 if (SWIG_arg_fail(1)) SWIG_fail
;
8437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8438 if (SWIG_arg_fail(2)) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 (arg1
)->AddFilesToMenu(arg2
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8453 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
= NULL
;
8455 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8461 (char *) "self",(char *) "i", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8466 if (SWIG_arg_fail(1)) SWIG_fail
;
8468 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8469 if (SWIG_arg_fail(2)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8491 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
= NULL
;
8493 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8495 PyObject
* obj0
= 0 ;
8497 (char *) "self", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8502 if (SWIG_arg_fail(1)) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= SWIG_From_int(static_cast<int >(result
));
8519 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8522 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8524 return Py_BuildValue((char *)"");
8526 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
= NULL
;
8528 wxString
*arg1
= 0 ;
8529 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8530 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8531 wxSingleInstanceChecker
*result
;
8532 bool temp1
= false ;
8533 bool temp2
= false ;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8537 (char *) "name",(char *) "path", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8542 arg1
= wxString_in_helper(obj0
);
8543 if (arg1
== NULL
) SWIG_fail
;
8548 arg2
= wxString_in_helper(obj1
);
8549 if (arg2
== NULL
) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8583 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
= NULL
;
8585 wxSingleInstanceChecker
*result
;
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8605 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
= NULL
;
8607 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8615 if (SWIG_arg_fail(1)) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
= NULL
;
8632 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8633 wxString
*arg2
= 0 ;
8634 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8635 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8637 bool temp2
= false ;
8638 bool temp3
= false ;
8639 PyObject
* obj0
= 0 ;
8640 PyObject
* obj1
= 0 ;
8641 PyObject
* obj2
= 0 ;
8643 (char *) "self",(char *) "name",(char *) "path", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8648 if (SWIG_arg_fail(1)) SWIG_fail
;
8650 arg2
= wxString_in_helper(obj1
);
8651 if (arg2
== NULL
) SWIG_fail
;
8656 arg3
= wxString_in_helper(obj2
);
8657 if (arg3
== NULL
) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8693 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
= NULL
;
8695 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8697 PyObject
* obj0
= 0 ;
8699 (char *) "self", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8704 if (SWIG_arg_fail(1)) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8721 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8724 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8726 return Py_BuildValue((char *)"");
8728 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= NULL
;
8730 wxWindow
*arg1
= (wxWindow
*) 0 ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8736 (char *) "window",(char *) "dc", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail
;
8743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8744 if (SWIG_arg_fail(2)) SWIG_fail
;
8746 SWIG_null_ref("wxDC");
8748 if (SWIG_arg_fail(2)) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8766 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
= NULL
;
8768 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8771 (char *) "self", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
= NULL
;
8793 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8802 if (SWIG_arg_fail(1)) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (arg1
)->GetTip();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8823 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
= NULL
;
8825 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8829 (char *) "self", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (size_t)(arg1
)->GetCurrentTip();
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8851 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
= NULL
;
8853 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8854 wxString
*arg2
= 0 ;
8856 bool temp2
= false ;
8857 PyObject
* obj0
= 0 ;
8858 PyObject
* obj1
= 0 ;
8860 (char *) "self",(char *) "tip", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8865 if (SWIG_arg_fail(1)) SWIG_fail
;
8867 arg2
= wxString_in_helper(obj1
);
8868 if (arg2
== NULL
) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8899 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8902 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8904 return Py_BuildValue((char *)"");
8906 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= NULL
;
8909 wxPyTipProvider
*result
;
8910 PyObject
* obj0
= 0 ;
8912 (char *) "currentTip", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8917 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8918 if (SWIG_arg_fail(1)) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8934 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
= NULL
;
8936 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8937 PyObject
*arg2
= (PyObject
*) 0 ;
8938 PyObject
*arg3
= (PyObject
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8940 PyObject
* obj1
= 0 ;
8941 PyObject
* obj2
= 0 ;
8943 (char *) "self",(char *) "self",(char *) "_class", NULL
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8948 if (SWIG_arg_fail(1)) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 Py_INCREF(Py_None
); resultobj
= Py_None
;
8965 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8968 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8970 return Py_BuildValue((char *)"");
8972 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
= NULL
;
8974 wxWindow
*arg1
= (wxWindow
*) 0 ;
8975 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8976 bool arg3
= (bool) true ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8987 if (SWIG_arg_fail(1)) SWIG_fail
;
8988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8989 if (SWIG_arg_fail(2)) SWIG_fail
;
8992 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8993 if (SWIG_arg_fail(3)) SWIG_fail
;
8997 if (!wxPyCheckForApp()) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9013 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
= NULL
;
9015 wxString
*arg1
= 0 ;
9017 wxTipProvider
*result
;
9018 bool temp1
= false ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9022 (char *) "filename",(char *) "currentTip", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
9027 arg1
= wxString_in_helper(obj0
);
9028 if (arg1
== NULL
) SWIG_fail
;
9032 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
9033 if (SWIG_arg_fail(2)) SWIG_fail
;
9036 if (!wxPyCheckForApp()) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9058 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
= NULL
;
9060 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9061 int arg2
= (int) -1 ;
9063 PyObject
* obj0
= 0 ;
9064 PyObject
* obj1
= 0 ;
9066 (char *) "owner",(char *) "id", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9072 if (SWIG_arg_fail(1)) SWIG_fail
;
9076 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9077 if (SWIG_arg_fail(2)) SWIG_fail
;
9081 if (!wxPyCheckForApp()) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9095 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
= NULL
;
9097 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9105 if (SWIG_arg_fail(1)) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 Py_INCREF(Py_None
); resultobj
= Py_None
;
9120 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
= NULL
;
9122 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9123 PyObject
*arg2
= (PyObject
*) 0 ;
9124 PyObject
*arg3
= (PyObject
*) 0 ;
9125 int arg4
= (int) 1 ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 PyObject
* obj2
= 0 ;
9129 PyObject
* obj3
= 0 ;
9131 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9136 if (SWIG_arg_fail(1)) SWIG_fail
;
9141 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9142 if (SWIG_arg_fail(4)) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 Py_INCREF(Py_None
); resultobj
= Py_None
;
9159 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
= NULL
;
9161 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9162 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9163 int arg3
= (int) -1 ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9166 PyObject
* obj2
= 0 ;
9168 (char *) "self",(char *) "owner",(char *) "id", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9173 if (SWIG_arg_fail(1)) SWIG_fail
;
9174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9175 if (SWIG_arg_fail(2)) SWIG_fail
;
9178 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9179 if (SWIG_arg_fail(3)) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 (arg1
)->SetOwner(arg2
,arg3
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 Py_INCREF(Py_None
); resultobj
= Py_None
;
9196 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
= NULL
;
9198 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9199 wxEvtHandler
*result
;
9200 PyObject
* obj0
= 0 ;
9202 (char *) "self", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9207 if (SWIG_arg_fail(1)) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= wxPyMake_wxObject(result
, 0);
9224 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
= NULL
;
9226 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9227 int arg2
= (int) -1 ;
9228 bool arg3
= (bool) false ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 PyObject
* obj2
= 0 ;
9234 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail
;
9242 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9243 if (SWIG_arg_fail(2)) SWIG_fail
;
9248 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9249 if (SWIG_arg_fail(3)) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9268 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
= NULL
;
9270 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "self", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9278 if (SWIG_arg_fail(1)) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 Py_INCREF(Py_None
); resultobj
= Py_None
;
9293 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= NULL
;
9295 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9299 (char *) "self", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9304 if (SWIG_arg_fail(1)) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9321 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= NULL
;
9323 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_From_int(static_cast<int >(result
));
9349 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
= NULL
;
9351 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9377 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= NULL
;
9379 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9383 (char *) "self", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9388 if (SWIG_arg_fail(1)) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_From_int(static_cast<int >(result
));
9405 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9408 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9410 return Py_BuildValue((char *)"");
9412 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
= NULL
;
9414 int arg1
= (int) 0 ;
9415 int arg2
= (int) 0 ;
9416 wxTimerEvent
*result
;
9417 PyObject
* obj0
= 0 ;
9418 PyObject
* obj1
= 0 ;
9420 (char *) "timerid",(char *) "interval", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9426 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9427 if (SWIG_arg_fail(1)) SWIG_fail
;
9432 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9433 if (SWIG_arg_fail(2)) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9450 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
= NULL
;
9452 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9461 if (SWIG_arg_fail(1)) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_From_int(static_cast<int >(result
));
9478 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9481 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9483 return Py_BuildValue((char *)"");
9485 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9486 PyObject
*resultobj
= NULL
;
9488 wxTimerRunner
*result
;
9489 PyObject
* obj0
= 0 ;
9491 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9494 if (SWIG_arg_fail(1)) SWIG_fail
;
9496 SWIG_null_ref("wxTimer");
9498 if (SWIG_arg_fail(1)) SWIG_fail
;
9501 if (!wxPyCheckForApp()) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9515 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9516 PyObject
*resultobj
= NULL
;
9519 bool arg3
= (bool) false ;
9520 wxTimerRunner
*result
;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 PyObject
* obj2
= 0 ;
9525 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9528 if (SWIG_arg_fail(1)) SWIG_fail
;
9530 SWIG_null_ref("wxTimer");
9532 if (SWIG_arg_fail(1)) SWIG_fail
;
9535 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9536 if (SWIG_arg_fail(2)) SWIG_fail
;
9540 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9541 if (SWIG_arg_fail(3)) SWIG_fail
;
9545 if (!wxPyCheckForApp()) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9559 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9564 argc
= PyObject_Length(args
);
9565 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9566 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9580 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9583 if ((argc
>= 2) && (argc
<= 3)) {
9587 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9595 _v
= SWIG_Check_int(argv
[1]);
9598 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9600 _v
= SWIG_Check_bool(argv
[2]);
9602 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9608 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9613 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
= NULL
;
9615 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9616 PyObject
* obj0
= 0 ;
9618 (char *) "self", NULL
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9623 if (SWIG_arg_fail(1)) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 Py_INCREF(Py_None
); resultobj
= Py_None
;
9638 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
= NULL
;
9640 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9642 bool arg3
= (bool) false ;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9645 PyObject
* obj2
= 0 ;
9647 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9652 if (SWIG_arg_fail(1)) SWIG_fail
;
9654 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9655 if (SWIG_arg_fail(2)) SWIG_fail
;
9659 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9660 if (SWIG_arg_fail(3)) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 (arg1
)->Start(arg2
,arg3
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 Py_INCREF(Py_None
); resultobj
= Py_None
;
9677 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9680 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9682 return Py_BuildValue((char *)"");
9684 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= NULL
;
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (wxLog
*)new wxLog();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9706 static PyObject
*_wrap_delete_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
= NULL
;
9708 wxLog
*arg1
= (wxLog
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9711 (char *) "self", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Log",kwnames
,&obj0
)) goto fail
;
9715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9716 if (SWIG_arg_fail(1)) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 Py_INCREF(Py_None
); resultobj
= Py_None
;
9731 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
= NULL
;
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (bool)wxLog::IsEnabled();
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9755 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
= NULL
;
9757 bool arg1
= (bool) true ;
9759 PyObject
* obj0
= 0 ;
9761 (char *) "doIt", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9767 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9768 if (SWIG_arg_fail(1)) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (bool)wxLog::EnableLogging(arg1
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9787 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
= NULL
;
9790 wxChar
*arg2
= (wxChar
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9794 PyObject
* obj2
= 0 ;
9796 (char *) "level",(char *) "szString",(char *) "t", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9801 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9802 if (SWIG_arg_fail(1)) SWIG_fail
;
9804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9805 if (SWIG_arg_fail(2)) SWIG_fail
;
9807 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9808 if (SWIG_arg_fail(3)) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 Py_INCREF(Py_None
); resultobj
= Py_None
;
9824 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
= NULL
;
9826 wxLog
*arg1
= (wxLog
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9829 (char *) "self", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9834 if (SWIG_arg_fail(1)) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 Py_INCREF(Py_None
); resultobj
= Py_None
;
9849 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
= NULL
;
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 wxLog::FlushActive();
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 Py_INCREF(Py_None
); resultobj
= Py_None
;
9870 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
= NULL
;
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (wxLog
*)wxLog::GetActiveTarget();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9892 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
= NULL
;
9894 wxLog
*arg1
= (wxLog
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "pLogger", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
9903 if (SWIG_arg_fail(1)) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9918 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
= NULL
;
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 Py_INCREF(Py_None
); resultobj
= Py_None
;
9939 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
= NULL
;
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
= NULL
;
9962 bool arg1
= (bool) true ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "bVerbose", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9971 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9972 if (SWIG_arg_fail(1)) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 wxLog::SetVerbose(arg1
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 Py_INCREF(Py_None
); resultobj
= Py_None
;
9989 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
= NULL
;
9992 PyObject
* obj0
= 0 ;
9994 (char *) "logLevel", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9999 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
10000 if (SWIG_arg_fail(1)) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 wxLog::SetLogLevel(arg1
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 Py_INCREF(Py_None
); resultobj
= Py_None
;
10016 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
= NULL
;
10018 char *kwnames
[] = {
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 wxLog::DontCreateOnDemand();
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
= NULL
;
10040 PyObject
* obj0
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "ulMask", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10047 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10048 if (SWIG_arg_fail(1)) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 wxLog::SetTraceMask(arg1
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 Py_INCREF(Py_None
); resultobj
= Py_None
;
10064 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
= NULL
;
10066 wxString
*arg1
= 0 ;
10067 bool temp1
= false ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "str", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10075 arg1
= wxString_in_helper(obj0
);
10076 if (arg1
== NULL
) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 wxLog::AddTraceMask((wxString
const &)*arg1
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 Py_INCREF(Py_None
); resultobj
= Py_None
;
10101 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
= NULL
;
10103 wxString
*arg1
= 0 ;
10104 bool temp1
= false ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "str", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10112 arg1
= wxString_in_helper(obj0
);
10113 if (arg1
== NULL
) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 Py_INCREF(Py_None
); resultobj
= Py_None
;
10138 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
= NULL
;
10140 char *kwnames
[] = {
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 wxLog::ClearTraceMasks();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 Py_INCREF(Py_None
); resultobj
= Py_None
;
10159 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= NULL
;
10161 wxArrayString
*result
;
10162 char *kwnames
[] = {
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10171 result
= (wxArrayString
*) &_result_ref
;
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= wxArrayString2PyList_helper(*result
);
10186 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
= NULL
;
10188 wxChar
*arg1
= (wxChar
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 char *kwnames
[] = {
10191 (char *) "ts", NULL
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10196 if (SWIG_arg_fail(1)) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 wxLog::SetTimestamp((wxChar
const *)arg1
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 Py_INCREF(Py_None
); resultobj
= Py_None
;
10211 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
= NULL
;
10214 char *kwnames
[] = {
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (bool)wxLog::GetVerbose();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10235 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
= NULL
;
10237 wxTraceMask result
;
10238 char *kwnames
[] = {
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (wxTraceMask
)wxLog::GetTraceMask();
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10259 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
= NULL
;
10261 wxChar
*arg1
= (wxChar
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "mask", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10270 if (SWIG_arg_fail(1)) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10287 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
= NULL
;
10290 char *kwnames
[] = {
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (wxLogLevel
)wxLog::GetLogLevel();
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10311 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
= NULL
;
10314 char *kwnames
[] = {
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (wxChar
*)wxLog::GetTimestamp();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10333 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
= NULL
;
10336 char *kwnames
[] = {
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= wxLog_TimeStamp();
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10361 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
= NULL
;
10363 wxLog
*arg1
= (wxLog
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10371 if (SWIG_arg_fail(1)) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 wxLog_Destroy(arg1
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 Py_INCREF(Py_None
); resultobj
= Py_None
;
10386 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10389 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10391 return Py_BuildValue((char *)"");
10393 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
= NULL
;
10395 wxLogStderr
*result
;
10396 char *kwnames
[] = {
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (wxLogStderr
*)new wxLogStderr();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10415 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10418 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10420 return Py_BuildValue((char *)"");
10422 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
= NULL
;
10424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10425 wxLogTextCtrl
*result
;
10426 PyObject
* obj0
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "pTextCtrl", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10433 if (SWIG_arg_fail(1)) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10448 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10451 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10453 return Py_BuildValue((char *)"");
10455 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
= NULL
;
10458 char *kwnames
[] = {
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (wxLogGui
*)new wxLogGui();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10477 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10480 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10482 return Py_BuildValue((char *)"");
10484 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= NULL
;
10486 wxFrame
*arg1
= (wxFrame
*) 0 ;
10487 wxString
*arg2
= 0 ;
10488 bool arg3
= (bool) true ;
10489 bool arg4
= (bool) true ;
10490 wxLogWindow
*result
;
10491 bool temp2
= false ;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 PyObject
* obj2
= 0 ;
10495 PyObject
* obj3
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10502 if (SWIG_arg_fail(1)) SWIG_fail
;
10504 arg2
= wxString_in_helper(obj1
);
10505 if (arg2
== NULL
) SWIG_fail
;
10510 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10511 if (SWIG_arg_fail(3)) SWIG_fail
;
10516 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10517 if (SWIG_arg_fail(4)) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10542 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
= NULL
;
10544 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10545 bool arg2
= (bool) true ;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "bShow", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail
;
10557 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10558 if (SWIG_arg_fail(2)) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 (arg1
)->Show(arg2
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 Py_INCREF(Py_None
); resultobj
= Py_None
;
10575 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
= NULL
;
10577 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10579 PyObject
* obj0
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10586 if (SWIG_arg_fail(1)) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= wxPyMake_wxObject(result
, (bool)0);
10603 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
= NULL
;
10605 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10614 if (SWIG_arg_fail(1)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10629 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
= NULL
;
10631 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10633 PyObject
* obj0
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10640 if (SWIG_arg_fail(1)) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10657 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
= NULL
;
10659 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self",(char *) "bDoPass", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10669 if (SWIG_arg_fail(1)) SWIG_fail
;
10671 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10672 if (SWIG_arg_fail(2)) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 (arg1
)->PassMessages(arg2
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10691 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10693 return Py_BuildValue((char *)"");
10695 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
= NULL
;
10697 wxLog
*arg1
= (wxLog
*) 0 ;
10698 wxLogChain
*result
;
10699 PyObject
* obj0
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "logger", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10706 if (SWIG_arg_fail(1)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxLogChain
*)new wxLogChain(arg1
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10721 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
= NULL
;
10723 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10724 wxLog
*arg2
= (wxLog
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self",(char *) "logger", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail
;
10734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10735 if (SWIG_arg_fail(2)) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->SetLog(arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10750 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= NULL
;
10752 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "bDoPass", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10765 if (SWIG_arg_fail(2)) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->PassMessages(arg2
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 Py_INCREF(Py_None
); resultobj
= Py_None
;
10781 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
= NULL
;
10783 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (bool)(arg1
)->IsPassingMessages();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10809 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
= NULL
;
10811 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10820 if (SWIG_arg_fail(1)) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (wxLog
*)(arg1
)->GetOldLog();
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10835 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10838 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10840 return Py_BuildValue((char *)"");
10842 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
= NULL
;
10844 wxLogBuffer
*result
;
10845 char *kwnames
[] = {
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxLogBuffer
*)new wxLogBuffer();
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10864 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
= NULL
;
10866 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10875 if (SWIG_arg_fail(1)) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10880 result
= (wxString
*) &_result_ref
;
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10890 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10899 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
= NULL
;
10901 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10909 if (SWIG_arg_fail(1)) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10927 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10929 return Py_BuildValue((char *)"");
10931 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
= NULL
;
10933 unsigned long result
;
10934 char *kwnames
[] = {
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (unsigned long)wxSysErrorCode();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10955 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
= NULL
;
10957 unsigned long arg1
= (unsigned long) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "nErrCode", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10967 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10968 if (SWIG_arg_fail(1)) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= wxSysErrorMsg(arg1
);
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10991 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
= NULL
;
10993 wxString
*arg1
= 0 ;
10994 bool temp1
= false ;
10995 PyObject
* obj0
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "msg", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
11002 arg1
= wxString_in_helper(obj0
);
11003 if (arg1
== NULL
) SWIG_fail
;
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 wxPyLogFatalError((wxString
const &)*arg1
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11013 Py_INCREF(Py_None
); resultobj
= Py_None
;
11028 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= NULL
;
11030 wxString
*arg1
= 0 ;
11031 bool temp1
= false ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "msg", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11039 arg1
= wxString_in_helper(obj0
);
11040 if (arg1
== NULL
) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 wxPyLogError((wxString
const &)*arg1
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11065 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
= NULL
;
11067 wxString
*arg1
= 0 ;
11068 bool temp1
= false ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "msg", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11076 arg1
= wxString_in_helper(obj0
);
11077 if (arg1
== NULL
) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 wxPyLogWarning((wxString
const &)*arg1
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11102 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
= NULL
;
11104 wxString
*arg1
= 0 ;
11105 bool temp1
= false ;
11106 PyObject
* obj0
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "msg", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11113 arg1
= wxString_in_helper(obj0
);
11114 if (arg1
== NULL
) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 wxPyLogMessage((wxString
const &)*arg1
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 Py_INCREF(Py_None
); resultobj
= Py_None
;
11139 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
= NULL
;
11141 wxString
*arg1
= 0 ;
11142 bool temp1
= false ;
11143 PyObject
* obj0
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "msg", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11150 arg1
= wxString_in_helper(obj0
);
11151 if (arg1
== NULL
) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 wxPyLogInfo((wxString
const &)*arg1
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 Py_INCREF(Py_None
); resultobj
= Py_None
;
11176 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
= NULL
;
11178 wxString
*arg1
= 0 ;
11179 bool temp1
= false ;
11180 PyObject
* obj0
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "msg", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11187 arg1
= wxString_in_helper(obj0
);
11188 if (arg1
== NULL
) SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 wxPyLogDebug((wxString
const &)*arg1
);
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
= NULL
;
11215 wxString
*arg1
= 0 ;
11216 bool temp1
= false ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "msg", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11224 arg1
= wxString_in_helper(obj0
);
11225 if (arg1
== NULL
) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 wxPyLogVerbose((wxString
const &)*arg1
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 Py_INCREF(Py_None
); resultobj
= Py_None
;
11250 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
= NULL
;
11252 wxString
*arg1
= 0 ;
11253 bool temp1
= false ;
11254 PyObject
* obj0
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "msg", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11261 arg1
= wxString_in_helper(obj0
);
11262 if (arg1
== NULL
) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 wxPyLogStatus((wxString
const &)*arg1
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 Py_INCREF(Py_None
); resultobj
= Py_None
;
11287 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
= NULL
;
11289 wxFrame
*arg1
= (wxFrame
*) 0 ;
11290 wxString
*arg2
= 0 ;
11291 bool temp2
= false ;
11292 PyObject
* obj0
= 0 ;
11293 PyObject
* obj1
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "pFrame",(char *) "msg", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11300 if (SWIG_arg_fail(1)) SWIG_fail
;
11302 arg2
= wxString_in_helper(obj1
);
11303 if (arg2
== NULL
) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
= NULL
;
11330 wxString
*arg1
= 0 ;
11331 bool temp1
= false ;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "msg", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11339 arg1
= wxString_in_helper(obj0
);
11340 if (arg1
== NULL
) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 wxPyLogSysError((wxString
const &)*arg1
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 Py_INCREF(Py_None
); resultobj
= Py_None
;
11365 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= NULL
;
11367 unsigned long arg1
;
11368 wxString
*arg2
= 0 ;
11369 bool temp2
= false ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "level",(char *) "msg", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11378 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11379 if (SWIG_arg_fail(1)) SWIG_fail
;
11382 arg2
= wxString_in_helper(obj1
);
11383 if (arg2
== NULL
) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11409 PyObject
*resultobj
= NULL
;
11410 unsigned long arg1
;
11411 wxString
*arg2
= 0 ;
11412 bool temp2
= false ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11416 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11418 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11419 if (SWIG_arg_fail(1)) SWIG_fail
;
11422 arg2
= wxString_in_helper(obj1
);
11423 if (arg2
== NULL
) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 Py_INCREF(Py_None
); resultobj
= Py_None
;
11448 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11449 PyObject
*resultobj
= NULL
;
11450 wxString
*arg1
= 0 ;
11451 wxString
*arg2
= 0 ;
11452 bool temp1
= false ;
11453 bool temp2
= false ;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11457 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11459 arg1
= wxString_in_helper(obj0
);
11460 if (arg1
== NULL
) SWIG_fail
;
11464 arg2
= wxString_in_helper(obj1
);
11465 if (arg2
== NULL
) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 Py_INCREF(Py_None
); resultobj
= Py_None
;
11498 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11503 argc
= PyObject_Length(args
);
11504 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11505 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11510 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11514 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11517 return _wrap_LogTrace__SWIG_1(self
,args
);
11523 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11526 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11529 return _wrap_LogTrace__SWIG_0(self
,args
);
11534 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11539 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
= NULL
;
11541 wxString
*arg1
= 0 ;
11542 wxString
*arg2
= 0 ;
11543 bool temp1
= false ;
11544 bool temp2
= false ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "title",(char *) "text", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 arg1
= wxString_in_helper(obj0
);
11554 if (arg1
== NULL
) SWIG_fail
;
11558 arg2
= wxString_in_helper(obj1
);
11559 if (arg2
== NULL
) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 Py_INCREF(Py_None
); resultobj
= Py_None
;
11592 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
= NULL
;
11595 char *kwnames
[] = {
11599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (wxLogNull
*)new wxLogNull();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11614 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
= NULL
;
11616 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11617 PyObject
* obj0
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11624 if (SWIG_arg_fail(1)) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 Py_INCREF(Py_None
); resultobj
= Py_None
;
11639 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11642 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11644 return Py_BuildValue((char *)"");
11646 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
= NULL
;
11649 char *kwnames
[] = {
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (wxPyLog
*)new wxPyLog();
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11668 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
= NULL
;
11670 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11671 PyObject
*arg2
= (PyObject
*) 0 ;
11672 PyObject
*arg3
= (PyObject
*) 0 ;
11673 PyObject
* obj0
= 0 ;
11674 PyObject
* obj1
= 0 ;
11675 PyObject
* obj2
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "self",(char *) "_class", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11682 if (SWIG_arg_fail(1)) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 Py_INCREF(Py_None
); resultobj
= Py_None
;
11699 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11702 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11704 return Py_BuildValue((char *)"");
11706 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
= NULL
;
11709 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11710 int arg3
= (int) wxKILL_NOCHILDREN
;
11711 wxKillError result
;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 PyObject
* obj2
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11721 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11722 if (SWIG_arg_fail(1)) SWIG_fail
;
11726 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11727 if (SWIG_arg_fail(2)) SWIG_fail
;
11732 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11733 if (SWIG_arg_fail(3)) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_From_int((result
));
11750 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
= NULL
;
11754 PyObject
* obj0
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "pid", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11761 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11762 if (SWIG_arg_fail(1)) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 result
= (bool)wxPyProcess::Exists(arg1
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11780 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
= NULL
;
11782 wxString
*arg1
= 0 ;
11783 int arg2
= (int) wxEXEC_ASYNC
;
11784 wxPyProcess
*result
;
11785 bool temp1
= false ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "cmd",(char *) "flags", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11794 arg1
= wxString_in_helper(obj0
);
11795 if (arg1
== NULL
) SWIG_fail
;
11800 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11801 if (SWIG_arg_fail(2)) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11826 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
= NULL
;
11828 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11829 int arg2
= (int) -1 ;
11830 wxPyProcess
*result
;
11831 PyObject
* obj0
= 0 ;
11832 PyObject
* obj1
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "parent",(char *) "id", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11840 if (SWIG_arg_fail(1)) SWIG_fail
;
11844 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11845 if (SWIG_arg_fail(2)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11862 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
= NULL
;
11864 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11865 PyObject
*arg2
= (PyObject
*) 0 ;
11866 PyObject
*arg3
= (PyObject
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 PyObject
* obj2
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "self",(char *) "_class", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11876 if (SWIG_arg_fail(1)) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 Py_INCREF(Py_None
); resultobj
= Py_None
;
11893 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
= NULL
;
11895 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 PyObject
* obj2
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self",(char *) "pid",(char *) "status", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11907 if (SWIG_arg_fail(1)) SWIG_fail
;
11909 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11910 if (SWIG_arg_fail(2)) SWIG_fail
;
11913 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11914 if (SWIG_arg_fail(3)) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 (arg1
)->base_OnTerminate(arg2
,arg3
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 Py_INCREF(Py_None
); resultobj
= Py_None
;
11930 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
= NULL
;
11932 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11933 PyObject
* obj0
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11940 if (SWIG_arg_fail(1)) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 (arg1
)->Redirect();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 Py_INCREF(Py_None
); resultobj
= Py_None
;
11955 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
= NULL
;
11957 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11959 PyObject
* obj0
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11966 if (SWIG_arg_fail(1)) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (bool)(arg1
)->IsRedirected();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11983 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
= NULL
;
11985 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11993 if (SWIG_arg_fail(1)) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 Py_INCREF(Py_None
); resultobj
= Py_None
;
12008 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
= NULL
;
12010 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12011 wxInputStream
*result
;
12012 PyObject
* obj0
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
12018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (wxInputStream
*)(arg1
)->GetInputStream();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 wxPyInputStream
* _ptr
= NULL
;
12031 _ptr
= new wxPyInputStream(result
);
12033 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12041 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= NULL
;
12043 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12044 wxInputStream
*result
;
12045 PyObject
* obj0
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
12051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 wxPyInputStream
* _ptr
= NULL
;
12064 _ptr
= new wxPyInputStream(result
);
12066 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12074 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= NULL
;
12076 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12077 wxOutputStream
*result
;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12100 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
= NULL
;
12102 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 (arg1
)->CloseOutput();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 Py_INCREF(Py_None
); resultobj
= Py_None
;
12125 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
= NULL
;
12127 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12129 PyObject
* obj0
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12136 if (SWIG_arg_fail(1)) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12153 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
= NULL
;
12155 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12164 if (SWIG_arg_fail(1)) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12181 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
= NULL
;
12183 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12212 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12214 return Py_BuildValue((char *)"");
12216 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
= NULL
;
12218 int arg1
= (int) 0 ;
12219 int arg2
= (int) 0 ;
12220 int arg3
= (int) 0 ;
12221 wxProcessEvent
*result
;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 PyObject
* obj2
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12232 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12233 if (SWIG_arg_fail(1)) SWIG_fail
;
12238 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12239 if (SWIG_arg_fail(2)) SWIG_fail
;
12244 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12245 if (SWIG_arg_fail(3)) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12262 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= NULL
;
12264 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (int)(arg1
)->GetPid();
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_From_int(static_cast<int >(result
));
12290 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
= NULL
;
12292 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12301 if (SWIG_arg_fail(1)) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (int)(arg1
)->GetExitCode();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_From_int(static_cast<int >(result
));
12318 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
= NULL
;
12320 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 PyObject
* obj1
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "m_pid", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12330 if (SWIG_arg_fail(1)) SWIG_fail
;
12332 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12333 if (SWIG_arg_fail(2)) SWIG_fail
;
12335 if (arg1
) (arg1
)->m_pid
= arg2
;
12337 Py_INCREF(Py_None
); resultobj
= Py_None
;
12344 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
= NULL
;
12346 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12348 PyObject
* obj0
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12355 if (SWIG_arg_fail(1)) SWIG_fail
;
12356 result
= (int) ((arg1
)->m_pid
);
12359 resultobj
= SWIG_From_int(static_cast<int >(result
));
12367 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
= NULL
;
12369 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "m_exitcode", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12379 if (SWIG_arg_fail(1)) SWIG_fail
;
12381 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12382 if (SWIG_arg_fail(2)) SWIG_fail
;
12384 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12386 Py_INCREF(Py_None
); resultobj
= Py_None
;
12393 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
= NULL
;
12395 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12397 PyObject
* obj0
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12404 if (SWIG_arg_fail(1)) SWIG_fail
;
12405 result
= (int) ((arg1
)->m_exitcode
);
12408 resultobj
= SWIG_From_int(static_cast<int >(result
));
12416 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12419 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12421 return Py_BuildValue((char *)"");
12423 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
= NULL
;
12425 wxString
*arg1
= 0 ;
12426 int arg2
= (int) wxEXEC_ASYNC
;
12427 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12429 bool temp1
= false ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 PyObject
* obj2
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "command",(char *) "flags",(char *) "process", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12439 arg1
= wxString_in_helper(obj0
);
12440 if (arg1
== NULL
) SWIG_fail
;
12445 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12446 if (SWIG_arg_fail(2)) SWIG_fail
;
12450 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12451 if (SWIG_arg_fail(3)) SWIG_fail
;
12454 if (!wxPyCheckForApp()) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_From_long(static_cast<long >(result
));
12478 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
= NULL
;
12481 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12482 wxKillError
*arg3
= (wxKillError
*) 0 ;
12483 int arg4
= (int) wxKILL_NOCHILDREN
;
12485 wxKillError temp3
;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 PyObject
* obj2
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12498 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12499 if (SWIG_arg_fail(1)) SWIG_fail
;
12503 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12504 if (SWIG_arg_fail(2)) SWIG_fail
;
12509 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12510 if (SWIG_arg_fail(4)) SWIG_fail
;
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= SWIG_From_int(static_cast<int >(result
));
12525 o
= PyInt_FromLong((long) (*arg3
));
12527 resultobj
= t_output_helper(resultobj
, o
);
12538 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
= NULL
;
12540 int arg1
= (int) wxJOYSTICK1
;
12541 wxJoystick
*result
;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "joystick", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12550 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12551 if (SWIG_arg_fail(1)) SWIG_fail
;
12555 if (!wxPyCheckForApp()) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (wxJoystick
*)new wxJoystick(arg1
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12569 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
= NULL
;
12571 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12579 if (SWIG_arg_fail(1)) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 Py_INCREF(Py_None
); resultobj
= Py_None
;
12594 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
= NULL
;
12596 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (arg1
)->GetPosition();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12614 wxPoint
* resultptr
;
12615 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12624 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
= NULL
;
12626 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (int)(arg1
)->GetZPosition();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= SWIG_From_int(static_cast<int >(result
));
12652 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
= NULL
;
12654 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12663 if (SWIG_arg_fail(1)) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (int)(arg1
)->GetButtonState();
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_From_int(static_cast<int >(result
));
12680 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
= NULL
;
12682 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (int)(arg1
)->GetPOVPosition();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_From_int(static_cast<int >(result
));
12708 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
= NULL
;
12710 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12719 if (SWIG_arg_fail(1)) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (int)(arg1
)->GetPOVCTSPosition();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= SWIG_From_int(static_cast<int >(result
));
12736 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
= NULL
;
12738 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12740 PyObject
* obj0
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (int)(arg1
)->GetRudderPosition();
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_From_int(static_cast<int >(result
));
12764 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
= NULL
;
12766 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (int)(arg1
)->GetUPosition();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_From_int(static_cast<int >(result
));
12792 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
= NULL
;
12794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (int)(arg1
)->GetVPosition();
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_From_int(static_cast<int >(result
));
12820 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
= NULL
;
12822 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 char *kwnames
[] = {
12826 (char *) "self", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12831 if (SWIG_arg_fail(1)) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (int)(arg1
)->GetMovementThreshold();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= SWIG_From_int(static_cast<int >(result
));
12848 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
= NULL
;
12850 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self",(char *) "threshold", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12860 if (SWIG_arg_fail(1)) SWIG_fail
;
12862 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12863 if (SWIG_arg_fail(2)) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 (arg1
)->SetMovementThreshold(arg2
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
= NULL
;
12881 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12890 if (SWIG_arg_fail(1)) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (bool)(arg1
)->IsOk();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12907 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
= NULL
;
12909 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (int)(arg1
)->GetNumberJoysticks();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_From_int(static_cast<int >(result
));
12935 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= NULL
;
12937 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (int)(arg1
)->GetManufacturerId();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_From_int(static_cast<int >(result
));
12963 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
= NULL
;
12965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12974 if (SWIG_arg_fail(1)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (int)(arg1
)->GetProductId();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_From_int(static_cast<int >(result
));
12991 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= NULL
;
12993 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12995 PyObject
* obj0
= 0 ;
12996 char *kwnames
[] = {
12997 (char *) "self", NULL
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
13001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13002 if (SWIG_arg_fail(1)) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (arg1
)->GetProductName();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13023 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
= NULL
;
13025 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
13033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (int)(arg1
)->GetXMin();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_From_int(static_cast<int >(result
));
13051 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= NULL
;
13053 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
13061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13062 if (SWIG_arg_fail(1)) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (int)(arg1
)->GetYMin();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_From_int(static_cast<int >(result
));
13079 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= NULL
;
13081 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13090 if (SWIG_arg_fail(1)) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (int)(arg1
)->GetZMin();
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_From_int(static_cast<int >(result
));
13107 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
= NULL
;
13109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13118 if (SWIG_arg_fail(1)) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= (int)(arg1
)->GetXMax();
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_From_int(static_cast<int >(result
));
13135 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= NULL
;
13137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13146 if (SWIG_arg_fail(1)) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (int)(arg1
)->GetYMax();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_From_int(static_cast<int >(result
));
13163 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
= NULL
;
13165 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13167 PyObject
* obj0
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "self", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13174 if (SWIG_arg_fail(1)) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= (int)(arg1
)->GetZMax();
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= SWIG_From_int(static_cast<int >(result
));
13191 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
= NULL
;
13193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13202 if (SWIG_arg_fail(1)) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (int)(arg1
)->GetNumberButtons();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_From_int(static_cast<int >(result
));
13219 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
= NULL
;
13221 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13230 if (SWIG_arg_fail(1)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (int)(arg1
)->GetNumberAxes();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_From_int(static_cast<int >(result
));
13247 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
= NULL
;
13249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13258 if (SWIG_arg_fail(1)) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (int)(arg1
)->GetMaxButtons();
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_From_int(static_cast<int >(result
));
13275 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
= NULL
;
13277 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13286 if (SWIG_arg_fail(1)) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (int)(arg1
)->GetMaxAxes();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_From_int(static_cast<int >(result
));
13303 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
= NULL
;
13305 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13314 if (SWIG_arg_fail(1)) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (int)(arg1
)->GetPollingMin();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_From_int(static_cast<int >(result
));
13331 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= NULL
;
13333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13342 if (SWIG_arg_fail(1)) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (int)(arg1
)->GetPollingMax();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_From_int(static_cast<int >(result
));
13359 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
= NULL
;
13361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13370 if (SWIG_arg_fail(1)) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (int)(arg1
)->GetRudderMin();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_From_int(static_cast<int >(result
));
13387 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
= NULL
;
13389 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13398 if (SWIG_arg_fail(1)) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (int)(arg1
)->GetRudderMax();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_From_int(static_cast<int >(result
));
13415 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
= NULL
;
13417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13426 if (SWIG_arg_fail(1)) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (int)(arg1
)->GetUMin();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_From_int(static_cast<int >(result
));
13443 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
= NULL
;
13445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13454 if (SWIG_arg_fail(1)) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (int)(arg1
)->GetUMax();
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_From_int(static_cast<int >(result
));
13471 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
= NULL
;
13473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13482 if (SWIG_arg_fail(1)) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (int)(arg1
)->GetVMin();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= SWIG_From_int(static_cast<int >(result
));
13499 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
= NULL
;
13501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13503 PyObject
* obj0
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "self", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (int)(arg1
)->GetVMax();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= SWIG_From_int(static_cast<int >(result
));
13527 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
= NULL
;
13529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13538 if (SWIG_arg_fail(1)) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (bool)(arg1
)->HasRudder();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13555 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
= NULL
;
13557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13566 if (SWIG_arg_fail(1)) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (bool)(arg1
)->HasZ();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13583 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
= NULL
;
13585 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13594 if (SWIG_arg_fail(1)) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (bool)(arg1
)->HasU();
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13611 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
= NULL
;
13613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13622 if (SWIG_arg_fail(1)) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (bool)(arg1
)->HasV();
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13639 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
= NULL
;
13641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13650 if (SWIG_arg_fail(1)) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 result
= (bool)(arg1
)->HasPOV();
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13667 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= NULL
;
13669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13671 PyObject
* obj0
= 0 ;
13672 char *kwnames
[] = {
13673 (char *) "self", NULL
13676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13678 if (SWIG_arg_fail(1)) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (bool)(arg1
)->HasPOV4Dir();
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13695 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
= NULL
;
13697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13706 if (SWIG_arg_fail(1)) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (bool)(arg1
)->HasPOVCTS();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13723 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
= NULL
;
13725 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13726 wxWindow
*arg2
= (wxWindow
*) 0 ;
13727 int arg3
= (int) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 PyObject
* obj2
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13738 if (SWIG_arg_fail(1)) SWIG_fail
;
13739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13740 if (SWIG_arg_fail(2)) SWIG_fail
;
13743 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13744 if (SWIG_arg_fail(3)) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13763 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
= NULL
;
13765 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (bool)(arg1
)->ReleaseCapture();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13791 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13794 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13796 return Py_BuildValue((char *)"");
13798 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
= NULL
;
13800 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13801 int arg2
= (int) 0 ;
13802 int arg3
= (int) wxJOYSTICK1
;
13803 int arg4
= (int) 0 ;
13804 wxJoystickEvent
*result
;
13805 PyObject
* obj0
= 0 ;
13806 PyObject
* obj1
= 0 ;
13807 PyObject
* obj2
= 0 ;
13808 PyObject
* obj3
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13816 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13817 if (SWIG_arg_fail(1)) SWIG_fail
;
13822 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13823 if (SWIG_arg_fail(2)) SWIG_fail
;
13828 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13829 if (SWIG_arg_fail(3)) SWIG_fail
;
13834 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13835 if (SWIG_arg_fail(4)) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13852 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= NULL
;
13854 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13856 PyObject
* obj0
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13863 if (SWIG_arg_fail(1)) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13872 wxPoint
* resultptr
;
13873 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13882 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
= NULL
;
13884 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "self", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13893 if (SWIG_arg_fail(1)) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_From_int(static_cast<int >(result
));
13910 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
= NULL
;
13912 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13914 PyObject
* obj0
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13921 if (SWIG_arg_fail(1)) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_From_int(static_cast<int >(result
));
13938 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= NULL
;
13940 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13949 if (SWIG_arg_fail(1)) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_From_int(static_cast<int >(result
));
13966 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
= NULL
;
13968 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_From_int(static_cast<int >(result
));
13994 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
= NULL
;
13996 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 PyObject
* obj1
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self",(char *) "stick", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
14005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14006 if (SWIG_arg_fail(1)) SWIG_fail
;
14008 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14009 if (SWIG_arg_fail(2)) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetJoystick(arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 Py_INCREF(Py_None
); resultobj
= Py_None
;
14025 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
= NULL
;
14027 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "state", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14037 if (SWIG_arg_fail(1)) SWIG_fail
;
14039 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14040 if (SWIG_arg_fail(2)) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 (arg1
)->SetButtonState(arg2
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 Py_INCREF(Py_None
); resultobj
= Py_None
;
14056 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
= NULL
;
14058 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 PyObject
* obj1
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self",(char *) "change", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14068 if (SWIG_arg_fail(1)) SWIG_fail
;
14070 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14071 if (SWIG_arg_fail(2)) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 (arg1
)->SetButtonChange(arg2
);
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 Py_INCREF(Py_None
); resultobj
= Py_None
;
14087 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
= NULL
;
14089 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14090 wxPoint
*arg2
= 0 ;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "pos", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14100 if (SWIG_arg_fail(1)) SWIG_fail
;
14103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14119 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
= NULL
;
14121 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self",(char *) "zPos", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14134 if (SWIG_arg_fail(2)) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 (arg1
)->SetZPosition(arg2
);
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 Py_INCREF(Py_None
); resultobj
= Py_None
;
14150 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
= NULL
;
14152 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14154 PyObject
* obj0
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14178 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
= NULL
;
14180 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14189 if (SWIG_arg_fail(1)) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14206 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
= NULL
;
14208 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14217 if (SWIG_arg_fail(1)) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14234 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
= NULL
;
14236 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14237 int arg2
= (int) wxJOY_BUTTON_ANY
;
14239 PyObject
* obj0
= 0 ;
14240 PyObject
* obj1
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self",(char *) "but", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14247 if (SWIG_arg_fail(1)) SWIG_fail
;
14250 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14251 if (SWIG_arg_fail(2)) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14270 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
= NULL
;
14272 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14273 int arg2
= (int) wxJOY_BUTTON_ANY
;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self",(char *) "but", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14283 if (SWIG_arg_fail(1)) SWIG_fail
;
14286 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14287 if (SWIG_arg_fail(2)) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14306 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
= NULL
;
14308 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14309 int arg2
= (int) wxJOY_BUTTON_ANY
;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self",(char *) "but", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14319 if (SWIG_arg_fail(1)) SWIG_fail
;
14322 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14323 if (SWIG_arg_fail(2)) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14345 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14347 return Py_BuildValue((char *)"");
14349 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
= NULL
;
14351 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14352 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14354 bool temp1
= false ;
14355 PyObject
* obj0
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "fileName", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14363 arg1
= wxString_in_helper(obj0
);
14364 if (arg1
== NULL
) SWIG_fail
;
14369 if (!wxPyCheckForApp()) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14391 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
= NULL
;
14393 PyObject
*arg1
= (PyObject
*) 0 ;
14395 PyObject
* obj0
= 0 ;
14396 char *kwnames
[] = {
14397 (char *) "data", NULL
14400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14403 if (!wxPyCheckForApp()) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (wxSound
*)new_wxSound(arg1
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14417 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
= NULL
;
14419 wxSound
*arg1
= (wxSound
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14427 if (SWIG_arg_fail(1)) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 Py_INCREF(Py_None
); resultobj
= Py_None
;
14442 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
= NULL
;
14444 wxSound
*arg1
= (wxSound
*) 0 ;
14445 wxString
*arg2
= 0 ;
14447 bool temp2
= false ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self",(char *) "fileName", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14456 if (SWIG_arg_fail(1)) SWIG_fail
;
14458 arg2
= wxString_in_helper(obj1
);
14459 if (arg2
== NULL
) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14486 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
= NULL
;
14488 wxSound
*arg1
= (wxSound
*) 0 ;
14489 PyObject
*arg2
= (PyObject
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self",(char *) "data", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14499 if (SWIG_arg_fail(1)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14517 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
= NULL
;
14519 wxSound
*arg1
= (wxSound
*) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14528 if (SWIG_arg_fail(1)) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (bool)(arg1
)->IsOk();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
= NULL
;
14547 wxSound
*arg1
= (wxSound
*) 0 ;
14548 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self",(char *) "flags", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14558 if (SWIG_arg_fail(1)) SWIG_fail
;
14561 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14562 if (SWIG_arg_fail(2)) SWIG_fail
;
14566 if (!wxPyCheckForApp()) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14582 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
= NULL
;
14584 wxString
*arg1
= 0 ;
14585 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14587 bool temp1
= false ;
14588 PyObject
* obj0
= 0 ;
14589 PyObject
* obj1
= 0 ;
14590 char *kwnames
[] = {
14591 (char *) "filename",(char *) "flags", NULL
14594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14596 arg1
= wxString_in_helper(obj0
);
14597 if (arg1
== NULL
) SWIG_fail
;
14602 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14603 if (SWIG_arg_fail(2)) SWIG_fail
;
14607 if (!wxPyCheckForApp()) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14631 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= NULL
;
14633 char *kwnames
[] = {
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14639 if (!wxPyCheckForApp()) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 Py_INCREF(Py_None
); resultobj
= Py_None
;
14653 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14656 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14658 return Py_BuildValue((char *)"");
14660 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
= NULL
;
14662 wxString
*arg1
= 0 ;
14663 wxString
*arg2
= 0 ;
14664 wxString
*arg3
= 0 ;
14665 wxString
*arg4
= 0 ;
14666 wxFileTypeInfo
*result
;
14667 bool temp1
= false ;
14668 bool temp2
= false ;
14669 bool temp3
= false ;
14670 bool temp4
= false ;
14671 PyObject
* obj0
= 0 ;
14672 PyObject
* obj1
= 0 ;
14673 PyObject
* obj2
= 0 ;
14674 PyObject
* obj3
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14681 arg1
= wxString_in_helper(obj0
);
14682 if (arg1
== NULL
) SWIG_fail
;
14686 arg2
= wxString_in_helper(obj1
);
14687 if (arg2
== NULL
) SWIG_fail
;
14691 arg3
= wxString_in_helper(obj2
);
14692 if (arg3
== NULL
) SWIG_fail
;
14696 arg4
= wxString_in_helper(obj3
);
14697 if (arg4
== NULL
) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14746 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
= NULL
;
14748 wxArrayString
*arg1
= 0 ;
14749 wxFileTypeInfo
*result
;
14750 bool temp1
= false ;
14751 PyObject
* obj0
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "sArray", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14758 if (! PySequence_Check(obj0
)) {
14759 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14762 arg1
= new wxArrayString
;
14764 int i
, len
=PySequence_Length(obj0
);
14765 for (i
=0; i
<len
; i
++) {
14766 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14767 wxString
* s
= wxString_in_helper(item
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14783 if (temp1
) delete arg1
;
14788 if (temp1
) delete arg1
;
14794 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
= NULL
;
14796 wxFileTypeInfo
*result
;
14797 char *kwnames
[] = {
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14816 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
= NULL
;
14818 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14844 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
= NULL
;
14846 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14847 wxString
*arg2
= 0 ;
14848 int arg3
= (int) 0 ;
14849 bool temp2
= false ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 PyObject
* obj2
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14859 if (SWIG_arg_fail(1)) SWIG_fail
;
14861 arg2
= wxString_in_helper(obj1
);
14862 if (arg2
== NULL
) SWIG_fail
;
14867 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14868 if (SWIG_arg_fail(3)) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14893 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
= NULL
;
14895 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14896 wxString
*arg2
= 0 ;
14897 bool temp2
= false ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self",(char *) "shortDesc", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail
;
14908 arg2
= wxString_in_helper(obj1
);
14909 if (arg2
== NULL
) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 Py_INCREF(Py_None
); resultobj
= Py_None
;
14934 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
= NULL
;
14936 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14945 if (SWIG_arg_fail(1)) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14950 result
= (wxString
*) &_result_ref
;
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14960 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14969 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
= NULL
;
14971 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14980 if (SWIG_arg_fail(1)) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14985 result
= (wxString
*) &_result_ref
;
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14995 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15004 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
= NULL
;
15006 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
15014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15015 if (SWIG_arg_fail(1)) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
15020 result
= (wxString
*) &_result_ref
;
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15030 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15039 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
= NULL
;
15041 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15043 PyObject
* obj0
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15050 if (SWIG_arg_fail(1)) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15055 result
= (wxString
*) &_result_ref
;
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15074 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
= NULL
;
15076 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15085 if (SWIG_arg_fail(1)) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15090 result
= (wxString
*) &_result_ref
;
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15100 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15109 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
= NULL
;
15111 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15112 wxArrayString
*result
;
15113 PyObject
* obj0
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15120 if (SWIG_arg_fail(1)) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15125 result
= (wxArrayString
*) &_result_ref
;
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= wxArrayString2PyList_helper(*result
);
15140 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
= NULL
;
15142 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15151 if (SWIG_arg_fail(1)) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_From_int(static_cast<int >(result
));
15168 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
= NULL
;
15170 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15179 if (SWIG_arg_fail(1)) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15184 result
= (wxString
*) &_result_ref
;
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15194 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15203 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
= NULL
;
15205 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= SWIG_From_int(static_cast<int >(result
));
15231 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15234 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15236 return Py_BuildValue((char *)"");
15238 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
= NULL
;
15240 wxFileTypeInfo
*arg1
= 0 ;
15241 wxFileType
*result
;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "ftInfo", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15250 if (SWIG_arg_fail(1)) SWIG_fail
;
15251 if (arg1
== NULL
) {
15252 SWIG_null_ref("wxFileTypeInfo");
15254 if (SWIG_arg_fail(1)) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15270 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
= NULL
;
15272 wxFileType
*arg1
= (wxFileType
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15280 if (SWIG_arg_fail(1)) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 Py_INCREF(Py_None
); resultobj
= Py_None
;
15295 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
= NULL
;
15297 wxFileType
*arg1
= (wxFileType
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15306 if (SWIG_arg_fail(1)) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= result
;
15321 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
= NULL
;
15323 wxFileType
*arg1
= (wxFileType
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= result
;
15347 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
= NULL
;
15349 wxFileType
*arg1
= (wxFileType
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15358 if (SWIG_arg_fail(1)) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= result
;
15373 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= NULL
;
15375 wxFileType
*arg1
= (wxFileType
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15399 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
= NULL
;
15401 wxFileType
*arg1
= (wxFileType
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15410 if (SWIG_arg_fail(1)) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= result
;
15425 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
= NULL
;
15427 wxFileType
*arg1
= (wxFileType
*) 0 ;
15429 PyObject
* obj0
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15436 if (SWIG_arg_fail(1)) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 resultobj
= result
;
15451 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
= NULL
;
15453 wxFileType
*arg1
= (wxFileType
*) 0 ;
15454 wxString
*arg2
= 0 ;
15455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15458 bool temp2
= false ;
15459 bool temp3
= false ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 PyObject
* obj2
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15469 if (SWIG_arg_fail(1)) SWIG_fail
;
15471 arg2
= wxString_in_helper(obj1
);
15472 if (arg2
== NULL
) SWIG_fail
;
15477 arg3
= wxString_in_helper(obj2
);
15478 if (arg3
== NULL
) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= result
;
15512 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
= NULL
;
15514 wxFileType
*arg1
= (wxFileType
*) 0 ;
15515 wxString
*arg2
= 0 ;
15516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15519 bool temp2
= false ;
15520 bool temp3
= false ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 PyObject
* obj2
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15530 if (SWIG_arg_fail(1)) SWIG_fail
;
15532 arg2
= wxString_in_helper(obj1
);
15533 if (arg2
== NULL
) SWIG_fail
;
15538 arg3
= wxString_in_helper(obj2
);
15539 if (arg3
== NULL
) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= result
;
15573 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
= NULL
;
15575 wxFileType
*arg1
= (wxFileType
*) 0 ;
15576 wxString
*arg2
= 0 ;
15577 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15580 bool temp2
= false ;
15581 bool temp3
= false ;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 PyObject
* obj2
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15591 if (SWIG_arg_fail(1)) SWIG_fail
;
15593 arg2
= wxString_in_helper(obj1
);
15594 if (arg2
== NULL
) SWIG_fail
;
15599 arg3
= wxString_in_helper(obj2
);
15600 if (arg3
== NULL
) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= result
;
15634 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
= NULL
;
15636 wxFileType
*arg1
= (wxFileType
*) 0 ;
15637 wxString
*arg2
= 0 ;
15638 wxString
*arg3
= 0 ;
15639 bool arg4
= (bool) true ;
15641 bool temp2
= false ;
15642 bool temp3
= false ;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 PyObject
* obj2
= 0 ;
15646 PyObject
* obj3
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15653 if (SWIG_arg_fail(1)) SWIG_fail
;
15655 arg2
= wxString_in_helper(obj1
);
15656 if (arg2
== NULL
) SWIG_fail
;
15660 arg3
= wxString_in_helper(obj2
);
15661 if (arg3
== NULL
) SWIG_fail
;
15666 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15667 if (SWIG_arg_fail(4)) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15702 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
= NULL
;
15704 wxFileType
*arg1
= (wxFileType
*) 0 ;
15705 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15706 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15707 int arg3
= (int) 0 ;
15709 bool temp2
= false ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 PyObject
* obj2
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self",(char *) "cmd",(char *) "index", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15719 if (SWIG_arg_fail(1)) SWIG_fail
;
15722 arg2
= wxString_in_helper(obj1
);
15723 if (arg2
== NULL
) SWIG_fail
;
15729 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15730 if (SWIG_arg_fail(3)) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15757 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
= NULL
;
15759 wxFileType
*arg1
= (wxFileType
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15768 if (SWIG_arg_fail(1)) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)(arg1
)->Unassociate();
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15785 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
= NULL
;
15787 wxString
*arg1
= 0 ;
15788 wxString
*arg2
= 0 ;
15789 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15790 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15792 bool temp1
= false ;
15793 bool temp2
= false ;
15794 bool temp3
= false ;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 PyObject
* obj2
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15804 arg1
= wxString_in_helper(obj0
);
15805 if (arg1
== NULL
) SWIG_fail
;
15809 arg2
= wxString_in_helper(obj1
);
15810 if (arg2
== NULL
) SWIG_fail
;
15815 arg3
= wxString_in_helper(obj2
);
15816 if (arg3
== NULL
) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15864 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15867 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15869 return Py_BuildValue((char *)"");
15871 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15872 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15877 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15878 PyObject
*pyobj
= NULL
;
15880 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15885 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
= NULL
;
15887 wxString
*arg1
= 0 ;
15888 wxString
*arg2
= 0 ;
15890 bool temp1
= false ;
15891 bool temp2
= false ;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "mimeType",(char *) "wildcard", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 arg1
= wxString_in_helper(obj0
);
15901 if (arg1
== NULL
) SWIG_fail
;
15905 arg2
= wxString_in_helper(obj1
);
15906 if (arg2
== NULL
) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15941 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
= NULL
;
15943 wxMimeTypesManager
*result
;
15944 char *kwnames
[] = {
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15963 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
= NULL
;
15965 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15966 int arg2
= (int) wxMAILCAP_ALL
;
15967 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15968 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15969 bool temp3
= false ;
15970 PyObject
* obj0
= 0 ;
15971 PyObject
* obj1
= 0 ;
15972 PyObject
* obj2
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15979 if (SWIG_arg_fail(1)) SWIG_fail
;
15982 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15983 if (SWIG_arg_fail(2)) SWIG_fail
;
15988 arg3
= wxString_in_helper(obj2
);
15989 if (arg3
== NULL
) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 Py_INCREF(Py_None
); resultobj
= Py_None
;
16015 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
= NULL
;
16017 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
16024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16025 if (SWIG_arg_fail(1)) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 (arg1
)->ClearData();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 Py_INCREF(Py_None
); resultobj
= Py_None
;
16040 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
= NULL
;
16042 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16043 wxString
*arg2
= 0 ;
16044 wxFileType
*result
;
16045 bool temp2
= false ;
16046 PyObject
* obj0
= 0 ;
16047 PyObject
* obj1
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self",(char *) "ext", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16054 if (SWIG_arg_fail(1)) SWIG_fail
;
16056 arg2
= wxString_in_helper(obj1
);
16057 if (arg2
== NULL
) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16082 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
= NULL
;
16084 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16085 wxString
*arg2
= 0 ;
16086 wxFileType
*result
;
16087 bool temp2
= false ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self",(char *) "mimeType", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16096 if (SWIG_arg_fail(1)) SWIG_fail
;
16098 arg2
= wxString_in_helper(obj1
);
16099 if (arg2
== NULL
) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16124 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
= NULL
;
16126 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16127 wxString
*arg2
= 0 ;
16128 bool arg3
= (bool) false ;
16130 bool temp2
= false ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 PyObject
* obj2
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16140 if (SWIG_arg_fail(1)) SWIG_fail
;
16142 arg2
= wxString_in_helper(obj1
);
16143 if (arg2
== NULL
) SWIG_fail
;
16148 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16149 if (SWIG_arg_fail(3)) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16176 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
= NULL
;
16178 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16179 wxString
*arg2
= 0 ;
16181 bool temp2
= false ;
16182 PyObject
* obj0
= 0 ;
16183 PyObject
* obj1
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self",(char *) "filename", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail
;
16192 arg2
= wxString_in_helper(obj1
);
16193 if (arg2
== NULL
) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16220 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
= NULL
;
16222 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16231 if (SWIG_arg_fail(1)) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 resultobj
= result
;
16246 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
= NULL
;
16248 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16249 wxFileTypeInfo
*arg2
= 0 ;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self",(char *) "ft", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16258 if (SWIG_arg_fail(1)) SWIG_fail
;
16260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16261 if (SWIG_arg_fail(2)) SWIG_fail
;
16262 if (arg2
== NULL
) {
16263 SWIG_null_ref("wxFileTypeInfo");
16265 if (SWIG_arg_fail(2)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 Py_INCREF(Py_None
); resultobj
= Py_None
;
16281 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
= NULL
;
16283 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16284 wxFileTypeInfo
*arg2
= 0 ;
16285 wxFileType
*result
;
16286 PyObject
* obj0
= 0 ;
16287 PyObject
* obj1
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self",(char *) "ftInfo", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail
;
16296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16297 if (SWIG_arg_fail(2)) SWIG_fail
;
16298 if (arg2
== NULL
) {
16299 SWIG_null_ref("wxFileTypeInfo");
16301 if (SWIG_arg_fail(2)) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16317 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= NULL
;
16319 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16320 wxFileType
*arg2
= (wxFileType
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "ft", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail
;
16331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16332 if (SWIG_arg_fail(2)) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (bool)(arg1
)->Unassociate(arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16349 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
= NULL
;
16351 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16359 if (SWIG_arg_fail(1)) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16374 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16377 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16379 return Py_BuildValue((char *)"");
16381 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16382 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16387 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16388 PyObject
*pyobj
= NULL
;
16392 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16394 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16401 static int _wrap_ART_MENU_set(PyObject
*) {
16402 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16407 static PyObject
*_wrap_ART_MENU_get(void) {
16408 PyObject
*pyobj
= NULL
;
16412 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16414 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16421 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16422 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16427 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16428 PyObject
*pyobj
= NULL
;
16432 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16434 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16441 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16442 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16447 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16448 PyObject
*pyobj
= NULL
;
16452 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16454 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16461 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16462 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16467 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16468 PyObject
*pyobj
= NULL
;
16472 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16474 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16481 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16482 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16487 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16488 PyObject
*pyobj
= NULL
;
16492 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16494 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16501 static int _wrap_ART_BUTTON_set(PyObject
*) {
16502 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16507 static PyObject
*_wrap_ART_BUTTON_get(void) {
16508 PyObject
*pyobj
= NULL
;
16512 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16514 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16521 static int _wrap_ART_OTHER_set(PyObject
*) {
16522 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16527 static PyObject
*_wrap_ART_OTHER_get(void) {
16528 PyObject
*pyobj
= NULL
;
16532 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16534 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16541 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16542 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16547 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16548 PyObject
*pyobj
= NULL
;
16552 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16554 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16561 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16562 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16567 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16568 PyObject
*pyobj
= NULL
;
16572 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16574 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16581 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16582 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16587 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16588 PyObject
*pyobj
= NULL
;
16592 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16594 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16601 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16602 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16607 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16608 PyObject
*pyobj
= NULL
;
16612 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16614 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16621 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16622 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16627 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16628 PyObject
*pyobj
= NULL
;
16632 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16634 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16641 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16642 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16647 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16648 PyObject
*pyobj
= NULL
;
16652 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16654 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16661 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16662 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16667 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16668 PyObject
*pyobj
= NULL
;
16672 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16674 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16681 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16682 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16687 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16688 PyObject
*pyobj
= NULL
;
16692 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16694 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16701 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16702 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16707 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16708 PyObject
*pyobj
= NULL
;
16712 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16714 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16721 static int _wrap_ART_GO_UP_set(PyObject
*) {
16722 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16727 static PyObject
*_wrap_ART_GO_UP_get(void) {
16728 PyObject
*pyobj
= NULL
;
16732 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16734 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16741 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16742 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16747 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16748 PyObject
*pyobj
= NULL
;
16752 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16754 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16761 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16762 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16767 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16768 PyObject
*pyobj
= NULL
;
16772 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16774 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16781 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16782 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16787 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16788 PyObject
*pyobj
= NULL
;
16792 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16794 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16801 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16802 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16807 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16808 PyObject
*pyobj
= NULL
;
16812 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16814 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16821 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16822 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16827 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16828 PyObject
*pyobj
= NULL
;
16832 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16834 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16841 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16842 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16847 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16848 PyObject
*pyobj
= NULL
;
16852 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16854 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16861 static int _wrap_ART_PRINT_set(PyObject
*) {
16862 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16867 static PyObject
*_wrap_ART_PRINT_get(void) {
16868 PyObject
*pyobj
= NULL
;
16872 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16874 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16881 static int _wrap_ART_HELP_set(PyObject
*) {
16882 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16887 static PyObject
*_wrap_ART_HELP_get(void) {
16888 PyObject
*pyobj
= NULL
;
16892 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16894 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16901 static int _wrap_ART_TIP_set(PyObject
*) {
16902 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16907 static PyObject
*_wrap_ART_TIP_get(void) {
16908 PyObject
*pyobj
= NULL
;
16912 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16914 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16921 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16922 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16927 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16928 PyObject
*pyobj
= NULL
;
16932 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16934 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16941 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16942 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16947 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16948 PyObject
*pyobj
= NULL
;
16952 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16954 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16961 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16962 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16967 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16968 PyObject
*pyobj
= NULL
;
16972 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16974 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16981 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16982 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16987 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16988 PyObject
*pyobj
= NULL
;
16992 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16994 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
17001 static int _wrap_ART_FLOPPY_set(PyObject
*) {
17002 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
17007 static PyObject
*_wrap_ART_FLOPPY_get(void) {
17008 PyObject
*pyobj
= NULL
;
17012 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17014 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17021 static int _wrap_ART_CDROM_set(PyObject
*) {
17022 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
17027 static PyObject
*_wrap_ART_CDROM_get(void) {
17028 PyObject
*pyobj
= NULL
;
17032 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17034 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17041 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17042 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17047 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17048 PyObject
*pyobj
= NULL
;
17052 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17054 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17061 static int _wrap_ART_FOLDER_set(PyObject
*) {
17062 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17067 static PyObject
*_wrap_ART_FOLDER_get(void) {
17068 PyObject
*pyobj
= NULL
;
17072 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17074 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17081 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17082 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17087 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17088 PyObject
*pyobj
= NULL
;
17092 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17094 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17101 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17102 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17107 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17108 PyObject
*pyobj
= NULL
;
17112 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17114 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17121 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17122 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17127 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17128 PyObject
*pyobj
= NULL
;
17132 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17134 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17141 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17142 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17147 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17148 PyObject
*pyobj
= NULL
;
17152 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17154 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17161 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17162 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17167 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17168 PyObject
*pyobj
= NULL
;
17172 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17174 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17181 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17182 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17187 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17188 PyObject
*pyobj
= NULL
;
17192 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17194 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17201 static int _wrap_ART_ERROR_set(PyObject
*) {
17202 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17207 static PyObject
*_wrap_ART_ERROR_get(void) {
17208 PyObject
*pyobj
= NULL
;
17212 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17214 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17221 static int _wrap_ART_QUESTION_set(PyObject
*) {
17222 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17227 static PyObject
*_wrap_ART_QUESTION_get(void) {
17228 PyObject
*pyobj
= NULL
;
17232 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17234 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17241 static int _wrap_ART_WARNING_set(PyObject
*) {
17242 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17247 static PyObject
*_wrap_ART_WARNING_get(void) {
17248 PyObject
*pyobj
= NULL
;
17252 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17254 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17261 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17262 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17267 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17268 PyObject
*pyobj
= NULL
;
17272 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17274 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17281 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17282 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17287 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17288 PyObject
*pyobj
= NULL
;
17292 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17294 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17301 static int _wrap_ART_COPY_set(PyObject
*) {
17302 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17307 static PyObject
*_wrap_ART_COPY_get(void) {
17308 PyObject
*pyobj
= NULL
;
17312 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17314 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17321 static int _wrap_ART_CUT_set(PyObject
*) {
17322 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17327 static PyObject
*_wrap_ART_CUT_get(void) {
17328 PyObject
*pyobj
= NULL
;
17332 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17334 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17341 static int _wrap_ART_PASTE_set(PyObject
*) {
17342 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17347 static PyObject
*_wrap_ART_PASTE_get(void) {
17348 PyObject
*pyobj
= NULL
;
17352 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17354 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17361 static int _wrap_ART_DELETE_set(PyObject
*) {
17362 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17367 static PyObject
*_wrap_ART_DELETE_get(void) {
17368 PyObject
*pyobj
= NULL
;
17372 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17374 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17381 static int _wrap_ART_NEW_set(PyObject
*) {
17382 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17387 static PyObject
*_wrap_ART_NEW_get(void) {
17388 PyObject
*pyobj
= NULL
;
17392 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17394 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17401 static int _wrap_ART_UNDO_set(PyObject
*) {
17402 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17407 static PyObject
*_wrap_ART_UNDO_get(void) {
17408 PyObject
*pyobj
= NULL
;
17412 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17414 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17421 static int _wrap_ART_REDO_set(PyObject
*) {
17422 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17427 static PyObject
*_wrap_ART_REDO_get(void) {
17428 PyObject
*pyobj
= NULL
;
17432 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17434 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17441 static int _wrap_ART_QUIT_set(PyObject
*) {
17442 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17447 static PyObject
*_wrap_ART_QUIT_get(void) {
17448 PyObject
*pyobj
= NULL
;
17452 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17454 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17461 static int _wrap_ART_FIND_set(PyObject
*) {
17462 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17467 static PyObject
*_wrap_ART_FIND_get(void) {
17468 PyObject
*pyobj
= NULL
;
17472 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17474 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17481 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17482 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17487 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17488 PyObject
*pyobj
= NULL
;
17492 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17494 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17501 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
= NULL
;
17503 wxPyArtProvider
*result
;
17504 char *kwnames
[] = {
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17510 if (!wxPyCheckForApp()) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17524 static PyObject
*_wrap_delete_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
= NULL
;
17526 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17527 PyObject
* obj0
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
17533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 Py_INCREF(Py_None
); resultobj
= Py_None
;
17549 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
= NULL
;
17551 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17552 PyObject
*arg2
= (PyObject
*) 0 ;
17553 PyObject
*arg3
= (PyObject
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 PyObject
* obj2
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "self",(char *) "_class", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17563 if (SWIG_arg_fail(1)) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 Py_INCREF(Py_None
); resultobj
= Py_None
;
17580 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
= NULL
;
17582 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "provider", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17590 if (SWIG_arg_fail(1)) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 wxPyArtProvider::PushProvider(arg1
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 Py_INCREF(Py_None
); resultobj
= Py_None
;
17605 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
= NULL
;
17608 char *kwnames
[] = {
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 result
= (bool)wxPyArtProvider::PopProvider();
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17629 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
= NULL
;
17631 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "provider", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17640 if (SWIG_arg_fail(1)) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17657 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
= NULL
;
17659 wxString
*arg1
= 0 ;
17660 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17661 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17662 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17663 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17665 bool temp1
= false ;
17666 bool temp2
= false ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 PyObject
* obj2
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "id",(char *) "client",(char *) "size", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17677 arg1
= wxString_in_helper(obj0
);
17678 if (arg1
== NULL
) SWIG_fail
;
17683 arg2
= wxString_in_helper(obj1
);
17684 if (arg2
== NULL
) SWIG_fail
;
17691 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17695 if (!wxPyCheckForApp()) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17703 wxBitmap
* resultptr
;
17704 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17729 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
= NULL
;
17731 wxString
*arg1
= 0 ;
17732 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17733 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17734 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17735 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17737 bool temp1
= false ;
17738 bool temp2
= false ;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 PyObject
* obj2
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "id",(char *) "client",(char *) "size", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17749 arg1
= wxString_in_helper(obj0
);
17750 if (arg1
== NULL
) SWIG_fail
;
17755 arg2
= wxString_in_helper(obj1
);
17756 if (arg2
== NULL
) SWIG_fail
;
17763 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17767 if (!wxPyCheckForApp()) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17775 wxIcon
* resultptr
;
17776 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17801 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
= NULL
;
17803 wxString
*arg1
= 0 ;
17804 bool arg2
= (bool) false ;
17806 bool temp1
= false ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "client",(char *) "platform_dependent", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17815 arg1
= wxString_in_helper(obj0
);
17816 if (arg1
== NULL
) SWIG_fail
;
17821 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17822 if (SWIG_arg_fail(2)) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17833 wxSize
* resultptr
;
17834 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17851 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
= NULL
;
17853 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17861 if (SWIG_arg_fail(1)) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 wxPyArtProvider_Destroy(arg1
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 Py_INCREF(Py_None
); resultobj
= Py_None
;
17876 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17879 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17881 return Py_BuildValue((char *)"");
17883 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
= NULL
;
17885 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17893 if (SWIG_arg_fail(1)) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 Py_INCREF(Py_None
); resultobj
= Py_None
;
17908 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
= NULL
;
17910 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17911 wxConfigBase
*result
;
17912 PyObject
* obj0
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "config", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17919 if (SWIG_arg_fail(1)) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17934 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
= NULL
;
17936 bool arg1
= (bool) true ;
17937 wxConfigBase
*result
;
17938 PyObject
* obj0
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "createOnDemand", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17946 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17947 if (SWIG_arg_fail(1)) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17964 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
= NULL
;
17966 wxConfigBase
*result
;
17967 char *kwnames
[] = {
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (wxConfigBase
*)wxConfigBase::Create();
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17986 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= NULL
;
17988 char *kwnames
[] = {
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 wxConfigBase::DontCreateOnDemand();
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 Py_INCREF(Py_None
); resultobj
= Py_None
;
18007 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
= NULL
;
18009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18010 wxString
*arg2
= 0 ;
18011 bool temp2
= false ;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self",(char *) "path", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18020 if (SWIG_arg_fail(1)) SWIG_fail
;
18022 arg2
= wxString_in_helper(obj1
);
18023 if (arg2
== NULL
) SWIG_fail
;
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 (arg1
)->SetPath((wxString
const &)*arg2
);
18030 wxPyEndAllowThreads(__tstate
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 Py_INCREF(Py_None
); resultobj
= Py_None
;
18048 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= NULL
;
18050 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
18058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18059 if (SWIG_arg_fail(1)) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18064 result
= (wxString
*) &_result_ref
;
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18083 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
= NULL
;
18085 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
18093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18094 if (SWIG_arg_fail(1)) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= result
;
18109 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
= NULL
;
18111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 PyObject
* obj1
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self",(char *) "index", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18122 if (SWIG_arg_fail(1)) SWIG_fail
;
18124 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18125 if (SWIG_arg_fail(2)) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= result
;
18141 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
= NULL
;
18143 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18152 if (SWIG_arg_fail(1)) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= result
;
18167 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
= NULL
;
18169 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self",(char *) "index", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18180 if (SWIG_arg_fail(1)) SWIG_fail
;
18182 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18183 if (SWIG_arg_fail(2)) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= result
;
18199 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= NULL
;
18201 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18202 bool arg2
= (bool) false ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self",(char *) "recursive", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18212 if (SWIG_arg_fail(1)) SWIG_fail
;
18215 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18216 if (SWIG_arg_fail(2)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18235 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
= NULL
;
18237 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18238 bool arg2
= (bool) false ;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self",(char *) "recursive", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18248 if (SWIG_arg_fail(1)) SWIG_fail
;
18251 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18252 if (SWIG_arg_fail(2)) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18271 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
= NULL
;
18273 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18274 wxString
*arg2
= 0 ;
18276 bool temp2
= false ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self",(char *) "name", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18285 if (SWIG_arg_fail(1)) SWIG_fail
;
18287 arg2
= wxString_in_helper(obj1
);
18288 if (arg2
== NULL
) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18315 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
= NULL
;
18317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18318 wxString
*arg2
= 0 ;
18320 bool temp2
= false ;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self",(char *) "name", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18329 if (SWIG_arg_fail(1)) SWIG_fail
;
18331 arg2
= wxString_in_helper(obj1
);
18332 if (arg2
== NULL
) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18359 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
= NULL
;
18361 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18362 wxString
*arg2
= 0 ;
18364 bool temp2
= false ;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "name", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18375 arg2
= wxString_in_helper(obj1
);
18376 if (arg2
== NULL
) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18403 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
= NULL
;
18405 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18406 wxString
*arg2
= 0 ;
18407 wxConfigBase::EntryType result
;
18408 bool temp2
= false ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "name", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18419 arg2
= wxString_in_helper(obj1
);
18420 if (arg2
== NULL
) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_From_int((result
));
18445 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
= NULL
;
18447 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18448 wxString
*arg2
= 0 ;
18449 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18450 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18452 bool temp2
= false ;
18453 bool temp3
= false ;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 PyObject
* obj2
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18463 if (SWIG_arg_fail(1)) SWIG_fail
;
18465 arg2
= wxString_in_helper(obj1
);
18466 if (arg2
== NULL
) SWIG_fail
;
18471 arg3
= wxString_in_helper(obj2
);
18472 if (arg3
== NULL
) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18512 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
= NULL
;
18514 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18515 wxString
*arg2
= 0 ;
18516 long arg3
= (long) 0 ;
18518 bool temp2
= false ;
18519 PyObject
* obj0
= 0 ;
18520 PyObject
* obj1
= 0 ;
18521 PyObject
* obj2
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail
;
18530 arg2
= wxString_in_helper(obj1
);
18531 if (arg2
== NULL
) SWIG_fail
;
18536 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18537 if (SWIG_arg_fail(3)) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_From_long(static_cast<long >(result
));
18564 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
= NULL
;
18566 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18567 wxString
*arg2
= 0 ;
18568 double arg3
= (double) 0.0 ;
18570 bool temp2
= false ;
18571 PyObject
* obj0
= 0 ;
18572 PyObject
* obj1
= 0 ;
18573 PyObject
* obj2
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail
;
18582 arg2
= wxString_in_helper(obj1
);
18583 if (arg2
== NULL
) SWIG_fail
;
18588 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18589 if (SWIG_arg_fail(3)) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_From_double(static_cast<double >(result
));
18616 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
= NULL
;
18618 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18619 wxString
*arg2
= 0 ;
18620 bool arg3
= (bool) false ;
18622 bool temp2
= false ;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj1
= 0 ;
18625 PyObject
* obj2
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18632 if (SWIG_arg_fail(1)) SWIG_fail
;
18634 arg2
= wxString_in_helper(obj1
);
18635 if (arg2
== NULL
) SWIG_fail
;
18640 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18641 if (SWIG_arg_fail(3)) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18668 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
= NULL
;
18670 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18671 wxString
*arg2
= 0 ;
18672 wxString
*arg3
= 0 ;
18674 bool temp2
= false ;
18675 bool temp3
= false ;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 PyObject
* obj2
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self",(char *) "key",(char *) "value", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail
;
18687 arg2
= wxString_in_helper(obj1
);
18688 if (arg2
== NULL
) SWIG_fail
;
18692 arg3
= wxString_in_helper(obj2
);
18693 if (arg3
== NULL
) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18728 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
= NULL
;
18730 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18731 wxString
*arg2
= 0 ;
18734 bool temp2
= false ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 PyObject
* obj2
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self",(char *) "key",(char *) "value", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18744 if (SWIG_arg_fail(1)) SWIG_fail
;
18746 arg2
= wxString_in_helper(obj1
);
18747 if (arg2
== NULL
) SWIG_fail
;
18751 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18752 if (SWIG_arg_fail(3)) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18778 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
= NULL
;
18780 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18781 wxString
*arg2
= 0 ;
18784 bool temp2
= false ;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 PyObject
* obj2
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "key",(char *) "value", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18794 if (SWIG_arg_fail(1)) SWIG_fail
;
18796 arg2
= wxString_in_helper(obj1
);
18797 if (arg2
== NULL
) SWIG_fail
;
18801 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18802 if (SWIG_arg_fail(3)) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18828 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
= NULL
;
18830 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18831 wxString
*arg2
= 0 ;
18834 bool temp2
= false ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self",(char *) "key",(char *) "value", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18844 if (SWIG_arg_fail(1)) SWIG_fail
;
18846 arg2
= wxString_in_helper(obj1
);
18847 if (arg2
== NULL
) SWIG_fail
;
18851 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18852 if (SWIG_arg_fail(3)) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18878 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
= NULL
;
18880 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18881 bool arg2
= (bool) false ;
18883 PyObject
* obj0
= 0 ;
18884 PyObject
* obj1
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self",(char *) "currentOnly", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18891 if (SWIG_arg_fail(1)) SWIG_fail
;
18894 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18895 if (SWIG_arg_fail(2)) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= (bool)(arg1
)->Flush(arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18914 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
= NULL
;
18916 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18917 wxString
*arg2
= 0 ;
18918 wxString
*arg3
= 0 ;
18920 bool temp2
= false ;
18921 bool temp3
= false ;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 PyObject
* obj2
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18931 if (SWIG_arg_fail(1)) SWIG_fail
;
18933 arg2
= wxString_in_helper(obj1
);
18934 if (arg2
== NULL
) SWIG_fail
;
18938 arg3
= wxString_in_helper(obj2
);
18939 if (arg3
== NULL
) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18974 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
= NULL
;
18976 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18977 wxString
*arg2
= 0 ;
18978 wxString
*arg3
= 0 ;
18980 bool temp2
= false ;
18981 bool temp3
= false ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 PyObject
* obj2
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail
;
18993 arg2
= wxString_in_helper(obj1
);
18994 if (arg2
== NULL
) SWIG_fail
;
18998 arg3
= wxString_in_helper(obj2
);
18999 if (arg3
== NULL
) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19034 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= NULL
;
19036 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19037 wxString
*arg2
= 0 ;
19038 bool arg3
= (bool) true ;
19040 bool temp2
= false ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 PyObject
* obj2
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19050 if (SWIG_arg_fail(1)) SWIG_fail
;
19052 arg2
= wxString_in_helper(obj1
);
19053 if (arg2
== NULL
) SWIG_fail
;
19058 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19059 if (SWIG_arg_fail(3)) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19086 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
= NULL
;
19088 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19089 wxString
*arg2
= 0 ;
19091 bool temp2
= false ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self",(char *) "key", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19100 if (SWIG_arg_fail(1)) SWIG_fail
;
19102 arg2
= wxString_in_helper(obj1
);
19103 if (arg2
== NULL
) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19130 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= NULL
;
19132 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19141 if (SWIG_arg_fail(1)) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (bool)(arg1
)->DeleteAll();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19158 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
= NULL
;
19160 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19161 bool arg2
= (bool) true ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "doIt", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19170 if (SWIG_arg_fail(1)) SWIG_fail
;
19173 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19174 if (SWIG_arg_fail(2)) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->SetExpandEnvVars(arg2
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= NULL
;
19193 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19202 if (SWIG_arg_fail(1)) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19219 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
= NULL
;
19221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19222 bool arg2
= (bool) true ;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self",(char *) "doIt", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19231 if (SWIG_arg_fail(1)) SWIG_fail
;
19234 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19235 if (SWIG_arg_fail(2)) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->SetRecordDefaults(arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
= NULL
;
19254 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19263 if (SWIG_arg_fail(1)) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19280 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
= NULL
;
19282 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19283 wxString
*arg2
= 0 ;
19285 bool temp2
= false ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "str", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19294 if (SWIG_arg_fail(1)) SWIG_fail
;
19296 arg2
= wxString_in_helper(obj1
);
19297 if (arg2
== NULL
) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19328 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
= NULL
;
19330 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19339 if (SWIG_arg_fail(1)) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19360 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
= NULL
;
19362 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19371 if (SWIG_arg_fail(1)) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19392 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= NULL
;
19394 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19395 wxString
*arg2
= 0 ;
19396 bool temp2
= false ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "appName", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19405 if (SWIG_arg_fail(1)) SWIG_fail
;
19407 arg2
= wxString_in_helper(obj1
);
19408 if (arg2
== NULL
) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 (arg1
)->SetAppName((wxString
const &)*arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 Py_INCREF(Py_None
); resultobj
= Py_None
;
19433 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
= NULL
;
19435 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19436 wxString
*arg2
= 0 ;
19437 bool temp2
= false ;
19438 PyObject
* obj0
= 0 ;
19439 PyObject
* obj1
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self",(char *) "vendorName", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19446 if (SWIG_arg_fail(1)) SWIG_fail
;
19448 arg2
= wxString_in_helper(obj1
);
19449 if (arg2
== NULL
) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 Py_INCREF(Py_None
); resultobj
= Py_None
;
19474 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
= NULL
;
19476 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 PyObject
* obj1
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self",(char *) "style", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19486 if (SWIG_arg_fail(1)) SWIG_fail
;
19488 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19489 if (SWIG_arg_fail(2)) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 (arg1
)->SetStyle(arg2
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 Py_INCREF(Py_None
); resultobj
= Py_None
;
19505 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
= NULL
;
19507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19516 if (SWIG_arg_fail(1)) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_From_long(static_cast<long >(result
));
19533 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19536 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19538 return Py_BuildValue((char *)"");
19540 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
= NULL
;
19542 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19543 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19544 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19545 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19546 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19547 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19550 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19552 bool temp1
= false ;
19553 bool temp2
= false ;
19554 bool temp3
= false ;
19555 bool temp4
= false ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 PyObject
* obj2
= 0 ;
19559 PyObject
* obj3
= 0 ;
19560 PyObject
* obj4
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19568 arg1
= wxString_in_helper(obj0
);
19569 if (arg1
== NULL
) SWIG_fail
;
19575 arg2
= wxString_in_helper(obj1
);
19576 if (arg2
== NULL
) SWIG_fail
;
19582 arg3
= wxString_in_helper(obj2
);
19583 if (arg3
== NULL
) SWIG_fail
;
19589 arg4
= wxString_in_helper(obj3
);
19590 if (arg4
== NULL
) SWIG_fail
;
19596 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19597 if (SWIG_arg_fail(5)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19646 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
= NULL
;
19648 wxConfig
*arg1
= (wxConfig
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19656 if (SWIG_arg_fail(1)) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 Py_INCREF(Py_None
); resultobj
= Py_None
;
19671 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19674 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19676 return Py_BuildValue((char *)"");
19678 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
= NULL
;
19680 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19681 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19682 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19683 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19684 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19685 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19686 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19688 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19689 wxFileConfig
*result
;
19690 bool temp1
= false ;
19691 bool temp2
= false ;
19692 bool temp3
= false ;
19693 bool temp4
= false ;
19694 PyObject
* obj0
= 0 ;
19695 PyObject
* obj1
= 0 ;
19696 PyObject
* obj2
= 0 ;
19697 PyObject
* obj3
= 0 ;
19698 PyObject
* obj4
= 0 ;
19699 char *kwnames
[] = {
19700 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19706 arg1
= wxString_in_helper(obj0
);
19707 if (arg1
== NULL
) SWIG_fail
;
19713 arg2
= wxString_in_helper(obj1
);
19714 if (arg2
== NULL
) SWIG_fail
;
19720 arg3
= wxString_in_helper(obj2
);
19721 if (arg3
== NULL
) SWIG_fail
;
19727 arg4
= wxString_in_helper(obj3
);
19728 if (arg4
== NULL
) SWIG_fail
;
19734 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19735 if (SWIG_arg_fail(5)) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19784 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
= NULL
;
19786 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19787 PyObject
* obj0
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self", NULL
19792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19794 if (SWIG_arg_fail(1)) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 Py_INCREF(Py_None
); resultobj
= Py_None
;
19809 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19812 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19814 return Py_BuildValue((char *)"");
19816 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
= NULL
;
19818 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19819 wxString
*arg2
= 0 ;
19820 wxConfigPathChanger
*result
;
19821 bool temp2
= false ;
19822 PyObject
* obj0
= 0 ;
19823 PyObject
* obj1
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "config",(char *) "entry", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19830 if (SWIG_arg_fail(1)) SWIG_fail
;
19832 arg2
= wxString_in_helper(obj1
);
19833 if (arg2
== NULL
) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19858 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
= NULL
;
19860 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19868 if (SWIG_arg_fail(1)) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
= NULL
;
19885 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19899 result
= (wxString
*) &_result_ref
;
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19909 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19918 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19921 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19923 return Py_BuildValue((char *)"");
19925 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
= NULL
;
19927 wxString
*arg1
= 0 ;
19929 bool temp1
= false ;
19930 PyObject
* obj0
= 0 ;
19931 char *kwnames
[] = {
19932 (char *) "sz", NULL
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19937 arg1
= wxString_in_helper(obj0
);
19938 if (arg1
== NULL
) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19969 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19970 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19975 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19976 PyObject
*pyobj
= NULL
;
19980 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19982 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19989 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19990 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19995 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19996 PyObject
*pyobj
= NULL
;
20000 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20002 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20009 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
= NULL
;
20011 wxDateTime::Country arg1
;
20012 PyObject
* obj0
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "country", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
20019 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20020 if (SWIG_arg_fail(1)) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 wxDateTime::SetCountry(arg1
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 Py_INCREF(Py_None
); resultobj
= Py_None
;
20036 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= NULL
;
20038 wxDateTime::Country result
;
20039 char *kwnames
[] = {
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= SWIG_From_int((result
));
20058 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
= NULL
;
20060 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20062 PyObject
* obj0
= 0 ;
20063 char *kwnames
[] = {
20064 (char *) "country", NULL
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20070 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20071 if (SWIG_arg_fail(1)) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20090 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
= NULL
;
20092 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "cal", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20102 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20103 if (SWIG_arg_fail(1)) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_From_int(static_cast<int >(result
));
20122 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
= NULL
;
20126 PyObject
* obj0
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "year", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20133 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20134 if (SWIG_arg_fail(1)) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= SWIG_From_int(static_cast<int >(result
));
20152 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
= NULL
;
20154 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20155 wxDateTime::Month result
;
20156 PyObject
* obj0
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "cal", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20164 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20165 if (SWIG_arg_fail(1)) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_From_int((result
));
20182 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
= NULL
;
20184 int arg1
= (int) wxDateTime::Inv_Year
;
20185 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "year",(char *) "cal", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20196 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20197 if (SWIG_arg_fail(1)) SWIG_fail
;
20202 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20203 if (SWIG_arg_fail(2)) SWIG_fail
;
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20222 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
= NULL
;
20224 int arg1
= (int) wxDateTime::Inv_Year
;
20226 PyObject
* obj0
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "year", NULL
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20234 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20235 if (SWIG_arg_fail(1)) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (int)wxDateTime::GetCentury(arg1
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_From_int(static_cast<int >(result
));
20254 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
= NULL
;
20257 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "year",(char *) "cal", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20267 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20268 if (SWIG_arg_fail(1)) SWIG_fail
;
20272 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20273 if (SWIG_arg_fail(2)) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20284 resultobj
= SWIG_From_int(static_cast<int >(result
));
20292 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
= NULL
;
20294 wxDateTime::Month arg1
;
20295 int arg2
= (int) wxDateTime::Inv_Year
;
20296 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 PyObject
* obj2
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "month",(char *) "year",(char *) "cal", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20307 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20308 if (SWIG_arg_fail(1)) SWIG_fail
;
20312 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20313 if (SWIG_arg_fail(2)) SWIG_fail
;
20318 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20319 if (SWIG_arg_fail(3)) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_From_int(static_cast<int >(result
));
20338 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
= NULL
;
20340 wxDateTime::Month arg1
;
20341 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "month",(char *) "flags", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20351 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20352 if (SWIG_arg_fail(1)) SWIG_fail
;
20356 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20357 if (SWIG_arg_fail(2)) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20380 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
= NULL
;
20382 wxDateTime::WeekDay arg1
;
20383 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "weekday",(char *) "flags", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20393 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20394 if (SWIG_arg_fail(1)) SWIG_fail
;
20398 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20399 if (SWIG_arg_fail(2)) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20422 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
= NULL
;
20425 char *kwnames
[] = {
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= result
;
20444 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
= NULL
;
20446 int arg1
= (int) wxDateTime::Inv_Year
;
20447 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20449 PyObject
* obj0
= 0 ;
20450 PyObject
* obj1
= 0 ;
20451 char *kwnames
[] = {
20452 (char *) "year",(char *) "country", NULL
20455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20458 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20459 if (SWIG_arg_fail(1)) SWIG_fail
;
20464 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20465 if (SWIG_arg_fail(2)) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20484 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
= NULL
;
20486 int arg1
= (int) wxDateTime::Inv_Year
;
20487 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "year",(char *) "country", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20498 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20499 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20505 if (SWIG_arg_fail(2)) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20516 wxDateTime
* resultptr
;
20517 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20526 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
= NULL
;
20528 int arg1
= (int) wxDateTime::Inv_Year
;
20529 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "year",(char *) "country", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20540 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20541 if (SWIG_arg_fail(1)) SWIG_fail
;
20546 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20547 if (SWIG_arg_fail(2)) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20558 wxDateTime
* resultptr
;
20559 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20568 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
= NULL
;
20571 char *kwnames
[] = {
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= wxDateTime::Now();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20584 wxDateTime
* resultptr
;
20585 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20594 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= NULL
;
20597 char *kwnames
[] = {
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= wxDateTime::UNow();
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20610 wxDateTime
* resultptr
;
20611 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20620 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
= NULL
;
20623 char *kwnames
[] = {
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= wxDateTime::Today();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 wxDateTime
* resultptr
;
20637 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20646 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
= NULL
;
20648 wxDateTime
*result
;
20649 char *kwnames
[] = {
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (wxDateTime
*)new wxDateTime();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20668 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
= NULL
;
20671 wxDateTime
*result
;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "timet", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20679 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20680 if (SWIG_arg_fail(1)) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 result
= (wxDateTime
*)new wxDateTime(arg1
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20696 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
= NULL
;
20699 wxDateTime
*result
;
20700 PyObject
* obj0
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "jdn", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20707 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20708 if (SWIG_arg_fail(1)) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (wxDateTime
*)new wxDateTime(arg1
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20724 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
= NULL
;
20727 int arg2
= (int) 0 ;
20728 int arg3
= (int) 0 ;
20729 int arg4
= (int) 0 ;
20730 wxDateTime
*result
;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 PyObject
* obj2
= 0 ;
20734 PyObject
* obj3
= 0 ;
20735 char *kwnames
[] = {
20736 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20741 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20742 if (SWIG_arg_fail(1)) SWIG_fail
;
20746 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20747 if (SWIG_arg_fail(2)) SWIG_fail
;
20752 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20753 if (SWIG_arg_fail(3)) SWIG_fail
;
20758 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20759 if (SWIG_arg_fail(4)) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20776 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
= NULL
;
20779 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20780 int arg3
= (int) wxDateTime::Inv_Year
;
20781 int arg4
= (int) 0 ;
20782 int arg5
= (int) 0 ;
20783 int arg6
= (int) 0 ;
20784 int arg7
= (int) 0 ;
20785 wxDateTime
*result
;
20786 PyObject
* obj0
= 0 ;
20787 PyObject
* obj1
= 0 ;
20788 PyObject
* obj2
= 0 ;
20789 PyObject
* obj3
= 0 ;
20790 PyObject
* obj4
= 0 ;
20791 PyObject
* obj5
= 0 ;
20792 PyObject
* obj6
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20799 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20800 if (SWIG_arg_fail(1)) SWIG_fail
;
20804 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20805 if (SWIG_arg_fail(2)) SWIG_fail
;
20810 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20811 if (SWIG_arg_fail(3)) SWIG_fail
;
20816 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20817 if (SWIG_arg_fail(4)) SWIG_fail
;
20822 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20823 if (SWIG_arg_fail(5)) SWIG_fail
;
20828 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20829 if (SWIG_arg_fail(6)) SWIG_fail
;
20834 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20835 if (SWIG_arg_fail(7)) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20852 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
= NULL
;
20854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20855 PyObject
* obj0
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20862 if (SWIG_arg_fail(1)) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 Py_INCREF(Py_None
); resultobj
= Py_None
;
20877 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
= NULL
;
20879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20880 wxDateTime
*result
;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20893 result
= (wxDateTime
*) &_result_ref
;
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20906 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
= NULL
;
20908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20910 wxDateTime
*result
;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self",(char *) "timet", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20919 if (SWIG_arg_fail(1)) SWIG_fail
;
20921 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20922 if (SWIG_arg_fail(2)) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20928 result
= (wxDateTime
*) &_result_ref
;
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20941 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
= NULL
;
20943 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20945 wxDateTime
*result
;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self",(char *) "jdn", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20954 if (SWIG_arg_fail(1)) SWIG_fail
;
20956 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20957 if (SWIG_arg_fail(2)) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20963 result
= (wxDateTime
*) &_result_ref
;
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20976 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
= NULL
;
20978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20980 int arg3
= (int) 0 ;
20981 int arg4
= (int) 0 ;
20982 int arg5
= (int) 0 ;
20983 wxDateTime
*result
;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 PyObject
* obj2
= 0 ;
20987 PyObject
* obj3
= 0 ;
20988 PyObject
* obj4
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail
;
20997 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20998 if (SWIG_arg_fail(2)) SWIG_fail
;
21002 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21003 if (SWIG_arg_fail(3)) SWIG_fail
;
21008 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21009 if (SWIG_arg_fail(4)) SWIG_fail
;
21014 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21015 if (SWIG_arg_fail(5)) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
21022 result
= (wxDateTime
*) &_result_ref
;
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21035 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
= NULL
;
21037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21039 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21040 int arg4
= (int) wxDateTime::Inv_Year
;
21041 int arg5
= (int) 0 ;
21042 int arg6
= (int) 0 ;
21043 int arg7
= (int) 0 ;
21044 int arg8
= (int) 0 ;
21045 wxDateTime
*result
;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 PyObject
* obj2
= 0 ;
21049 PyObject
* obj3
= 0 ;
21050 PyObject
* obj4
= 0 ;
21051 PyObject
* obj5
= 0 ;
21052 PyObject
* obj6
= 0 ;
21053 PyObject
* obj7
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21060 if (SWIG_arg_fail(1)) SWIG_fail
;
21062 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21063 if (SWIG_arg_fail(2)) SWIG_fail
;
21067 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21068 if (SWIG_arg_fail(3)) SWIG_fail
;
21073 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21074 if (SWIG_arg_fail(4)) SWIG_fail
;
21079 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21080 if (SWIG_arg_fail(5)) SWIG_fail
;
21085 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21086 if (SWIG_arg_fail(6)) SWIG_fail
;
21091 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21092 if (SWIG_arg_fail(7)) SWIG_fail
;
21097 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21098 if (SWIG_arg_fail(8)) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21105 result
= (wxDateTime
*) &_result_ref
;
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21118 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
= NULL
;
21120 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21121 wxDateTime
*result
;
21122 PyObject
* obj0
= 0 ;
21123 char *kwnames
[] = {
21124 (char *) "self", NULL
21127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21129 if (SWIG_arg_fail(1)) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21134 result
= (wxDateTime
*) &_result_ref
;
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21147 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
= NULL
;
21149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21151 wxDateTime
*result
;
21152 PyObject
* obj0
= 0 ;
21153 PyObject
* obj1
= 0 ;
21154 char *kwnames
[] = {
21155 (char *) "self",(char *) "year", NULL
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21160 if (SWIG_arg_fail(1)) SWIG_fail
;
21162 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21163 if (SWIG_arg_fail(2)) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21169 result
= (wxDateTime
*) &_result_ref
;
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21182 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
= NULL
;
21184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21185 wxDateTime::Month arg2
;
21186 wxDateTime
*result
;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "self",(char *) "month", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21195 if (SWIG_arg_fail(1)) SWIG_fail
;
21197 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21198 if (SWIG_arg_fail(2)) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21204 result
= (wxDateTime
*) &_result_ref
;
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21217 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
= NULL
;
21219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21221 wxDateTime
*result
;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "day", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21230 if (SWIG_arg_fail(1)) SWIG_fail
;
21232 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21233 if (SWIG_arg_fail(2)) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21239 result
= (wxDateTime
*) &_result_ref
;
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21252 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
= NULL
;
21254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21256 wxDateTime
*result
;
21257 PyObject
* obj0
= 0 ;
21258 PyObject
* obj1
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "self",(char *) "hour", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21265 if (SWIG_arg_fail(1)) SWIG_fail
;
21267 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21268 if (SWIG_arg_fail(2)) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21274 result
= (wxDateTime
*) &_result_ref
;
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21287 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
= NULL
;
21289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21291 wxDateTime
*result
;
21292 PyObject
* obj0
= 0 ;
21293 PyObject
* obj1
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self",(char *) "minute", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21300 if (SWIG_arg_fail(1)) SWIG_fail
;
21302 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21303 if (SWIG_arg_fail(2)) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21309 result
= (wxDateTime
*) &_result_ref
;
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21322 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
= NULL
;
21324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21326 wxDateTime
*result
;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self",(char *) "second", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21335 if (SWIG_arg_fail(1)) SWIG_fail
;
21337 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21338 if (SWIG_arg_fail(2)) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21344 result
= (wxDateTime
*) &_result_ref
;
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21357 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
= NULL
;
21359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21361 wxDateTime
*result
;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self",(char *) "millisecond", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21370 if (SWIG_arg_fail(1)) SWIG_fail
;
21372 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21373 if (SWIG_arg_fail(2)) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21379 result
= (wxDateTime
*) &_result_ref
;
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21392 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
= NULL
;
21394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21395 wxDateTime::WeekDay arg2
;
21396 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21397 wxDateTime
*result
;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 PyObject
* obj2
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21407 if (SWIG_arg_fail(1)) SWIG_fail
;
21409 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21410 if (SWIG_arg_fail(2)) SWIG_fail
;
21414 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21415 if (SWIG_arg_fail(3)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21422 result
= (wxDateTime
*) &_result_ref
;
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21435 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
= NULL
;
21437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21438 wxDateTime::WeekDay arg2
;
21439 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21441 PyObject
* obj0
= 0 ;
21442 PyObject
* obj1
= 0 ;
21443 PyObject
* obj2
= 0 ;
21444 char *kwnames
[] = {
21445 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21450 if (SWIG_arg_fail(1)) SWIG_fail
;
21452 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21453 if (SWIG_arg_fail(2)) SWIG_fail
;
21457 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21458 if (SWIG_arg_fail(3)) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21469 wxDateTime
* resultptr
;
21470 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21479 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
= NULL
;
21481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21482 wxDateTime::WeekDay arg2
;
21483 wxDateTime
*result
;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self",(char *) "weekday", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail
;
21494 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21495 if (SWIG_arg_fail(2)) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21501 result
= (wxDateTime
*) &_result_ref
;
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21514 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
= NULL
;
21516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21517 wxDateTime::WeekDay arg2
;
21519 PyObject
* obj0
= 0 ;
21520 PyObject
* obj1
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self",(char *) "weekday", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21527 if (SWIG_arg_fail(1)) SWIG_fail
;
21529 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21530 if (SWIG_arg_fail(2)) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (arg1
)->GetNextWeekDay(arg2
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 wxDateTime
* resultptr
;
21541 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21550 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
= NULL
;
21552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21553 wxDateTime::WeekDay arg2
;
21554 wxDateTime
*result
;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self",(char *) "weekday", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21563 if (SWIG_arg_fail(1)) SWIG_fail
;
21565 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21566 if (SWIG_arg_fail(2)) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21572 result
= (wxDateTime
*) &_result_ref
;
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21585 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
= NULL
;
21587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21588 wxDateTime::WeekDay arg2
;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self",(char *) "weekday", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21598 if (SWIG_arg_fail(1)) SWIG_fail
;
21600 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21601 if (SWIG_arg_fail(2)) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (arg1
)->GetPrevWeekDay(arg2
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21611 wxDateTime
* resultptr
;
21612 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21621 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
= NULL
;
21623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21624 wxDateTime::WeekDay arg2
;
21625 int arg3
= (int) 1 ;
21626 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21627 int arg5
= (int) wxDateTime::Inv_Year
;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 PyObject
* obj2
= 0 ;
21632 PyObject
* obj3
= 0 ;
21633 PyObject
* obj4
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21640 if (SWIG_arg_fail(1)) SWIG_fail
;
21642 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21643 if (SWIG_arg_fail(2)) SWIG_fail
;
21647 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21648 if (SWIG_arg_fail(3)) SWIG_fail
;
21653 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21654 if (SWIG_arg_fail(4)) SWIG_fail
;
21659 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21660 if (SWIG_arg_fail(5)) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21679 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
= NULL
;
21681 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21682 wxDateTime::WeekDay arg2
;
21683 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21684 int arg4
= (int) wxDateTime::Inv_Year
;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 PyObject
* obj2
= 0 ;
21689 PyObject
* obj3
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21696 if (SWIG_arg_fail(1)) SWIG_fail
;
21698 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21699 if (SWIG_arg_fail(2)) SWIG_fail
;
21703 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21704 if (SWIG_arg_fail(3)) SWIG_fail
;
21709 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21710 if (SWIG_arg_fail(4)) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21729 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
= NULL
;
21731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21732 wxDateTime::WeekDay arg2
;
21733 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21734 int arg4
= (int) wxDateTime::Inv_Year
;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 PyObject
* obj2
= 0 ;
21739 PyObject
* obj3
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail
;
21748 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21749 if (SWIG_arg_fail(2)) SWIG_fail
;
21753 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21754 if (SWIG_arg_fail(3)) SWIG_fail
;
21759 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21760 if (SWIG_arg_fail(4)) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 wxDateTime
* resultptr
;
21772 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21781 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
= NULL
;
21783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21785 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21786 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 PyObject
* obj2
= 0 ;
21791 PyObject
* obj3
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21798 if (SWIG_arg_fail(1)) SWIG_fail
;
21800 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21801 if (SWIG_arg_fail(2)) SWIG_fail
;
21805 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21806 if (SWIG_arg_fail(3)) SWIG_fail
;
21811 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21812 if (SWIG_arg_fail(4)) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21831 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
= NULL
;
21833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21835 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21836 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 PyObject
* obj2
= 0 ;
21841 PyObject
* obj3
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21848 if (SWIG_arg_fail(1)) SWIG_fail
;
21850 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21851 if (SWIG_arg_fail(2)) SWIG_fail
;
21855 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21856 if (SWIG_arg_fail(3)) SWIG_fail
;
21861 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21862 if (SWIG_arg_fail(4)) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21873 wxDateTime
* resultptr
;
21874 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21883 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
= NULL
;
21887 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 PyObject
* obj2
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21898 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21899 if (SWIG_arg_fail(1)) SWIG_fail
;
21902 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21903 if (SWIG_arg_fail(2)) SWIG_fail
;
21907 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21908 if (SWIG_arg_fail(3)) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21919 wxDateTime
* resultptr
;
21920 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21929 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
= NULL
;
21931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21932 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21933 int arg3
= (int) wxDateTime::Inv_Year
;
21934 wxDateTime
*result
;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 PyObject
* obj2
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "month",(char *) "year", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21944 if (SWIG_arg_fail(1)) SWIG_fail
;
21947 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21948 if (SWIG_arg_fail(2)) SWIG_fail
;
21953 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21954 if (SWIG_arg_fail(3)) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21961 result
= (wxDateTime
*) &_result_ref
;
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21974 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
= NULL
;
21976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21977 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21978 int arg3
= (int) wxDateTime::Inv_Year
;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 PyObject
* obj2
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "month",(char *) "year", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21989 if (SWIG_arg_fail(1)) SWIG_fail
;
21992 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21993 if (SWIG_arg_fail(2)) SWIG_fail
;
21998 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21999 if (SWIG_arg_fail(3)) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 wxDateTime
* resultptr
;
22011 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22020 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
= NULL
;
22022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22024 wxDateTime
*result
;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "yday", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22033 if (SWIG_arg_fail(1)) SWIG_fail
;
22035 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22036 if (SWIG_arg_fail(2)) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
22042 result
= (wxDateTime
*) &_result_ref
;
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22055 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
= NULL
;
22057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22060 PyObject
* obj0
= 0 ;
22061 PyObject
* obj1
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "yday", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22068 if (SWIG_arg_fail(1)) SWIG_fail
;
22070 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22071 if (SWIG_arg_fail(2)) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (arg1
)->GetYearDay(arg2
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 wxDateTime
* resultptr
;
22082 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22091 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
= NULL
;
22093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22095 PyObject
* obj0
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "self", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22102 if (SWIG_arg_fail(1)) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (double)(arg1
)->GetJulianDayNumber();
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= SWIG_From_double(static_cast<double >(result
));
22119 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
= NULL
;
22121 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22123 PyObject
* obj0
= 0 ;
22124 char *kwnames
[] = {
22125 (char *) "self", NULL
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 result
= (double)(arg1
)->GetJDN();
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= SWIG_From_double(static_cast<double >(result
));
22147 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
= NULL
;
22149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_From_double(static_cast<double >(result
));
22175 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= NULL
;
22177 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (double)(arg1
)->GetMJD();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_From_double(static_cast<double >(result
));
22203 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= NULL
;
22205 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22214 if (SWIG_arg_fail(1)) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 result
= (double)(arg1
)->GetRataDie();
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= SWIG_From_double(static_cast<double >(result
));
22231 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
= NULL
;
22233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22234 wxDateTime::TimeZone
*arg2
= 0 ;
22235 bool arg3
= (bool) false ;
22237 bool temp2
= false ;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 PyObject
* obj2
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22247 if (SWIG_arg_fail(1)) SWIG_fail
;
22249 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22254 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22255 if (SWIG_arg_fail(3)) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 wxDateTime
* resultptr
;
22267 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22271 if (temp2
) delete arg2
;
22276 if (temp2
) delete arg2
;
22282 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
= NULL
;
22284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22285 wxDateTime::TimeZone
*arg2
= 0 ;
22286 bool arg3
= (bool) false ;
22287 wxDateTime
*result
;
22288 bool temp2
= false ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22298 if (SWIG_arg_fail(1)) SWIG_fail
;
22300 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22305 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22306 if (SWIG_arg_fail(3)) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22313 result
= (wxDateTime
*) &_result_ref
;
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22321 if (temp2
) delete arg2
;
22326 if (temp2
) delete arg2
;
22332 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
= NULL
;
22334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22335 wxDateTime::TimeZone
*arg2
= 0 ;
22336 bool arg3
= (bool) false ;
22338 bool temp2
= false ;
22339 PyObject
* obj0
= 0 ;
22340 PyObject
* obj1
= 0 ;
22341 PyObject
* obj2
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22348 if (SWIG_arg_fail(1)) SWIG_fail
;
22350 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22355 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22356 if (SWIG_arg_fail(3)) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22367 wxDateTime
* resultptr
;
22368 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22372 if (temp2
) delete arg2
;
22377 if (temp2
) delete arg2
;
22383 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
= NULL
;
22385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22386 wxDateTime::TimeZone
*arg2
= 0 ;
22387 bool arg3
= (bool) false ;
22388 wxDateTime
*result
;
22389 bool temp2
= false ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 PyObject
* obj2
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22399 if (SWIG_arg_fail(1)) SWIG_fail
;
22401 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22406 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22407 if (SWIG_arg_fail(3)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22414 result
= (wxDateTime
*) &_result_ref
;
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22422 if (temp2
) delete arg2
;
22427 if (temp2
) delete arg2
;
22433 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
= NULL
;
22435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22436 bool arg2
= (bool) false ;
22438 PyObject
* obj0
= 0 ;
22439 PyObject
* obj1
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self",(char *) "noDST", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22446 if (SWIG_arg_fail(1)) SWIG_fail
;
22449 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22450 if (SWIG_arg_fail(2)) SWIG_fail
;
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22461 wxDateTime
* resultptr
;
22462 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22471 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
= NULL
;
22473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22474 bool arg2
= (bool) false ;
22475 wxDateTime
*result
;
22476 PyObject
* obj0
= 0 ;
22477 PyObject
* obj1
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self",(char *) "noDST", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22484 if (SWIG_arg_fail(1)) SWIG_fail
;
22487 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22488 if (SWIG_arg_fail(2)) SWIG_fail
;
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22495 result
= (wxDateTime
*) &_result_ref
;
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22508 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
= NULL
;
22510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22511 bool arg2
= (bool) false ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "noDST", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22521 if (SWIG_arg_fail(1)) SWIG_fail
;
22524 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22525 if (SWIG_arg_fail(2)) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22536 wxDateTime
* resultptr
;
22537 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22546 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
= NULL
;
22548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22549 bool arg2
= (bool) false ;
22550 wxDateTime
*result
;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self",(char *) "noDST", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail
;
22562 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22563 if (SWIG_arg_fail(2)) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22570 result
= (wxDateTime
*) &_result_ref
;
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22583 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
= NULL
;
22585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22586 bool arg2
= (bool) false ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "noDST", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(1)) SWIG_fail
;
22599 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22600 if (SWIG_arg_fail(2)) SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22611 wxDateTime
* resultptr
;
22612 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22621 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
= NULL
;
22623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22624 bool arg2
= (bool) false ;
22625 wxDateTime
*result
;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 char *kwnames
[] = {
22629 (char *) "self",(char *) "noDST", NULL
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22634 if (SWIG_arg_fail(1)) SWIG_fail
;
22637 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22638 if (SWIG_arg_fail(2)) SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22645 result
= (wxDateTime
*) &_result_ref
;
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22658 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
= NULL
;
22660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22661 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self",(char *) "country", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22671 if (SWIG_arg_fail(1)) SWIG_fail
;
22674 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22675 if (SWIG_arg_fail(2)) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (int)(arg1
)->IsDST(arg2
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= SWIG_From_int(static_cast<int >(result
));
22694 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
= NULL
;
22696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22705 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22722 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22723 PyObject
*resultobj
= NULL
;
22724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22726 PyObject
* obj0
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22733 if (SWIG_arg_fail(1)) SWIG_fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22750 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
= NULL
;
22752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22753 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22754 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22756 bool temp2
= false ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self",(char *) "tz", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail
;
22768 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= SWIG_From_int(static_cast<int >(result
));
22783 if (temp2
) delete arg2
;
22788 if (temp2
) delete arg2
;
22794 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
= NULL
;
22796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22797 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22798 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22799 wxDateTime::Month result
;
22800 bool temp2
= false ;
22801 PyObject
* obj0
= 0 ;
22802 PyObject
* obj1
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self",(char *) "tz", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22809 if (SWIG_arg_fail(1)) SWIG_fail
;
22812 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_From_int((result
));
22825 if (temp2
) delete arg2
;
22830 if (temp2
) delete arg2
;
22836 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
= NULL
;
22838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22839 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22840 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22842 bool temp2
= false ;
22843 PyObject
* obj0
= 0 ;
22844 PyObject
* obj1
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self",(char *) "tz", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22851 if (SWIG_arg_fail(1)) SWIG_fail
;
22854 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= SWIG_From_int(static_cast<int >(result
));
22869 if (temp2
) delete arg2
;
22874 if (temp2
) delete arg2
;
22880 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
= NULL
;
22882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22883 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22884 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22885 wxDateTime::WeekDay result
;
22886 bool temp2
= false ;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self",(char *) "tz", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22895 if (SWIG_arg_fail(1)) SWIG_fail
;
22898 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_From_int((result
));
22911 if (temp2
) delete arg2
;
22916 if (temp2
) delete arg2
;
22922 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
= NULL
;
22924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22925 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22926 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22928 bool temp2
= false ;
22929 PyObject
* obj0
= 0 ;
22930 PyObject
* obj1
= 0 ;
22931 char *kwnames
[] = {
22932 (char *) "self",(char *) "tz", NULL
22935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22937 if (SWIG_arg_fail(1)) SWIG_fail
;
22940 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_From_int(static_cast<int >(result
));
22955 if (temp2
) delete arg2
;
22960 if (temp2
) delete arg2
;
22966 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
= NULL
;
22968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22969 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22970 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22972 bool temp2
= false ;
22973 PyObject
* obj0
= 0 ;
22974 PyObject
* obj1
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self",(char *) "tz", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail
;
22984 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_From_int(static_cast<int >(result
));
22999 if (temp2
) delete arg2
;
23004 if (temp2
) delete arg2
;
23010 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
= NULL
;
23012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23013 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23014 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23016 bool temp2
= false ;
23017 PyObject
* obj0
= 0 ;
23018 PyObject
* obj1
= 0 ;
23019 char *kwnames
[] = {
23020 (char *) "self",(char *) "tz", NULL
23023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23025 if (SWIG_arg_fail(1)) SWIG_fail
;
23028 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_From_int(static_cast<int >(result
));
23043 if (temp2
) delete arg2
;
23048 if (temp2
) delete arg2
;
23054 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
= NULL
;
23056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23057 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23058 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23060 bool temp2
= false ;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "tz", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23069 if (SWIG_arg_fail(1)) SWIG_fail
;
23072 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23084 resultobj
= SWIG_From_int(static_cast<int >(result
));
23087 if (temp2
) delete arg2
;
23092 if (temp2
) delete arg2
;
23098 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
= NULL
;
23100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23101 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23102 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23104 bool temp2
= false ;
23105 PyObject
* obj0
= 0 ;
23106 PyObject
* obj1
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self",(char *) "tz", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23113 if (SWIG_arg_fail(1)) SWIG_fail
;
23116 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_From_int(static_cast<int >(result
));
23131 if (temp2
) delete arg2
;
23136 if (temp2
) delete arg2
;
23142 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
= NULL
;
23144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23145 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23146 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23147 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23149 bool temp3
= false ;
23150 PyObject
* obj0
= 0 ;
23151 PyObject
* obj1
= 0 ;
23152 PyObject
* obj2
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self",(char *) "flags",(char *) "tz", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23159 if (SWIG_arg_fail(1)) SWIG_fail
;
23162 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23163 if (SWIG_arg_fail(2)) SWIG_fail
;
23168 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_From_int(static_cast<int >(result
));
23183 if (temp3
) delete arg3
;
23188 if (temp3
) delete arg3
;
23194 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
= NULL
;
23196 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23197 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23198 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23199 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23201 bool temp3
= false ;
23202 PyObject
* obj0
= 0 ;
23203 PyObject
* obj1
= 0 ;
23204 PyObject
* obj2
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self",(char *) "flags",(char *) "tz", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23211 if (SWIG_arg_fail(1)) SWIG_fail
;
23214 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23215 if (SWIG_arg_fail(2)) SWIG_fail
;
23220 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_From_int(static_cast<int >(result
));
23235 if (temp3
) delete arg3
;
23240 if (temp3
) delete arg3
;
23246 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
= NULL
;
23248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23249 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23251 PyObject
* obj0
= 0 ;
23252 PyObject
* obj1
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self",(char *) "country", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23259 if (SWIG_arg_fail(1)) SWIG_fail
;
23262 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23263 if (SWIG_arg_fail(2)) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23282 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
= NULL
;
23284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23285 wxDateTime
*arg2
= 0 ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "self",(char *) "datetime", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23295 if (SWIG_arg_fail(1)) SWIG_fail
;
23297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23298 if (SWIG_arg_fail(2)) SWIG_fail
;
23299 if (arg2
== NULL
) {
23300 SWIG_null_ref("wxDateTime");
23302 if (SWIG_arg_fail(2)) SWIG_fail
;
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23320 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
= NULL
;
23322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23323 wxDateTime
*arg2
= 0 ;
23325 PyObject
* obj0
= 0 ;
23326 PyObject
* obj1
= 0 ;
23327 char *kwnames
[] = {
23328 (char *) "self",(char *) "datetime", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23333 if (SWIG_arg_fail(1)) SWIG_fail
;
23335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23336 if (SWIG_arg_fail(2)) SWIG_fail
;
23337 if (arg2
== NULL
) {
23338 SWIG_null_ref("wxDateTime");
23340 if (SWIG_arg_fail(2)) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23358 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
= NULL
;
23360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23361 wxDateTime
*arg2
= 0 ;
23363 PyObject
* obj0
= 0 ;
23364 PyObject
* obj1
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "self",(char *) "datetime", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23371 if (SWIG_arg_fail(1)) SWIG_fail
;
23373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23374 if (SWIG_arg_fail(2)) SWIG_fail
;
23375 if (arg2
== NULL
) {
23376 SWIG_null_ref("wxDateTime");
23378 if (SWIG_arg_fail(2)) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23396 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
= NULL
;
23398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23399 wxDateTime
*arg2
= 0 ;
23400 wxDateTime
*arg3
= 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 PyObject
* obj2
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "self",(char *) "t1",(char *) "t2", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23411 if (SWIG_arg_fail(1)) SWIG_fail
;
23413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23414 if (SWIG_arg_fail(2)) SWIG_fail
;
23415 if (arg2
== NULL
) {
23416 SWIG_null_ref("wxDateTime");
23418 if (SWIG_arg_fail(2)) SWIG_fail
;
23421 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23422 if (SWIG_arg_fail(3)) SWIG_fail
;
23423 if (arg3
== NULL
) {
23424 SWIG_null_ref("wxDateTime");
23426 if (SWIG_arg_fail(3)) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23444 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
= NULL
;
23446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23447 wxDateTime
*arg2
= 0 ;
23448 wxDateTime
*arg3
= 0 ;
23450 PyObject
* obj0
= 0 ;
23451 PyObject
* obj1
= 0 ;
23452 PyObject
* obj2
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "t1",(char *) "t2", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23462 if (SWIG_arg_fail(2)) SWIG_fail
;
23463 if (arg2
== NULL
) {
23464 SWIG_null_ref("wxDateTime");
23466 if (SWIG_arg_fail(2)) SWIG_fail
;
23469 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23470 if (SWIG_arg_fail(3)) SWIG_fail
;
23471 if (arg3
== NULL
) {
23472 SWIG_null_ref("wxDateTime");
23474 if (SWIG_arg_fail(3)) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23492 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
= NULL
;
23494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23495 wxDateTime
*arg2
= 0 ;
23497 PyObject
* obj0
= 0 ;
23498 PyObject
* obj1
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self",(char *) "dt", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23505 if (SWIG_arg_fail(1)) SWIG_fail
;
23507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23508 if (SWIG_arg_fail(2)) SWIG_fail
;
23509 if (arg2
== NULL
) {
23510 SWIG_null_ref("wxDateTime");
23512 if (SWIG_arg_fail(2)) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23530 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
= NULL
;
23532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23533 wxDateTime
*arg2
= 0 ;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self",(char *) "dt", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail
;
23545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23546 if (SWIG_arg_fail(2)) SWIG_fail
;
23547 if (arg2
== NULL
) {
23548 SWIG_null_ref("wxDateTime");
23550 if (SWIG_arg_fail(2)) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23568 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
= NULL
;
23570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23571 wxDateTime
*arg2
= 0 ;
23572 wxTimeSpan
*arg3
= 0 ;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 PyObject
* obj2
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "self",(char *) "dt",(char *) "ts", NULL
23581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23583 if (SWIG_arg_fail(1)) SWIG_fail
;
23585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(2)) SWIG_fail
;
23587 if (arg2
== NULL
) {
23588 SWIG_null_ref("wxDateTime");
23590 if (SWIG_arg_fail(2)) SWIG_fail
;
23593 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23594 if (SWIG_arg_fail(3)) SWIG_fail
;
23595 if (arg3
== NULL
) {
23596 SWIG_null_ref("wxTimeSpan");
23598 if (SWIG_arg_fail(3)) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23616 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
= NULL
;
23618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23619 wxTimeSpan
*arg2
= 0 ;
23620 wxDateTime
*result
;
23621 PyObject
* obj0
= 0 ;
23622 PyObject
* obj1
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self",(char *) "diff", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail
;
23631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23632 if (SWIG_arg_fail(2)) SWIG_fail
;
23633 if (arg2
== NULL
) {
23634 SWIG_null_ref("wxTimeSpan");
23636 if (SWIG_arg_fail(2)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23642 result
= (wxDateTime
*) &_result_ref
;
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23655 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
= NULL
;
23657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23658 wxDateSpan
*arg2
= 0 ;
23659 wxDateTime
*result
;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self",(char *) "diff", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23668 if (SWIG_arg_fail(1)) SWIG_fail
;
23670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23671 if (SWIG_arg_fail(2)) SWIG_fail
;
23672 if (arg2
== NULL
) {
23673 SWIG_null_ref("wxDateSpan");
23675 if (SWIG_arg_fail(2)) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23681 result
= (wxDateTime
*) &_result_ref
;
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23694 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
= NULL
;
23696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23697 wxTimeSpan
*arg2
= 0 ;
23698 wxDateTime
*result
;
23699 PyObject
* obj0
= 0 ;
23700 PyObject
* obj1
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self",(char *) "diff", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23707 if (SWIG_arg_fail(1)) SWIG_fail
;
23709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23710 if (SWIG_arg_fail(2)) SWIG_fail
;
23711 if (arg2
== NULL
) {
23712 SWIG_null_ref("wxTimeSpan");
23714 if (SWIG_arg_fail(2)) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23720 result
= (wxDateTime
*) &_result_ref
;
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23733 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
= NULL
;
23735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23736 wxDateSpan
*arg2
= 0 ;
23737 wxDateTime
*result
;
23738 PyObject
* obj0
= 0 ;
23739 PyObject
* obj1
= 0 ;
23740 char *kwnames
[] = {
23741 (char *) "self",(char *) "diff", NULL
23744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23746 if (SWIG_arg_fail(1)) SWIG_fail
;
23748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23749 if (SWIG_arg_fail(2)) SWIG_fail
;
23750 if (arg2
== NULL
) {
23751 SWIG_null_ref("wxDateSpan");
23753 if (SWIG_arg_fail(2)) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23759 result
= (wxDateTime
*) &_result_ref
;
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23772 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
= NULL
;
23774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23775 wxDateTime
*arg2
= 0 ;
23777 PyObject
* obj0
= 0 ;
23778 PyObject
* obj1
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "dt", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23785 if (SWIG_arg_fail(1)) SWIG_fail
;
23787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23788 if (SWIG_arg_fail(2)) SWIG_fail
;
23789 if (arg2
== NULL
) {
23790 SWIG_null_ref("wxDateTime");
23792 if (SWIG_arg_fail(2)) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23802 wxTimeSpan
* resultptr
;
23803 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23812 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23813 PyObject
*resultobj
= NULL
;
23814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23815 wxTimeSpan
*arg2
= 0 ;
23816 wxDateTime
*result
;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23820 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23822 if (SWIG_arg_fail(1)) SWIG_fail
;
23824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23825 if (SWIG_arg_fail(2)) SWIG_fail
;
23826 if (arg2
== NULL
) {
23827 SWIG_null_ref("wxTimeSpan");
23829 if (SWIG_arg_fail(2)) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23835 result
= (wxDateTime
*) &_result_ref
;
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23848 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23849 PyObject
*resultobj
= NULL
;
23850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23851 wxDateSpan
*arg2
= 0 ;
23852 wxDateTime
*result
;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23856 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23861 if (SWIG_arg_fail(2)) SWIG_fail
;
23862 if (arg2
== NULL
) {
23863 SWIG_null_ref("wxDateSpan");
23865 if (SWIG_arg_fail(2)) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23871 result
= (wxDateTime
*) &_result_ref
;
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23884 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23889 argc
= PyObject_Length(args
);
23890 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23891 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23897 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23907 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23915 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23923 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23933 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23941 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23946 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23951 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23952 PyObject
*resultobj
= NULL
;
23953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23954 wxTimeSpan
*arg2
= 0 ;
23955 wxDateTime
*result
;
23956 PyObject
* obj0
= 0 ;
23957 PyObject
* obj1
= 0 ;
23959 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23961 if (SWIG_arg_fail(1)) SWIG_fail
;
23963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23964 if (SWIG_arg_fail(2)) SWIG_fail
;
23965 if (arg2
== NULL
) {
23966 SWIG_null_ref("wxTimeSpan");
23968 if (SWIG_arg_fail(2)) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23974 result
= (wxDateTime
*) &_result_ref
;
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23987 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23988 PyObject
*resultobj
= NULL
;
23989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23990 wxDateSpan
*arg2
= 0 ;
23991 wxDateTime
*result
;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23995 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23997 if (SWIG_arg_fail(1)) SWIG_fail
;
23999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24000 if (SWIG_arg_fail(2)) SWIG_fail
;
24001 if (arg2
== NULL
) {
24002 SWIG_null_ref("wxDateSpan");
24004 if (SWIG_arg_fail(2)) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24010 result
= (wxDateTime
*) &_result_ref
;
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
24023 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
24028 argc
= PyObject_Length(args
);
24029 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24030 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24036 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24046 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24054 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24062 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24072 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24080 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24085 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24090 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24091 PyObject
*resultobj
= NULL
;
24092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24093 wxTimeSpan
*arg2
= 0 ;
24095 PyObject
* obj0
= 0 ;
24096 PyObject
* obj1
= 0 ;
24098 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24100 if (SWIG_arg_fail(1)) SWIG_fail
;
24102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24103 if (SWIG_arg_fail(2)) SWIG_fail
;
24104 if (arg2
== NULL
) {
24105 SWIG_null_ref("wxTimeSpan");
24107 if (SWIG_arg_fail(2)) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 wxDateTime
* resultptr
;
24118 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24127 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24128 PyObject
*resultobj
= NULL
;
24129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24130 wxDateSpan
*arg2
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24135 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24137 if (SWIG_arg_fail(1)) SWIG_fail
;
24139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24140 if (SWIG_arg_fail(2)) SWIG_fail
;
24141 if (arg2
== NULL
) {
24142 SWIG_null_ref("wxDateSpan");
24144 if (SWIG_arg_fail(2)) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24154 wxDateTime
* resultptr
;
24155 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24164 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24169 argc
= PyObject_Length(args
);
24170 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24171 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24177 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24187 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24195 return _wrap_DateTime___add____SWIG_0(self
,args
);
24203 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24213 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24221 return _wrap_DateTime___add____SWIG_1(self
,args
);
24226 Py_INCREF(Py_NotImplemented
);
24227 return Py_NotImplemented
;
24231 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24232 PyObject
*resultobj
= NULL
;
24233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24234 wxDateTime
*arg2
= 0 ;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24239 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24241 if (SWIG_arg_fail(1)) SWIG_fail
;
24243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24244 if (SWIG_arg_fail(2)) SWIG_fail
;
24245 if (arg2
== NULL
) {
24246 SWIG_null_ref("wxDateTime");
24248 if (SWIG_arg_fail(2)) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24258 wxTimeSpan
* resultptr
;
24259 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24268 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24269 PyObject
*resultobj
= NULL
;
24270 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24271 wxTimeSpan
*arg2
= 0 ;
24273 PyObject
* obj0
= 0 ;
24274 PyObject
* obj1
= 0 ;
24276 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24278 if (SWIG_arg_fail(1)) SWIG_fail
;
24280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24281 if (SWIG_arg_fail(2)) SWIG_fail
;
24282 if (arg2
== NULL
) {
24283 SWIG_null_ref("wxTimeSpan");
24285 if (SWIG_arg_fail(2)) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24295 wxDateTime
* resultptr
;
24296 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24305 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24306 PyObject
*resultobj
= NULL
;
24307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24308 wxDateSpan
*arg2
= 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24313 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24315 if (SWIG_arg_fail(1)) SWIG_fail
;
24317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24318 if (SWIG_arg_fail(2)) SWIG_fail
;
24319 if (arg2
== NULL
) {
24320 SWIG_null_ref("wxDateSpan");
24322 if (SWIG_arg_fail(2)) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24332 wxDateTime
* resultptr
;
24333 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24342 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24347 argc
= PyObject_Length(args
);
24348 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24349 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24355 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24365 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24373 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24381 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24391 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24399 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24407 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24417 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24425 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24430 Py_INCREF(Py_NotImplemented
);
24431 return Py_NotImplemented
;
24435 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
= NULL
;
24437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24438 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self",(char *) "other", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24448 if (SWIG_arg_fail(1)) SWIG_fail
;
24449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24450 if (SWIG_arg_fail(2)) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24467 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
= NULL
;
24469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24470 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self",(char *) "other", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24480 if (SWIG_arg_fail(1)) SWIG_fail
;
24481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24482 if (SWIG_arg_fail(2)) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24499 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
= NULL
;
24501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24502 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24504 PyObject
* obj0
= 0 ;
24505 PyObject
* obj1
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self",(char *) "other", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24512 if (SWIG_arg_fail(1)) SWIG_fail
;
24513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24514 if (SWIG_arg_fail(2)) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24531 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
= NULL
;
24533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24534 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self",(char *) "other", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail
;
24545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(2)) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24563 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
= NULL
;
24565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24566 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 char *kwnames
[] = {
24571 (char *) "self",(char *) "other", NULL
24574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24576 if (SWIG_arg_fail(1)) SWIG_fail
;
24577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24578 if (SWIG_arg_fail(2)) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24595 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
= NULL
;
24597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24598 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24600 PyObject
* obj0
= 0 ;
24601 PyObject
* obj1
= 0 ;
24602 char *kwnames
[] = {
24603 (char *) "self",(char *) "other", NULL
24606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24608 if (SWIG_arg_fail(1)) SWIG_fail
;
24609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24610 if (SWIG_arg_fail(2)) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24627 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
= NULL
;
24629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24630 wxString
*arg2
= 0 ;
24632 bool temp2
= false ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "self",(char *) "date", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24641 if (SWIG_arg_fail(1)) SWIG_fail
;
24643 arg2
= wxString_in_helper(obj1
);
24644 if (arg2
== NULL
) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_From_int(static_cast<int >(result
));
24671 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
= NULL
;
24673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24674 wxString
*arg2
= 0 ;
24675 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24677 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24678 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24680 bool temp2
= false ;
24681 bool temp3
= false ;
24682 PyObject
* obj0
= 0 ;
24683 PyObject
* obj1
= 0 ;
24684 PyObject
* obj2
= 0 ;
24685 PyObject
* obj3
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24692 if (SWIG_arg_fail(1)) SWIG_fail
;
24694 arg2
= wxString_in_helper(obj1
);
24695 if (arg2
== NULL
) SWIG_fail
;
24700 arg3
= wxString_in_helper(obj2
);
24701 if (arg3
== NULL
) SWIG_fail
;
24707 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24708 if (SWIG_arg_fail(4)) SWIG_fail
;
24709 if (arg4
== NULL
) {
24710 SWIG_null_ref("wxDateTime");
24712 if (SWIG_arg_fail(4)) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_From_int(static_cast<int >(result
));
24747 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
= NULL
;
24749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24750 wxString
*arg2
= 0 ;
24752 bool temp2
= false ;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self",(char *) "datetime", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24761 if (SWIG_arg_fail(1)) SWIG_fail
;
24763 arg2
= wxString_in_helper(obj1
);
24764 if (arg2
== NULL
) SWIG_fail
;
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24771 wxPyEndAllowThreads(__tstate
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24775 resultobj
= SWIG_From_int(static_cast<int >(result
));
24791 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
= NULL
;
24793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24794 wxString
*arg2
= 0 ;
24796 bool temp2
= false ;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self",(char *) "date", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail
;
24807 arg2
= wxString_in_helper(obj1
);
24808 if (arg2
== NULL
) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= SWIG_From_int(static_cast<int >(result
));
24835 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
= NULL
;
24837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24838 wxString
*arg2
= 0 ;
24840 bool temp2
= false ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "time", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24849 if (SWIG_arg_fail(1)) SWIG_fail
;
24851 arg2
= wxString_in_helper(obj1
);
24852 if (arg2
== NULL
) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_From_int(static_cast<int >(result
));
24879 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
= NULL
;
24881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24882 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24883 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24884 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24885 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24887 bool temp2
= false ;
24888 bool temp3
= false ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 PyObject
* obj2
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self",(char *) "format",(char *) "tz", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24898 if (SWIG_arg_fail(1)) SWIG_fail
;
24901 arg2
= wxString_in_helper(obj1
);
24902 if (arg2
== NULL
) SWIG_fail
;
24908 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24931 if (temp3
) delete arg3
;
24940 if (temp3
) delete arg3
;
24946 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
= NULL
;
24948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24950 PyObject
* obj0
= 0 ;
24951 char *kwnames
[] = {
24952 (char *) "self", NULL
24955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24957 if (SWIG_arg_fail(1)) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24978 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
= NULL
;
24980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24989 if (SWIG_arg_fail(1)) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25010 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
= NULL
;
25012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25014 PyObject
* obj0
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
25020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25021 if (SWIG_arg_fail(1)) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25042 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
= NULL
;
25044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25046 PyObject
* obj0
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
25052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25053 if (SWIG_arg_fail(1)) SWIG_fail
;
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25074 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25077 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25079 return Py_BuildValue((char *)"");
25081 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
= NULL
;
25085 PyObject
* obj0
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "sec", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
25092 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25093 if (SWIG_arg_fail(1)) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= wxTimeSpan::Seconds(arg1
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25103 wxTimeSpan
* resultptr
;
25104 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25113 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
= NULL
;
25116 char *kwnames
[] = {
25120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= wxTimeSpan::Second();
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 wxTimeSpan
* resultptr
;
25130 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25139 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
= NULL
;
25143 PyObject
* obj0
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "min", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25150 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25151 if (SWIG_arg_fail(1)) SWIG_fail
;
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= wxTimeSpan::Minutes(arg1
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25161 wxTimeSpan
* resultptr
;
25162 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25171 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
= NULL
;
25174 char *kwnames
[] = {
25178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= wxTimeSpan::Minute();
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25187 wxTimeSpan
* resultptr
;
25188 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25197 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
= NULL
;
25201 PyObject
* obj0
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "hours", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25208 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25209 if (SWIG_arg_fail(1)) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= wxTimeSpan::Hours(arg1
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25219 wxTimeSpan
* resultptr
;
25220 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25229 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= NULL
;
25232 char *kwnames
[] = {
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= wxTimeSpan::Hour();
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25245 wxTimeSpan
* resultptr
;
25246 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25255 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
= NULL
;
25259 PyObject
* obj0
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "days", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25266 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= wxTimeSpan::Days(arg1
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25277 wxTimeSpan
* resultptr
;
25278 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25287 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
= NULL
;
25290 char *kwnames
[] = {
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= wxTimeSpan::Day();
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 wxTimeSpan
* resultptr
;
25304 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25313 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
= NULL
;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "days", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25324 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25325 if (SWIG_arg_fail(1)) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 result
= wxTimeSpan::Weeks(arg1
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25335 wxTimeSpan
* resultptr
;
25336 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25345 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
= NULL
;
25348 char *kwnames
[] = {
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= wxTimeSpan::Week();
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25361 wxTimeSpan
* resultptr
;
25362 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25371 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
= NULL
;
25373 long arg1
= (long) 0 ;
25374 long arg2
= (long) 0 ;
25375 long arg3
= (long) 0 ;
25376 long arg4
= (long) 0 ;
25377 wxTimeSpan
*result
;
25378 PyObject
* obj0
= 0 ;
25379 PyObject
* obj1
= 0 ;
25380 PyObject
* obj2
= 0 ;
25381 PyObject
* obj3
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25389 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25390 if (SWIG_arg_fail(1)) SWIG_fail
;
25395 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25396 if (SWIG_arg_fail(2)) SWIG_fail
;
25401 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25402 if (SWIG_arg_fail(3)) SWIG_fail
;
25407 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25408 if (SWIG_arg_fail(4)) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25425 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
= NULL
;
25427 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 Py_INCREF(Py_None
); resultobj
= Py_None
;
25450 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
= NULL
;
25452 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25453 wxTimeSpan
*arg2
= 0 ;
25454 wxTimeSpan
*result
;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self",(char *) "diff", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25463 if (SWIG_arg_fail(1)) SWIG_fail
;
25465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25466 if (SWIG_arg_fail(2)) SWIG_fail
;
25467 if (arg2
== NULL
) {
25468 SWIG_null_ref("wxTimeSpan");
25470 if (SWIG_arg_fail(2)) SWIG_fail
;
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25476 result
= (wxTimeSpan
*) &_result_ref
;
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25489 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
= NULL
;
25491 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25492 wxTimeSpan
*arg2
= 0 ;
25493 wxTimeSpan
*result
;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self",(char *) "diff", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25502 if (SWIG_arg_fail(1)) SWIG_fail
;
25504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25505 if (SWIG_arg_fail(2)) SWIG_fail
;
25506 if (arg2
== NULL
) {
25507 SWIG_null_ref("wxTimeSpan");
25509 if (SWIG_arg_fail(2)) SWIG_fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25515 result
= (wxTimeSpan
*) &_result_ref
;
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25528 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
= NULL
;
25530 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25532 wxTimeSpan
*result
;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self",(char *) "n", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25541 if (SWIG_arg_fail(1)) SWIG_fail
;
25543 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25544 if (SWIG_arg_fail(2)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25550 result
= (wxTimeSpan
*) &_result_ref
;
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25563 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
= NULL
;
25565 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25566 wxTimeSpan
*result
;
25567 PyObject
* obj0
= 0 ;
25568 char *kwnames
[] = {
25569 (char *) "self", NULL
25572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25574 if (SWIG_arg_fail(1)) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25579 result
= (wxTimeSpan
*) &_result_ref
;
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25592 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
= NULL
;
25594 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25603 if (SWIG_arg_fail(1)) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25612 wxTimeSpan
* resultptr
;
25613 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25622 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
= NULL
;
25624 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25625 wxTimeSpan
*arg2
= 0 ;
25626 wxTimeSpan
*result
;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self",(char *) "diff", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25635 if (SWIG_arg_fail(1)) SWIG_fail
;
25637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25638 if (SWIG_arg_fail(2)) SWIG_fail
;
25639 if (arg2
== NULL
) {
25640 SWIG_null_ref("wxTimeSpan");
25642 if (SWIG_arg_fail(2)) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25648 result
= (wxTimeSpan
*) &_result_ref
;
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25661 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
= NULL
;
25663 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25664 wxTimeSpan
*arg2
= 0 ;
25665 wxTimeSpan
*result
;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self",(char *) "diff", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25674 if (SWIG_arg_fail(1)) SWIG_fail
;
25676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25677 if (SWIG_arg_fail(2)) SWIG_fail
;
25678 if (arg2
== NULL
) {
25679 SWIG_null_ref("wxTimeSpan");
25681 if (SWIG_arg_fail(2)) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25687 result
= (wxTimeSpan
*) &_result_ref
;
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25700 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
= NULL
;
25702 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25704 wxTimeSpan
*result
;
25705 PyObject
* obj0
= 0 ;
25706 PyObject
* obj1
= 0 ;
25707 char *kwnames
[] = {
25708 (char *) "self",(char *) "n", NULL
25711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25713 if (SWIG_arg_fail(1)) SWIG_fail
;
25715 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25716 if (SWIG_arg_fail(2)) SWIG_fail
;
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25722 result
= (wxTimeSpan
*) &_result_ref
;
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25735 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
= NULL
;
25737 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25738 wxTimeSpan
*result
;
25739 PyObject
* obj0
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25746 if (SWIG_arg_fail(1)) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25751 result
= (wxTimeSpan
*) &_result_ref
;
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25764 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
= NULL
;
25766 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25767 wxTimeSpan
*arg2
= 0 ;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 char *kwnames
[] = {
25772 (char *) "self",(char *) "other", NULL
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25777 if (SWIG_arg_fail(1)) SWIG_fail
;
25779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(2)) SWIG_fail
;
25781 if (arg2
== NULL
) {
25782 SWIG_null_ref("wxTimeSpan");
25784 if (SWIG_arg_fail(2)) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 wxTimeSpan
* resultptr
;
25795 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25804 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
= NULL
;
25806 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25807 wxTimeSpan
*arg2
= 0 ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self",(char *) "other", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25817 if (SWIG_arg_fail(1)) SWIG_fail
;
25819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25820 if (SWIG_arg_fail(2)) SWIG_fail
;
25821 if (arg2
== NULL
) {
25822 SWIG_null_ref("wxTimeSpan");
25824 if (SWIG_arg_fail(2)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 wxTimeSpan
* resultptr
;
25835 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25844 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
= NULL
;
25846 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self",(char *) "n", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25857 if (SWIG_arg_fail(1)) SWIG_fail
;
25859 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25860 if (SWIG_arg_fail(2)) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= wxTimeSpan___mul__(arg1
,arg2
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25870 wxTimeSpan
* resultptr
;
25871 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25880 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
= NULL
;
25882 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "n", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25893 if (SWIG_arg_fail(1)) SWIG_fail
;
25895 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25896 if (SWIG_arg_fail(2)) SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25906 wxTimeSpan
* resultptr
;
25907 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25916 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
= NULL
;
25918 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25919 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self",(char *) "other", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(1)) SWIG_fail
;
25930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25931 if (SWIG_arg_fail(2)) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25948 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
= NULL
;
25950 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25951 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25953 PyObject
* obj0
= 0 ;
25954 PyObject
* obj1
= 0 ;
25955 char *kwnames
[] = {
25956 (char *) "self",(char *) "other", NULL
25959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25961 if (SWIG_arg_fail(1)) SWIG_fail
;
25962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25963 if (SWIG_arg_fail(2)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25980 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
= NULL
;
25982 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25983 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25985 PyObject
* obj0
= 0 ;
25986 PyObject
* obj1
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self",(char *) "other", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail
;
25994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25995 if (SWIG_arg_fail(2)) SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26012 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
= NULL
;
26014 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26015 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26017 PyObject
* obj0
= 0 ;
26018 PyObject
* obj1
= 0 ;
26019 char *kwnames
[] = {
26020 (char *) "self",(char *) "other", NULL
26023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
26024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26025 if (SWIG_arg_fail(1)) SWIG_fail
;
26026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26027 if (SWIG_arg_fail(2)) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26044 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
= NULL
;
26046 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26047 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self",(char *) "other", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26057 if (SWIG_arg_fail(1)) SWIG_fail
;
26058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(2)) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26076 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= NULL
;
26078 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26079 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 char *kwnames
[] = {
26084 (char *) "self",(char *) "other", NULL
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26089 if (SWIG_arg_fail(1)) SWIG_fail
;
26090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26091 if (SWIG_arg_fail(2)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26108 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
= NULL
;
26110 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26119 if (SWIG_arg_fail(1)) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26136 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= NULL
;
26138 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26140 PyObject
* obj0
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26164 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
= NULL
;
26166 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26175 if (SWIG_arg_fail(1)) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26192 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
= NULL
;
26194 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26195 wxTimeSpan
*arg2
= 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self",(char *) "ts", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26205 if (SWIG_arg_fail(1)) SWIG_fail
;
26207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26208 if (SWIG_arg_fail(2)) SWIG_fail
;
26209 if (arg2
== NULL
) {
26210 SWIG_null_ref("wxTimeSpan");
26212 if (SWIG_arg_fail(2)) SWIG_fail
;
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26230 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
= NULL
;
26232 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26233 wxTimeSpan
*arg2
= 0 ;
26235 PyObject
* obj0
= 0 ;
26236 PyObject
* obj1
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self",(char *) "ts", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26243 if (SWIG_arg_fail(1)) SWIG_fail
;
26245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26246 if (SWIG_arg_fail(2)) SWIG_fail
;
26247 if (arg2
== NULL
) {
26248 SWIG_null_ref("wxTimeSpan");
26250 if (SWIG_arg_fail(2)) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26268 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
= NULL
;
26270 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26271 wxTimeSpan
*arg2
= 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self",(char *) "t", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26281 if (SWIG_arg_fail(1)) SWIG_fail
;
26283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(2)) SWIG_fail
;
26285 if (arg2
== NULL
) {
26286 SWIG_null_ref("wxTimeSpan");
26288 if (SWIG_arg_fail(2)) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26306 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
= NULL
;
26308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26310 PyObject
* obj0
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= SWIG_From_int(static_cast<int >(result
));
26334 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
= NULL
;
26336 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26338 PyObject
* obj0
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26345 if (SWIG_arg_fail(1)) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= SWIG_From_int(static_cast<int >(result
));
26362 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
= NULL
;
26364 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26366 PyObject
* obj0
= 0 ;
26367 char *kwnames
[] = {
26368 (char *) "self", NULL
26371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_From_int(static_cast<int >(result
));
26390 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
= NULL
;
26392 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26394 PyObject
* obj0
= 0 ;
26395 char *kwnames
[] = {
26396 (char *) "self", NULL
26399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail
;
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_From_int(static_cast<int >(result
));
26418 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
= NULL
;
26420 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26429 if (SWIG_arg_fail(1)) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26438 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26439 hi
= PyLong_FromLong( (&result
)->GetHi() );
26440 lo
= PyLong_FromLong( (&result
)->GetLo() );
26441 shifter
= PyLong_FromLong(32);
26442 shifted
= PyNumber_Lshift(hi
, shifter
);
26443 resultobj
= PyNumber_Or(shifted
, lo
);
26446 Py_DECREF(shifter
);
26447 Py_DECREF(shifted
);
26455 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
= NULL
;
26457 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail
;
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26475 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26476 hi
= PyLong_FromLong( (&result
)->GetHi() );
26477 lo
= PyLong_FromLong( (&result
)->GetLo() );
26478 shifter
= PyLong_FromLong(32);
26479 shifted
= PyNumber_Lshift(hi
, shifter
);
26480 resultobj
= PyNumber_Or(shifted
, lo
);
26483 Py_DECREF(shifter
);
26484 Py_DECREF(shifted
);
26492 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
= NULL
;
26494 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26495 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26496 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26498 bool temp2
= false ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self",(char *) "format", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26507 if (SWIG_arg_fail(1)) SWIG_fail
;
26510 arg2
= wxString_in_helper(obj1
);
26511 if (arg2
== NULL
) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26543 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26546 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26548 return Py_BuildValue((char *)"");
26550 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
= NULL
;
26552 int arg1
= (int) 0 ;
26553 int arg2
= (int) 0 ;
26554 int arg3
= (int) 0 ;
26555 int arg4
= (int) 0 ;
26556 wxDateSpan
*result
;
26557 PyObject
* obj0
= 0 ;
26558 PyObject
* obj1
= 0 ;
26559 PyObject
* obj2
= 0 ;
26560 PyObject
* obj3
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26568 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26569 if (SWIG_arg_fail(1)) SWIG_fail
;
26574 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26575 if (SWIG_arg_fail(2)) SWIG_fail
;
26580 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26581 if (SWIG_arg_fail(3)) SWIG_fail
;
26586 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26587 if (SWIG_arg_fail(4)) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26604 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
= NULL
;
26606 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26607 PyObject
* obj0
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26614 if (SWIG_arg_fail(1)) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 Py_INCREF(Py_None
); resultobj
= Py_None
;
26629 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
= NULL
;
26633 PyObject
* obj0
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "days", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26640 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26641 if (SWIG_arg_fail(1)) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= wxDateSpan::Days(arg1
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26651 wxDateSpan
* resultptr
;
26652 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26661 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
= NULL
;
26664 char *kwnames
[] = {
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= wxDateSpan::Day();
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26677 wxDateSpan
* resultptr
;
26678 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26687 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
= NULL
;
26691 PyObject
* obj0
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "weeks", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26698 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26699 if (SWIG_arg_fail(1)) SWIG_fail
;
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 result
= wxDateSpan::Weeks(arg1
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26709 wxDateSpan
* resultptr
;
26710 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26719 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
= NULL
;
26722 char *kwnames
[] = {
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 result
= wxDateSpan::Week();
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26735 wxDateSpan
* resultptr
;
26736 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26745 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26746 PyObject
*resultobj
= NULL
;
26749 PyObject
* obj0
= 0 ;
26750 char *kwnames
[] = {
26751 (char *) "mon", NULL
26754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26756 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26757 if (SWIG_arg_fail(1)) SWIG_fail
;
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 result
= wxDateSpan::Months(arg1
);
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26767 wxDateSpan
* resultptr
;
26768 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26777 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
= NULL
;
26780 char *kwnames
[] = {
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 result
= wxDateSpan::Month();
26789 wxPyEndAllowThreads(__tstate
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26793 wxDateSpan
* resultptr
;
26794 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26803 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= NULL
;
26807 PyObject
* obj0
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "years", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26814 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= wxDateSpan::Years(arg1
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 wxDateSpan
* resultptr
;
26826 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26835 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
= NULL
;
26838 char *kwnames
[] = {
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= wxDateSpan::Year();
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 wxDateSpan
* resultptr
;
26852 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26861 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= NULL
;
26863 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26865 wxDateSpan
*result
;
26866 PyObject
* obj0
= 0 ;
26867 PyObject
* obj1
= 0 ;
26868 char *kwnames
[] = {
26869 (char *) "self",(char *) "n", NULL
26872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26874 if (SWIG_arg_fail(1)) SWIG_fail
;
26876 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26877 if (SWIG_arg_fail(2)) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26883 result
= (wxDateSpan
*) &_result_ref
;
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26896 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
= NULL
;
26898 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26900 wxDateSpan
*result
;
26901 PyObject
* obj0
= 0 ;
26902 PyObject
* obj1
= 0 ;
26903 char *kwnames
[] = {
26904 (char *) "self",(char *) "n", NULL
26907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26909 if (SWIG_arg_fail(1)) SWIG_fail
;
26911 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26912 if (SWIG_arg_fail(2)) SWIG_fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26918 result
= (wxDateSpan
*) &_result_ref
;
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26931 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
= NULL
;
26933 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26935 wxDateSpan
*result
;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self",(char *) "n", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26944 if (SWIG_arg_fail(1)) SWIG_fail
;
26946 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26947 if (SWIG_arg_fail(2)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26953 result
= (wxDateSpan
*) &_result_ref
;
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26966 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
= NULL
;
26968 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26970 wxDateSpan
*result
;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self",(char *) "n", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26982 if (SWIG_arg_fail(2)) SWIG_fail
;
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26988 result
= (wxDateSpan
*) &_result_ref
;
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27001 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
= NULL
;
27003 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
27011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= SWIG_From_int(static_cast<int >(result
));
27029 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
= NULL
;
27031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
27039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= SWIG_From_int(static_cast<int >(result
));
27057 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
= NULL
;
27059 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27061 PyObject
* obj0
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27068 if (SWIG_arg_fail(1)) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_From_int(static_cast<int >(result
));
27085 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
= NULL
;
27087 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 char *kwnames
[] = {
27091 (char *) "self", NULL
27094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
27095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27096 if (SWIG_arg_fail(1)) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_From_int(static_cast<int >(result
));
27113 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
= NULL
;
27115 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27117 PyObject
* obj0
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27124 if (SWIG_arg_fail(1)) SWIG_fail
;
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_From_int(static_cast<int >(result
));
27141 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
= NULL
;
27143 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27144 wxDateSpan
*arg2
= 0 ;
27145 wxDateSpan
*result
;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self",(char *) "other", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27154 if (SWIG_arg_fail(1)) SWIG_fail
;
27156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27157 if (SWIG_arg_fail(2)) SWIG_fail
;
27158 if (arg2
== NULL
) {
27159 SWIG_null_ref("wxDateSpan");
27161 if (SWIG_arg_fail(2)) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27167 result
= (wxDateSpan
*) &_result_ref
;
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27180 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
= NULL
;
27182 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27183 wxDateSpan
*arg2
= 0 ;
27184 wxDateSpan
*result
;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 char *kwnames
[] = {
27188 (char *) "self",(char *) "other", NULL
27191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27193 if (SWIG_arg_fail(1)) SWIG_fail
;
27195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27196 if (SWIG_arg_fail(2)) SWIG_fail
;
27197 if (arg2
== NULL
) {
27198 SWIG_null_ref("wxDateSpan");
27200 if (SWIG_arg_fail(2)) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27206 result
= (wxDateSpan
*) &_result_ref
;
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27219 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27220 PyObject
*resultobj
= NULL
;
27221 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27222 wxDateSpan
*result
;
27223 PyObject
* obj0
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27235 result
= (wxDateSpan
*) &_result_ref
;
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27248 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
= NULL
;
27250 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27252 wxDateSpan
*result
;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 char *kwnames
[] = {
27256 (char *) "self",(char *) "factor", NULL
27259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27261 if (SWIG_arg_fail(1)) SWIG_fail
;
27263 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27264 if (SWIG_arg_fail(2)) SWIG_fail
;
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27270 result
= (wxDateSpan
*) &_result_ref
;
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27283 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
= NULL
;
27285 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27286 wxDateSpan
*arg2
= 0 ;
27287 wxDateSpan
*result
;
27288 PyObject
* obj0
= 0 ;
27289 PyObject
* obj1
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "other", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27296 if (SWIG_arg_fail(1)) SWIG_fail
;
27298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27299 if (SWIG_arg_fail(2)) SWIG_fail
;
27300 if (arg2
== NULL
) {
27301 SWIG_null_ref("wxDateSpan");
27303 if (SWIG_arg_fail(2)) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27309 result
= (wxDateSpan
*) &_result_ref
;
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27322 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
= NULL
;
27324 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27325 wxDateSpan
*arg2
= 0 ;
27326 wxDateSpan
*result
;
27327 PyObject
* obj0
= 0 ;
27328 PyObject
* obj1
= 0 ;
27329 char *kwnames
[] = {
27330 (char *) "self",(char *) "other", NULL
27333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27335 if (SWIG_arg_fail(1)) SWIG_fail
;
27337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27338 if (SWIG_arg_fail(2)) SWIG_fail
;
27339 if (arg2
== NULL
) {
27340 SWIG_null_ref("wxDateSpan");
27342 if (SWIG_arg_fail(2)) SWIG_fail
;
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27348 result
= (wxDateSpan
*) &_result_ref
;
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27361 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
= NULL
;
27363 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27364 wxDateSpan
*result
;
27365 PyObject
* obj0
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27372 if (SWIG_arg_fail(1)) SWIG_fail
;
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27377 result
= (wxDateSpan
*) &_result_ref
;
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27390 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
= NULL
;
27392 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27394 wxDateSpan
*result
;
27395 PyObject
* obj0
= 0 ;
27396 PyObject
* obj1
= 0 ;
27397 char *kwnames
[] = {
27398 (char *) "self",(char *) "factor", NULL
27401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27403 if (SWIG_arg_fail(1)) SWIG_fail
;
27405 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27406 if (SWIG_arg_fail(2)) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27412 result
= (wxDateSpan
*) &_result_ref
;
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27425 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
= NULL
;
27427 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27428 wxDateSpan
*arg2
= 0 ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self",(char *) "other", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27438 if (SWIG_arg_fail(1)) SWIG_fail
;
27440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(2)) SWIG_fail
;
27442 if (arg2
== NULL
) {
27443 SWIG_null_ref("wxDateSpan");
27445 if (SWIG_arg_fail(2)) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27455 wxDateSpan
* resultptr
;
27456 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27465 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27466 PyObject
*resultobj
= NULL
;
27467 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27468 wxDateSpan
*arg2
= 0 ;
27470 PyObject
* obj0
= 0 ;
27471 PyObject
* obj1
= 0 ;
27472 char *kwnames
[] = {
27473 (char *) "self",(char *) "other", NULL
27476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27478 if (SWIG_arg_fail(1)) SWIG_fail
;
27480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27481 if (SWIG_arg_fail(2)) SWIG_fail
;
27482 if (arg2
== NULL
) {
27483 SWIG_null_ref("wxDateSpan");
27485 if (SWIG_arg_fail(2)) SWIG_fail
;
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27495 wxDateSpan
* resultptr
;
27496 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27505 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
= NULL
;
27507 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 PyObject
* obj1
= 0 ;
27512 char *kwnames
[] = {
27513 (char *) "self",(char *) "n", NULL
27516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27518 if (SWIG_arg_fail(1)) SWIG_fail
;
27520 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27521 if (SWIG_arg_fail(2)) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= wxDateSpan___mul__(arg1
,arg2
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 wxDateSpan
* resultptr
;
27532 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27541 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
= NULL
;
27543 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 PyObject
* obj1
= 0 ;
27548 char *kwnames
[] = {
27549 (char *) "self",(char *) "n", NULL
27552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27554 if (SWIG_arg_fail(1)) SWIG_fail
;
27556 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27557 if (SWIG_arg_fail(2)) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= wxDateSpan___rmul__(arg1
,arg2
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27567 wxDateSpan
* resultptr
;
27568 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27577 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
= NULL
;
27579 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27580 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27582 PyObject
* obj0
= 0 ;
27583 PyObject
* obj1
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self",(char *) "other", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail
;
27591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27592 if (SWIG_arg_fail(2)) SWIG_fail
;
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27609 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
= NULL
;
27611 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27612 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 PyObject
* obj1
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self",(char *) "other", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27622 if (SWIG_arg_fail(1)) SWIG_fail
;
27623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27624 if (SWIG_arg_fail(2)) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27641 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27644 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27646 return Py_BuildValue((char *)"");
27648 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
= NULL
;
27651 char *kwnames
[] = {
27655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 result
= (long)wxGetLocalTime();
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_From_long(static_cast<long >(result
));
27672 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
= NULL
;
27675 char *kwnames
[] = {
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 result
= (long)wxGetUTCTime();
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= SWIG_From_long(static_cast<long >(result
));
27696 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
= NULL
;
27699 char *kwnames
[] = {
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 result
= (long)wxGetCurrentTime();
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_From_long(static_cast<long >(result
));
27720 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27721 PyObject
*resultobj
= NULL
;
27723 char *kwnames
[] = {
27727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 result
= wxGetLocalTimeMillis();
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27736 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27737 hi
= PyLong_FromLong( (&result
)->GetHi() );
27738 lo
= PyLong_FromLong( (&result
)->GetLo() );
27739 shifter
= PyLong_FromLong(32);
27740 shifted
= PyNumber_Lshift(hi
, shifter
);
27741 resultobj
= PyNumber_Or(shifted
, lo
);
27744 Py_DECREF(shifter
);
27745 Py_DECREF(shifted
);
27753 static int _wrap_DefaultDateTime_set(PyObject
*) {
27754 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27759 static PyObject
*_wrap_DefaultDateTime_get(void) {
27760 PyObject
*pyobj
= NULL
;
27762 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27767 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
= NULL
;
27769 wxDataFormatId arg1
;
27770 wxDataFormat
*result
;
27771 PyObject
* obj0
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "type", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27778 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27779 if (SWIG_arg_fail(1)) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27795 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
= NULL
;
27797 wxString
*arg1
= 0 ;
27798 wxDataFormat
*result
;
27799 bool temp1
= false ;
27800 PyObject
* obj0
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "format", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27807 arg1
= wxString_in_helper(obj0
);
27808 if (arg1
== NULL
) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27833 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
= NULL
;
27835 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27836 PyObject
* obj0
= 0 ;
27837 char *kwnames
[] = {
27838 (char *) "self", NULL
27841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27843 if (SWIG_arg_fail(1)) SWIG_fail
;
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 Py_INCREF(Py_None
); resultobj
= Py_None
;
27858 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27859 PyObject
*resultobj
= NULL
;
27860 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27861 wxDataFormatId arg2
;
27863 PyObject
* obj0
= 0 ;
27864 PyObject
* obj1
= 0 ;
27866 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27868 if (SWIG_arg_fail(1)) SWIG_fail
;
27870 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27871 if (SWIG_arg_fail(2)) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27889 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27890 PyObject
*resultobj
= NULL
;
27891 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27892 wxDataFormatId arg2
;
27894 PyObject
* obj0
= 0 ;
27895 PyObject
* obj1
= 0 ;
27897 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27899 if (SWIG_arg_fail(1)) SWIG_fail
;
27901 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27902 if (SWIG_arg_fail(2)) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27920 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27921 PyObject
*resultobj
= NULL
;
27922 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27923 wxDataFormat
*arg2
= 0 ;
27925 PyObject
* obj0
= 0 ;
27926 PyObject
* obj1
= 0 ;
27928 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27930 if (SWIG_arg_fail(1)) SWIG_fail
;
27932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27933 if (SWIG_arg_fail(2)) SWIG_fail
;
27934 if (arg2
== NULL
) {
27935 SWIG_null_ref("wxDataFormat");
27937 if (SWIG_arg_fail(2)) SWIG_fail
;
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27955 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27960 argc
= PyObject_Length(args
);
27961 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27962 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27968 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27978 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27986 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27994 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28002 _v
= SWIG_Check_int(argv
[1]);
28004 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
28009 Py_INCREF(Py_NotImplemented
);
28010 return Py_NotImplemented
;
28014 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
28015 PyObject
*resultobj
= NULL
;
28016 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28017 wxDataFormat
*arg2
= 0 ;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28022 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
28023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28024 if (SWIG_arg_fail(1)) SWIG_fail
;
28026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28027 if (SWIG_arg_fail(2)) SWIG_fail
;
28028 if (arg2
== NULL
) {
28029 SWIG_null_ref("wxDataFormat");
28031 if (SWIG_arg_fail(2)) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28049 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
28054 argc
= PyObject_Length(args
);
28055 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
28056 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28062 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28072 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28080 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28088 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28096 _v
= SWIG_Check_int(argv
[1]);
28098 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28103 Py_INCREF(Py_NotImplemented
);
28104 return Py_NotImplemented
;
28108 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
= NULL
;
28110 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28111 wxDataFormatId arg2
;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self",(char *) "format", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail
;
28122 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28123 if (SWIG_arg_fail(2)) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 (arg1
)->SetType(arg2
);
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28132 Py_INCREF(Py_None
); resultobj
= Py_None
;
28139 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
= NULL
;
28141 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28142 wxDataFormatId result
;
28143 PyObject
* obj0
= 0 ;
28144 char *kwnames
[] = {
28145 (char *) "self", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28150 if (SWIG_arg_fail(1)) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= SWIG_From_int((result
));
28165 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
= NULL
;
28167 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28169 PyObject
* obj0
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28176 if (SWIG_arg_fail(1)) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= ((wxDataFormat
const *)arg1
)->GetId();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28197 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28198 PyObject
*resultobj
= NULL
;
28199 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28200 wxString
*arg2
= 0 ;
28201 bool temp2
= false ;
28202 PyObject
* obj0
= 0 ;
28203 PyObject
* obj1
= 0 ;
28204 char *kwnames
[] = {
28205 (char *) "self",(char *) "format", NULL
28208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28210 if (SWIG_arg_fail(1)) SWIG_fail
;
28212 arg2
= wxString_in_helper(obj1
);
28213 if (arg2
== NULL
) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 (arg1
)->SetId((wxString
const &)*arg2
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 Py_INCREF(Py_None
); resultobj
= Py_None
;
28238 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28241 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28243 return Py_BuildValue((char *)"");
28245 static int _wrap_FormatInvalid_set(PyObject
*) {
28246 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28251 static PyObject
*_wrap_FormatInvalid_get(void) {
28252 PyObject
*pyobj
= NULL
;
28254 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28259 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
= NULL
;
28261 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28269 if (SWIG_arg_fail(1)) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 Py_INCREF(Py_None
); resultobj
= Py_None
;
28284 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
= NULL
;
28286 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28287 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28288 SwigValueWrapper
<wxDataFormat
> result
;
28289 PyObject
* obj0
= 0 ;
28290 PyObject
* obj1
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self",(char *) "dir", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28297 if (SWIG_arg_fail(1)) SWIG_fail
;
28300 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28301 if (SWIG_arg_fail(2)) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28312 wxDataFormat
* resultptr
;
28313 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28322 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
= NULL
;
28324 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28325 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28327 PyObject
* obj0
= 0 ;
28328 PyObject
* obj1
= 0 ;
28329 char *kwnames
[] = {
28330 (char *) "self",(char *) "dir", NULL
28333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28335 if (SWIG_arg_fail(1)) SWIG_fail
;
28338 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28339 if (SWIG_arg_fail(2)) SWIG_fail
;
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28350 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28358 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
= NULL
;
28360 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28361 wxDataFormat
*arg2
= 0 ;
28362 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28364 PyObject
* obj0
= 0 ;
28365 PyObject
* obj1
= 0 ;
28366 PyObject
* obj2
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self",(char *) "format",(char *) "dir", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28373 if (SWIG_arg_fail(1)) SWIG_fail
;
28375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28376 if (SWIG_arg_fail(2)) SWIG_fail
;
28377 if (arg2
== NULL
) {
28378 SWIG_null_ref("wxDataFormat");
28380 if (SWIG_arg_fail(2)) SWIG_fail
;
28384 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28385 if (SWIG_arg_fail(3)) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28404 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
= NULL
;
28406 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28407 wxDataFormat
*arg2
= 0 ;
28409 PyObject
* obj0
= 0 ;
28410 PyObject
* obj1
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self",(char *) "format", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28417 if (SWIG_arg_fail(1)) SWIG_fail
;
28419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28420 if (SWIG_arg_fail(2)) SWIG_fail
;
28421 if (arg2
== NULL
) {
28422 SWIG_null_ref("wxDataFormat");
28424 if (SWIG_arg_fail(2)) SWIG_fail
;
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28442 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
= NULL
;
28444 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28445 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "self",(char *) "dir", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28455 if (SWIG_arg_fail(1)) SWIG_fail
;
28458 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28459 if (SWIG_arg_fail(2)) SWIG_fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= result
;
28476 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
= NULL
;
28478 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28479 wxDataFormat
*arg2
= 0 ;
28481 PyObject
* obj0
= 0 ;
28482 PyObject
* obj1
= 0 ;
28483 char *kwnames
[] = {
28484 (char *) "self",(char *) "format", NULL
28487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28489 if (SWIG_arg_fail(1)) SWIG_fail
;
28491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28492 if (SWIG_arg_fail(2)) SWIG_fail
;
28493 if (arg2
== NULL
) {
28494 SWIG_null_ref("wxDataFormat");
28496 if (SWIG_arg_fail(2)) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28505 resultobj
= result
;
28512 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
= NULL
;
28514 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28515 wxDataFormat
*arg2
= 0 ;
28516 PyObject
*arg3
= (PyObject
*) 0 ;
28518 PyObject
* obj0
= 0 ;
28519 PyObject
* obj1
= 0 ;
28520 PyObject
* obj2
= 0 ;
28521 char *kwnames
[] = {
28522 (char *) "self",(char *) "format",(char *) "data", NULL
28525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28527 if (SWIG_arg_fail(1)) SWIG_fail
;
28529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28530 if (SWIG_arg_fail(2)) SWIG_fail
;
28531 if (arg2
== NULL
) {
28532 SWIG_null_ref("wxDataFormat");
28534 if (SWIG_arg_fail(2)) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28553 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28556 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28558 return Py_BuildValue((char *)"");
28560 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28561 PyObject
*resultobj
= NULL
;
28562 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28563 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28564 wxDataObjectSimple
*result
;
28565 PyObject
* obj0
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "format", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28574 if (SWIG_arg_fail(1)) SWIG_fail
;
28575 if (arg1
== NULL
) {
28576 SWIG_null_ref("wxDataFormat");
28578 if (SWIG_arg_fail(1)) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28595 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
= NULL
;
28597 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28598 wxDataFormat
*result
;
28599 PyObject
* obj0
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "self", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28606 if (SWIG_arg_fail(1)) SWIG_fail
;
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28611 result
= (wxDataFormat
*) &_result_ref
;
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28624 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
= NULL
;
28626 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28627 wxDataFormat
*arg2
= 0 ;
28628 PyObject
* obj0
= 0 ;
28629 PyObject
* obj1
= 0 ;
28630 char *kwnames
[] = {
28631 (char *) "self",(char *) "format", NULL
28634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28636 if (SWIG_arg_fail(1)) SWIG_fail
;
28638 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28639 if (SWIG_arg_fail(2)) SWIG_fail
;
28640 if (arg2
== NULL
) {
28641 SWIG_null_ref("wxDataFormat");
28643 if (SWIG_arg_fail(2)) SWIG_fail
;
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28649 wxPyEndAllowThreads(__tstate
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28652 Py_INCREF(Py_None
); resultobj
= Py_None
;
28659 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28660 PyObject
*resultobj
= NULL
;
28661 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28663 PyObject
* obj0
= 0 ;
28664 char *kwnames
[] = {
28665 (char *) "self", NULL
28668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28670 if (SWIG_arg_fail(1)) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28679 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28687 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28688 PyObject
*resultobj
= NULL
;
28689 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28691 PyObject
* obj0
= 0 ;
28692 char *kwnames
[] = {
28693 (char *) "self", NULL
28696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28698 if (SWIG_arg_fail(1)) SWIG_fail
;
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28703 wxPyEndAllowThreads(__tstate
);
28704 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= result
;
28713 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
= NULL
;
28715 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28716 PyObject
*arg2
= (PyObject
*) 0 ;
28718 PyObject
* obj0
= 0 ;
28719 PyObject
* obj1
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self",(char *) "data", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28726 if (SWIG_arg_fail(1)) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28744 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28747 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28749 return Py_BuildValue((char *)"");
28751 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28752 PyObject
*resultobj
= NULL
;
28753 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28754 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28755 wxPyDataObjectSimple
*result
;
28756 PyObject
* obj0
= 0 ;
28757 char *kwnames
[] = {
28758 (char *) "format", NULL
28761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28765 if (SWIG_arg_fail(1)) SWIG_fail
;
28766 if (arg1
== NULL
) {
28767 SWIG_null_ref("wxDataFormat");
28769 if (SWIG_arg_fail(1)) SWIG_fail
;
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28786 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
= NULL
;
28788 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28789 PyObject
*arg2
= (PyObject
*) 0 ;
28790 PyObject
*arg3
= (PyObject
*) 0 ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 PyObject
* obj2
= 0 ;
28794 char *kwnames
[] = {
28795 (char *) "self",(char *) "self",(char *) "_class", NULL
28798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28800 if (SWIG_arg_fail(1)) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 Py_INCREF(Py_None
); resultobj
= Py_None
;
28817 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28820 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28822 return Py_BuildValue((char *)"");
28824 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
= NULL
;
28826 wxDataObjectComposite
*result
;
28827 char *kwnames
[] = {
28831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28846 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
= NULL
;
28848 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28849 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28850 bool arg3
= (bool) false ;
28851 PyObject
* obj0
= 0 ;
28852 PyObject
* obj1
= 0 ;
28853 PyObject
* obj2
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28860 if (SWIG_arg_fail(1)) SWIG_fail
;
28861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28862 if (SWIG_arg_fail(2)) SWIG_fail
;
28865 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28866 if (SWIG_arg_fail(3)) SWIG_fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 (arg1
)->Add(arg2
,arg3
);
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 Py_INCREF(Py_None
); resultobj
= Py_None
;
28883 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28886 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28888 return Py_BuildValue((char *)"");
28890 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
= NULL
;
28892 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28893 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28894 wxTextDataObject
*result
;
28895 bool temp1
= false ;
28896 PyObject
* obj0
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "text", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28904 arg1
= wxString_in_helper(obj0
);
28905 if (arg1
== NULL
) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28931 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
= NULL
;
28933 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28942 if (SWIG_arg_fail(1)) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 result
= (size_t)(arg1
)->GetTextLength();
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28959 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
= NULL
;
28961 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28963 PyObject
* obj0
= 0 ;
28964 char *kwnames
[] = {
28965 (char *) "self", NULL
28968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28970 if (SWIG_arg_fail(1)) SWIG_fail
;
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 result
= (arg1
)->GetText();
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28991 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
= NULL
;
28993 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28994 wxString
*arg2
= 0 ;
28995 bool temp2
= false ;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 char *kwnames
[] = {
28999 (char *) "self",(char *) "text", NULL
29002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
29003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29004 if (SWIG_arg_fail(1)) SWIG_fail
;
29006 arg2
= wxString_in_helper(obj1
);
29007 if (arg2
== NULL
) SWIG_fail
;
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 (arg1
)->SetText((wxString
const &)*arg2
);
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 Py_INCREF(Py_None
); resultobj
= Py_None
;
29032 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29035 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
29037 return Py_BuildValue((char *)"");
29039 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
= NULL
;
29041 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29042 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29043 wxPyTextDataObject
*result
;
29044 bool temp1
= false ;
29045 PyObject
* obj0
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "text", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
29053 arg1
= wxString_in_helper(obj0
);
29054 if (arg1
== NULL
) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29080 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
= NULL
;
29082 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29083 PyObject
*arg2
= (PyObject
*) 0 ;
29084 PyObject
*arg3
= (PyObject
*) 0 ;
29085 PyObject
* obj0
= 0 ;
29086 PyObject
* obj1
= 0 ;
29087 PyObject
* obj2
= 0 ;
29088 char *kwnames
[] = {
29089 (char *) "self",(char *) "self",(char *) "_class", NULL
29092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29094 if (SWIG_arg_fail(1)) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 Py_INCREF(Py_None
); resultobj
= Py_None
;
29111 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29114 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29116 return Py_BuildValue((char *)"");
29118 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
= NULL
;
29120 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29121 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29122 wxBitmapDataObject
*result
;
29123 PyObject
* obj0
= 0 ;
29124 char *kwnames
[] = {
29125 (char *) "bitmap", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29132 if (SWIG_arg_fail(1)) SWIG_fail
;
29133 if (arg1
== NULL
) {
29134 SWIG_null_ref("wxBitmap");
29136 if (SWIG_arg_fail(1)) SWIG_fail
;
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29153 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
= NULL
;
29155 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29157 PyObject
* obj0
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29164 if (SWIG_arg_fail(1)) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 wxBitmap
* resultptr
;
29174 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29183 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
= NULL
;
29185 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29186 wxBitmap
*arg2
= 0 ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 char *kwnames
[] = {
29190 (char *) "self",(char *) "bitmap", NULL
29193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29195 if (SWIG_arg_fail(1)) SWIG_fail
;
29197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29198 if (SWIG_arg_fail(2)) SWIG_fail
;
29199 if (arg2
== NULL
) {
29200 SWIG_null_ref("wxBitmap");
29202 if (SWIG_arg_fail(2)) SWIG_fail
;
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 Py_INCREF(Py_None
); resultobj
= Py_None
;
29218 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29221 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29223 return Py_BuildValue((char *)"");
29225 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29226 PyObject
*resultobj
= NULL
;
29227 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29228 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29229 wxPyBitmapDataObject
*result
;
29230 PyObject
* obj0
= 0 ;
29231 char *kwnames
[] = {
29232 (char *) "bitmap", NULL
29235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29239 if (SWIG_arg_fail(1)) SWIG_fail
;
29240 if (arg1
== NULL
) {
29241 SWIG_null_ref("wxBitmap");
29243 if (SWIG_arg_fail(1)) SWIG_fail
;
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29260 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
= NULL
;
29262 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29263 PyObject
*arg2
= (PyObject
*) 0 ;
29264 PyObject
*arg3
= (PyObject
*) 0 ;
29265 PyObject
* obj0
= 0 ;
29266 PyObject
* obj1
= 0 ;
29267 PyObject
* obj2
= 0 ;
29268 char *kwnames
[] = {
29269 (char *) "self",(char *) "self",(char *) "_class", NULL
29272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29274 if (SWIG_arg_fail(1)) SWIG_fail
;
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29284 Py_INCREF(Py_None
); resultobj
= Py_None
;
29291 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29294 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29296 return Py_BuildValue((char *)"");
29298 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
= NULL
;
29300 wxFileDataObject
*result
;
29301 char *kwnames
[] = {
29305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 result
= (wxFileDataObject
*)new wxFileDataObject();
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29320 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
= NULL
;
29322 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29323 wxArrayString
*result
;
29324 PyObject
* obj0
= 0 ;
29325 char *kwnames
[] = {
29326 (char *) "self", NULL
29329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29331 if (SWIG_arg_fail(1)) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29336 result
= (wxArrayString
*) &_result_ref
;
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= wxArrayString2PyList_helper(*result
);
29351 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= NULL
;
29353 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29354 wxString
*arg2
= 0 ;
29355 bool temp2
= false ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "filename", NULL
29362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29364 if (SWIG_arg_fail(1)) SWIG_fail
;
29366 arg2
= wxString_in_helper(obj1
);
29367 if (arg2
== NULL
) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 (arg1
)->AddFile((wxString
const &)*arg2
);
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29377 Py_INCREF(Py_None
); resultobj
= Py_None
;
29392 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29395 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29397 return Py_BuildValue((char *)"");
29399 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29400 PyObject
*resultobj
= NULL
;
29401 wxDataFormat
*arg1
= 0 ;
29402 wxCustomDataObject
*result
;
29403 PyObject
* obj0
= 0 ;
29405 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29408 if (SWIG_arg_fail(1)) SWIG_fail
;
29409 if (arg1
== NULL
) {
29410 SWIG_null_ref("wxDataFormat");
29412 if (SWIG_arg_fail(1)) SWIG_fail
;
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29428 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29429 PyObject
*resultobj
= NULL
;
29430 wxString
*arg1
= 0 ;
29431 wxCustomDataObject
*result
;
29432 bool temp1
= false ;
29433 PyObject
* obj0
= 0 ;
29435 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29437 arg1
= wxString_in_helper(obj0
);
29438 if (arg1
== NULL
) SWIG_fail
;
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29463 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29464 PyObject
*resultobj
= NULL
;
29465 wxCustomDataObject
*result
;
29467 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29482 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29487 argc
= PyObject_Length(args
);
29488 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29489 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29492 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29497 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29500 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29507 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29515 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29519 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29524 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
= NULL
;
29526 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29527 PyObject
*arg2
= (PyObject
*) 0 ;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self",(char *) "data", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29537 if (SWIG_arg_fail(1)) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29555 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
= NULL
;
29557 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29559 PyObject
* obj0
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29566 if (SWIG_arg_fail(1)) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (size_t)(arg1
)->GetSize();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29583 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
= NULL
;
29585 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29587 PyObject
* obj0
= 0 ;
29588 char *kwnames
[] = {
29589 (char *) "self", NULL
29592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29594 if (SWIG_arg_fail(1)) SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
;
29609 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29612 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29614 return Py_BuildValue((char *)"");
29616 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
= NULL
;
29618 wxURLDataObject
*result
;
29619 char *kwnames
[] = {
29623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 result
= (wxURLDataObject
*)new wxURLDataObject();
29628 wxPyEndAllowThreads(__tstate
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29638 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
= NULL
;
29640 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29642 PyObject
* obj0
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "self", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29649 if (SWIG_arg_fail(1)) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (arg1
)->GetURL();
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29670 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
= NULL
;
29672 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29673 wxString
*arg2
= 0 ;
29674 bool temp2
= false ;
29675 PyObject
* obj0
= 0 ;
29676 PyObject
* obj1
= 0 ;
29677 char *kwnames
[] = {
29678 (char *) "self",(char *) "url", NULL
29681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29683 if (SWIG_arg_fail(1)) SWIG_fail
;
29685 arg2
= wxString_in_helper(obj1
);
29686 if (arg2
== NULL
) SWIG_fail
;
29690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29691 (arg1
)->SetURL((wxString
const &)*arg2
);
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 Py_INCREF(Py_None
); resultobj
= Py_None
;
29711 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29714 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29716 return Py_BuildValue((char *)"");
29718 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29719 PyObject
*resultobj
= NULL
;
29720 wxMetafileDataObject
*result
;
29721 char *kwnames
[] = {
29725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29740 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29743 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29745 return Py_BuildValue((char *)"");
29747 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
= NULL
;
29749 wxDragResult arg1
;
29751 PyObject
* obj0
= 0 ;
29752 char *kwnames
[] = {
29753 (char *) "res", NULL
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29758 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29759 if (SWIG_arg_fail(1)) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (bool)wxIsDragResultOk(arg1
);
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29777 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
= NULL
;
29779 wxWindow
*arg1
= (wxWindow
*) 0 ;
29780 wxIcon
const &arg2_defvalue
= wxNullIcon
;
29781 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
29782 wxIcon
const &arg3_defvalue
= wxNullIcon
;
29783 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
29784 wxIcon
const &arg4_defvalue
= wxNullIcon
;
29785 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
29786 wxPyDropSource
*result
;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 PyObject
* obj2
= 0 ;
29790 PyObject
* obj3
= 0 ;
29791 char *kwnames
[] = {
29792 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29797 if (SWIG_arg_fail(1)) SWIG_fail
;
29800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29801 if (SWIG_arg_fail(2)) SWIG_fail
;
29802 if (arg2
== NULL
) {
29803 SWIG_null_ref("wxIcon");
29805 if (SWIG_arg_fail(2)) SWIG_fail
;
29810 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29811 if (SWIG_arg_fail(3)) SWIG_fail
;
29812 if (arg3
== NULL
) {
29813 SWIG_null_ref("wxIcon");
29815 if (SWIG_arg_fail(3)) SWIG_fail
;
29820 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29821 if (SWIG_arg_fail(4)) SWIG_fail
;
29822 if (arg4
== NULL
) {
29823 SWIG_null_ref("wxIcon");
29825 if (SWIG_arg_fail(4)) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29842 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
= NULL
;
29844 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29845 PyObject
*arg2
= (PyObject
*) 0 ;
29846 PyObject
*arg3
= (PyObject
*) 0 ;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 PyObject
* obj2
= 0 ;
29851 PyObject
* obj3
= 0 ;
29852 char *kwnames
[] = {
29853 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29858 if (SWIG_arg_fail(1)) SWIG_fail
;
29862 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29863 if (SWIG_arg_fail(4)) SWIG_fail
;
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29867 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 Py_INCREF(Py_None
); resultobj
= Py_None
;
29879 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
= NULL
;
29881 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29882 PyObject
* obj0
= 0 ;
29883 char *kwnames
[] = {
29884 (char *) "self", NULL
29887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29889 if (SWIG_arg_fail(1)) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 Py_INCREF(Py_None
); resultobj
= Py_None
;
29904 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
= NULL
;
29906 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29907 wxDataObject
*arg2
= 0 ;
29908 PyObject
* obj0
= 0 ;
29909 PyObject
* obj1
= 0 ;
29910 char *kwnames
[] = {
29911 (char *) "self",(char *) "data", NULL
29914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29916 if (SWIG_arg_fail(1)) SWIG_fail
;
29918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29919 if (SWIG_arg_fail(2)) SWIG_fail
;
29920 if (arg2
== NULL
) {
29921 SWIG_null_ref("wxDataObject");
29923 if (SWIG_arg_fail(2)) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 (arg1
)->SetData(*arg2
);
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 Py_INCREF(Py_None
); resultobj
= Py_None
;
29939 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
= NULL
;
29941 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29942 wxDataObject
*result
;
29943 PyObject
* obj0
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
29949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29950 if (SWIG_arg_fail(1)) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29965 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
= NULL
;
29967 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29968 wxDragResult arg2
;
29969 wxCursor
*arg3
= 0 ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 PyObject
* obj2
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "self",(char *) "res",(char *) "cursor", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29979 if (SWIG_arg_fail(1)) SWIG_fail
;
29981 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
29982 if (SWIG_arg_fail(2)) SWIG_fail
;
29985 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29986 if (SWIG_arg_fail(3)) SWIG_fail
;
29987 if (arg3
== NULL
) {
29988 SWIG_null_ref("wxCursor");
29990 if (SWIG_arg_fail(3)) SWIG_fail
;
29993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29994 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 Py_INCREF(Py_None
); resultobj
= Py_None
;
30006 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= NULL
;
30008 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30009 int arg2
= (int) wxDrag_CopyOnly
;
30010 wxDragResult result
;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self",(char *) "flags", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
30018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30019 if (SWIG_arg_fail(1)) SWIG_fail
;
30022 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30023 if (SWIG_arg_fail(2)) SWIG_fail
;
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= SWIG_From_int((result
));
30040 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
= NULL
;
30042 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30043 wxDragResult arg2
;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 char *kwnames
[] = {
30048 (char *) "self",(char *) "effect", NULL
30051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30053 if (SWIG_arg_fail(1)) SWIG_fail
;
30055 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30056 if (SWIG_arg_fail(2)) SWIG_fail
;
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 result
= (bool)(arg1
)->base_GiveFeedback(arg2
);
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30074 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30077 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30079 return Py_BuildValue((char *)"");
30081 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
= NULL
;
30083 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30084 wxPyDropTarget
*result
;
30085 PyObject
* obj0
= 0 ;
30086 char *kwnames
[] = {
30087 (char *) "dataObject", NULL
30090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30093 if (SWIG_arg_fail(1)) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30109 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
= NULL
;
30111 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30112 PyObject
*arg2
= (PyObject
*) 0 ;
30113 PyObject
*arg3
= (PyObject
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 PyObject
* obj2
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self",(char *) "self",(char *) "_class", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30123 if (SWIG_arg_fail(1)) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 Py_INCREF(Py_None
); resultobj
= Py_None
;
30140 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
= NULL
;
30142 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(1)) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 Py_INCREF(Py_None
); resultobj
= Py_None
;
30165 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30166 PyObject
*resultobj
= NULL
;
30167 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30168 wxDataObject
*result
;
30169 PyObject
* obj0
= 0 ;
30170 char *kwnames
[] = {
30171 (char *) "self", NULL
30174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30176 if (SWIG_arg_fail(1)) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30191 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
= NULL
;
30193 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30194 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 char *kwnames
[] = {
30198 (char *) "self",(char *) "dataObject", NULL
30201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30203 if (SWIG_arg_fail(1)) SWIG_fail
;
30204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30205 if (SWIG_arg_fail(2)) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 (arg1
)->SetDataObject(arg2
);
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 Py_INCREF(Py_None
); resultobj
= Py_None
;
30220 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
= NULL
;
30222 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30225 wxDragResult arg4
;
30226 wxDragResult result
;
30227 PyObject
* obj0
= 0 ;
30228 PyObject
* obj1
= 0 ;
30229 PyObject
* obj2
= 0 ;
30230 PyObject
* obj3
= 0 ;
30231 char *kwnames
[] = {
30232 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30237 if (SWIG_arg_fail(1)) SWIG_fail
;
30239 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30240 if (SWIG_arg_fail(2)) SWIG_fail
;
30243 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30244 if (SWIG_arg_fail(3)) SWIG_fail
;
30247 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30248 if (SWIG_arg_fail(4)) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30257 resultobj
= SWIG_From_int((result
));
30264 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
= NULL
;
30266 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30269 wxDragResult arg4
;
30270 wxDragResult result
;
30271 PyObject
* obj0
= 0 ;
30272 PyObject
* obj1
= 0 ;
30273 PyObject
* obj2
= 0 ;
30274 PyObject
* obj3
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail
;
30283 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30284 if (SWIG_arg_fail(2)) SWIG_fail
;
30287 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30288 if (SWIG_arg_fail(3)) SWIG_fail
;
30291 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30292 if (SWIG_arg_fail(4)) SWIG_fail
;
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 resultobj
= SWIG_From_int((result
));
30308 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30309 PyObject
*resultobj
= NULL
;
30310 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30311 PyObject
* obj0
= 0 ;
30312 char *kwnames
[] = {
30313 (char *) "self", NULL
30316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30318 if (SWIG_arg_fail(1)) SWIG_fail
;
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 (arg1
)->base_OnLeave();
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 Py_INCREF(Py_None
); resultobj
= Py_None
;
30333 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
= NULL
;
30335 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 PyObject
* obj2
= 0 ;
30342 char *kwnames
[] = {
30343 (char *) "self",(char *) "x",(char *) "y", NULL
30346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30348 if (SWIG_arg_fail(1)) SWIG_fail
;
30350 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30351 if (SWIG_arg_fail(2)) SWIG_fail
;
30354 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30355 if (SWIG_arg_fail(3)) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30373 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
= NULL
;
30375 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30377 PyObject
* obj0
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30384 if (SWIG_arg_fail(1)) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 result
= (bool)(arg1
)->GetData();
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30401 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30402 PyObject
*resultobj
= NULL
;
30403 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30404 wxDragResult arg2
;
30405 PyObject
* obj0
= 0 ;
30406 PyObject
* obj1
= 0 ;
30407 char *kwnames
[] = {
30408 (char *) "self",(char *) "action", NULL
30411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30413 if (SWIG_arg_fail(1)) SWIG_fail
;
30415 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30416 if (SWIG_arg_fail(2)) SWIG_fail
;
30419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30420 (arg1
)->SetDefaultAction(arg2
);
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30425 Py_INCREF(Py_None
); resultobj
= Py_None
;
30432 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
= NULL
;
30434 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30435 wxDragResult result
;
30436 PyObject
* obj0
= 0 ;
30437 char *kwnames
[] = {
30438 (char *) "self", NULL
30441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30443 if (SWIG_arg_fail(1)) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 resultobj
= SWIG_From_int((result
));
30458 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30461 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30463 return Py_BuildValue((char *)"");
30465 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
= NULL
;
30467 wxPyTextDropTarget
*result
;
30468 char *kwnames
[] = {
30472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30487 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
= NULL
;
30489 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30490 PyObject
*arg2
= (PyObject
*) 0 ;
30491 PyObject
*arg3
= (PyObject
*) 0 ;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 PyObject
* obj2
= 0 ;
30495 char *kwnames
[] = {
30496 (char *) "self",(char *) "self",(char *) "_class", NULL
30499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30501 if (SWIG_arg_fail(1)) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 Py_INCREF(Py_None
); resultobj
= Py_None
;
30518 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
= NULL
;
30520 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30523 wxDragResult arg4
;
30524 wxDragResult result
;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 PyObject
* obj2
= 0 ;
30528 PyObject
* obj3
= 0 ;
30529 char *kwnames
[] = {
30530 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30535 if (SWIG_arg_fail(1)) SWIG_fail
;
30537 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30538 if (SWIG_arg_fail(2)) SWIG_fail
;
30541 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30542 if (SWIG_arg_fail(3)) SWIG_fail
;
30545 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30546 if (SWIG_arg_fail(4)) SWIG_fail
;
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30555 resultobj
= SWIG_From_int((result
));
30562 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
= NULL
;
30564 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30567 wxDragResult arg4
;
30568 wxDragResult result
;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 PyObject
* obj2
= 0 ;
30572 PyObject
* obj3
= 0 ;
30573 char *kwnames
[] = {
30574 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30579 if (SWIG_arg_fail(1)) SWIG_fail
;
30581 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30582 if (SWIG_arg_fail(2)) SWIG_fail
;
30585 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30586 if (SWIG_arg_fail(3)) SWIG_fail
;
30589 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30590 if (SWIG_arg_fail(4)) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= SWIG_From_int((result
));
30606 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
= NULL
;
30608 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30616 if (SWIG_arg_fail(1)) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 (arg1
)->base_OnLeave();
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 Py_INCREF(Py_None
); resultobj
= Py_None
;
30631 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
= NULL
;
30633 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 PyObject
* obj2
= 0 ;
30640 char *kwnames
[] = {
30641 (char *) "self",(char *) "x",(char *) "y", NULL
30644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30646 if (SWIG_arg_fail(1)) SWIG_fail
;
30648 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30649 if (SWIG_arg_fail(2)) SWIG_fail
;
30652 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30653 if (SWIG_arg_fail(3)) SWIG_fail
;
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30671 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30672 PyObject
*resultobj
= NULL
;
30673 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30676 wxDragResult arg4
;
30677 wxDragResult result
;
30678 PyObject
* obj0
= 0 ;
30679 PyObject
* obj1
= 0 ;
30680 PyObject
* obj2
= 0 ;
30681 PyObject
* obj3
= 0 ;
30682 char *kwnames
[] = {
30683 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30688 if (SWIG_arg_fail(1)) SWIG_fail
;
30690 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30691 if (SWIG_arg_fail(2)) SWIG_fail
;
30694 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30695 if (SWIG_arg_fail(3)) SWIG_fail
;
30698 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30699 if (SWIG_arg_fail(4)) SWIG_fail
;
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= SWIG_From_int((result
));
30715 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30718 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30720 return Py_BuildValue((char *)"");
30722 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
= NULL
;
30724 wxPyFileDropTarget
*result
;
30725 char *kwnames
[] = {
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30744 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
= NULL
;
30746 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30747 PyObject
*arg2
= (PyObject
*) 0 ;
30748 PyObject
*arg3
= (PyObject
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30751 PyObject
* obj2
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self",(char *) "self",(char *) "_class", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30758 if (SWIG_arg_fail(1)) SWIG_fail
;
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 Py_INCREF(Py_None
); resultobj
= Py_None
;
30775 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
= NULL
;
30777 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30780 wxDragResult arg4
;
30781 wxDragResult result
;
30782 PyObject
* obj0
= 0 ;
30783 PyObject
* obj1
= 0 ;
30784 PyObject
* obj2
= 0 ;
30785 PyObject
* obj3
= 0 ;
30786 char *kwnames
[] = {
30787 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail
;
30794 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30795 if (SWIG_arg_fail(2)) SWIG_fail
;
30798 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30799 if (SWIG_arg_fail(3)) SWIG_fail
;
30802 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30803 if (SWIG_arg_fail(4)) SWIG_fail
;
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 resultobj
= SWIG_From_int((result
));
30819 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
= NULL
;
30821 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30824 wxDragResult arg4
;
30825 wxDragResult result
;
30826 PyObject
* obj0
= 0 ;
30827 PyObject
* obj1
= 0 ;
30828 PyObject
* obj2
= 0 ;
30829 PyObject
* obj3
= 0 ;
30830 char *kwnames
[] = {
30831 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30836 if (SWIG_arg_fail(1)) SWIG_fail
;
30838 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30839 if (SWIG_arg_fail(2)) SWIG_fail
;
30842 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30843 if (SWIG_arg_fail(3)) SWIG_fail
;
30846 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30847 if (SWIG_arg_fail(4)) SWIG_fail
;
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= SWIG_From_int((result
));
30863 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
= NULL
;
30865 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30866 PyObject
* obj0
= 0 ;
30867 char *kwnames
[] = {
30868 (char *) "self", NULL
30871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30873 if (SWIG_arg_fail(1)) SWIG_fail
;
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 (arg1
)->base_OnLeave();
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 Py_INCREF(Py_None
); resultobj
= Py_None
;
30888 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
= NULL
;
30890 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30894 PyObject
* obj0
= 0 ;
30895 PyObject
* obj1
= 0 ;
30896 PyObject
* obj2
= 0 ;
30897 char *kwnames
[] = {
30898 (char *) "self",(char *) "x",(char *) "y", NULL
30901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30903 if (SWIG_arg_fail(1)) SWIG_fail
;
30905 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30906 if (SWIG_arg_fail(2)) SWIG_fail
;
30909 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30910 if (SWIG_arg_fail(3)) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30928 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
= NULL
;
30930 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30933 wxDragResult arg4
;
30934 wxDragResult result
;
30935 PyObject
* obj0
= 0 ;
30936 PyObject
* obj1
= 0 ;
30937 PyObject
* obj2
= 0 ;
30938 PyObject
* obj3
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30945 if (SWIG_arg_fail(1)) SWIG_fail
;
30947 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30948 if (SWIG_arg_fail(2)) SWIG_fail
;
30951 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30952 if (SWIG_arg_fail(3)) SWIG_fail
;
30955 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30956 if (SWIG_arg_fail(4)) SWIG_fail
;
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30962 wxPyEndAllowThreads(__tstate
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= SWIG_From_int((result
));
30972 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30975 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
30977 return Py_BuildValue((char *)"");
30979 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
= NULL
;
30981 wxClipboard
*result
;
30982 char *kwnames
[] = {
30986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 result
= (wxClipboard
*)new wxClipboard();
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
31001 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31002 PyObject
*resultobj
= NULL
;
31003 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31004 PyObject
* obj0
= 0 ;
31005 char *kwnames
[] = {
31006 (char *) "self", NULL
31009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
31010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31011 if (SWIG_arg_fail(1)) SWIG_fail
;
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31019 Py_INCREF(Py_None
); resultobj
= Py_None
;
31026 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31027 PyObject
*resultobj
= NULL
;
31028 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= (bool)(arg1
)->Open();
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31054 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31055 PyObject
*resultobj
= NULL
;
31056 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31057 PyObject
* obj0
= 0 ;
31058 char *kwnames
[] = {
31059 (char *) "self", NULL
31062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31064 if (SWIG_arg_fail(1)) SWIG_fail
;
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 wxPyEndAllowThreads(__tstate
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31072 Py_INCREF(Py_None
); resultobj
= Py_None
;
31079 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31080 PyObject
*resultobj
= NULL
;
31081 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31083 PyObject
* obj0
= 0 ;
31084 char *kwnames
[] = {
31085 (char *) "self", NULL
31088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31090 if (SWIG_arg_fail(1)) SWIG_fail
;
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31107 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
= NULL
;
31109 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31110 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31112 PyObject
* obj0
= 0 ;
31113 PyObject
* obj1
= 0 ;
31114 char *kwnames
[] = {
31115 (char *) "self",(char *) "data", NULL
31118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31120 if (SWIG_arg_fail(1)) SWIG_fail
;
31121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31122 if (SWIG_arg_fail(2)) SWIG_fail
;
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 result
= (bool)(arg1
)->AddData(arg2
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31139 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31140 PyObject
*resultobj
= NULL
;
31141 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31142 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31144 PyObject
* obj0
= 0 ;
31145 PyObject
* obj1
= 0 ;
31146 char *kwnames
[] = {
31147 (char *) "self",(char *) "data", NULL
31150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31152 if (SWIG_arg_fail(1)) SWIG_fail
;
31153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31154 if (SWIG_arg_fail(2)) SWIG_fail
;
31156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31157 result
= (bool)(arg1
)->SetData(arg2
);
31159 wxPyEndAllowThreads(__tstate
);
31160 if (PyErr_Occurred()) SWIG_fail
;
31163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31171 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
= NULL
;
31173 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31174 wxDataFormat
*arg2
= 0 ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 char *kwnames
[] = {
31179 (char *) "self",(char *) "format", NULL
31182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31184 if (SWIG_arg_fail(1)) SWIG_fail
;
31186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31187 if (SWIG_arg_fail(2)) SWIG_fail
;
31188 if (arg2
== NULL
) {
31189 SWIG_null_ref("wxDataFormat");
31191 if (SWIG_arg_fail(2)) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31209 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
= NULL
;
31211 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31212 wxDataObject
*arg2
= 0 ;
31214 PyObject
* obj0
= 0 ;
31215 PyObject
* obj1
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "self",(char *) "data", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31222 if (SWIG_arg_fail(1)) SWIG_fail
;
31224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31225 if (SWIG_arg_fail(2)) SWIG_fail
;
31226 if (arg2
== NULL
) {
31227 SWIG_null_ref("wxDataObject");
31229 if (SWIG_arg_fail(2)) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= (bool)(arg1
)->GetData(*arg2
);
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31247 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31248 PyObject
*resultobj
= NULL
;
31249 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31250 PyObject
* obj0
= 0 ;
31251 char *kwnames
[] = {
31252 (char *) "self", NULL
31255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31257 if (SWIG_arg_fail(1)) SWIG_fail
;
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 Py_INCREF(Py_None
); resultobj
= Py_None
;
31272 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31273 PyObject
*resultobj
= NULL
;
31274 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31276 PyObject
* obj0
= 0 ;
31277 char *kwnames
[] = {
31278 (char *) "self", NULL
31281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31283 if (SWIG_arg_fail(1)) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 result
= (bool)(arg1
)->Flush();
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31300 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
= NULL
;
31302 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31303 bool arg2
= (bool) true ;
31304 PyObject
* obj0
= 0 ;
31305 PyObject
* obj1
= 0 ;
31306 char *kwnames
[] = {
31307 (char *) "self",(char *) "primary", NULL
31310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31312 if (SWIG_arg_fail(1)) SWIG_fail
;
31315 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31316 if (SWIG_arg_fail(2)) SWIG_fail
;
31320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31321 (arg1
)->UsePrimarySelection(arg2
);
31323 wxPyEndAllowThreads(__tstate
);
31324 if (PyErr_Occurred()) SWIG_fail
;
31326 Py_INCREF(Py_None
); resultobj
= Py_None
;
31333 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31334 PyObject
*resultobj
= NULL
;
31335 wxClipboard
*result
;
31336 char *kwnames
[] = {
31340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 result
= (wxClipboard
*)wxClipboard::Get();
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31355 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31358 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31360 return Py_BuildValue((char *)"");
31362 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
= NULL
;
31364 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31365 wxClipboardLocker
*result
;
31366 PyObject
* obj0
= 0 ;
31367 char *kwnames
[] = {
31368 (char *) "clipboard", NULL
31371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31374 if (SWIG_arg_fail(1)) SWIG_fail
;
31377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31378 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31390 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
= NULL
;
31392 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31393 PyObject
* obj0
= 0 ;
31394 char *kwnames
[] = {
31395 (char *) "self", NULL
31398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31400 if (SWIG_arg_fail(1)) SWIG_fail
;
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31408 Py_INCREF(Py_None
); resultobj
= Py_None
;
31415 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31416 PyObject
*resultobj
= NULL
;
31417 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31419 PyObject
* obj0
= 0 ;
31420 char *kwnames
[] = {
31421 (char *) "self", NULL
31424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31426 if (SWIG_arg_fail(1)) SWIG_fail
;
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31443 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31446 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31448 return Py_BuildValue((char *)"");
31450 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
= NULL
;
31452 int arg1
= (int) 0 ;
31453 int arg2
= (int) 0 ;
31454 int arg3
= (int) 0 ;
31455 int arg4
= (int) 0 ;
31456 wxVideoMode
*result
;
31457 PyObject
* obj0
= 0 ;
31458 PyObject
* obj1
= 0 ;
31459 PyObject
* obj2
= 0 ;
31460 PyObject
* obj3
= 0 ;
31461 char *kwnames
[] = {
31462 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31468 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31469 if (SWIG_arg_fail(1)) SWIG_fail
;
31474 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31475 if (SWIG_arg_fail(2)) SWIG_fail
;
31480 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31481 if (SWIG_arg_fail(3)) SWIG_fail
;
31486 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31487 if (SWIG_arg_fail(4)) SWIG_fail
;
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31494 wxPyEndAllowThreads(__tstate
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31504 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31505 PyObject
*resultobj
= NULL
;
31506 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31507 PyObject
* obj0
= 0 ;
31508 char *kwnames
[] = {
31509 (char *) "self", NULL
31512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31514 if (SWIG_arg_fail(1)) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 Py_INCREF(Py_None
); resultobj
= Py_None
;
31529 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31530 PyObject
*resultobj
= NULL
;
31531 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31532 wxVideoMode
*arg2
= 0 ;
31534 PyObject
* obj0
= 0 ;
31535 PyObject
* obj1
= 0 ;
31536 char *kwnames
[] = {
31537 (char *) "self",(char *) "other", NULL
31540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31542 if (SWIG_arg_fail(1)) SWIG_fail
;
31544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31545 if (SWIG_arg_fail(2)) SWIG_fail
;
31546 if (arg2
== NULL
) {
31547 SWIG_null_ref("wxVideoMode");
31549 if (SWIG_arg_fail(2)) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31567 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
= NULL
;
31569 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31571 PyObject
* obj0
= 0 ;
31572 char *kwnames
[] = {
31573 (char *) "self", NULL
31576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31578 if (SWIG_arg_fail(1)) SWIG_fail
;
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= SWIG_From_int(static_cast<int >(result
));
31595 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31596 PyObject
*resultobj
= NULL
;
31597 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31599 PyObject
* obj0
= 0 ;
31600 char *kwnames
[] = {
31601 (char *) "self", NULL
31604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31606 if (SWIG_arg_fail(1)) SWIG_fail
;
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31615 resultobj
= SWIG_From_int(static_cast<int >(result
));
31623 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31624 PyObject
*resultobj
= NULL
;
31625 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31627 PyObject
* obj0
= 0 ;
31628 char *kwnames
[] = {
31629 (char *) "self", NULL
31632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31634 if (SWIG_arg_fail(1)) SWIG_fail
;
31636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31637 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= SWIG_From_int(static_cast<int >(result
));
31651 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31652 PyObject
*resultobj
= NULL
;
31653 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31655 PyObject
* obj0
= 0 ;
31656 char *kwnames
[] = {
31657 (char *) "self", NULL
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31679 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
= NULL
;
31681 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31682 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31684 PyObject
* obj0
= 0 ;
31685 PyObject
* obj1
= 0 ;
31686 char *kwnames
[] = {
31687 (char *) "self",(char *) "other", NULL
31690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31692 if (SWIG_arg_fail(1)) SWIG_fail
;
31693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31694 if (SWIG_arg_fail(2)) SWIG_fail
;
31696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31697 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31711 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31712 PyObject
*resultobj
= NULL
;
31713 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31714 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31716 PyObject
* obj0
= 0 ;
31717 PyObject
* obj1
= 0 ;
31718 char *kwnames
[] = {
31719 (char *) "self",(char *) "other", NULL
31722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31724 if (SWIG_arg_fail(1)) SWIG_fail
;
31725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31726 if (SWIG_arg_fail(2)) SWIG_fail
;
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31743 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31744 PyObject
*resultobj
= NULL
;
31745 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31747 PyObject
* obj0
= 0 ;
31748 PyObject
* obj1
= 0 ;
31749 char *kwnames
[] = {
31750 (char *) "self",(char *) "w", NULL
31753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31755 if (SWIG_arg_fail(1)) SWIG_fail
;
31757 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31758 if (SWIG_arg_fail(2)) SWIG_fail
;
31760 if (arg1
) (arg1
)->w
= arg2
;
31762 Py_INCREF(Py_None
); resultobj
= Py_None
;
31769 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
= NULL
;
31771 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31773 PyObject
* obj0
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self", NULL
31778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail
;
31781 result
= (int) ((arg1
)->w
);
31784 resultobj
= SWIG_From_int(static_cast<int >(result
));
31792 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31793 PyObject
*resultobj
= NULL
;
31794 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31796 PyObject
* obj0
= 0 ;
31797 PyObject
* obj1
= 0 ;
31798 char *kwnames
[] = {
31799 (char *) "self",(char *) "h", NULL
31802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31804 if (SWIG_arg_fail(1)) SWIG_fail
;
31806 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31807 if (SWIG_arg_fail(2)) SWIG_fail
;
31809 if (arg1
) (arg1
)->h
= arg2
;
31811 Py_INCREF(Py_None
); resultobj
= Py_None
;
31818 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31819 PyObject
*resultobj
= NULL
;
31820 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31822 PyObject
* obj0
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "self", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
31828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31829 if (SWIG_arg_fail(1)) SWIG_fail
;
31830 result
= (int) ((arg1
)->h
);
31833 resultobj
= SWIG_From_int(static_cast<int >(result
));
31841 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31842 PyObject
*resultobj
= NULL
;
31843 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31845 PyObject
* obj0
= 0 ;
31846 PyObject
* obj1
= 0 ;
31847 char *kwnames
[] = {
31848 (char *) "self",(char *) "bpp", NULL
31851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31853 if (SWIG_arg_fail(1)) SWIG_fail
;
31855 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31856 if (SWIG_arg_fail(2)) SWIG_fail
;
31858 if (arg1
) (arg1
)->bpp
= arg2
;
31860 Py_INCREF(Py_None
); resultobj
= Py_None
;
31867 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31868 PyObject
*resultobj
= NULL
;
31869 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31871 PyObject
* obj0
= 0 ;
31872 char *kwnames
[] = {
31873 (char *) "self", NULL
31876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
31877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31878 if (SWIG_arg_fail(1)) SWIG_fail
;
31879 result
= (int) ((arg1
)->bpp
);
31882 resultobj
= SWIG_From_int(static_cast<int >(result
));
31890 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
= NULL
;
31892 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31894 PyObject
* obj0
= 0 ;
31895 PyObject
* obj1
= 0 ;
31896 char *kwnames
[] = {
31897 (char *) "self",(char *) "refresh", NULL
31900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31902 if (SWIG_arg_fail(1)) SWIG_fail
;
31904 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31905 if (SWIG_arg_fail(2)) SWIG_fail
;
31907 if (arg1
) (arg1
)->refresh
= arg2
;
31909 Py_INCREF(Py_None
); resultobj
= Py_None
;
31916 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= NULL
;
31918 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31920 PyObject
* obj0
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "self", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
31926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31927 if (SWIG_arg_fail(1)) SWIG_fail
;
31928 result
= (int) ((arg1
)->refresh
);
31931 resultobj
= SWIG_From_int(static_cast<int >(result
));
31939 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
31941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31942 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
31944 return Py_BuildValue((char *)"");
31946 static int _wrap_DefaultVideoMode_set(PyObject
*) {
31947 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
31952 static PyObject
*_wrap_DefaultVideoMode_get(void) {
31953 PyObject
*pyobj
= NULL
;
31955 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
31960 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31961 PyObject
*resultobj
= NULL
;
31962 size_t arg1
= (size_t) 0 ;
31964 PyObject
* obj0
= 0 ;
31965 char *kwnames
[] = {
31966 (char *) "index", NULL
31969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
31972 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
31973 if (SWIG_arg_fail(1)) SWIG_fail
;
31977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 result
= (wxDisplay
*)new wxDisplay(arg1
);
31980 wxPyEndAllowThreads(__tstate
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
31990 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
= NULL
;
31992 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31993 PyObject
* obj0
= 0 ;
31994 char *kwnames
[] = {
31995 (char *) "self", NULL
31998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
31999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32000 if (SWIG_arg_fail(1)) SWIG_fail
;
32002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32005 wxPyEndAllowThreads(__tstate
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32008 Py_INCREF(Py_None
); resultobj
= Py_None
;
32015 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32016 PyObject
*resultobj
= NULL
;
32018 char *kwnames
[] = {
32022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
32024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32025 result
= (size_t)wxDisplay::GetCount();
32027 wxPyEndAllowThreads(__tstate
);
32028 if (PyErr_Occurred()) SWIG_fail
;
32031 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
32039 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32040 PyObject
*resultobj
= NULL
;
32041 wxPoint
*arg1
= 0 ;
32044 PyObject
* obj0
= 0 ;
32045 char *kwnames
[] = {
32046 (char *) "pt", NULL
32049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32052 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32056 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= SWIG_From_int(static_cast<int >(result
));
32070 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
= NULL
;
32072 wxWindow
*arg1
= (wxWindow
*) 0 ;
32074 PyObject
* obj0
= 0 ;
32075 char *kwnames
[] = {
32076 (char *) "window", NULL
32079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32081 if (SWIG_arg_fail(1)) SWIG_fail
;
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 result
= (int)wxDisplay_GetFromWindow(arg1
);
32086 wxPyEndAllowThreads(__tstate
);
32087 if (PyErr_Occurred()) SWIG_fail
;
32090 resultobj
= SWIG_From_int(static_cast<int >(result
));
32098 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32099 PyObject
*resultobj
= NULL
;
32100 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32102 PyObject
* obj0
= 0 ;
32103 char *kwnames
[] = {
32104 (char *) "self", NULL
32107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32109 if (SWIG_arg_fail(1)) SWIG_fail
;
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32126 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32127 PyObject
*resultobj
= NULL
;
32128 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32130 PyObject
* obj0
= 0 ;
32131 char *kwnames
[] = {
32132 (char *) "self", NULL
32135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32137 if (SWIG_arg_fail(1)) SWIG_fail
;
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32146 wxRect
* resultptr
;
32147 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32156 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32157 PyObject
*resultobj
= NULL
;
32158 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32160 PyObject
* obj0
= 0 ;
32161 char *kwnames
[] = {
32162 (char *) "self", NULL
32165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32167 if (SWIG_arg_fail(1)) SWIG_fail
;
32169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32170 result
= ((wxDisplay
const *)arg1
)->GetName();
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32188 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32189 PyObject
*resultobj
= NULL
;
32190 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32192 PyObject
* obj0
= 0 ;
32193 char *kwnames
[] = {
32194 (char *) "self", NULL
32197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32199 if (SWIG_arg_fail(1)) SWIG_fail
;
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32202 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32216 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
= NULL
;
32218 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32219 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32220 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32222 PyObject
* obj0
= 0 ;
32223 PyObject
* obj1
= 0 ;
32224 char *kwnames
[] = {
32225 (char *) "self",(char *) "mode", NULL
32228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32230 if (SWIG_arg_fail(1)) SWIG_fail
;
32233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32234 if (SWIG_arg_fail(2)) SWIG_fail
;
32235 if (arg2
== NULL
) {
32236 SWIG_null_ref("wxVideoMode");
32238 if (SWIG_arg_fail(2)) SWIG_fail
;
32242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32243 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32245 wxPyEndAllowThreads(__tstate
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32248 resultobj
= result
;
32255 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32256 PyObject
*resultobj
= NULL
;
32257 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32258 wxVideoMode result
;
32259 PyObject
* obj0
= 0 ;
32260 char *kwnames
[] = {
32261 (char *) "self", NULL
32264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32266 if (SWIG_arg_fail(1)) SWIG_fail
;
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32275 wxVideoMode
* resultptr
;
32276 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32285 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
= NULL
;
32287 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32288 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32289 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32291 PyObject
* obj0
= 0 ;
32292 PyObject
* obj1
= 0 ;
32293 char *kwnames
[] = {
32294 (char *) "self",(char *) "mode", NULL
32297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32299 if (SWIG_arg_fail(1)) SWIG_fail
;
32302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32303 if (SWIG_arg_fail(2)) SWIG_fail
;
32304 if (arg2
== NULL
) {
32305 SWIG_null_ref("wxVideoMode");
32307 if (SWIG_arg_fail(2)) SWIG_fail
;
32311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32312 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32314 wxPyEndAllowThreads(__tstate
);
32315 if (PyErr_Occurred()) SWIG_fail
;
32318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32326 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32327 PyObject
*resultobj
= NULL
;
32328 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32329 PyObject
* obj0
= 0 ;
32330 char *kwnames
[] = {
32331 (char *) "self", NULL
32334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32336 if (SWIG_arg_fail(1)) SWIG_fail
;
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32339 (arg1
)->ResetMode();
32341 wxPyEndAllowThreads(__tstate
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32344 Py_INCREF(Py_None
); resultobj
= Py_None
;
32351 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32354 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32356 return Py_BuildValue((char *)"");
32358 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
= NULL
;
32360 wxStandardPaths
*result
;
32361 char *kwnames
[] = {
32365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32370 wxPyEndAllowThreads(__tstate
);
32371 if (PyErr_Occurred()) SWIG_fail
;
32373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32380 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32381 PyObject
*resultobj
= NULL
;
32382 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32384 PyObject
* obj0
= 0 ;
32385 char *kwnames
[] = {
32386 (char *) "self", NULL
32389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32391 if (SWIG_arg_fail(1)) SWIG_fail
;
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32412 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
= NULL
;
32414 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32416 PyObject
* obj0
= 0 ;
32417 char *kwnames
[] = {
32418 (char *) "self", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32444 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32445 PyObject
*resultobj
= NULL
;
32446 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32448 PyObject
* obj0
= 0 ;
32449 char *kwnames
[] = {
32450 (char *) "self", NULL
32453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32455 if (SWIG_arg_fail(1)) SWIG_fail
;
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32476 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
= NULL
;
32478 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32480 PyObject
* obj0
= 0 ;
32481 char *kwnames
[] = {
32482 (char *) "self", NULL
32485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail
;
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32490 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32508 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32509 PyObject
*resultobj
= NULL
;
32510 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32512 PyObject
* obj0
= 0 ;
32513 char *kwnames
[] = {
32514 (char *) "self", NULL
32517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32519 if (SWIG_arg_fail(1)) SWIG_fail
;
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32540 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32541 PyObject
*resultobj
= NULL
;
32542 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32544 PyObject
* obj0
= 0 ;
32545 char *kwnames
[] = {
32546 (char *) "self", NULL
32549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32551 if (SWIG_arg_fail(1)) SWIG_fail
;
32553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32554 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32572 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32573 PyObject
*resultobj
= NULL
;
32574 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32576 PyObject
* obj0
= 0 ;
32577 char *kwnames
[] = {
32578 (char *) "self", NULL
32581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32583 if (SWIG_arg_fail(1)) SWIG_fail
;
32585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32586 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32604 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32605 PyObject
*resultobj
= NULL
;
32606 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32607 wxString
*arg2
= 0 ;
32608 bool temp2
= false ;
32609 PyObject
* obj0
= 0 ;
32610 PyObject
* obj1
= 0 ;
32611 char *kwnames
[] = {
32612 (char *) "self",(char *) "prefix", NULL
32615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32617 if (SWIG_arg_fail(1)) SWIG_fail
;
32619 arg2
= wxString_in_helper(obj1
);
32620 if (arg2
== NULL
) SWIG_fail
;
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 Py_INCREF(Py_None
); resultobj
= Py_None
;
32645 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32646 PyObject
*resultobj
= NULL
;
32647 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32649 PyObject
* obj0
= 0 ;
32650 char *kwnames
[] = {
32651 (char *) "self", NULL
32654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32656 if (SWIG_arg_fail(1)) SWIG_fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32677 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32680 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32682 return Py_BuildValue((char *)"");
32684 static PyMethodDef SwigMethods
[] = {
32685 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32692 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32700 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32782 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32789 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"delete_ToolTip", (PyCFunction
) _wrap_delete_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32798 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
32817 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
32820 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
32823 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
32826 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
32832 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
32846 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
32852 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
32858 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
32861 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
32875 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
32878 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
32879 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
32882 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"delete_Log", (PyCFunction
) _wrap_delete_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
32910 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
32912 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
32914 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
32916 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
32923 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
32929 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
32933 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
32947 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
32951 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
32954 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
32971 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
32979 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
33026 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
33044 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33054 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33070 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33086 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33100 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33111 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33154 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33157 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33160 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33164 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33263 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33264 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33265 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33266 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33283 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33328 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33362 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33370 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33371 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33376 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33385 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33392 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33395 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33398 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33403 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33406 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33410 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33413 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33417 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33418 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33422 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33426 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33428 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33438 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33451 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33455 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33459 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33467 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33474 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33481 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33483 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33485 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33487 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33497 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33503 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33505 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33517 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33518 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33519 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33520 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33524 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33525 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33526 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33527 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33528 { NULL
, NULL
, 0, NULL
}
33532 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33534 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33535 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33537 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33538 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33540 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33541 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33543 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33544 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33546 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33547 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33549 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33550 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33552 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33553 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33555 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33556 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33558 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33559 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33561 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33562 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33564 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33565 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33567 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33568 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33570 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33571 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33573 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33574 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33576 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33577 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33579 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33580 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33582 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33583 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33585 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33586 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33588 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33589 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33591 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33592 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33594 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33595 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33597 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33598 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33600 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33601 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33603 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33604 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33606 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33607 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33609 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33610 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33612 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33613 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33615 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33616 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33618 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33619 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33621 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33622 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33624 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33625 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33627 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33628 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33630 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33631 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33633 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33634 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33636 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33637 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33639 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33640 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33642 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33643 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33645 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33646 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33648 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33649 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33651 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33652 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33654 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33655 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33657 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33658 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33660 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33661 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33663 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33664 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33666 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33667 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33669 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33670 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33672 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33673 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33675 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33676 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33678 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33679 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33681 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33682 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33684 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33685 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33687 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33688 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33690 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33691 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33693 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33694 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33696 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33697 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33699 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33700 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33702 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33703 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33705 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33706 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33708 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33709 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33711 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33712 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33714 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33715 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33717 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33718 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33720 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33721 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33723 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33724 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33726 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33729 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33730 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33732 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33733 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33735 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33736 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33738 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33739 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33741 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33742 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33744 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33745 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33747 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33748 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33750 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33751 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33753 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33754 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33756 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33757 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33759 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33760 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33762 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33765 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33766 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33768 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33769 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33771 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33772 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33774 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33775 return (void *)((wxObject
*) ((wxSizer
*) x
));
33777 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33778 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33780 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33781 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33783 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33786 static void *_p_wxEventTo_p_wxObject(void *x
) {
33787 return (void *)((wxObject
*) ((wxEvent
*) x
));
33789 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33790 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33792 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33793 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33795 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33796 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33798 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33799 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33801 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33802 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33804 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33805 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33807 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33808 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33810 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33811 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33813 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33814 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33816 static void *_p_wxControlTo_p_wxObject(void *x
) {
33817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33819 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33820 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33822 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
33823 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
33825 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33826 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33828 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
33829 return (void *)((wxObject
*) ((wxClipboard
*) x
));
33831 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33832 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33834 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33835 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33837 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33840 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33841 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33843 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
33844 return (void *)((wxObject
*) ((wxToolTip
*) x
));
33846 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33847 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33849 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33852 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33853 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33855 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33858 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33859 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33861 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33862 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33864 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33865 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33867 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33868 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33870 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33871 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33873 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33874 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33876 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33877 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33879 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33882 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33885 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33888 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33891 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33894 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33897 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33900 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33903 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33906 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33909 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33912 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33915 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33918 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33921 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33924 static void *_p_wxImageTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) ((wxImage
*) x
));
33927 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33930 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
33933 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
33936 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33939 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33942 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33945 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33948 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33951 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33954 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
33957 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33960 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33963 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33964 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33966 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33967 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33969 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33970 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33972 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33973 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33975 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33976 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33978 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
33979 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
33981 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33984 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33985 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33987 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33988 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33990 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33991 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33993 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33996 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
33997 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
33999 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34002 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34005 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34006 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34008 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
34009 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
34011 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
34012 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
34014 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
34015 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
34017 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
34018 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
34020 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
34021 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
34023 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
34024 return (void *)((wxLog
*) ((wxLogChain
*) x
));
34026 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
34027 return (void *)((wxLog
*) ((wxLogGui
*) x
));
34029 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
34030 return (void *)((wxLog
*) ((wxPyLog
*) x
));
34032 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34033 return (void *)((wxWindow
*) ((wxControl
*) x
));
34035 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34036 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34038 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34039 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34041 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
34042 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
34044 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
34045 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
34047 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34048 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34049 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34050 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34051 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34052 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34053 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34054 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34055 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34056 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34057 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34058 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34059 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34060 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34061 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34062 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34063 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34064 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34065 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34066 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34067 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34068 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34069 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34070 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34071 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34072 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34073 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34074 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34075 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34076 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34077 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34078 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34079 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34080 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34081 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34082 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34083 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34084 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34085 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34086 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34087 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34088 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34089 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34090 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34091 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34092 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34093 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34094 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34095 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34096 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34097 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34098 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34099 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34100 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34101 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34102 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34103 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34104 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34105 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34106 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34107 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34108 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34109 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34110 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34111 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34112 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34113 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34114 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34115 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34116 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34117 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34118 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34119 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34120 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34121 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34122 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34123 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34124 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34125 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34126 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34127 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34128 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34129 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34130 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34131 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34132 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34133 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34134 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34135 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34136 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34137 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34138 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34139 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34140 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34141 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34142 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34143 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34144 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34145 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34146 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34147 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34148 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34149 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34150 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34151 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34152 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34153 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34154 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34155 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34156 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34157 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34158 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34159 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34160 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34161 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34162 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34163 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34164 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34165 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34166 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34167 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34168 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34169 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34170 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34171 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34172 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34173 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34174 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34175 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34176 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34177 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34178 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34179 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34180 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34181 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34182 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34183 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34184 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34185 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34186 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34187 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34188 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34189 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34190 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34191 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34192 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34193 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34194 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34195 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34196 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34197 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34198 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34199 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34200 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34201 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34202 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34203 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34204 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34205 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34206 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34207 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34208 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34209 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34210 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34211 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34212 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34213 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34214 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34215 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34216 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34217 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34218 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34220 static swig_type_info
*swig_type_initial
[] = {
34222 &_swigt__p_form_ops_t
,
34224 &_swigt__p_unsigned_char
,
34225 &_swigt__p_unsigned_int
,
34226 &_swigt__p_unsigned_long
,
34228 &_swigt__p_wxANIHandler
,
34229 &_swigt__p_wxAcceleratorTable
,
34230 &_swigt__p_wxActivateEvent
,
34231 &_swigt__p_wxArrayString
,
34232 &_swigt__p_wxBMPHandler
,
34233 &_swigt__p_wxBitmap
,
34234 &_swigt__p_wxBitmapDataObject
,
34235 &_swigt__p_wxBoxSizer
,
34236 &_swigt__p_wxBusyCursor
,
34237 &_swigt__p_wxBusyInfo
,
34238 &_swigt__p_wxCURHandler
,
34239 &_swigt__p_wxCaret
,
34241 &_swigt__p_wxChildFocusEvent
,
34242 &_swigt__p_wxClipboard
,
34243 &_swigt__p_wxClipboardLocker
,
34244 &_swigt__p_wxCloseEvent
,
34245 &_swigt__p_wxColour
,
34246 &_swigt__p_wxCommandEvent
,
34247 &_swigt__p_wxConfig
,
34248 &_swigt__p_wxConfigBase
,
34249 &_swigt__p_wxConfigPathChanger
,
34250 &_swigt__p_wxContextMenuEvent
,
34251 &_swigt__p_wxControl
,
34252 &_swigt__p_wxControlWithItems
,
34253 &_swigt__p_wxCursor
,
34254 &_swigt__p_wxCustomDataObject
,
34256 &_swigt__p_wxDataFormat
,
34257 &_swigt__p_wxDataObject
,
34258 &_swigt__p_wxDataObjectComposite
,
34259 &_swigt__p_wxDataObjectSimple
,
34260 &_swigt__p_wxDateEvent
,
34261 &_swigt__p_wxDateSpan
,
34262 &_swigt__p_wxDateTime
,
34263 &_swigt__p_wxDateTime__TimeZone
,
34264 &_swigt__p_wxDisplay
,
34265 &_swigt__p_wxDisplayChangedEvent
,
34266 &_swigt__p_wxDropFilesEvent
,
34267 &_swigt__p_wxDuplexMode
,
34268 &_swigt__p_wxEraseEvent
,
34269 &_swigt__p_wxEvent
,
34270 &_swigt__p_wxEvtHandler
,
34271 &_swigt__p_wxFSFile
,
34272 &_swigt__p_wxFileConfig
,
34273 &_swigt__p_wxFileDataObject
,
34274 &_swigt__p_wxFileHistory
,
34275 &_swigt__p_wxFileSystem
,
34276 &_swigt__p_wxFileType
,
34277 &_swigt__p_wxFileTypeInfo
,
34278 &_swigt__p_wxFlexGridSizer
,
34279 &_swigt__p_wxFocusEvent
,
34281 &_swigt__p_wxFrame
,
34282 &_swigt__p_wxGBSizerItem
,
34283 &_swigt__p_wxGIFHandler
,
34284 &_swigt__p_wxGridBagSizer
,
34285 &_swigt__p_wxGridSizer
,
34286 &_swigt__p_wxICOHandler
,
34288 &_swigt__p_wxIconizeEvent
,
34289 &_swigt__p_wxIdleEvent
,
34290 &_swigt__p_wxImage
,
34291 &_swigt__p_wxImageHandler
,
34292 &_swigt__p_wxIndividualLayoutConstraint
,
34293 &_swigt__p_wxInitDialogEvent
,
34294 &_swigt__p_wxJPEGHandler
,
34295 &_swigt__p_wxJoystick
,
34296 &_swigt__p_wxJoystickEvent
,
34297 &_swigt__p_wxKeyEvent
,
34298 &_swigt__p_wxKillError
,
34299 &_swigt__p_wxLayoutConstraints
,
34301 &_swigt__p_wxLogBuffer
,
34302 &_swigt__p_wxLogChain
,
34303 &_swigt__p_wxLogGui
,
34304 &_swigt__p_wxLogNull
,
34305 &_swigt__p_wxLogStderr
,
34306 &_swigt__p_wxLogTextCtrl
,
34307 &_swigt__p_wxLogWindow
,
34308 &_swigt__p_wxMaximizeEvent
,
34309 &_swigt__p_wxMemorySize
,
34311 &_swigt__p_wxMenuBar
,
34312 &_swigt__p_wxMenuEvent
,
34313 &_swigt__p_wxMenuItem
,
34314 &_swigt__p_wxMetafileDataObject
,
34315 &_swigt__p_wxMimeTypesManager
,
34316 &_swigt__p_wxMouseCaptureChangedEvent
,
34317 &_swigt__p_wxMouseEvent
,
34318 &_swigt__p_wxMouseState
,
34319 &_swigt__p_wxMoveEvent
,
34320 &_swigt__p_wxMutexGuiLocker
,
34321 &_swigt__p_wxNavigationKeyEvent
,
34322 &_swigt__p_wxNcPaintEvent
,
34323 &_swigt__p_wxNotifyEvent
,
34324 &_swigt__p_wxObject
,
34325 &_swigt__p_wxOutputStream
,
34326 &_swigt__p_wxPCXHandler
,
34327 &_swigt__p_wxPNGHandler
,
34328 &_swigt__p_wxPNMHandler
,
34329 &_swigt__p_wxPaintEvent
,
34330 &_swigt__p_wxPaletteChangedEvent
,
34331 &_swigt__p_wxPaperSize
,
34332 &_swigt__p_wxPoint
,
34333 &_swigt__p_wxProcessEvent
,
34334 &_swigt__p_wxPyApp
,
34335 &_swigt__p_wxPyArtProvider
,
34336 &_swigt__p_wxPyBitmapDataObject
,
34337 &_swigt__p_wxPyCommandEvent
,
34338 &_swigt__p_wxPyDataObjectSimple
,
34339 &_swigt__p_wxPyDropSource
,
34340 &_swigt__p_wxPyDropTarget
,
34341 &_swigt__p_wxPyEvent
,
34342 &_swigt__p_wxPyFileDropTarget
,
34343 &_swigt__p_wxPyImageHandler
,
34344 &_swigt__p_wxPyLog
,
34345 &_swigt__p_wxPyProcess
,
34346 &_swigt__p_wxPySizer
,
34347 &_swigt__p_wxPyTextDataObject
,
34348 &_swigt__p_wxPyTextDropTarget
,
34349 &_swigt__p_wxPyTimer
,
34350 &_swigt__p_wxPyTipProvider
,
34351 &_swigt__p_wxPyValidator
,
34352 &_swigt__p_wxQueryNewPaletteEvent
,
34354 &_swigt__p_wxScrollEvent
,
34355 &_swigt__p_wxScrollWinEvent
,
34356 &_swigt__p_wxSetCursorEvent
,
34357 &_swigt__p_wxShowEvent
,
34358 &_swigt__p_wxSingleInstanceChecker
,
34360 &_swigt__p_wxSizeEvent
,
34361 &_swigt__p_wxSizer
,
34362 &_swigt__p_wxSizerItem
,
34363 &_swigt__p_wxSound
,
34364 &_swigt__p_wxStandardPaths
,
34365 &_swigt__p_wxStaticBoxSizer
,
34366 &_swigt__p_wxStdDialogButtonSizer
,
34367 &_swigt__p_wxStopWatch
,
34368 &_swigt__p_wxString
,
34369 &_swigt__p_wxSysColourChangedEvent
,
34370 &_swigt__p_wxSystemOptions
,
34371 &_swigt__p_wxSystemSettings
,
34372 &_swigt__p_wxTIFFHandler
,
34373 &_swigt__p_wxTextCtrl
,
34374 &_swigt__p_wxTextDataObject
,
34375 &_swigt__p_wxTimeSpan
,
34376 &_swigt__p_wxTimer
,
34377 &_swigt__p_wxTimerEvent
,
34378 &_swigt__p_wxTimerRunner
,
34379 &_swigt__p_wxTipProvider
,
34380 &_swigt__p_wxToolTip
,
34381 &_swigt__p_wxURLDataObject
,
34382 &_swigt__p_wxUpdateUIEvent
,
34383 &_swigt__p_wxValidator
,
34384 &_swigt__p_wxVideoMode
,
34385 &_swigt__p_wxWindow
,
34386 &_swigt__p_wxWindowCreateEvent
,
34387 &_swigt__p_wxWindowDestroyEvent
,
34388 &_swigt__p_wxWindowDisabler
,
34389 &_swigt__p_wxXPMHandler
,
34390 &_swigt__ptrdiff_t
,
34391 &_swigt__std__ptrdiff_t
,
34392 &_swigt__unsigned_int
,
34395 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34396 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34397 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34398 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34399 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34400 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34401 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34402 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34403 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34404 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}};
34405 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34406 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34407 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34408 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34409 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34410 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34411 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34412 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34413 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}};
34414 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34415 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34416 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34417 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34418 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34419 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}};
34420 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34421 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}};
34422 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34423 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34424 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34425 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34426 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34427 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34428 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34429 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34430 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34431 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34432 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34433 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34434 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34435 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34436 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34437 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34438 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34439 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34440 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34441 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34442 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34443 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34444 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34445 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34446 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34447 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34448 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34449 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34450 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34451 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34452 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34453 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34454 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34455 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34456 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34457 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34458 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34459 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34460 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34461 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34462 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34463 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}};
34464 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34465 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34466 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34467 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34468 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34469 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34470 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}};
34471 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34472 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34473 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34474 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34475 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34476 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34477 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34478 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34479 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34480 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34481 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34482 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}};
34483 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34484 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34485 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34486 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34487 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34488 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34489 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34490 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34491 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34492 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34493 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34494 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34495 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34496 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34497 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34498 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34499 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34500 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34501 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34502 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34503 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34504 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34505 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34506 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34507 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34508 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34509 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34510 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34511 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34512 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34513 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34514 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34515 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34516 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34517 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34518 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34519 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34520 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34521 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34522 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34523 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34524 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34525 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34526 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}};
34527 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34528 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34529 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34530 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34531 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34532 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34533 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34534 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34535 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}};
34536 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34537 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34538 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34539 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34540 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34541 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34542 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34543 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34544 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34545 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34546 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34547 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34548 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34549 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34550 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34551 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34552 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34553 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}};
34554 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34555 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34556 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34557 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34558 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}};
34559 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34560 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34561 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34562 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}};
34563 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34564 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34565 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34566 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34568 static swig_cast_info
*swig_cast_initial
[] = {
34570 _swigc__p_form_ops_t
,
34572 _swigc__p_unsigned_char
,
34573 _swigc__p_unsigned_int
,
34574 _swigc__p_unsigned_long
,
34576 _swigc__p_wxANIHandler
,
34577 _swigc__p_wxAcceleratorTable
,
34578 _swigc__p_wxActivateEvent
,
34579 _swigc__p_wxArrayString
,
34580 _swigc__p_wxBMPHandler
,
34581 _swigc__p_wxBitmap
,
34582 _swigc__p_wxBitmapDataObject
,
34583 _swigc__p_wxBoxSizer
,
34584 _swigc__p_wxBusyCursor
,
34585 _swigc__p_wxBusyInfo
,
34586 _swigc__p_wxCURHandler
,
34589 _swigc__p_wxChildFocusEvent
,
34590 _swigc__p_wxClipboard
,
34591 _swigc__p_wxClipboardLocker
,
34592 _swigc__p_wxCloseEvent
,
34593 _swigc__p_wxColour
,
34594 _swigc__p_wxCommandEvent
,
34595 _swigc__p_wxConfig
,
34596 _swigc__p_wxConfigBase
,
34597 _swigc__p_wxConfigPathChanger
,
34598 _swigc__p_wxContextMenuEvent
,
34599 _swigc__p_wxControl
,
34600 _swigc__p_wxControlWithItems
,
34601 _swigc__p_wxCursor
,
34602 _swigc__p_wxCustomDataObject
,
34604 _swigc__p_wxDataFormat
,
34605 _swigc__p_wxDataObject
,
34606 _swigc__p_wxDataObjectComposite
,
34607 _swigc__p_wxDataObjectSimple
,
34608 _swigc__p_wxDateEvent
,
34609 _swigc__p_wxDateSpan
,
34610 _swigc__p_wxDateTime
,
34611 _swigc__p_wxDateTime__TimeZone
,
34612 _swigc__p_wxDisplay
,
34613 _swigc__p_wxDisplayChangedEvent
,
34614 _swigc__p_wxDropFilesEvent
,
34615 _swigc__p_wxDuplexMode
,
34616 _swigc__p_wxEraseEvent
,
34618 _swigc__p_wxEvtHandler
,
34619 _swigc__p_wxFSFile
,
34620 _swigc__p_wxFileConfig
,
34621 _swigc__p_wxFileDataObject
,
34622 _swigc__p_wxFileHistory
,
34623 _swigc__p_wxFileSystem
,
34624 _swigc__p_wxFileType
,
34625 _swigc__p_wxFileTypeInfo
,
34626 _swigc__p_wxFlexGridSizer
,
34627 _swigc__p_wxFocusEvent
,
34630 _swigc__p_wxGBSizerItem
,
34631 _swigc__p_wxGIFHandler
,
34632 _swigc__p_wxGridBagSizer
,
34633 _swigc__p_wxGridSizer
,
34634 _swigc__p_wxICOHandler
,
34636 _swigc__p_wxIconizeEvent
,
34637 _swigc__p_wxIdleEvent
,
34639 _swigc__p_wxImageHandler
,
34640 _swigc__p_wxIndividualLayoutConstraint
,
34641 _swigc__p_wxInitDialogEvent
,
34642 _swigc__p_wxJPEGHandler
,
34643 _swigc__p_wxJoystick
,
34644 _swigc__p_wxJoystickEvent
,
34645 _swigc__p_wxKeyEvent
,
34646 _swigc__p_wxKillError
,
34647 _swigc__p_wxLayoutConstraints
,
34649 _swigc__p_wxLogBuffer
,
34650 _swigc__p_wxLogChain
,
34651 _swigc__p_wxLogGui
,
34652 _swigc__p_wxLogNull
,
34653 _swigc__p_wxLogStderr
,
34654 _swigc__p_wxLogTextCtrl
,
34655 _swigc__p_wxLogWindow
,
34656 _swigc__p_wxMaximizeEvent
,
34657 _swigc__p_wxMemorySize
,
34659 _swigc__p_wxMenuBar
,
34660 _swigc__p_wxMenuEvent
,
34661 _swigc__p_wxMenuItem
,
34662 _swigc__p_wxMetafileDataObject
,
34663 _swigc__p_wxMimeTypesManager
,
34664 _swigc__p_wxMouseCaptureChangedEvent
,
34665 _swigc__p_wxMouseEvent
,
34666 _swigc__p_wxMouseState
,
34667 _swigc__p_wxMoveEvent
,
34668 _swigc__p_wxMutexGuiLocker
,
34669 _swigc__p_wxNavigationKeyEvent
,
34670 _swigc__p_wxNcPaintEvent
,
34671 _swigc__p_wxNotifyEvent
,
34672 _swigc__p_wxObject
,
34673 _swigc__p_wxOutputStream
,
34674 _swigc__p_wxPCXHandler
,
34675 _swigc__p_wxPNGHandler
,
34676 _swigc__p_wxPNMHandler
,
34677 _swigc__p_wxPaintEvent
,
34678 _swigc__p_wxPaletteChangedEvent
,
34679 _swigc__p_wxPaperSize
,
34681 _swigc__p_wxProcessEvent
,
34683 _swigc__p_wxPyArtProvider
,
34684 _swigc__p_wxPyBitmapDataObject
,
34685 _swigc__p_wxPyCommandEvent
,
34686 _swigc__p_wxPyDataObjectSimple
,
34687 _swigc__p_wxPyDropSource
,
34688 _swigc__p_wxPyDropTarget
,
34689 _swigc__p_wxPyEvent
,
34690 _swigc__p_wxPyFileDropTarget
,
34691 _swigc__p_wxPyImageHandler
,
34693 _swigc__p_wxPyProcess
,
34694 _swigc__p_wxPySizer
,
34695 _swigc__p_wxPyTextDataObject
,
34696 _swigc__p_wxPyTextDropTarget
,
34697 _swigc__p_wxPyTimer
,
34698 _swigc__p_wxPyTipProvider
,
34699 _swigc__p_wxPyValidator
,
34700 _swigc__p_wxQueryNewPaletteEvent
,
34702 _swigc__p_wxScrollEvent
,
34703 _swigc__p_wxScrollWinEvent
,
34704 _swigc__p_wxSetCursorEvent
,
34705 _swigc__p_wxShowEvent
,
34706 _swigc__p_wxSingleInstanceChecker
,
34708 _swigc__p_wxSizeEvent
,
34710 _swigc__p_wxSizerItem
,
34712 _swigc__p_wxStandardPaths
,
34713 _swigc__p_wxStaticBoxSizer
,
34714 _swigc__p_wxStdDialogButtonSizer
,
34715 _swigc__p_wxStopWatch
,
34716 _swigc__p_wxString
,
34717 _swigc__p_wxSysColourChangedEvent
,
34718 _swigc__p_wxSystemOptions
,
34719 _swigc__p_wxSystemSettings
,
34720 _swigc__p_wxTIFFHandler
,
34721 _swigc__p_wxTextCtrl
,
34722 _swigc__p_wxTextDataObject
,
34723 _swigc__p_wxTimeSpan
,
34725 _swigc__p_wxTimerEvent
,
34726 _swigc__p_wxTimerRunner
,
34727 _swigc__p_wxTipProvider
,
34728 _swigc__p_wxToolTip
,
34729 _swigc__p_wxURLDataObject
,
34730 _swigc__p_wxUpdateUIEvent
,
34731 _swigc__p_wxValidator
,
34732 _swigc__p_wxVideoMode
,
34733 _swigc__p_wxWindow
,
34734 _swigc__p_wxWindowCreateEvent
,
34735 _swigc__p_wxWindowDestroyEvent
,
34736 _swigc__p_wxWindowDisabler
,
34737 _swigc__p_wxXPMHandler
,
34739 _swigc__std__ptrdiff_t
,
34740 _swigc__unsigned_int
,
34744 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34746 static swig_const_info swig_const_table
[] = {
34747 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34748 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34749 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34750 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34751 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34752 {0, 0, 0, 0.0, 0, 0}};
34757 /*************************************************************************
34758 * Type initialization:
34759 * This problem is tough by the requirement that no dynamic
34760 * memory is used. Also, since swig_type_info structures store pointers to
34761 * swig_cast_info structures and swig_cast_info structures store pointers back
34762 * to swig_type_info structures, we need some lookup code at initialization.
34763 * The idea is that swig generates all the structures that are needed.
34764 * The runtime then collects these partially filled structures.
34765 * The SWIG_InitializeModule function takes these initial arrays out of
34766 * swig_module, and does all the lookup, filling in the swig_module.types
34767 * array with the correct data and linking the correct swig_cast_info
34768 * structures together.
34770 * The generated swig_type_info structures are assigned staticly to an initial
34771 * array. We just loop though that array, and handle each type individually.
34772 * First we lookup if this type has been already loaded, and if so, use the
34773 * loaded structure instead of the generated one. Then we have to fill in the
34774 * cast linked list. The cast data is initially stored in something like a
34775 * two-dimensional array. Each row corresponds to a type (there are the same
34776 * number of rows as there are in the swig_type_initial array). Each entry in
34777 * a column is one of the swig_cast_info structures for that type.
34778 * The cast_initial array is actually an array of arrays, because each row has
34779 * a variable number of columns. So to actually build the cast linked list,
34780 * we find the array of casts associated with the type, and loop through it
34781 * adding the casts to the list. The one last trick we need to do is making
34782 * sure the type pointer in the swig_cast_info struct is correct.
34784 * First off, we lookup the cast->type name to see if it is already loaded.
34785 * There are three cases to handle:
34786 * 1) If the cast->type has already been loaded AND the type we are adding
34787 * casting info to has not been loaded (it is in this module), THEN we
34788 * replace the cast->type pointer with the type pointer that has already
34790 * 2) If BOTH types (the one we are adding casting info to, and the
34791 * cast->type) are loaded, THEN the cast info has already been loaded by
34792 * the previous module so we just ignore it.
34793 * 3) Finally, if cast->type has not already been loaded, then we add that
34794 * swig_cast_info to the linked list (because the cast->type) pointer will
34806 #define SWIGRUNTIME_DEBUG
34810 SWIG_InitializeModule(void *clientdata
) {
34812 swig_module_info
*module_head
;
34813 static int init_run
= 0;
34815 clientdata
= clientdata
;
34817 if (init_run
) return;
34820 /* Initialize the swig_module */
34821 swig_module
.type_initial
= swig_type_initial
;
34822 swig_module
.cast_initial
= swig_cast_initial
;
34824 /* Try and load any already created modules */
34825 module_head
= SWIG_GetModule(clientdata
);
34827 swig_module
.next
= module_head
->next
;
34828 module_head
->next
= &swig_module
;
34830 /* This is the first module loaded */
34831 swig_module
.next
= &swig_module
;
34832 SWIG_SetModule(clientdata
, &swig_module
);
34835 /* Now work on filling in swig_module.types */
34836 #ifdef SWIGRUNTIME_DEBUG
34837 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34839 for (i
= 0; i
< swig_module
.size
; ++i
) {
34840 swig_type_info
*type
= 0;
34841 swig_type_info
*ret
;
34842 swig_cast_info
*cast
;
34844 #ifdef SWIGRUNTIME_DEBUG
34845 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34848 /* if there is another module already loaded */
34849 if (swig_module
.next
!= &swig_module
) {
34850 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34853 /* Overwrite clientdata field */
34854 #ifdef SWIGRUNTIME_DEBUG
34855 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34857 if (swig_module
.type_initial
[i
]->clientdata
) {
34858 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34859 #ifdef SWIGRUNTIME_DEBUG
34860 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34864 type
= swig_module
.type_initial
[i
];
34867 /* Insert casting types */
34868 cast
= swig_module
.cast_initial
[i
];
34869 while (cast
->type
) {
34870 /* Don't need to add information already in the list */
34872 #ifdef SWIGRUNTIME_DEBUG
34873 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34875 if (swig_module
.next
!= &swig_module
) {
34876 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34877 #ifdef SWIGRUNTIME_DEBUG
34878 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34882 if (type
== swig_module
.type_initial
[i
]) {
34883 #ifdef SWIGRUNTIME_DEBUG
34884 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34889 /* Check for casting already in the list */
34890 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34891 #ifdef SWIGRUNTIME_DEBUG
34892 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34894 if (!ocast
) ret
= 0;
34899 #ifdef SWIGRUNTIME_DEBUG
34900 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34903 type
->cast
->prev
= cast
;
34904 cast
->next
= type
->cast
;
34910 /* Set entry in modules->types array equal to the type */
34911 swig_module
.types
[i
] = type
;
34913 swig_module
.types
[i
] = 0;
34915 #ifdef SWIGRUNTIME_DEBUG
34916 printf("**** SWIG_InitializeModule: Cast List ******\n");
34917 for (i
= 0; i
< swig_module
.size
; ++i
) {
34919 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34920 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34921 while (cast
->type
) {
34922 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34926 printf("---- Total casts: %d\n",j
);
34928 printf("**** SWIG_InitializeModule: Cast List ******\n");
34932 /* This function will propagate the clientdata field of type to
34933 * any new swig_type_info structures that have been added into the list
34934 * of equivalent types. It is like calling
34935 * SWIG_TypeClientData(type, clientdata) a second time.
34938 SWIG_PropagateClientData(void) {
34940 swig_cast_info
*equiv
;
34941 static int init_run
= 0;
34943 if (init_run
) return;
34946 for (i
= 0; i
< swig_module
.size
; i
++) {
34947 if (swig_module
.types
[i
]->clientdata
) {
34948 equiv
= swig_module
.types
[i
]->cast
;
34950 if (!equiv
->converter
) {
34951 if (equiv
->type
&& !equiv
->type
->clientdata
)
34952 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34954 equiv
= equiv
->next
;
34974 /* Python-specific SWIG API */
34975 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34976 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34977 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34979 /* -----------------------------------------------------------------------------
34980 * global variable support code.
34981 * ----------------------------------------------------------------------------- */
34983 typedef struct swig_globalvar
{
34984 char *name
; /* Name of global variable */
34985 PyObject
*(*get_attr
)(void); /* Return the current value */
34986 int (*set_attr
)(PyObject
*); /* Set the value */
34987 struct swig_globalvar
*next
;
34990 typedef struct swig_varlinkobject
{
34992 swig_globalvar
*vars
;
34993 } swig_varlinkobject
;
34995 SWIGINTERN PyObject
*
34996 swig_varlink_repr(swig_varlinkobject
*v
) {
34998 return PyString_FromString("<Swig global variables>");
35002 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
35003 swig_globalvar
*var
;
35005 fprintf(fp
,"Swig global variables { ");
35006 for (var
= v
->vars
; var
; var
=var
->next
) {
35007 fprintf(fp
,"%s", var
->name
);
35008 if (var
->next
) fprintf(fp
,", ");
35010 fprintf(fp
," }\n");
35014 SWIGINTERN PyObject
*
35015 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
35016 swig_globalvar
*var
= v
->vars
;
35018 if (strcmp(var
->name
,n
) == 0) {
35019 return (*var
->get_attr
)();
35023 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35028 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
35029 swig_globalvar
*var
= v
->vars
;
35031 if (strcmp(var
->name
,n
) == 0) {
35032 return (*var
->set_attr
)(p
);
35036 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35040 SWIGINTERN PyTypeObject
*
35041 swig_varlink_type(void) {
35042 static char varlink__doc__
[] = "Swig var link object";
35043 static PyTypeObject varlink_type
35044 #if !defined(__cplusplus)
35046 static int type_init
= 0;
35051 PyObject_HEAD_INIT(&PyType_Type
)
35052 0, /* Number of items in variable part (ob_size) */
35053 (char *)"swigvarlink", /* Type name (tp_name) */
35054 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35055 0, /* Itemsize (tp_itemsize) */
35056 0, /* Deallocator (tp_dealloc) */
35057 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35058 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35059 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35060 0, /* tp_compare */
35061 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35062 0, /* tp_as_number */
35063 0, /* tp_as_sequence */
35064 0, /* tp_as_mapping */
35068 0, /* tp_getattro */
35069 0, /* tp_setattro */
35070 0, /* tp_as_buffer */
35072 varlink__doc__
, /* tp_doc */
35073 #if PY_VERSION_HEX >= 0x02000000
35074 0, /* tp_traverse */
35077 #if PY_VERSION_HEX >= 0x02010000
35078 0, /* tp_richcompare */
35079 0, /* tp_weaklistoffset */
35081 #if PY_VERSION_HEX >= 0x02020000
35082 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35084 #if PY_VERSION_HEX >= 0x02030000
35087 #ifdef COUNT_ALLOCS
35088 0,0,0,0 /* tp_alloc -> tp_next */
35091 #if !defined(__cplusplus)
35092 varlink_type
= tmp
;
35096 return &varlink_type
;
35099 /* Create a variable linking object for use later */
35100 SWIGINTERN PyObject
*
35101 SWIG_Python_newvarlink(void) {
35102 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35106 return ((PyObject
*) result
);
35110 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35111 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35112 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35114 size_t size
= strlen(name
)+1;
35115 gv
->name
= (char *)malloc(size
);
35117 strncpy(gv
->name
,name
,size
);
35118 gv
->get_attr
= get_attr
;
35119 gv
->set_attr
= set_attr
;
35120 gv
->next
= v
->vars
;
35126 /* -----------------------------------------------------------------------------
35127 * constants/methods manipulation
35128 * ----------------------------------------------------------------------------- */
35130 /* Install Constants */
35132 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35135 for (i
= 0; constants
[i
].type
; ++i
) {
35136 switch(constants
[i
].type
) {
35138 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35140 case SWIG_PY_FLOAT
:
35141 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35143 case SWIG_PY_STRING
:
35144 if (constants
[i
].pvalue
) {
35145 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35147 Py_INCREF(Py_None
);
35151 case SWIG_PY_POINTER
:
35152 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35154 case SWIG_PY_BINARY
:
35155 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35162 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35168 /* -----------------------------------------------------------------------------*/
35169 /* Fix SwigMethods to carry the callback ptrs when needed */
35170 /* -----------------------------------------------------------------------------*/
35173 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35174 swig_const_info
*const_table
,
35175 swig_type_info
**types
,
35176 swig_type_info
**types_initial
) {
35178 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35179 char *c
= methods
[i
].ml_doc
;
35180 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35182 swig_const_info
*ci
= 0;
35183 char *name
= c
+ 10;
35184 for (j
= 0; const_table
[j
].type
; ++j
) {
35185 if (strncmp(const_table
[j
].name
, name
,
35186 strlen(const_table
[j
].name
)) == 0) {
35187 ci
= &(const_table
[j
]);
35192 size_t shift
= (ci
->ptype
) - types
;
35193 swig_type_info
*ty
= types_initial
[shift
];
35194 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35195 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35196 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35199 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35201 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35203 strncpy(buff
, "swig_ptr: ", 10);
35205 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35206 methods
[i
].ml_doc
= ndoc
;
35214 /* -----------------------------------------------------------------------------*
35215 * Initialize type list
35216 * -----------------------------------------------------------------------------*/
35222 /* -----------------------------------------------------------------------------*
35223 * Partial Init method
35224 * -----------------------------------------------------------------------------*/
35229 SWIGEXPORT
void SWIG_init(void) {
35230 static PyObject
*SWIG_globals
= 0;
35232 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35234 /* Fix SwigMethods to carry the callback ptrs when needed */
35235 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35237 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35238 d
= PyModule_GetDict(m
);
35240 SWIG_InitializeModule(0);
35241 SWIG_InstallConstants(d
,swig_const_table
);
35244 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35247 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35250 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35253 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35256 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35259 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35262 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35265 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35268 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35271 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35274 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35277 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35280 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35283 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35286 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35289 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35292 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35295 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35298 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35301 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35304 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35307 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35310 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35313 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35316 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35319 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35322 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35325 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35328 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35331 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35334 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35337 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35340 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35343 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35346 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35349 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35352 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35355 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35358 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35361 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35364 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35367 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35370 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35373 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35376 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35379 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35382 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35385 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35388 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35391 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35394 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35397 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35400 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35403 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35406 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35409 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35412 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35415 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35418 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35421 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35424 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35427 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35430 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35433 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35436 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35439 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35442 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35445 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35448 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35451 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35454 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35457 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35460 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35463 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35466 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35469 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35472 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35475 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35478 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35481 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35484 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35487 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35490 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35493 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35496 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35499 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35502 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35505 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35508 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35511 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35514 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35516 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35517 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35518 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35519 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35520 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35522 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35525 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35528 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35531 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35533 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35535 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35538 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35541 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35544 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35547 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35550 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35553 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35556 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35559 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35562 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35565 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35568 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35570 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35571 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35572 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35573 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35574 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35576 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35579 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35582 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35585 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35588 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35591 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35594 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35597 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35600 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35603 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35606 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35609 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35612 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35615 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35618 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35621 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35624 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35627 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35630 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35633 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35636 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35639 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35642 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35645 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35648 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35651 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35654 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35657 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35660 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35663 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35666 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35668 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35670 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35673 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35676 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35679 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35682 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35685 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35688 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35691 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35694 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35697 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35700 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35703 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35706 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35708 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35709 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35710 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35711 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35713 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35716 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35719 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35722 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35725 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35728 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35731 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35734 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35736 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35737 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35738 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35739 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35740 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35741 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35742 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35743 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35744 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35745 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35746 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35747 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35748 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35749 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35750 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35751 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35752 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35753 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35754 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35755 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35756 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35757 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35758 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35759 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35760 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35761 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35762 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35763 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35764 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35794 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35797 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
35800 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
35803 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
35806 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
35809 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
35812 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
35815 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
35818 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
35821 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
35823 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
35824 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
35826 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
35829 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
35832 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
35835 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
35838 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
35841 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
35844 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
35847 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
35850 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
35853 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
35856 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
35859 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
35862 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
35865 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
35868 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
35871 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
35874 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
35877 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
35880 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
35883 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
35886 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
35889 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
35892 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
35895 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
35898 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
35901 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
35904 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
35907 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
35910 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
35913 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
35916 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
35919 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
35922 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
35925 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
35928 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
35931 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
35934 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
35937 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
35940 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
35943 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
35946 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
35949 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
35952 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
35955 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
35958 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
35961 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
35964 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
35967 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
35970 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
35973 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
35976 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
35979 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
35982 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
35985 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
35988 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
35991 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
35994 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
35997 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
36000 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
36003 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
36006 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
36009 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
36012 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
36015 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
36018 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
36021 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
36024 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
36027 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
36030 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
36033 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
36036 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
36039 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
36042 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36045 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36048 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36051 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36054 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36057 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36060 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36063 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36066 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36069 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36072 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36075 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36078 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36081 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36084 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36087 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36090 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36093 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36096 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36099 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36102 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36105 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36108 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36111 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36114 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36117 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36120 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36123 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36126 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36129 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36132 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36135 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36138 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36141 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36144 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36147 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36150 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36153 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36156 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36159 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36162 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36165 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36168 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36171 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36174 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36177 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36180 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36183 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36186 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36189 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36192 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36195 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36198 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36201 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36204 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36207 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36210 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36213 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36216 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36219 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36222 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36225 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36228 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36231 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36234 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36237 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36240 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36243 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36246 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36249 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36252 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36255 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36258 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36261 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36264 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36267 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36270 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36273 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36276 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36279 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36282 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36285 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36288 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36290 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36292 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36295 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36298 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36301 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36304 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36307 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36310 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36313 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36316 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36319 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36322 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36325 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36328 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36331 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36334 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36337 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36340 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36343 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36346 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36349 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36351 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36353 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36356 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36359 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36362 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36365 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36368 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36371 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36374 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36377 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36380 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36383 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36386 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36389 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36390 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36391 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36392 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36394 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);