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 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxFileHistory swig_types[2]
1344 #define SWIGTYPE_p_wxLog swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxEvent swig_types[5]
1347 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6]
1348 #define SWIGTYPE_p_wxConfigBase swig_types[7]
1349 #define SWIGTYPE_p_wxDisplay swig_types[8]
1350 #define SWIGTYPE_p_wxFileType swig_types[9]
1351 #define SWIGTYPE_p_wxLogGui swig_types[10]
1352 #define SWIGTYPE_p_wxFont swig_types[11]
1353 #define SWIGTYPE_p_wxDataFormat swig_types[12]
1354 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
1355 #define SWIGTYPE_p_wxCaret swig_types[14]
1356 #define SWIGTYPE_ptrdiff_t swig_types[15]
1357 #define SWIGTYPE_std__ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_p_int swig_types[17]
1359 #define SWIGTYPE_p_wxSize swig_types[18]
1360 #define SWIGTYPE_p_wxClipboard swig_types[19]
1361 #define SWIGTYPE_p_wxStopWatch swig_types[20]
1362 #define SWIGTYPE_p_wxDC swig_types[21]
1363 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxLogStderr swig_types[24]
1366 #define SWIGTYPE_p_wxLogTextCtrl swig_types[25]
1367 #define SWIGTYPE_p_wxTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxBusyCursor swig_types[27]
1369 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
1370 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxPyTextDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxFileDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxURLDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxMetafileDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxSound swig_types[37]
1379 #define SWIGTYPE_p_wxTimerRunner swig_types[38]
1380 #define SWIGTYPE_p_wxLogWindow swig_types[39]
1381 #define SWIGTYPE_p_wxTimeSpan swig_types[40]
1382 #define SWIGTYPE_p_wxArrayString swig_types[41]
1383 #define SWIGTYPE_p_wxWindowDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxToolTip swig_types[44]
1386 #define SWIGTYPE_p_wxDataObjectComposite swig_types[45]
1387 #define SWIGTYPE_p_wxSystemSettings swig_types[46]
1388 #define SWIGTYPE_p_wxFileConfig swig_types[47]
1389 #define SWIGTYPE_p_wxVideoMode swig_types[48]
1390 #define SWIGTYPE_p_wxDataObjectSimple swig_types[49]
1391 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
1393 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_char swig_types[54]
1396 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[55]
1397 #define SWIGTYPE_p_wxStandardPaths swig_types[56]
1398 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
1399 #define SWIGTYPE_p_wxFrame swig_types[58]
1400 #define SWIGTYPE_p_wxTimer swig_types[59]
1401 #define SWIGTYPE_p_wxPaperSize swig_types[60]
1402 #define SWIGTYPE_p_wxMimeTypesManager swig_types[61]
1403 #define SWIGTYPE_p_wxPyArtProvider swig_types[62]
1404 #define SWIGTYPE_p_wxPyTipProvider swig_types[63]
1405 #define SWIGTYPE_p_wxTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxJoystick swig_types[65]
1407 #define SWIGTYPE_p_wxSystemOptions swig_types[66]
1408 #define SWIGTYPE_p_wxPoint swig_types[67]
1409 #define SWIGTYPE_p_wxJoystickEvent swig_types[68]
1410 #define SWIGTYPE_p_wxCursor swig_types[69]
1411 #define SWIGTYPE_p_wxObject swig_types[70]
1412 #define SWIGTYPE_p_wxOutputStream swig_types[71]
1413 #define SWIGTYPE_p_wxDateTime swig_types[72]
1414 #define SWIGTYPE_p_wxPyDropSource swig_types[73]
1415 #define SWIGTYPE_p_unsigned_long swig_types[74]
1416 #define SWIGTYPE_p_wxKillError swig_types[75]
1417 #define SWIGTYPE_p_wxWindow swig_types[76]
1418 #define SWIGTYPE_p_wxString swig_types[77]
1419 #define SWIGTYPE_p_wxPyProcess swig_types[78]
1420 #define SWIGTYPE_p_wxBitmap swig_types[79]
1421 #define SWIGTYPE_p_wxConfig swig_types[80]
1422 #define SWIGTYPE_unsigned_int swig_types[81]
1423 #define SWIGTYPE_p_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_char swig_types[83]
1425 #define SWIGTYPE_p_wxChar swig_types[84]
1426 #define SWIGTYPE_p_wxBusyInfo swig_types[85]
1427 #define SWIGTYPE_p_wxPyDropTarget swig_types[86]
1428 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxProcessEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPyLog swig_types[90]
1432 #define SWIGTYPE_p_wxLogNull swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxPyTimer swig_types[93]
1435 #define SWIGTYPE_p_wxConfigPathChanger swig_types[94]
1436 #define SWIGTYPE_p_wxDateSpan swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _misc_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_misc_
1447 #define SWIG_name "_misc_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1451 #include "wx/wxPython/pyistream.h"
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1458 #define SWIG_From_int PyInt_FromLong
1466 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1469 if (value
< min_value
) {
1471 PyErr_Format(PyExc_OverflowError
,
1472 "value %ld is less than '%s' minimum %ld",
1473 value
, errmsg
, min_value
);
1476 } else if (value
> max_value
) {
1478 PyErr_Format(PyExc_OverflowError
,
1479 "value %ld is greater than '%s' maximum %ld",
1480 value
, errmsg
, max_value
);
1489 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1491 if (PyNumber_Check(obj
)) {
1492 if (val
) *val
= PyInt_AsLong(obj
);
1496 SWIG_type_error("number", obj
);
1502 #if INT_MAX != LONG_MAX
1504 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1506 const char* errmsg
= val
? "int" : (char*)0;
1508 if (SWIG_AsVal_long(obj
, &v
)) {
1509 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1510 if (val
) *val
= (int)(v
);
1519 SWIG_type_error(errmsg
, obj
);
1525 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1527 return SWIG_AsVal_long(obj
,(long*)val
);
1533 SWIG_As_int(PyObject
* obj
)
1536 if (!SWIG_AsVal_int(obj
, &v
)) {
1538 this is needed to make valgrind/purify happier.
1540 memset((void*)&v
, 0, sizeof(int));
1547 SWIG_Check_int(PyObject
* obj
)
1549 return SWIG_AsVal_int(obj
, (int*)0);
1552 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1554 #include <wx/stockitem.h>
1556 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1557 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1558 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1560 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1561 #define SWIG_From_long PyInt_FromLong
1565 SWIGINTERNSHORT
long
1566 SWIG_As_long(PyObject
* obj
)
1569 if (!SWIG_AsVal_long(obj
, &v
)) {
1571 this is needed to make valgrind/purify happier.
1573 memset((void*)&v
, 0, sizeof(long));
1580 SWIG_Check_long(PyObject
* obj
)
1582 return SWIG_AsVal_long(obj
, (long*)0);
1587 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1589 if (obj
== Py_True
) {
1590 if (val
) *val
= true;
1593 if (obj
== Py_False
) {
1594 if (val
) *val
= false;
1598 if (SWIG_AsVal_int(obj
, &res
)) {
1599 if (val
) *val
= res
? true : false;
1605 SWIG_type_error("bool", obj
);
1611 SWIGINTERNSHORT
bool
1612 SWIG_As_bool(PyObject
* obj
)
1615 if (!SWIG_AsVal_bool(obj
, &v
)) {
1617 this is needed to make valgrind/purify happier.
1619 memset((void*)&v
, 0, sizeof(bool));
1626 SWIG_Check_bool(PyObject
* obj
)
1628 return SWIG_AsVal_bool(obj
, (bool*)0);
1632 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1638 } else if (target
== Py_None
) {
1642 if (!PyTuple_Check(target
)) {
1644 target
= PyTuple_New(1);
1645 PyTuple_SetItem(target
, 0, o2
);
1647 o3
= PyTuple_New(1);
1648 PyTuple_SetItem(o3
, 0, o
);
1651 target
= PySequence_Concat(o2
, o3
);
1660 long wxGetFreeMemory()
1661 { wxPyRaiseNotImplemented(); return 0; }
1665 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1668 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1669 SWIG_type_error("unsigned number", obj
);
1672 *val
= (unsigned long)v
;
1677 SWIGINTERNSHORT
unsigned long
1678 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1681 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1683 this is needed to make valgrind/purify happier.
1685 memset((void*)&v
, 0, sizeof(unsigned long));
1692 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1694 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1698 SWIGINTERNSHORT PyObject
*
1699 SWIG_From_unsigned_SS_long(unsigned long value
)
1701 return (value
> LONG_MAX
) ?
1702 PyLong_FromUnsignedLong(value
)
1703 : PyInt_FromLong((long)(value
));
1707 void wxWakeUpMainThread() {}
1710 bool wxThread_IsMain() {
1711 #ifdef WXP_WITH_THREAD
1712 return wxThread::IsMain();
1718 static void wxCaret_Destroy(wxCaret
*self
){
1722 #include <wx/snglinst.h>
1726 #include <wx/msw/private.h>
1727 #include <wx/dynload.h>
1732 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1743 // This one only partially works. Appears to be an undocumented
1744 // "standard" convention that not all widgets adhear to. For
1745 // example, for some widgets backgrounds or non-client areas may
1747 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1752 // This one works much better, nearly all widgets and their
1753 // children are captured correctly[**]. Prior to the big
1754 // background erase changes that Vadim did in 2004-2005 this
1755 // method failed badly on XP with Themes activated, most native
1756 // widgets draw only partially, if at all. Without themes it
1757 // worked just like on Win2k. After those changes this method
1760 // ** For example the radio buttons in a wxRadioBox are not its
1761 // children by default, but you can capture it via the panel
1762 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1763 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1764 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1765 PRF_ERASEBKGND
| PRF_OWNED
);
1771 // This one is only defined in the latest SDK and is only
1772 // available on XP. MSDN says it is similar to sending WM_PRINT
1773 // so I expect that it will work similar to the above. Since it
1774 // is avaialble only on XP, it can't be compiled like this and
1775 // will have to be loaded dynamically.
1776 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1781 // Use PrintWindow if available, or fallback to WM_PRINT
1782 // otherwise. Unfortunately using PrintWindow is even worse than
1783 // WM_PRINT. For most native widgets nothing is drawn to the dc
1784 // at all, with or without Themes.
1785 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1786 static bool s_triedToLoad
= false;
1787 static PrintWindow_t pfnPrintWindow
= NULL
;
1788 if ( !s_triedToLoad
)
1791 s_triedToLoad
= true;
1792 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1793 if ( dllUser32
.IsLoaded() )
1795 wxLogNull nolog
; // Don't report errors here
1796 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1801 //printf("Using PrintWindow\n");
1802 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1806 //printf("Using WM_PRINT\n");
1807 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1808 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1809 PRF_ERASEBKGND
| PRF_OWNED
);
1820 #include <wx/tipdlg.h>
1823 class wxPyTipProvider
: public wxTipProvider
{
1825 wxPyTipProvider(size_t currentTip
)
1826 : wxTipProvider(currentTip
) {}
1828 DEC_PYCALLBACK_STRING__pure(GetTip
);
1829 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1833 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1834 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1837 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1839 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1841 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1842 : wxTimer(owner
, id
)
1844 if (owner
== NULL
) SetOwner(this);
1848 void wxPyTimer::Notify() {
1850 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1851 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1852 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1853 wxPyEndBlockThreads(blocked
);
1857 void wxPyTimer::base_Notify() {
1863 SWIGINTERN PyObject
*
1864 SWIG_FromCharPtr(const char* cptr
)
1867 size_t size
= strlen(cptr
);
1868 if (size
> INT_MAX
) {
1869 return SWIG_NewPointerObj((char*)(cptr
),
1870 SWIG_TypeQuery("char *"), 0);
1873 return PyString_FromStringAndSize(cptr
, size
);
1875 return PyString_FromString(cptr
);
1885 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1886 unsigned long max_value
,
1889 if (value
> max_value
) {
1891 PyErr_Format(PyExc_OverflowError
,
1892 "value %lu is greater than '%s' minimum %lu",
1893 value
, errmsg
, max_value
);
1901 #if UINT_MAX != ULONG_MAX
1903 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1905 const char* errmsg
= val
? "unsigned int" : (char*)0;
1907 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1908 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1909 if (val
) *val
= (unsigned int)(v
);
1916 SWIG_type_error(errmsg
, obj
);
1921 SWIGINTERNSHORT
unsigned int
1922 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1924 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1929 SWIGINTERNSHORT
unsigned int
1930 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1933 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1935 this is needed to make valgrind/purify happier.
1937 memset((void*)&v
, 0, sizeof(unsigned int));
1944 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1946 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1949 static wxString
Log_TimeStamp(){
1951 wxLog::TimeStamp(&msg
);
1954 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1955 // Make somce wrappers that double any % signs so they are 'escaped'
1956 void wxPyLogFatalError(const wxString
& msg
)
1959 m
.Replace(wxT("%"), wxT("%%"));
1963 void wxPyLogError(const wxString
& msg
)
1966 m
.Replace(wxT("%"), wxT("%%"));
1970 void wxPyLogWarning(const wxString
& msg
)
1973 m
.Replace(wxT("%"), wxT("%%"));
1977 void wxPyLogMessage(const wxString
& msg
)
1980 m
.Replace(wxT("%"), wxT("%%"));
1984 void wxPyLogInfo(const wxString
& msg
)
1987 m
.Replace(wxT("%"), wxT("%%"));
1991 void wxPyLogDebug(const wxString
& msg
)
1994 m
.Replace(wxT("%"), wxT("%%"));
1998 void wxPyLogVerbose(const wxString
& msg
)
2001 m
.Replace(wxT("%"), wxT("%%"));
2005 void wxPyLogStatus(const wxString
& msg
)
2008 m
.Replace(wxT("%"), wxT("%%"));
2012 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2015 m
.Replace(wxT("%"), wxT("%%"));
2016 wxLogStatus(pFrame
, m
);
2019 void wxPyLogSysError(const wxString
& msg
)
2022 m
.Replace(wxT("%"), wxT("%%"));
2026 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2029 m
.Replace(wxT("%"), wxT("%%"));
2030 wxLogGeneric(level
, m
);
2033 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2036 m
.Replace(wxT("%"), wxT("%%"));
2037 wxLogTrace(mask
, m
);
2040 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2043 m
.Replace(wxT("%"), wxT("%%"));
2044 wxLogTrace(mask
, m
);
2049 // A wxLog class that can be derived from in wxPython
2050 class wxPyLog
: public wxLog
{
2052 wxPyLog() : wxLog() {}
2054 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2057 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2058 PyObject
* s
= wx2PyString(szString
);
2059 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2062 wxPyEndBlockThreads(blocked
);
2064 wxLog::DoLog(level
, szString
, t
);
2067 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2070 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2071 PyObject
* s
= wx2PyString(szString
);
2072 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2075 wxPyEndBlockThreads(blocked
);
2077 wxLog::DoLogString(szString
, t
);
2086 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2089 #include <wx/joystick.h>
2092 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2093 // A C++ stub class for wxJoystick for platforms that don't have it.
2094 class wxJoystick
: public wxObject
{
2096 wxJoystick(int joystick
= wxJOYSTICK1
) {
2097 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2098 PyErr_SetString(PyExc_NotImplementedError
,
2099 "wxJoystick is not available on this platform.");
2100 wxPyEndBlockThreads(blocked
);
2102 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2103 int GetZPosition() { return -1; }
2104 int GetButtonState() { return -1; }
2105 int GetPOVPosition() { return -1; }
2106 int GetPOVCTSPosition() { return -1; }
2107 int GetRudderPosition() { return -1; }
2108 int GetUPosition() { return -1; }
2109 int GetVPosition() { return -1; }
2110 int GetMovementThreshold() { return -1; }
2111 void SetMovementThreshold(int threshold
) {}
2113 bool IsOk(void) { return false; }
2114 int GetNumberJoysticks() { return -1; }
2115 int GetManufacturerId() { return -1; }
2116 int GetProductId() { return -1; }
2117 wxString
GetProductName() { return wxEmptyString
; }
2118 int GetXMin() { return -1; }
2119 int GetYMin() { return -1; }
2120 int GetZMin() { return -1; }
2121 int GetXMax() { return -1; }
2122 int GetYMax() { return -1; }
2123 int GetZMax() { return -1; }
2124 int GetNumberButtons() { return -1; }
2125 int GetNumberAxes() { return -1; }
2126 int GetMaxButtons() { return -1; }
2127 int GetMaxAxes() { return -1; }
2128 int GetPollingMin() { return -1; }
2129 int GetPollingMax() { return -1; }
2130 int GetRudderMin() { return -1; }
2131 int GetRudderMax() { return -1; }
2132 int GetUMin() { return -1; }
2133 int GetUMax() { return -1; }
2134 int GetVMin() { return -1; }
2135 int GetVMax() { return -1; }
2137 bool HasRudder() { return false; }
2138 bool HasZ() { return false; }
2139 bool HasU() { return false; }
2140 bool HasV() { return false; }
2141 bool HasPOV() { return false; }
2142 bool HasPOV4Dir() { return false; }
2143 bool HasPOVCTS() { return false; }
2145 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2146 bool ReleaseCapture() { return false; }
2151 #include <wx/sound.h>
2155 // A C++ stub class for wxWave for platforms that don't have it.
2156 class wxSound
: public wxObject
2160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError
,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked
);
2165 wxSound(const wxString
&/*, bool*/) {
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2171 wxSound(int, const wxByte
*) {
2172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2173 PyErr_SetString(PyExc_NotImplementedError
,
2174 "wxSound is not available on this platform.");
2175 wxPyEndBlockThreads(blocked
);
2180 bool Create(const wxString
&/*, bool*/) { return false; }
2181 bool Create(int, const wxByte
*) { return false; };
2182 bool IsOk() { return false; };
2183 bool Play(unsigned) const { return false; }
2184 static bool Play(const wxString
&, unsigned) { return false; }
2185 static void Stop() {}
2190 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2191 if (fileName
.Length() == 0)
2194 return new wxSound(fileName
);
2196 static wxSound
*new_wxSound(PyObject
*data
){
2197 unsigned char* buffer
; int size
;
2198 wxSound
*sound
= NULL
;
2200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2201 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2203 sound
= new wxSound(size
, buffer
);
2205 wxPyEndBlockThreads(blocked
);
2208 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2210 unsigned char* buffer
;
2214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2215 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2217 rv
= self
->Create(size
, buffer
);
2219 wxPyEndBlockThreads(blocked
);
2222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2223 PyErr_SetString(PyExc_NotImplementedError
,
2224 "Create from data is not available on this platform.");
2225 wxPyEndBlockThreads(blocked
);
2230 #include <wx/mimetype.h>
2232 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2234 if (self
->GetMimeType(&str
))
2235 return wx2PyString(str
);
2239 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2241 if (self
->GetMimeTypes(arr
))
2242 return wxArrayString2PyList_helper(arr
);
2246 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2248 if (self
->GetExtensions(arr
))
2249 return wxArrayString2PyList_helper(arr
);
2253 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2255 if (self
->GetIcon(&loc
))
2256 return new wxIcon(loc
);
2260 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2262 if (self
->GetIcon(&loc
)) {
2263 wxString iconFile
= loc
.GetFileName();
2268 // Make a tuple and put the values in it
2269 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2270 PyObject
* tuple
= PyTuple_New(3);
2271 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2272 wxT("wxIcon"), true));
2273 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2274 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2275 wxPyEndBlockThreads(blocked
);
2281 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2283 if (self
->GetDescription(&str
))
2284 return wx2PyString(str
);
2288 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2290 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2291 return wx2PyString(str
);
2295 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2297 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2298 return wx2PyString(str
);
2302 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2303 wxArrayString verbs
;
2304 wxArrayString commands
;
2305 if (self
->GetAllCommands(&verbs
, &commands
,
2306 wxFileType::MessageParameters(filename
, mimetype
))) {
2307 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2308 PyObject
* tuple
= PyTuple_New(2);
2309 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2310 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2311 wxPyEndBlockThreads(blocked
);
2317 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2318 return wxFileType::ExpandCommand(command
,
2319 wxFileType::MessageParameters(filename
, mimetype
));
2321 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2323 self
->EnumAllFileTypes(arr
);
2324 return wxArrayString2PyList_helper(arr
);
2327 #include <wx/artprov.h>
2329 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2330 static const wxString
wxPyART_MENU(wxART_MENU
);
2331 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2332 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2333 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2334 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2335 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2336 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2337 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2338 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2339 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2340 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2341 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2342 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2343 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2344 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2345 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2346 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2347 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2348 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2349 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2350 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2351 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2352 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2353 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2354 static const wxString
wxPyART_HELP(wxART_HELP
);
2355 static const wxString
wxPyART_TIP(wxART_TIP
);
2356 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2357 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2358 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2359 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2360 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2361 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2362 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2363 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2364 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2365 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2366 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2367 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2368 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2369 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2370 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2371 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2372 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2373 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2374 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2375 static const wxString
wxPyART_COPY(wxART_COPY
);
2376 static const wxString
wxPyART_CUT(wxART_CUT
);
2377 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2378 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2379 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2380 static const wxString
wxPyART_REDO(wxART_REDO
);
2381 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2382 static const wxString
wxPyART_FIND(wxART_FIND
);
2383 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2384 // Python aware wxArtProvider
2385 class wxPyArtProvider
: public wxArtProvider
{
2388 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2389 const wxArtClient
& client
,
2390 const wxSize
& size
) {
2391 wxBitmap rval
= wxNullBitmap
;
2392 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2393 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2394 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2398 s1
= wx2PyString(id
);
2399 s2
= wx2PyString(client
);
2400 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2405 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2410 wxPyEndBlockThreads(blocked
);
2417 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2421 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2422 PyObject
* ret
= PyTuple_New(3);
2424 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2425 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2426 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2431 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2436 cont
= self
->GetFirstGroup(value
, index
);
2437 return __EnumerationHelper(cont
, value
, index
);
2439 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2443 cont
= self
->GetNextGroup(value
, index
);
2444 return __EnumerationHelper(cont
, value
, index
);
2446 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2451 cont
= self
->GetFirstEntry(value
, index
);
2452 return __EnumerationHelper(cont
, value
, index
);
2454 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2458 cont
= self
->GetNextEntry(value
, index
);
2459 return __EnumerationHelper(cont
, value
, index
);
2461 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2463 self
->Read(key
, &rv
, defaultVal
);
2468 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2470 if (PyNumber_Check(obj
)) {
2471 if (val
) *val
= PyFloat_AsDouble(obj
);
2475 SWIG_type_error("number", obj
);
2481 SWIGINTERNSHORT
double
2482 SWIG_As_double(PyObject
* obj
)
2485 if (!SWIG_AsVal_double(obj
, &v
)) {
2487 this is needed to make valgrind/purify happier.
2489 memset((void*)&v
, 0, sizeof(double));
2496 SWIG_Check_double(PyObject
* obj
)
2498 return SWIG_AsVal_double(obj
, (double*)0);
2501 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2503 self
->Read(key
, &rv
, defaultVal
);
2507 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2508 #define SWIG_From_double PyFloat_FromDouble
2511 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2513 self
->Read(key
, &rv
, defaultVal
);
2517 #include <wx/datetime.h>
2519 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2520 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2522 #define LOCAL_TZ wxDateTime::Local
2524 static PyObject
*DateTime_GetAmPmStrings(){
2527 wxDateTime::GetAmPmStrings(&am
, &pm
);
2528 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2529 PyObject
* tup
= PyTuple_New(2);
2530 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2531 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2532 wxPyEndBlockThreads(blocked
);
2536 #if UINT_MAX < LONG_MAX
2537 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2538 #define SWIG_From_unsigned_SS_int SWIG_From_long
2541 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2542 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2546 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2547 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2548 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2549 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2550 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2551 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2552 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2553 return (*self
< *other
);
2555 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2556 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2557 return (*self
<= *other
);
2559 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2560 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2561 return (*self
> *other
);
2563 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2564 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2565 return (*self
>= *other
);
2567 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2568 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2569 return (*self
== *other
);
2571 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2572 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2573 return (*self
!= *other
);
2575 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2577 const wxChar
* _date
= date
;
2578 rv
= self
->ParseRfc822Date(_date
);
2579 if (rv
== NULL
) return -1;
2582 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2584 const wxChar
* _date
= date
;
2585 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2586 if (rv
== NULL
) return -1;
2589 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2591 const wxChar
* _datetime
= datetime
;
2592 rv
= self
->ParseDateTime(_datetime
);
2593 if (rv
== NULL
) return -1;
2594 return rv
- _datetime
;
2596 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2598 const wxChar
* _date
= date
;
2599 rv
= self
->ParseDate(_date
);
2600 if (rv
== NULL
) return -1;
2603 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2605 const wxChar
* _time
= time
;
2606 rv
= self
->ParseTime(_time
);
2607 if (rv
== NULL
) return -1;
2610 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2611 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2612 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2613 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2614 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2615 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2616 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2617 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2618 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2619 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2620 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2621 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2622 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2623 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2624 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2625 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2627 #include <wx/dataobj.h>
2629 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2630 size_t count
= self
->GetFormatCount(dir
);
2631 wxDataFormat
* formats
= new wxDataFormat
[count
];
2632 self
->GetAllFormats(formats
, dir
);
2634 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2635 PyObject
* list
= PyList_New(count
);
2636 for (size_t i
=0; i
<count
; i
++) {
2637 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2638 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2639 PyList_Append(list
, obj
);
2642 wxPyEndBlockThreads(blocked
);
2646 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2647 PyObject
* rval
= NULL
;
2648 size_t size
= self
->GetDataSize(format
);
2649 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2651 char* buf
= new char[size
];
2652 if (self
->GetDataHere(format
, buf
))
2653 rval
= PyString_FromStringAndSize(buf
, size
);
2660 wxPyEndBlockThreads(blocked
);
2663 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2665 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2666 if (PyString_Check(data
)) {
2667 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2670 // raise a TypeError if not a string
2671 PyErr_SetString(PyExc_TypeError
, "String expected.");
2674 wxPyEndBlockThreads(blocked
);
2677 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2678 PyObject
* rval
= NULL
;
2679 size_t size
= self
->GetDataSize();
2680 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2682 char* buf
= new char[size
];
2683 if (self
->GetDataHere(buf
))
2684 rval
= PyString_FromStringAndSize(buf
, size
);
2691 wxPyEndBlockThreads(blocked
);
2694 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2696 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2697 if (PyString_Check(data
)) {
2698 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2701 // raise a TypeError if not a string
2702 PyErr_SetString(PyExc_TypeError
, "String expected.");
2705 wxPyEndBlockThreads(blocked
);
2708 // Create a new class for wxPython to use
2709 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2711 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2712 : wxDataObjectSimple(format
) {}
2714 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2715 bool GetDataHere(void *buf
) const;
2716 bool SetData(size_t len
, const void *buf
) const;
2720 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2722 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2723 // We need to get the data for this object and write it to buf. I think
2724 // the best way to do this for wxPython is to have the Python method
2725 // return either a string or None and then act appropriately with the
2729 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2730 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2732 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2734 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2736 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2740 wxPyEndBlockThreads(blocked
);
2744 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2745 // For this one we simply need to make a string from buf and len
2746 // and send it to the Python method.
2748 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2749 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2750 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2751 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2754 wxPyEndBlockThreads(blocked
);
2758 // Create a new class for wxPython to use
2759 class wxPyTextDataObject
: public wxTextDataObject
{
2761 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2762 : wxTextDataObject(text
) {}
2764 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2765 DEC_PYCALLBACK_STRING__const(GetText
);
2766 DEC_PYCALLBACK__STRING(SetText
);
2770 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2771 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2772 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2775 // Create a new class for wxPython to use
2776 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2778 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2779 : wxBitmapDataObject(bitmap
) {}
2781 wxBitmap
GetBitmap() const;
2782 void SetBitmap(const wxBitmap
& bitmap
);
2786 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2787 wxBitmap
* rval
= &wxNullBitmap
;
2788 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2789 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2792 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2794 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2799 wxPyEndBlockThreads(blocked
);
2803 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2804 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2805 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2806 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2807 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2810 wxPyEndBlockThreads(blocked
);
2813 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2814 return new wxCustomDataObject(wxDataFormat(formatName
));
2816 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2818 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2819 if (PyString_Check(data
)) {
2820 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2823 // raise a TypeError if not a string
2824 PyErr_SetString(PyExc_TypeError
, "String expected.");
2827 wxPyEndBlockThreads(blocked
);
2830 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2832 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2833 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2834 wxPyEndBlockThreads(blocked
);
2838 class wxMetafileDataObject
: public wxDataObjectSimple
2841 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2845 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2848 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2849 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2850 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2851 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2852 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2855 class wxPyTextDropTarget
: public wxTextDropTarget
{
2857 wxPyTextDropTarget() {}
2859 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2861 DEC_PYCALLBACK__(OnLeave
);
2862 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2863 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2864 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2865 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2870 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2871 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2872 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2873 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2874 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2875 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2879 class wxPyFileDropTarget
: public wxFileDropTarget
{
2881 wxPyFileDropTarget() {}
2883 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2885 DEC_PYCALLBACK__(OnLeave
);
2886 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2887 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2888 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2889 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2894 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2895 const wxArrayString
& filenames
) {
2897 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2898 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2899 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2900 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2903 wxPyEndBlockThreads(blocked
);
2909 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2910 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2911 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2912 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2913 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2918 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2920 #include <wx/display.h>
2922 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2923 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2925 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2927 #include <wx/dynarray.h>
2928 #include <wx/vidmode.h>
2930 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2931 #include "wx/arrimpl.cpp"
2932 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2933 const wxVideoMode wxDefaultVideoMode
;
2938 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2941 static size_t GetCount()
2942 { wxPyRaiseNotImplemented(); return 0; }
2944 static int GetFromPoint(const wxPoint
& pt
)
2945 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2946 static int GetFromWindow(wxWindow
*window
)
2947 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2949 virtual bool IsOk() const { return false; }
2950 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2951 virtual wxString
GetName() const { return wxEmptyString
; }
2952 bool IsPrimary() const { return false; }
2954 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2955 { wxArrayVideoModes a
; return a
; }
2957 virtual wxVideoMode
GetCurrentMode() const
2958 { return wxDefaultVideoMode
; }
2960 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2967 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2968 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2969 PyObject
* pyList
= NULL
;
2970 wxArrayVideoModes arr
= self
->GetModes(mode
);
2971 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2972 pyList
= PyList_New(0);
2973 for (int i
=0; i
< arr
.GetCount(); i
++) {
2974 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2975 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2976 PyList_Append(pyList
, pyObj
);
2979 wxPyEndBlockThreads(blocked
);
2983 #include <wx/stdpaths.h>
2985 static wxStandardPaths
*StandardPaths_Get(){
2986 return (wxStandardPaths
*) &wxStandardPaths::Get();
2991 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxSystemColour arg1
;
2995 PyObject
* obj0
= 0 ;
2997 (char *) "index", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3002 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3003 if (SWIG_arg_fail(1)) SWIG_fail
;
3006 if (!wxPyCheckForApp()) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 wxColour
* resultptr
;
3015 resultptr
= new wxColour((wxColour
&)(result
));
3016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3024 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3028 PyObject
* obj0
= 0 ;
3030 (char *) "index", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3035 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3036 if (SWIG_arg_fail(1)) SWIG_fail
;
3039 if (!wxPyCheckForApp()) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3048 resultptr
= new wxFont((wxFont
&)(result
));
3049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3057 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxSystemMetric arg1
;
3060 wxWindow
*arg2
= (wxWindow
*) NULL
;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "index",(char *) "win", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3070 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3071 if (SWIG_arg_fail(1)) SWIG_fail
;
3074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3075 if (SWIG_arg_fail(2)) SWIG_fail
;
3078 if (!wxPyCheckForApp()) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= SWIG_From_int((int)(result
));
3094 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxSystemFeature arg1
;
3098 PyObject
* obj0
= 0 ;
3100 (char *) "index", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3105 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3106 if (SWIG_arg_fail(1)) SWIG_fail
;
3109 if (!wxPyCheckForApp()) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3125 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxSystemScreenType result
;
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3134 if (!wxPyCheckForApp()) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 resultobj
= SWIG_From_int((result
));
3148 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxSystemScreenType arg1
;
3151 PyObject
* obj0
= 0 ;
3153 (char *) "screen", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3158 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3159 if (SWIG_arg_fail(1)) SWIG_fail
;
3162 if (!wxPyCheckForApp()) SWIG_fail
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3169 Py_INCREF(Py_None
); resultobj
= Py_None
;
3176 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3179 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3181 return Py_BuildValue((char *)"");
3183 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3184 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3189 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3194 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3196 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3203 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxSystemOptions
*result
;
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= (wxSystemOptions
*)new wxSystemOptions();
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3225 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 wxString
*arg1
= 0 ;
3228 wxString
*arg2
= 0 ;
3229 bool temp1
= false ;
3230 bool temp2
= false ;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3234 (char *) "name",(char *) "value", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3239 arg1
= wxString_in_helper(obj0
);
3240 if (arg1
== NULL
) SWIG_fail
;
3244 arg2
= wxString_in_helper(obj1
);
3245 if (arg2
== NULL
) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3278 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxString
*arg1
= 0 ;
3282 bool temp1
= false ;
3283 PyObject
* obj0
= 0 ;
3284 PyObject
* obj1
= 0 ;
3286 (char *) "name",(char *) "value", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3291 arg1
= wxString_in_helper(obj0
);
3292 if (arg1
== NULL
) SWIG_fail
;
3296 arg2
= (int)(SWIG_As_int(obj1
));
3297 if (SWIG_arg_fail(2)) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3321 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxString
*arg1
= 0 ;
3325 bool temp1
= false ;
3326 PyObject
* obj0
= 0 ;
3328 (char *) "name", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3333 arg1
= wxString_in_helper(obj0
);
3334 if (arg1
== NULL
) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3365 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxString
*arg1
= 0 ;
3369 bool temp1
= false ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "name", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3377 arg1
= wxString_in_helper(obj0
);
3378 if (arg1
== NULL
) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3389 resultobj
= SWIG_From_int((int)(result
));
3405 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxString
*arg1
= 0 ;
3409 bool temp1
= false ;
3410 PyObject
* obj0
= 0 ;
3412 (char *) "name", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3417 arg1
= wxString_in_helper(obj0
);
3418 if (arg1
== NULL
) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3445 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3448 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3450 return Py_BuildValue((char *)"");
3452 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3453 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3458 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3463 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3465 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3472 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3473 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3478 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3483 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3485 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3492 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3493 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3498 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3503 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3505 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3512 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (long)wxNewId();
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 resultobj
= SWIG_From_long((long)(result
));
3536 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3539 PyObject
* obj0
= 0 ;
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3546 arg1
= (long)(SWIG_As_long(obj0
));
3547 if (SWIG_arg_fail(1)) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 Py_INCREF(Py_None
); resultobj
= Py_None
;
3563 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (long)wxGetCurrentId();
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= SWIG_From_long((long)(result
));
3587 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3591 PyObject
* obj0
= 0 ;
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3598 arg1
= (int)(SWIG_As_int(obj0
));
3599 if (SWIG_arg_fail(1)) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= (bool)wxIsStockID(arg1
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3617 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3620 wxString
*arg2
= 0 ;
3622 bool temp2
= false ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3626 (char *) "id",(char *) "label", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3631 arg1
= (int)(SWIG_As_int(obj0
));
3632 if (SWIG_arg_fail(1)) SWIG_fail
;
3635 arg2
= wxString_in_helper(obj1
);
3636 if (arg2
== NULL
) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3663 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3666 bool arg2
= (bool) true ;
3667 wxString arg3
= (wxString
) wxPyEmptyString
;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3671 PyObject
* obj2
= 0 ;
3673 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3678 arg1
= (int)(SWIG_As_int(obj0
));
3679 if (SWIG_arg_fail(1)) SWIG_fail
;
3683 arg2
= (bool)(SWIG_As_bool(obj1
));
3684 if (SWIG_arg_fail(2)) SWIG_fail
;
3689 wxString
* sptr
= wxString_in_helper(obj2
);
3690 if (sptr
== NULL
) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3715 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3723 if (!wxPyCheckForApp()) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3745 if (!wxPyCheckForApp()) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 bool arg1
= (bool) true ;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "resetTimer", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3771 arg1
= (bool)(SWIG_As_bool(obj0
));
3772 if (SWIG_arg_fail(1)) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 result
= (long)wxGetElapsedTime(arg1
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3783 resultobj
= SWIG_From_long((long)(result
));
3791 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 int *arg1
= (int *) 0 ;
3794 int *arg2
= (int *) 0 ;
3803 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3804 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3807 if (!wxPyCheckForApp()) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 wxGetMousePosition(arg1
,arg2
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3814 Py_INCREF(Py_None
); resultobj
= Py_None
;
3815 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3816 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3817 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3818 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3825 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (bool)wxIsBusy();
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3849 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3877 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3880 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3882 bool temp1
= false ;
3883 PyObject
* obj0
= 0 ;
3885 (char *) "command", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3891 arg1
= wxString_in_helper(obj0
);
3892 if (arg1
== NULL
) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (bool)wxShell((wxString
const &)*arg1
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3920 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 Py_INCREF(Py_None
); resultobj
= Py_None
;
3941 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 int *arg1
= (int *) 0 ;
3944 int *arg2
= (int *) 0 ;
3954 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3955 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (int)wxGetOsVersion(arg1
,arg2
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= SWIG_From_int((int)(result
));
3967 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3968 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3969 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3970 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3977 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
;
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= wxGetOsDescription();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4005 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (long)wxGetFreeMemory();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= SWIG_From_long((long)(result
));
4029 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxShutdownFlags arg1
;
4033 PyObject
* obj0
= 0 ;
4035 (char *) "wFlags", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4040 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4041 if (SWIG_arg_fail(1)) SWIG_fail
;
4044 if (!wxPyCheckForApp()) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4060 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4063 PyObject
* obj0
= 0 ;
4065 (char *) "secs", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4070 arg1
= (int)(SWIG_As_int(obj0
));
4071 if (SWIG_arg_fail(1)) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 Py_INCREF(Py_None
); resultobj
= Py_None
;
4087 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 unsigned long arg1
;
4090 PyObject
* obj0
= 0 ;
4092 (char *) "milliseconds", NULL
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4097 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4098 if (SWIG_arg_fail(1)) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4107 Py_INCREF(Py_None
); resultobj
= Py_None
;
4114 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 unsigned long arg1
;
4117 PyObject
* obj0
= 0 ;
4119 (char *) "microseconds", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4124 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4125 if (SWIG_arg_fail(1)) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4144 PyObject
* obj0
= 0 ;
4146 (char *) "enable", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4151 arg1
= (bool)(SWIG_As_bool(obj0
));
4152 if (SWIG_arg_fail(1)) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 wxEnableTopLevelWindows(arg1
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4161 Py_INCREF(Py_None
); resultobj
= Py_None
;
4168 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4170 wxString
*arg1
= 0 ;
4172 bool temp1
= false ;
4173 PyObject
* obj0
= 0 ;
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4180 arg1
= wxString_in_helper(obj0
);
4181 if (arg1
== NULL
) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4212 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= wxGetEmailAddress();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4240 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= wxGetHostName();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4268 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= wxGetFullHostName();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4296 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= wxGetUserId();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4324 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= wxGetUserName();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4352 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= wxGetHomeDir();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4380 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4383 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4385 bool temp1
= false ;
4386 PyObject
* obj0
= 0 ;
4388 (char *) "user", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4394 arg1
= wxString_in_helper(obj0
);
4395 if (arg1
== NULL
) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= wxGetUserHome((wxString
const &)*arg1
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4427 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 unsigned long result
;
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (unsigned long)wxGetProcessId();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4451 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4475 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4476 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4477 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4478 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4479 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4480 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4481 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4482 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4483 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4484 int arg6
= (int) 0 ;
4485 wxWindow
*arg7
= (wxWindow
*) NULL
;
4486 int arg8
= (int) -1 ;
4487 int arg9
= (int) -1 ;
4489 bool temp1
= false ;
4490 bool temp2
= false ;
4491 bool temp3
= false ;
4492 bool temp4
= false ;
4493 bool temp5
= false ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4496 PyObject
* obj2
= 0 ;
4497 PyObject
* obj3
= 0 ;
4498 PyObject
* obj4
= 0 ;
4499 PyObject
* obj5
= 0 ;
4500 PyObject
* obj6
= 0 ;
4501 PyObject
* obj7
= 0 ;
4502 PyObject
* obj8
= 0 ;
4504 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4510 arg1
= wxString_in_helper(obj0
);
4511 if (arg1
== NULL
) SWIG_fail
;
4517 arg2
= wxString_in_helper(obj1
);
4518 if (arg2
== NULL
) SWIG_fail
;
4524 arg3
= wxString_in_helper(obj2
);
4525 if (arg3
== NULL
) SWIG_fail
;
4531 arg4
= wxString_in_helper(obj3
);
4532 if (arg4
== NULL
) SWIG_fail
;
4538 arg5
= wxString_in_helper(obj4
);
4539 if (arg5
== NULL
) SWIG_fail
;
4545 arg6
= (int)(SWIG_As_int(obj5
));
4546 if (SWIG_arg_fail(6)) SWIG_fail
;
4550 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4551 if (SWIG_arg_fail(7)) SWIG_fail
;
4555 arg8
= (int)(SWIG_As_int(obj7
));
4556 if (SWIG_arg_fail(8)) SWIG_fail
;
4561 arg9
= (int)(SWIG_As_int(obj8
));
4562 if (SWIG_arg_fail(9)) SWIG_fail
;
4566 if (!wxPyCheckForApp()) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4626 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxString
*arg1
= 0 ;
4629 wxString
*arg2
= 0 ;
4630 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4631 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4632 wxWindow
*arg4
= (wxWindow
*) NULL
;
4634 bool temp1
= false ;
4635 bool temp2
= false ;
4636 bool temp3
= false ;
4637 PyObject
* obj0
= 0 ;
4638 PyObject
* obj1
= 0 ;
4639 PyObject
* obj2
= 0 ;
4640 PyObject
* obj3
= 0 ;
4642 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4647 arg1
= wxString_in_helper(obj0
);
4648 if (arg1
== NULL
) SWIG_fail
;
4652 arg2
= wxString_in_helper(obj1
);
4653 if (arg2
== NULL
) SWIG_fail
;
4658 arg3
= wxString_in_helper(obj2
);
4659 if (arg3
== NULL
) SWIG_fail
;
4664 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4665 if (SWIG_arg_fail(4)) SWIG_fail
;
4668 if (!wxPyCheckForApp()) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4712 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxString
*arg1
= 0 ;
4715 wxString
*arg2
= 0 ;
4716 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4717 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4718 wxWindow
*arg4
= (wxWindow
*) NULL
;
4720 bool temp1
= false ;
4721 bool temp2
= false ;
4722 bool temp3
= false ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4725 PyObject
* obj2
= 0 ;
4726 PyObject
* obj3
= 0 ;
4728 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4733 arg1
= wxString_in_helper(obj0
);
4734 if (arg1
== NULL
) SWIG_fail
;
4738 arg2
= wxString_in_helper(obj1
);
4739 if (arg2
== NULL
) SWIG_fail
;
4744 arg3
= wxString_in_helper(obj2
);
4745 if (arg3
== NULL
) SWIG_fail
;
4750 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4751 if (SWIG_arg_fail(4)) SWIG_fail
;
4754 if (!wxPyCheckForApp()) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4798 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4801 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4802 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4803 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4804 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4807 wxWindow
*arg5
= (wxWindow
*) NULL
;
4809 bool temp1
= false ;
4810 bool temp2
= false ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4814 PyObject
* obj2
= 0 ;
4815 PyObject
* obj3
= 0 ;
4816 PyObject
* obj4
= 0 ;
4818 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4824 arg1
= wxString_in_helper(obj0
);
4825 if (arg1
== NULL
) SWIG_fail
;
4831 arg2
= wxString_in_helper(obj1
);
4832 if (arg2
== NULL
) SWIG_fail
;
4838 arg3
= (long)(SWIG_As_long(obj2
));
4839 if (SWIG_arg_fail(3)) SWIG_fail
;
4845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4849 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4850 if (SWIG_arg_fail(5)) SWIG_fail
;
4853 if (!wxPyCheckForApp()) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4889 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxString
*arg1
= 0 ;
4892 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4893 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4894 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4896 wxWindow
*arg4
= (wxWindow
*) NULL
;
4897 int arg5
= (int) -1 ;
4898 int arg6
= (int) -1 ;
4899 bool arg7
= (bool) true ;
4901 bool temp1
= false ;
4902 bool temp2
= false ;
4903 bool temp3
= false ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4907 PyObject
* obj3
= 0 ;
4908 PyObject
* obj4
= 0 ;
4909 PyObject
* obj5
= 0 ;
4910 PyObject
* obj6
= 0 ;
4912 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4917 arg1
= wxString_in_helper(obj0
);
4918 if (arg1
== NULL
) SWIG_fail
;
4923 arg2
= wxString_in_helper(obj1
);
4924 if (arg2
== NULL
) SWIG_fail
;
4930 arg3
= wxString_in_helper(obj2
);
4931 if (arg3
== NULL
) SWIG_fail
;
4936 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4937 if (SWIG_arg_fail(4)) SWIG_fail
;
4941 arg5
= (int)(SWIG_As_int(obj4
));
4942 if (SWIG_arg_fail(5)) SWIG_fail
;
4947 arg6
= (int)(SWIG_As_int(obj5
));
4948 if (SWIG_arg_fail(6)) SWIG_fail
;
4953 arg7
= (bool)(SWIG_As_bool(obj6
));
4954 if (SWIG_arg_fail(7)) SWIG_fail
;
4958 if (!wxPyCheckForApp()) SWIG_fail
;
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5002 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxString
*arg1
= 0 ;
5005 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5006 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5007 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5008 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5009 wxWindow
*arg4
= (wxWindow
*) NULL
;
5011 bool temp1
= false ;
5012 bool temp2
= false ;
5013 bool temp3
= false ;
5014 PyObject
* obj0
= 0 ;
5015 PyObject
* obj1
= 0 ;
5016 PyObject
* obj2
= 0 ;
5017 PyObject
* obj3
= 0 ;
5019 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5024 arg1
= wxString_in_helper(obj0
);
5025 if (arg1
== NULL
) SWIG_fail
;
5030 arg2
= wxString_in_helper(obj1
);
5031 if (arg2
== NULL
) SWIG_fail
;
5037 arg3
= wxString_in_helper(obj2
);
5038 if (arg3
== NULL
) SWIG_fail
;
5043 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5044 if (SWIG_arg_fail(4)) SWIG_fail
;
5047 if (!wxPyCheckForApp()) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5091 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5093 wxString
*arg1
= 0 ;
5094 wxString
*arg2
= 0 ;
5096 wxString
*arg4
= (wxString
*) 0 ;
5097 wxWindow
*arg5
= (wxWindow
*) NULL
;
5098 int arg6
= (int) -1 ;
5099 int arg7
= (int) -1 ;
5100 bool arg8
= (bool) true ;
5101 int arg9
= (int) 150 ;
5102 int arg10
= (int) 200 ;
5104 bool temp1
= false ;
5105 bool temp2
= false ;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5108 PyObject
* obj2
= 0 ;
5109 PyObject
* obj3
= 0 ;
5110 PyObject
* obj4
= 0 ;
5111 PyObject
* obj5
= 0 ;
5112 PyObject
* obj6
= 0 ;
5113 PyObject
* obj7
= 0 ;
5114 PyObject
* obj8
= 0 ;
5116 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5121 arg1
= wxString_in_helper(obj0
);
5122 if (arg1
== NULL
) SWIG_fail
;
5126 arg2
= wxString_in_helper(obj1
);
5127 if (arg2
== NULL
) SWIG_fail
;
5131 arg3
= PyList_Size(obj2
);
5132 arg4
= wxString_LIST_helper(obj2
);
5133 if (arg4
== NULL
) SWIG_fail
;
5136 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5137 if (SWIG_arg_fail(5)) SWIG_fail
;
5141 arg6
= (int)(SWIG_As_int(obj4
));
5142 if (SWIG_arg_fail(6)) SWIG_fail
;
5147 arg7
= (int)(SWIG_As_int(obj5
));
5148 if (SWIG_arg_fail(7)) SWIG_fail
;
5153 arg8
= (bool)(SWIG_As_bool(obj6
));
5154 if (SWIG_arg_fail(8)) SWIG_fail
;
5159 arg9
= (int)(SWIG_As_int(obj7
));
5160 if (SWIG_arg_fail(9)) SWIG_fail
;
5165 arg10
= (int)(SWIG_As_int(obj8
));
5166 if (SWIG_arg_fail(10)) SWIG_fail
;
5170 if (!wxPyCheckForApp()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5193 if (arg4
) delete [] arg4
;
5206 if (arg4
) delete [] arg4
;
5212 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxString
*arg1
= 0 ;
5215 wxString
*arg2
= 0 ;
5217 wxString
*arg4
= (wxString
*) 0 ;
5218 wxWindow
*arg5
= (wxWindow
*) NULL
;
5219 int arg6
= (int) -1 ;
5220 int arg7
= (int) -1 ;
5221 bool arg8
= (bool) true ;
5222 int arg9
= (int) 150 ;
5223 int arg10
= (int) 200 ;
5225 bool temp1
= false ;
5226 bool temp2
= false ;
5227 PyObject
* obj0
= 0 ;
5228 PyObject
* obj1
= 0 ;
5229 PyObject
* obj2
= 0 ;
5230 PyObject
* obj3
= 0 ;
5231 PyObject
* obj4
= 0 ;
5232 PyObject
* obj5
= 0 ;
5233 PyObject
* obj6
= 0 ;
5234 PyObject
* obj7
= 0 ;
5235 PyObject
* obj8
= 0 ;
5237 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5242 arg1
= wxString_in_helper(obj0
);
5243 if (arg1
== NULL
) SWIG_fail
;
5247 arg2
= wxString_in_helper(obj1
);
5248 if (arg2
== NULL
) SWIG_fail
;
5252 arg3
= PyList_Size(obj2
);
5253 arg4
= wxString_LIST_helper(obj2
);
5254 if (arg4
== NULL
) SWIG_fail
;
5257 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5258 if (SWIG_arg_fail(5)) SWIG_fail
;
5262 arg6
= (int)(SWIG_As_int(obj4
));
5263 if (SWIG_arg_fail(6)) SWIG_fail
;
5268 arg7
= (int)(SWIG_As_int(obj5
));
5269 if (SWIG_arg_fail(7)) SWIG_fail
;
5274 arg8
= (bool)(SWIG_As_bool(obj6
));
5275 if (SWIG_arg_fail(8)) SWIG_fail
;
5280 arg9
= (int)(SWIG_As_int(obj7
));
5281 if (SWIG_arg_fail(9)) SWIG_fail
;
5286 arg10
= (int)(SWIG_As_int(obj8
));
5287 if (SWIG_arg_fail(10)) SWIG_fail
;
5291 if (!wxPyCheckForApp()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= SWIG_From_int((int)(result
));
5310 if (arg4
) delete [] arg4
;
5323 if (arg4
) delete [] arg4
;
5329 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxString
*arg1
= 0 ;
5332 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5333 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5334 int arg3
= (int) wxOK
|wxCENTRE
;
5335 wxWindow
*arg4
= (wxWindow
*) NULL
;
5336 int arg5
= (int) -1 ;
5337 int arg6
= (int) -1 ;
5339 bool temp1
= false ;
5340 bool temp2
= false ;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5343 PyObject
* obj2
= 0 ;
5344 PyObject
* obj3
= 0 ;
5345 PyObject
* obj4
= 0 ;
5346 PyObject
* obj5
= 0 ;
5348 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5353 arg1
= wxString_in_helper(obj0
);
5354 if (arg1
== NULL
) SWIG_fail
;
5359 arg2
= wxString_in_helper(obj1
);
5360 if (arg2
== NULL
) SWIG_fail
;
5366 arg3
= (int)(SWIG_As_int(obj2
));
5367 if (SWIG_arg_fail(3)) SWIG_fail
;
5371 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5372 if (SWIG_arg_fail(4)) SWIG_fail
;
5376 arg5
= (int)(SWIG_As_int(obj4
));
5377 if (SWIG_arg_fail(5)) SWIG_fail
;
5382 arg6
= (int)(SWIG_As_int(obj5
));
5383 if (SWIG_arg_fail(6)) SWIG_fail
;
5387 if (!wxPyCheckForApp()) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_From_int((int)(result
));
5419 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxString
*arg1
= 0 ;
5422 wxString
*arg2
= 0 ;
5423 wxString
*arg3
= 0 ;
5425 long arg5
= (long) 0 ;
5426 long arg6
= (long) 100 ;
5427 wxWindow
*arg7
= (wxWindow
*) NULL
;
5428 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5429 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5431 bool temp1
= false ;
5432 bool temp2
= false ;
5433 bool temp3
= false ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 PyObject
* obj2
= 0 ;
5438 PyObject
* obj3
= 0 ;
5439 PyObject
* obj4
= 0 ;
5440 PyObject
* obj5
= 0 ;
5441 PyObject
* obj6
= 0 ;
5442 PyObject
* obj7
= 0 ;
5444 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5449 arg1
= wxString_in_helper(obj0
);
5450 if (arg1
== NULL
) SWIG_fail
;
5454 arg2
= wxString_in_helper(obj1
);
5455 if (arg2
== NULL
) SWIG_fail
;
5459 arg3
= wxString_in_helper(obj2
);
5460 if (arg3
== NULL
) SWIG_fail
;
5464 arg4
= (long)(SWIG_As_long(obj3
));
5465 if (SWIG_arg_fail(4)) SWIG_fail
;
5469 arg5
= (long)(SWIG_As_long(obj4
));
5470 if (SWIG_arg_fail(5)) SWIG_fail
;
5475 arg6
= (long)(SWIG_As_long(obj5
));
5476 if (SWIG_arg_fail(6)) SWIG_fail
;
5480 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5481 if (SWIG_arg_fail(7)) SWIG_fail
;
5486 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5490 if (!wxPyCheckForApp()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_long((long)(result
));
5530 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5539 if (!wxPyCheckForApp()) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (bool)wxColourDisplay();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5555 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5564 if (!wxPyCheckForApp()) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 result
= (int)wxDisplayDepth();
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_From_int((int)(result
));
5580 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5589 if (!wxPyCheckForApp()) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (int)wxGetDisplayDepth();
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_From_int((int)(result
));
5605 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 int *arg1
= (int *) 0 ;
5608 int *arg2
= (int *) 0 ;
5617 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5618 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5621 if (!wxPyCheckForApp()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 wxDisplaySize(arg1
,arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5630 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5631 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5632 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5639 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5648 if (!wxPyCheckForApp()) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= wxGetDisplaySize();
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5657 resultptr
= new wxSize((wxSize
&)(result
));
5658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5666 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 int *arg1
= (int *) 0 ;
5669 int *arg2
= (int *) 0 ;
5678 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5679 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5682 if (!wxPyCheckForApp()) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 wxDisplaySizeMM(arg1
,arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 Py_INCREF(Py_None
); resultobj
= Py_None
;
5690 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5691 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5692 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5693 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5700 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5709 if (!wxPyCheckForApp()) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= wxGetDisplaySizeMM();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5718 resultptr
= new wxSize((wxSize
&)(result
));
5719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5727 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 int *arg1
= (int *) 0 ;
5730 int *arg2
= (int *) 0 ;
5731 int *arg3
= (int *) 0 ;
5732 int *arg4
= (int *) 0 ;
5745 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5746 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5747 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5748 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5751 if (!wxPyCheckForApp()) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5760 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5761 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5762 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5763 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5764 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5765 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5766 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5773 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5782 if (!wxPyCheckForApp()) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= wxGetClientDisplayRect();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5791 resultptr
= new wxRect((wxRect
&)(result
));
5792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5800 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxCursor
*arg1
= 0 ;
5803 PyObject
* obj0
= 0 ;
5805 (char *) "cursor", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5811 if (SWIG_arg_fail(1)) SWIG_fail
;
5813 SWIG_null_ref("wxCursor");
5815 if (SWIG_arg_fail(1)) SWIG_fail
;
5818 if (!wxPyCheckForApp()) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 Py_INCREF(Py_None
); resultobj
= Py_None
;
5832 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5835 PyObject
* obj0
= 0 ;
5837 (char *) "cursor", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 if (!wxPyCheckForApp()) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 wxBeginBusyCursor(arg1
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 Py_INCREF(Py_None
); resultobj
= Py_None
;
5860 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5869 if (!wxPyCheckForApp()) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (wxWindow
*)wxGetActiveWindow();
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= wxPyMake_wxObject(result
, 0);
5885 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5890 PyObject
* obj0
= 0 ;
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5898 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5901 if (!wxPyCheckForApp()) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= wxPyMake_wxObject(result
, 0);
5917 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5922 PyObject
* obj0
= 0 ;
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5930 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5933 if (!wxPyCheckForApp()) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= wxPyMake_wxObject(result
, 0);
5949 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxWindow
*arg1
= (wxWindow
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "win", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5960 if (SWIG_arg_fail(1)) SWIG_fail
;
5962 if (!wxPyCheckForApp()) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= wxPyMake_wxObject(result
, 0);
5978 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "key", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5989 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5990 if (SWIG_arg_fail(1)) SWIG_fail
;
5993 if (!wxPyCheckForApp()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6017 if (!wxPyCheckForApp()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 wxWakeUpMainThread();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 Py_INCREF(Py_None
); resultobj
= Py_None
;
6031 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6039 if (!wxPyCheckForApp()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 Py_INCREF(Py_None
); resultobj
= Py_None
;
6053 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6061 if (!wxPyCheckForApp()) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6075 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxMutexGuiLocker
*result
;
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6084 if (!wxPyCheckForApp()) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6098 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6101 PyObject
* obj0
= 0 ;
6103 (char *) "self", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 Py_INCREF(Py_None
); resultobj
= Py_None
;
6123 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6126 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6128 return Py_BuildValue((char *)"");
6130 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (bool)wxThread_IsMain();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6154 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxString
*arg1
= 0 ;
6158 bool temp1
= false ;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "tip", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6166 arg1
= wxString_in_helper(obj0
);
6167 if (arg1
== NULL
) SWIG_fail
;
6171 if (!wxPyCheckForApp()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= wxPyMake_wxObject(result
, 1);
6195 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6198 wxString
*arg2
= 0 ;
6199 bool temp2
= false ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "tip", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail
;
6210 arg2
= wxString_in_helper(obj1
);
6211 if (arg2
== NULL
) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->SetTip((wxString
const &)*arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6236 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6242 (char *) "self", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (arg1
)->GetTip();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6268 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxWindow
*)(arg1
)->GetWindow();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= wxPyMake_wxObject(result
, 0);
6296 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "flag", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6306 arg1
= (bool)(SWIG_As_bool(obj0
));
6307 if (SWIG_arg_fail(1)) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxToolTip::Enable(arg1
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "milliseconds", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6333 arg1
= (long)(SWIG_As_long(obj0
));
6334 if (SWIG_arg_fail(1)) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 wxToolTip::SetDelay(arg1
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 Py_INCREF(Py_None
); resultobj
= Py_None
;
6350 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6353 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6355 return Py_BuildValue((char *)"");
6357 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxWindow
*arg1
= (wxWindow
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "window",(char *) "size", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6371 if (SWIG_arg_fail(1)) SWIG_fail
;
6374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6377 if (!wxPyCheckForApp()) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6391 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxCaret
*arg1
= (wxCaret
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6401 if (SWIG_arg_fail(1)) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxCaret_Destroy(arg1
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 Py_INCREF(Py_None
); resultobj
= Py_None
;
6416 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxCaret
*arg1
= (wxCaret
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6427 if (SWIG_arg_fail(1)) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->IsOk();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxCaret
*arg1
= (wxCaret
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "self", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6455 if (SWIG_arg_fail(1)) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (bool)(arg1
)->IsVisible();
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6472 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxCaret
*arg1
= (wxCaret
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6483 if (SWIG_arg_fail(1)) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (arg1
)->GetPosition();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 wxPoint
* resultptr
;
6493 resultptr
= new wxPoint((wxPoint
&)(result
));
6494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6502 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxCaret
*arg1
= (wxCaret
*) 0 ;
6505 int *arg2
= (int *) 0 ;
6506 int *arg3
= (int *) 0 ;
6511 PyObject
* obj0
= 0 ;
6513 (char *) "self", NULL
6516 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6517 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6520 if (SWIG_arg_fail(1)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->GetPosition(arg2
,arg3
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6530 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6531 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6532 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6539 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxCaret
*arg1
= (wxCaret
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (arg1
)->GetSize();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6560 resultptr
= new wxSize((wxSize
&)(result
));
6561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6569 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxCaret
*arg1
= (wxCaret
*) 0 ;
6572 int *arg2
= (int *) 0 ;
6573 int *arg3
= (int *) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6584 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6587 if (SWIG_arg_fail(1)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->GetSize(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6597 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6598 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6599 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6606 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxCaret
*arg1
= (wxCaret
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (wxWindow
*)(arg1
)->GetWindow();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= wxPyMake_wxObject(result
, 0);
6634 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxCaret
*arg1
= (wxCaret
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 PyObject
* obj2
= 0 ;
6643 (char *) "self",(char *) "x",(char *) "y", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6650 arg2
= (int)(SWIG_As_int(obj1
));
6651 if (SWIG_arg_fail(2)) SWIG_fail
;
6654 arg3
= (int)(SWIG_As_int(obj2
));
6655 if (SWIG_arg_fail(3)) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 (arg1
)->Move(arg2
,arg3
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxCaret
*arg1
= (wxCaret
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6679 (char *) "self",(char *) "pt", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6684 if (SWIG_arg_fail(1)) SWIG_fail
;
6687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 (arg1
)->Move((wxPoint
const &)*arg2
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxCaret
*arg1
= (wxCaret
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6712 (char *) "self",(char *) "width",(char *) "height", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6719 arg2
= (int)(SWIG_As_int(obj1
));
6720 if (SWIG_arg_fail(2)) SWIG_fail
;
6723 arg3
= (int)(SWIG_As_int(obj2
));
6724 if (SWIG_arg_fail(3)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 (arg1
)->SetSize(arg2
,arg3
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxCaret
*arg1
= (wxCaret
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6748 (char *) "self",(char *) "size", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6753 if (SWIG_arg_fail(1)) SWIG_fail
;
6756 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 (arg1
)->SetSize((wxSize
const &)*arg2
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 Py_INCREF(Py_None
); resultobj
= Py_None
;
6772 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxCaret
*arg1
= (wxCaret
*) 0 ;
6775 int arg2
= (int) true ;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6779 (char *) "self",(char *) "show", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6784 if (SWIG_arg_fail(1)) SWIG_fail
;
6787 arg2
= (int)(SWIG_As_int(obj1
));
6788 if (SWIG_arg_fail(2)) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxCaret
*arg1
= (wxCaret
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6815 if (SWIG_arg_fail(1)) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (int)wxCaret::GetBlinkTime();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_From_int((int)(result
));
6854 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "milliseconds", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6864 arg1
= (int)(SWIG_As_int(obj0
));
6865 if (SWIG_arg_fail(1)) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxCaret::SetBlinkTime(arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6884 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6886 return Py_BuildValue((char *)"");
6888 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6891 wxBusyCursor
*result
;
6892 PyObject
* obj0
= 0 ;
6894 (char *) "cursor", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6900 if (SWIG_arg_fail(1)) SWIG_fail
;
6903 if (!wxPyCheckForApp()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6917 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6927 if (SWIG_arg_fail(1)) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 Py_INCREF(Py_None
); resultobj
= Py_None
;
6942 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6945 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6947 return Py_BuildValue((char *)"");
6949 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxWindow
*arg1
= (wxWindow
*) NULL
;
6952 wxWindowDisabler
*result
;
6953 PyObject
* obj0
= 0 ;
6955 (char *) "winToSkip", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6961 if (SWIG_arg_fail(1)) SWIG_fail
;
6964 if (!wxPyCheckForApp()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6978 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "self", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6988 if (SWIG_arg_fail(1)) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 Py_INCREF(Py_None
); resultobj
= Py_None
;
7003 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7006 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7008 return Py_BuildValue((char *)"");
7010 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxString
*arg1
= 0 ;
7014 bool temp1
= false ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "message", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7022 arg1
= wxString_in_helper(obj0
);
7023 if (arg1
== NULL
) SWIG_fail
;
7027 if (!wxPyCheckForApp()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7049 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7054 (char *) "self", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7077 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7079 return Py_BuildValue((char *)"");
7081 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxStopWatch
*result
;
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (wxStopWatch
*)new wxStopWatch();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7103 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7106 long arg2
= (long) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "self",(char *) "t0", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail
;
7118 arg2
= (long)(SWIG_As_long(obj1
));
7119 if (SWIG_arg_fail(2)) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 (arg1
)->Start(arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "self", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7146 if (SWIG_arg_fail(1)) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 Py_INCREF(Py_None
); resultobj
= Py_None
;
7161 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "self", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 Py_INCREF(Py_None
); resultobj
= Py_None
;
7186 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7197 if (SWIG_arg_fail(1)) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_From_long((long)(result
));
7214 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7217 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7219 return Py_BuildValue((char *)"");
7221 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 int arg1
= (int) 9 ;
7224 int arg2
= (int) wxID_FILE1
;
7225 wxFileHistory
*result
;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7229 (char *) "maxFiles",(char *) "idBase", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 arg1
= (int)(SWIG_As_int(obj0
));
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7241 arg2
= (int)(SWIG_As_int(obj1
));
7242 if (SWIG_arg_fail(2)) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7259 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7269 if (SWIG_arg_fail(1)) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7284 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7287 wxString
*arg2
= 0 ;
7288 bool temp2
= false ;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7292 (char *) "self",(char *) "file", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7297 if (SWIG_arg_fail(1)) SWIG_fail
;
7299 arg2
= wxString_in_helper(obj1
);
7300 if (arg2
== NULL
) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7325 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "i", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail
;
7339 arg2
= (int)(SWIG_As_int(obj1
));
7340 if (SWIG_arg_fail(2)) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 (arg1
)->RemoveFileFromHistory(arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7362 (char *) "self", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7367 if (SWIG_arg_fail(1)) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= SWIG_From_int((int)(result
));
7384 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7387 wxMenu
*arg2
= (wxMenu
*) 0 ;
7388 PyObject
* obj0
= 0 ;
7389 PyObject
* obj1
= 0 ;
7391 (char *) "self",(char *) "menu", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7396 if (SWIG_arg_fail(1)) SWIG_fail
;
7397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7398 if (SWIG_arg_fail(2)) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 (arg1
)->UseMenu(arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 Py_INCREF(Py_None
); resultobj
= Py_None
;
7413 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7416 wxMenu
*arg2
= (wxMenu
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7420 (char *) "self",(char *) "menu", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7427 if (SWIG_arg_fail(2)) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 (arg1
)->RemoveMenu(arg2
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 Py_INCREF(Py_None
); resultobj
= Py_None
;
7442 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7445 wxConfigBase
*arg2
= 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "config", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7457 if (SWIG_arg_fail(2)) SWIG_fail
;
7459 SWIG_null_ref("wxConfigBase");
7461 if (SWIG_arg_fail(2)) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->Load(*arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7477 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7480 wxConfigBase
*arg2
= 0 ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7484 (char *) "self",(char *) "config", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7489 if (SWIG_arg_fail(1)) SWIG_fail
;
7491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(2)) SWIG_fail
;
7494 SWIG_null_ref("wxConfigBase");
7496 if (SWIG_arg_fail(2)) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 (arg1
)->Save(*arg2
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 (arg1
)->AddFilesToMenu();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7540 wxMenu
*arg2
= (wxMenu
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "menu", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7551 if (SWIG_arg_fail(2)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 (arg1
)->AddFilesToMenu(arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 Py_INCREF(Py_None
); resultobj
= Py_None
;
7566 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7574 (char *) "self",(char *) "i", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 arg2
= (int)(SWIG_As_int(obj1
));
7582 if (SWIG_arg_fail(2)) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7604 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "self", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_From_int((int)(result
));
7632 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7635 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7637 return Py_BuildValue((char *)"");
7639 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxString
*arg1
= 0 ;
7642 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7643 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7644 wxSingleInstanceChecker
*result
;
7645 bool temp1
= false ;
7646 bool temp2
= false ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7650 (char *) "name",(char *) "path", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 arg1
= wxString_in_helper(obj0
);
7656 if (arg1
== NULL
) SWIG_fail
;
7661 arg2
= wxString_in_helper(obj1
);
7662 if (arg2
== NULL
) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7696 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxSingleInstanceChecker
*result
;
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7718 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7743 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7746 wxString
*arg2
= 0 ;
7747 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7750 bool temp2
= false ;
7751 bool temp3
= false ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 PyObject
* obj2
= 0 ;
7756 (char *) "self",(char *) "name",(char *) "path", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 arg2
= wxString_in_helper(obj1
);
7764 if (arg2
== NULL
) SWIG_fail
;
7769 arg3
= wxString_in_helper(obj2
);
7770 if (arg3
== NULL
) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7834 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7837 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7839 return Py_BuildValue((char *)"");
7841 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxWindow
*arg1
= (wxWindow
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7849 (char *) "window",(char *) "dc", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7854 if (SWIG_arg_fail(1)) SWIG_fail
;
7856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(2)) SWIG_fail
;
7859 SWIG_null_ref("wxDC");
7861 if (SWIG_arg_fail(2)) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7879 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7889 if (SWIG_arg_fail(1)) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "self", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (arg1
)->GetTip();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7936 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7947 if (SWIG_arg_fail(1)) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (size_t)(arg1
)->GetCurrentTip();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7964 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7967 wxString
*arg2
= 0 ;
7969 bool temp2
= false ;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7973 (char *) "self",(char *) "tip", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7978 if (SWIG_arg_fail(1)) SWIG_fail
;
7980 arg2
= wxString_in_helper(obj1
);
7981 if (arg2
== NULL
) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8012 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8015 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8017 return Py_BuildValue((char *)"");
8019 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8022 wxPyTipProvider
*result
;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "currentTip", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8030 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8031 if (SWIG_arg_fail(1)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8047 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8050 PyObject
*arg2
= (PyObject
*) 0 ;
8051 PyObject
*arg3
= (PyObject
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8056 (char *) "self",(char *) "self",(char *) "_class", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8081 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8083 return Py_BuildValue((char *)"");
8085 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxWindow
*arg1
= (wxWindow
*) 0 ;
8088 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8089 bool arg3
= (bool) true ;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8093 PyObject
* obj2
= 0 ;
8095 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8100 if (SWIG_arg_fail(1)) SWIG_fail
;
8101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8102 if (SWIG_arg_fail(2)) SWIG_fail
;
8105 arg3
= (bool)(SWIG_As_bool(obj2
));
8106 if (SWIG_arg_fail(3)) SWIG_fail
;
8110 if (!wxPyCheckForApp()) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8126 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxString
*arg1
= 0 ;
8130 wxTipProvider
*result
;
8131 bool temp1
= false ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8135 (char *) "filename",(char *) "currentTip", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8140 arg1
= wxString_in_helper(obj0
);
8141 if (arg1
== NULL
) SWIG_fail
;
8145 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8146 if (SWIG_arg_fail(2)) SWIG_fail
;
8149 if (!wxPyCheckForApp()) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8171 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8174 int arg2
= (int) -1 ;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8179 (char *) "owner",(char *) "id", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail
;
8189 arg2
= (int)(SWIG_As_int(obj1
));
8190 if (SWIG_arg_fail(2)) SWIG_fail
;
8194 if (!wxPyCheckForApp()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8208 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8233 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8236 PyObject
*arg2
= (PyObject
*) 0 ;
8237 PyObject
*arg3
= (PyObject
*) 0 ;
8238 int arg4
= (int) 1 ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 PyObject
* obj2
= 0 ;
8242 PyObject
* obj3
= 0 ;
8244 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8249 if (SWIG_arg_fail(1)) SWIG_fail
;
8254 arg4
= (int)(SWIG_As_int(obj3
));
8255 if (SWIG_arg_fail(4)) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 Py_INCREF(Py_None
); resultobj
= Py_None
;
8272 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8275 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8276 int arg3
= (int) -1 ;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8281 (char *) "self",(char *) "owner",(char *) "id", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8286 if (SWIG_arg_fail(1)) SWIG_fail
;
8287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8288 if (SWIG_arg_fail(2)) SWIG_fail
;
8291 arg3
= (int)(SWIG_As_int(obj2
));
8292 if (SWIG_arg_fail(3)) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 (arg1
)->SetOwner(arg2
,arg3
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 Py_INCREF(Py_None
); resultobj
= Py_None
;
8309 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8312 wxEvtHandler
*result
;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "self", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= wxPyMake_wxObject(result
, 0);
8337 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8340 int arg2
= (int) -1 ;
8341 bool arg3
= (bool) false ;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8345 PyObject
* obj2
= 0 ;
8347 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8352 if (SWIG_arg_fail(1)) SWIG_fail
;
8355 arg2
= (int)(SWIG_As_int(obj1
));
8356 if (SWIG_arg_fail(2)) SWIG_fail
;
8361 arg3
= (bool)(SWIG_As_bool(obj2
));
8362 if (SWIG_arg_fail(3)) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8381 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8384 PyObject
* obj0
= 0 ;
8386 (char *) "self", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8391 if (SWIG_arg_fail(1)) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 Py_INCREF(Py_None
); resultobj
= Py_None
;
8406 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8434 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_From_int((int)(result
));
8462 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8468 (char *) "self", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8473 if (SWIG_arg_fail(1)) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8496 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= SWIG_From_int((int)(result
));
8518 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8521 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8523 return Py_BuildValue((char *)"");
8525 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 int arg1
= (int) 0 ;
8528 int arg2
= (int) 0 ;
8529 wxTimerEvent
*result
;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8533 (char *) "timerid",(char *) "interval", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8539 arg1
= (int)(SWIG_As_int(obj0
));
8540 if (SWIG_arg_fail(1)) SWIG_fail
;
8545 arg2
= (int)(SWIG_As_int(obj1
));
8546 if (SWIG_arg_fail(2)) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8563 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_From_int((int)(result
));
8591 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8594 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8596 return Py_BuildValue((char *)"");
8598 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8599 PyObject
*resultobj
;
8601 wxTimerRunner
*result
;
8602 PyObject
* obj0
= 0 ;
8604 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 SWIG_null_ref("wxTimer");
8611 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 if (!wxPyCheckForApp()) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8628 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8629 PyObject
*resultobj
;
8632 bool arg3
= (bool) false ;
8633 wxTimerRunner
*result
;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8636 PyObject
* obj2
= 0 ;
8638 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8641 if (SWIG_arg_fail(1)) SWIG_fail
;
8643 SWIG_null_ref("wxTimer");
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8648 arg2
= (int)(SWIG_As_int(obj1
));
8649 if (SWIG_arg_fail(2)) SWIG_fail
;
8653 arg3
= (bool)(SWIG_As_bool(obj2
));
8654 if (SWIG_arg_fail(3)) SWIG_fail
;
8658 if (!wxPyCheckForApp()) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8672 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8677 argc
= PyObject_Length(args
);
8678 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8679 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8685 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8693 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8696 if ((argc
>= 2) && (argc
<= 3)) {
8700 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8708 _v
= SWIG_Check_int(argv
[1]);
8711 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8713 _v
= SWIG_Check_bool(argv
[2]);
8715 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8721 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8726 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8755 bool arg3
= (bool) false ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8760 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail
;
8767 arg2
= (int)(SWIG_As_int(obj1
));
8768 if (SWIG_arg_fail(2)) SWIG_fail
;
8772 arg3
= (bool)(SWIG_As_bool(obj2
));
8773 if (SWIG_arg_fail(3)) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Start(arg2
,arg3
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8790 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8793 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8795 return Py_BuildValue((char *)"");
8797 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 result
= (wxLog
*)new wxLog();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8819 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (bool)wxLog::IsEnabled();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8843 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 bool arg1
= (bool) true ;
8847 PyObject
* obj0
= 0 ;
8849 (char *) "doIt", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8855 arg1
= (bool)(SWIG_As_bool(obj0
));
8856 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (bool)wxLog::EnableLogging(arg1
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8878 wxChar
*arg2
= (wxChar
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8884 (char *) "level",(char *) "szString",(char *) "t", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8889 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8893 if (SWIG_arg_fail(2)) SWIG_fail
;
8895 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8896 if (SWIG_arg_fail(3)) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxLog
*arg1
= (wxLog
*) 0 ;
8915 PyObject
* obj0
= 0 ;
8917 (char *) "self", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8922 if (SWIG_arg_fail(1)) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8937 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 wxLog::FlushActive();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8958 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (wxLog
*)wxLog::GetActiveTarget();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8980 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxLog
*arg1
= (wxLog
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "pLogger", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9006 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 Py_INCREF(Py_None
); resultobj
= Py_None
;
9027 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 bool arg1
= (bool) true ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "bVerbose", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9059 arg1
= (bool)(SWIG_As_bool(obj0
));
9060 if (SWIG_arg_fail(1)) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxLog::SetVerbose(arg1
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 Py_INCREF(Py_None
); resultobj
= Py_None
;
9077 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9080 PyObject
* obj0
= 0 ;
9082 (char *) "logLevel", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9087 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9088 if (SWIG_arg_fail(1)) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 wxLog::SetLogLevel(arg1
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 wxLog::DontCreateOnDemand();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "ulMask", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9135 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9136 if (SWIG_arg_fail(1)) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 wxLog::SetTraceMask(arg1
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 Py_INCREF(Py_None
); resultobj
= Py_None
;
9152 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxString
*arg1
= 0 ;
9155 bool temp1
= false ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "str", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9163 arg1
= wxString_in_helper(obj0
);
9164 if (arg1
== NULL
) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 wxLog::AddTraceMask((wxString
const &)*arg1
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9189 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxString
*arg1
= 0 ;
9192 bool temp1
= false ;
9193 PyObject
* obj0
= 0 ;
9195 (char *) "str", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9200 arg1
= wxString_in_helper(obj0
);
9201 if (arg1
== NULL
) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 Py_INCREF(Py_None
); resultobj
= Py_None
;
9226 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxLog::ClearTraceMasks();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 Py_INCREF(Py_None
); resultobj
= Py_None
;
9247 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxArrayString
*result
;
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9259 result
= (wxArrayString
*) &_result_ref
;
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= wxArrayString2PyList_helper(*result
);
9274 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxChar
*arg1
= (wxChar
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 wxLog::SetTimestamp((wxChar
const *)arg1
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 Py_INCREF(Py_None
); resultobj
= Py_None
;
9299 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)wxLog::GetVerbose();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9323 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (wxTraceMask
)wxLog::GetTraceMask();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9347 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxChar
*arg1
= (wxChar
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9353 (char *) "mask", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9358 if (SWIG_arg_fail(1)) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9375 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (wxLogLevel
)wxLog::GetLogLevel();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9399 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (wxChar
*)wxLog::GetTimestamp();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9421 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= Log_TimeStamp();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9449 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxLog
*arg1
= (wxLog
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "self", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9459 if (SWIG_arg_fail(1)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxLog_Destroy(arg1
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 Py_INCREF(Py_None
); resultobj
= Py_None
;
9474 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9477 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9479 return Py_BuildValue((char *)"");
9481 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxLogStderr
*result
;
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (wxLogStderr
*)new wxLogStderr();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9503 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9506 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9508 return Py_BuildValue((char *)"");
9510 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9513 wxLogTextCtrl
*result
;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "pTextCtrl", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9521 if (SWIG_arg_fail(1)) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9536 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9539 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9541 return Py_BuildValue((char *)"");
9543 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (wxLogGui
*)new wxLogGui();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9565 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9568 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9570 return Py_BuildValue((char *)"");
9572 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxFrame
*arg1
= (wxFrame
*) 0 ;
9575 wxString
*arg2
= 0 ;
9576 bool arg3
= (bool) true ;
9577 bool arg4
= (bool) true ;
9578 wxLogWindow
*result
;
9579 bool temp2
= false ;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9582 PyObject
* obj2
= 0 ;
9583 PyObject
* obj3
= 0 ;
9585 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail
;
9592 arg2
= wxString_in_helper(obj1
);
9593 if (arg2
== NULL
) SWIG_fail
;
9598 arg3
= (bool)(SWIG_As_bool(obj2
));
9599 if (SWIG_arg_fail(3)) SWIG_fail
;
9604 arg4
= (bool)(SWIG_As_bool(obj3
));
9605 if (SWIG_arg_fail(4)) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9630 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9633 bool arg2
= (bool) true ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9637 (char *) "self",(char *) "bShow", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9642 if (SWIG_arg_fail(1)) SWIG_fail
;
9645 arg2
= (bool)(SWIG_As_bool(obj1
));
9646 if (SWIG_arg_fail(2)) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 Py_INCREF(Py_None
); resultobj
= Py_None
;
9663 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "self", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9674 if (SWIG_arg_fail(1)) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= wxPyMake_wxObject(result
, 0);
9691 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9702 if (SWIG_arg_fail(1)) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9717 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9745 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9752 (char *) "self",(char *) "bDoPass", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9757 if (SWIG_arg_fail(1)) SWIG_fail
;
9759 arg2
= (bool)(SWIG_As_bool(obj1
));
9760 if (SWIG_arg_fail(2)) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 (arg1
)->PassMessages(arg2
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 Py_INCREF(Py_None
); resultobj
= Py_None
;
9776 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9779 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9781 return Py_BuildValue((char *)"");
9783 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxLog
*arg1
= (wxLog
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9789 (char *) "logger", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (wxLogChain
*)new wxLogChain(arg1
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9809 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9812 wxLog
*arg2
= (wxLog
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9816 (char *) "self",(char *) "logger", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9821 if (SWIG_arg_fail(1)) SWIG_fail
;
9822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9823 if (SWIG_arg_fail(2)) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 (arg1
)->SetLog(arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9845 (char *) "self",(char *) "bDoPass", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9850 if (SWIG_arg_fail(1)) SWIG_fail
;
9852 arg2
= (bool)(SWIG_As_bool(obj1
));
9853 if (SWIG_arg_fail(2)) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 (arg1
)->PassMessages(arg2
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 Py_INCREF(Py_None
); resultobj
= Py_None
;
9869 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (bool)(arg1
)->IsPassingMessages();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9897 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9908 if (SWIG_arg_fail(1)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (wxLog
*)(arg1
)->GetOldLog();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9923 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9928 return Py_BuildValue((char *)"");
9930 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 unsigned long result
;
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (unsigned long)wxSysErrorCode();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9954 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 unsigned long arg1
= (unsigned long) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "nErrCode", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9966 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9967 if (SWIG_arg_fail(1)) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= wxSysErrorMsg(arg1
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9990 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxString
*arg1
= 0 ;
9993 bool temp1
= false ;
9994 PyObject
* obj0
= 0 ;
9996 (char *) "msg", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10001 arg1
= wxString_in_helper(obj0
);
10002 if (arg1
== NULL
) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 wxPyLogFatalError((wxString
const &)*arg1
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10027 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxString
*arg1
= 0 ;
10030 bool temp1
= false ;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "msg", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10038 arg1
= wxString_in_helper(obj0
);
10039 if (arg1
== NULL
) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 wxPyLogError((wxString
const &)*arg1
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 Py_INCREF(Py_None
); resultobj
= Py_None
;
10064 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxString
*arg1
= 0 ;
10067 bool temp1
= false ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "msg", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10075 arg1
= wxString_in_helper(obj0
);
10076 if (arg1
== NULL
) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 wxPyLogWarning((wxString
const &)*arg1
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 Py_INCREF(Py_None
); resultobj
= Py_None
;
10101 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxString
*arg1
= 0 ;
10104 bool temp1
= false ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "msg", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10112 arg1
= wxString_in_helper(obj0
);
10113 if (arg1
== NULL
) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 wxPyLogMessage((wxString
const &)*arg1
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 Py_INCREF(Py_None
); resultobj
= Py_None
;
10138 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
;
10140 wxString
*arg1
= 0 ;
10141 bool temp1
= false ;
10142 PyObject
* obj0
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "msg", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10149 arg1
= wxString_in_helper(obj0
);
10150 if (arg1
== NULL
) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 wxPyLogInfo((wxString
const &)*arg1
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 Py_INCREF(Py_None
); resultobj
= Py_None
;
10175 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxString
*arg1
= 0 ;
10178 bool temp1
= false ;
10179 PyObject
* obj0
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "msg", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10186 arg1
= wxString_in_helper(obj0
);
10187 if (arg1
== NULL
) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 wxPyLogDebug((wxString
const &)*arg1
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 Py_INCREF(Py_None
); resultobj
= Py_None
;
10212 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxString
*arg1
= 0 ;
10215 bool temp1
= false ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "msg", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10223 arg1
= wxString_in_helper(obj0
);
10224 if (arg1
== NULL
) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 wxPyLogVerbose((wxString
const &)*arg1
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 Py_INCREF(Py_None
); resultobj
= Py_None
;
10249 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxString
*arg1
= 0 ;
10252 bool temp1
= false ;
10253 PyObject
* obj0
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "msg", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10260 arg1
= wxString_in_helper(obj0
);
10261 if (arg1
== NULL
) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 wxPyLogStatus((wxString
const &)*arg1
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 Py_INCREF(Py_None
); resultobj
= Py_None
;
10286 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxFrame
*arg1
= (wxFrame
*) 0 ;
10289 wxString
*arg2
= 0 ;
10290 bool temp2
= false ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "pFrame",(char *) "msg", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10299 if (SWIG_arg_fail(1)) SWIG_fail
;
10301 arg2
= wxString_in_helper(obj1
);
10302 if (arg2
== NULL
) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 Py_INCREF(Py_None
); resultobj
= Py_None
;
10327 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
;
10329 wxString
*arg1
= 0 ;
10330 bool temp1
= false ;
10331 PyObject
* obj0
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "msg", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10338 arg1
= wxString_in_helper(obj0
);
10339 if (arg1
== NULL
) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 wxPyLogSysError((wxString
const &)*arg1
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 Py_INCREF(Py_None
); resultobj
= Py_None
;
10364 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 unsigned long arg1
;
10367 wxString
*arg2
= 0 ;
10368 bool temp2
= false ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "level",(char *) "msg", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10377 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10378 if (SWIG_arg_fail(1)) SWIG_fail
;
10381 arg2
= wxString_in_helper(obj1
);
10382 if (arg2
== NULL
) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10407 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10408 PyObject
*resultobj
;
10409 unsigned long arg1
;
10410 wxString
*arg2
= 0 ;
10411 bool temp2
= false ;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10415 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10417 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10418 if (SWIG_arg_fail(1)) SWIG_fail
;
10421 arg2
= wxString_in_helper(obj1
);
10422 if (arg2
== NULL
) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10448 PyObject
*resultobj
;
10449 wxString
*arg1
= 0 ;
10450 wxString
*arg2
= 0 ;
10451 bool temp1
= false ;
10452 bool temp2
= false ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10456 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10458 arg1
= wxString_in_helper(obj0
);
10459 if (arg1
== NULL
) SWIG_fail
;
10463 arg2
= wxString_in_helper(obj1
);
10464 if (arg2
== NULL
) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10502 argc
= PyObject_Length(args
);
10503 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10504 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10509 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10513 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10516 return _wrap_LogTrace__SWIG_1(self
,args
);
10522 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10525 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10528 return _wrap_LogTrace__SWIG_0(self
,args
);
10533 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10538 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxString
*arg1
= 0 ;
10541 wxString
*arg2
= 0 ;
10542 bool temp1
= false ;
10543 bool temp2
= false ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "title",(char *) "text", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10552 arg1
= wxString_in_helper(obj0
);
10553 if (arg1
== NULL
) SWIG_fail
;
10557 arg2
= wxString_in_helper(obj1
);
10558 if (arg2
== NULL
) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 Py_INCREF(Py_None
); resultobj
= Py_None
;
10591 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10594 char *kwnames
[] = {
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (wxLogNull
*)new wxLogNull();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10613 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10616 PyObject
* obj0
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "self", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10623 if (SWIG_arg_fail(1)) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 Py_INCREF(Py_None
); resultobj
= Py_None
;
10638 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10641 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10643 return Py_BuildValue((char *)"");
10645 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10648 char *kwnames
[] = {
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (wxPyLog
*)new wxPyLog();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10667 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10670 PyObject
*arg2
= (PyObject
*) 0 ;
10671 PyObject
*arg3
= (PyObject
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 PyObject
* obj2
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "self",(char *) "_class", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10681 if (SWIG_arg_fail(1)) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 Py_INCREF(Py_None
); resultobj
= Py_None
;
10698 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10701 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10703 return Py_BuildValue((char *)"");
10705 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10708 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10709 int arg3
= (int) wxKILL_NOCHILDREN
;
10710 wxKillError result
;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 PyObject
* obj2
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10720 arg1
= (int)(SWIG_As_int(obj0
));
10721 if (SWIG_arg_fail(1)) SWIG_fail
;
10725 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10726 if (SWIG_arg_fail(2)) SWIG_fail
;
10731 arg3
= (int)(SWIG_As_int(obj2
));
10732 if (SWIG_arg_fail(3)) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= SWIG_From_int((result
));
10749 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "pid", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10760 arg1
= (int)(SWIG_As_int(obj0
));
10761 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 result
= (bool)wxPyProcess::Exists(arg1
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10779 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxString
*arg1
= 0 ;
10782 int arg2
= (int) wxEXEC_ASYNC
;
10783 wxPyProcess
*result
;
10784 bool temp1
= false ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "cmd",(char *) "flags", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10793 arg1
= wxString_in_helper(obj0
);
10794 if (arg1
== NULL
) SWIG_fail
;
10799 arg2
= (int)(SWIG_As_int(obj1
));
10800 if (SWIG_arg_fail(2)) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10825 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10828 int arg2
= (int) -1 ;
10829 wxPyProcess
*result
;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "parent",(char *) "id", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10839 if (SWIG_arg_fail(1)) SWIG_fail
;
10843 arg2
= (int)(SWIG_As_int(obj1
));
10844 if (SWIG_arg_fail(2)) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10861 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10864 PyObject
*arg2
= (PyObject
*) 0 ;
10865 PyObject
*arg3
= (PyObject
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 PyObject
* obj2
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self",(char *) "self",(char *) "_class", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10875 if (SWIG_arg_fail(1)) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 PyObject
* obj2
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "pid",(char *) "status", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail
;
10908 arg2
= (int)(SWIG_As_int(obj1
));
10909 if (SWIG_arg_fail(2)) SWIG_fail
;
10912 arg3
= (int)(SWIG_As_int(obj2
));
10913 if (SWIG_arg_fail(3)) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->base_OnTerminate(arg2
,arg3
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10929 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->Redirect();
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10965 if (SWIG_arg_fail(1)) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (bool)(arg1
)->IsRedirected();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10982 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10992 if (SWIG_arg_fail(1)) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 Py_INCREF(Py_None
); resultobj
= Py_None
;
11007 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11010 wxInputStream
*result
;
11011 PyObject
* obj0
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11018 if (SWIG_arg_fail(1)) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 wxPyInputStream
* _ptr
= NULL
;
11030 _ptr
= new wxPyInputStream(result
);
11032 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11040 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11043 wxInputStream
*result
;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11051 if (SWIG_arg_fail(1)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 wxPyInputStream
* _ptr
= NULL
;
11063 _ptr
= new wxPyInputStream(result
);
11065 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11073 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11076 wxOutputStream
*result
;
11077 PyObject
* obj0
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11084 if (SWIG_arg_fail(1)) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11099 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11109 if (SWIG_arg_fail(1)) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 (arg1
)->CloseOutput();
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 Py_INCREF(Py_None
); resultobj
= Py_None
;
11124 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11128 PyObject
* obj0
= 0 ;
11129 char *kwnames
[] = {
11130 (char *) "self", NULL
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11135 if (SWIG_arg_fail(1)) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11152 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11163 if (SWIG_arg_fail(1)) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11180 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11184 PyObject
* obj0
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11191 if (SWIG_arg_fail(1)) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11208 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11211 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11213 return Py_BuildValue((char *)"");
11215 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 int arg1
= (int) 0 ;
11218 int arg2
= (int) 0 ;
11219 int arg3
= (int) 0 ;
11220 wxProcessEvent
*result
;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 PyObject
* obj2
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11231 arg1
= (int)(SWIG_As_int(obj0
));
11232 if (SWIG_arg_fail(1)) SWIG_fail
;
11237 arg2
= (int)(SWIG_As_int(obj1
));
11238 if (SWIG_arg_fail(2)) SWIG_fail
;
11243 arg3
= (int)(SWIG_As_int(obj2
));
11244 if (SWIG_arg_fail(3)) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11261 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11272 if (SWIG_arg_fail(1)) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (int)(arg1
)->GetPid();
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_From_int((int)(result
));
11289 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11300 if (SWIG_arg_fail(1)) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (int)(arg1
)->GetExitCode();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= SWIG_From_int((int)(result
));
11317 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11321 PyObject
* obj0
= 0 ;
11322 PyObject
* obj1
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self",(char *) "m_pid", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail
;
11331 arg2
= (int)(SWIG_As_int(obj1
));
11332 if (SWIG_arg_fail(2)) SWIG_fail
;
11334 if (arg1
) (arg1
)->m_pid
= arg2
;
11336 Py_INCREF(Py_None
); resultobj
= Py_None
;
11343 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11354 if (SWIG_arg_fail(1)) SWIG_fail
;
11355 result
= (int) ((arg1
)->m_pid
);
11358 resultobj
= SWIG_From_int((int)(result
));
11366 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "m_exitcode", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 arg2
= (int)(SWIG_As_int(obj1
));
11381 if (SWIG_arg_fail(2)) SWIG_fail
;
11383 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11385 Py_INCREF(Py_None
); resultobj
= Py_None
;
11392 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11403 if (SWIG_arg_fail(1)) SWIG_fail
;
11404 result
= (int) ((arg1
)->m_exitcode
);
11407 resultobj
= SWIG_From_int((int)(result
));
11415 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11418 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11420 return Py_BuildValue((char *)"");
11422 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxString
*arg1
= 0 ;
11425 int arg2
= (int) wxEXEC_ASYNC
;
11426 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11428 bool temp1
= false ;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 PyObject
* obj2
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "command",(char *) "flags",(char *) "process", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11438 arg1
= wxString_in_helper(obj0
);
11439 if (arg1
== NULL
) SWIG_fail
;
11444 arg2
= (int)(SWIG_As_int(obj1
));
11445 if (SWIG_arg_fail(2)) SWIG_fail
;
11449 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11450 if (SWIG_arg_fail(3)) SWIG_fail
;
11453 if (!wxPyCheckForApp()) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_From_long((long)(result
));
11477 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11480 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11481 wxKillError
*arg3
= (wxKillError
*) 0 ;
11482 int arg4
= (int) wxKILL_NOCHILDREN
;
11484 wxKillError temp3
;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 PyObject
* obj2
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11497 arg1
= (long)(SWIG_As_long(obj0
));
11498 if (SWIG_arg_fail(1)) SWIG_fail
;
11502 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11503 if (SWIG_arg_fail(2)) SWIG_fail
;
11508 arg4
= (int)(SWIG_As_int(obj2
));
11509 if (SWIG_arg_fail(4)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_From_int((int)(result
));
11524 o
= PyInt_FromLong((long) (*arg3
));
11525 resultobj
= t_output_helper(resultobj
, o
);
11533 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 int arg1
= (int) wxJOYSTICK1
;
11536 wxJoystick
*result
;
11537 PyObject
* obj0
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "joystick", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11545 arg1
= (int)(SWIG_As_int(obj0
));
11546 if (SWIG_arg_fail(1)) SWIG_fail
;
11550 if (!wxPyCheckForApp()) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (wxJoystick
*)new wxJoystick(arg1
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11564 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11574 if (SWIG_arg_fail(1)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (arg1
)->GetPosition();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 wxPoint
* resultptr
;
11610 resultptr
= new wxPoint((wxPoint
&)(result
));
11611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11619 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11623 PyObject
* obj0
= 0 ;
11624 char *kwnames
[] = {
11625 (char *) "self", NULL
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11630 if (SWIG_arg_fail(1)) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 result
= (int)(arg1
)->GetZPosition();
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_From_int((int)(result
));
11647 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11648 PyObject
*resultobj
;
11649 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11651 PyObject
* obj0
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "self", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11658 if (SWIG_arg_fail(1)) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (int)(arg1
)->GetButtonState();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11667 resultobj
= SWIG_From_int((int)(result
));
11675 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11679 PyObject
* obj0
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (int)(arg1
)->GetPOVPosition();
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_From_int((int)(result
));
11703 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11714 if (SWIG_arg_fail(1)) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (int)(arg1
)->GetPOVCTSPosition();
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11723 resultobj
= SWIG_From_int((int)(result
));
11731 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11735 PyObject
* obj0
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11742 if (SWIG_arg_fail(1)) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (int)(arg1
)->GetRudderPosition();
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_From_int((int)(result
));
11759 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11770 if (SWIG_arg_fail(1)) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (int)(arg1
)->GetUPosition();
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= SWIG_From_int((int)(result
));
11787 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11791 PyObject
* obj0
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11798 if (SWIG_arg_fail(1)) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (int)(arg1
)->GetVPosition();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= SWIG_From_int((int)(result
));
11815 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11819 PyObject
* obj0
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11826 if (SWIG_arg_fail(1)) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (int)(arg1
)->GetMovementThreshold();
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= SWIG_From_int((int)(result
));
11843 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11844 PyObject
*resultobj
;
11845 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "threshold", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11855 if (SWIG_arg_fail(1)) SWIG_fail
;
11857 arg2
= (int)(SWIG_As_int(obj1
));
11858 if (SWIG_arg_fail(2)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 (arg1
)->SetMovementThreshold(arg2
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 Py_INCREF(Py_None
); resultobj
= Py_None
;
11874 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11885 if (SWIG_arg_fail(1)) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)(arg1
)->IsOk();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11902 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11913 if (SWIG_arg_fail(1)) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (int)(arg1
)->GetNumberJoysticks();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= SWIG_From_int((int)(result
));
11930 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11941 if (SWIG_arg_fail(1)) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (int)(arg1
)->GetManufacturerId();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_From_int((int)(result
));
11958 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11969 if (SWIG_arg_fail(1)) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (int)(arg1
)->GetProductId();
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_From_int((int)(result
));
11986 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11997 if (SWIG_arg_fail(1)) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (arg1
)->GetProductName();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12018 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (int)(arg1
)->GetXMin();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_From_int((int)(result
));
12046 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12057 if (SWIG_arg_fail(1)) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (int)(arg1
)->GetYMin();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_From_int((int)(result
));
12074 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (int)(arg1
)->GetZMin();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_From_int((int)(result
));
12102 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (int)(arg1
)->GetXMax();
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_From_int((int)(result
));
12130 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12134 PyObject
* obj0
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12141 if (SWIG_arg_fail(1)) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (int)(arg1
)->GetYMax();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= SWIG_From_int((int)(result
));
12158 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12169 if (SWIG_arg_fail(1)) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (int)(arg1
)->GetZMax();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_From_int((int)(result
));
12186 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12190 PyObject
* obj0
= 0 ;
12191 char *kwnames
[] = {
12192 (char *) "self", NULL
12195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12197 if (SWIG_arg_fail(1)) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (int)(arg1
)->GetNumberButtons();
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= SWIG_From_int((int)(result
));
12214 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12225 if (SWIG_arg_fail(1)) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (int)(arg1
)->GetNumberAxes();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= SWIG_From_int((int)(result
));
12242 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (int)(arg1
)->GetMaxButtons();
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_From_int((int)(result
));
12270 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
;
12272 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12274 PyObject
* obj0
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12281 if (SWIG_arg_fail(1)) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 result
= (int)(arg1
)->GetMaxAxes();
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_From_int((int)(result
));
12298 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (int)(arg1
)->GetPollingMin();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_From_int((int)(result
));
12326 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12337 if (SWIG_arg_fail(1)) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (int)(arg1
)->GetPollingMax();
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= SWIG_From_int((int)(result
));
12354 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (int)(arg1
)->GetRudderMin();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_From_int((int)(result
));
12382 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12393 if (SWIG_arg_fail(1)) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (int)(arg1
)->GetRudderMax();
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= SWIG_From_int((int)(result
));
12410 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12414 PyObject
* obj0
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12421 if (SWIG_arg_fail(1)) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (int)(arg1
)->GetUMin();
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_From_int((int)(result
));
12438 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12449 if (SWIG_arg_fail(1)) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (int)(arg1
)->GetUMax();
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_From_int((int)(result
));
12466 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12477 if (SWIG_arg_fail(1)) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (int)(arg1
)->GetVMin();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= SWIG_From_int((int)(result
));
12494 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12505 if (SWIG_arg_fail(1)) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (int)(arg1
)->GetVMax();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_From_int((int)(result
));
12522 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (bool)(arg1
)->HasRudder();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12550 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= (bool)(arg1
)->HasZ();
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12578 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12589 if (SWIG_arg_fail(1)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (bool)(arg1
)->HasU();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12606 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (bool)(arg1
)->HasV();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12634 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12645 if (SWIG_arg_fail(1)) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (bool)(arg1
)->HasPOV();
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12662 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12673 if (SWIG_arg_fail(1)) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (bool)(arg1
)->HasPOV4Dir();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12690 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12701 if (SWIG_arg_fail(1)) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (bool)(arg1
)->HasPOVCTS();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12718 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12721 wxWindow
*arg2
= (wxWindow
*) 0 ;
12722 int arg3
= (int) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 PyObject
* obj2
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12733 if (SWIG_arg_fail(1)) SWIG_fail
;
12734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12735 if (SWIG_arg_fail(2)) SWIG_fail
;
12738 arg3
= (int)(SWIG_As_int(obj2
));
12739 if (SWIG_arg_fail(3)) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12758 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12769 if (SWIG_arg_fail(1)) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (bool)(arg1
)->ReleaseCapture();
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12786 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12789 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12791 return Py_BuildValue((char *)"");
12793 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12796 int arg2
= (int) 0 ;
12797 int arg3
= (int) wxJOYSTICK1
;
12798 int arg4
= (int) 0 ;
12799 wxJoystickEvent
*result
;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 PyObject
* obj2
= 0 ;
12803 PyObject
* obj3
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12811 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12812 if (SWIG_arg_fail(1)) SWIG_fail
;
12817 arg2
= (int)(SWIG_As_int(obj1
));
12818 if (SWIG_arg_fail(2)) SWIG_fail
;
12823 arg3
= (int)(SWIG_As_int(obj2
));
12824 if (SWIG_arg_fail(3)) SWIG_fail
;
12829 arg4
= (int)(SWIG_As_int(obj3
));
12830 if (SWIG_arg_fail(4)) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12847 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12858 if (SWIG_arg_fail(1)) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12867 wxPoint
* resultptr
;
12868 resultptr
= new wxPoint((wxPoint
&)(result
));
12869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12877 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "self", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12888 if (SWIG_arg_fail(1)) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= SWIG_From_int((int)(result
));
12905 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12916 if (SWIG_arg_fail(1)) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= SWIG_From_int((int)(result
));
12933 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_From_int((int)(result
));
12961 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_From_int((int)(result
));
12989 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12993 PyObject
* obj0
= 0 ;
12994 PyObject
* obj1
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self",(char *) "stick", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13001 if (SWIG_arg_fail(1)) SWIG_fail
;
13003 arg2
= (int)(SWIG_As_int(obj1
));
13004 if (SWIG_arg_fail(2)) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->SetJoystick(arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 Py_INCREF(Py_None
); resultobj
= Py_None
;
13020 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self",(char *) "state", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13032 if (SWIG_arg_fail(1)) SWIG_fail
;
13034 arg2
= (int)(SWIG_As_int(obj1
));
13035 if (SWIG_arg_fail(2)) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 (arg1
)->SetButtonState(arg2
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 Py_INCREF(Py_None
); resultobj
= Py_None
;
13051 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self",(char *) "change", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13063 if (SWIG_arg_fail(1)) SWIG_fail
;
13065 arg2
= (int)(SWIG_As_int(obj1
));
13066 if (SWIG_arg_fail(2)) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 (arg1
)->SetButtonChange(arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13082 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13085 wxPoint
*arg2
= 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "pos", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13095 if (SWIG_arg_fail(1)) SWIG_fail
;
13098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 Py_INCREF(Py_None
); resultobj
= Py_None
;
13114 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "zPos", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13126 if (SWIG_arg_fail(1)) SWIG_fail
;
13128 arg2
= (int)(SWIG_As_int(obj1
));
13129 if (SWIG_arg_fail(2)) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 (arg1
)->SetZPosition(arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 Py_INCREF(Py_None
); resultobj
= Py_None
;
13145 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13156 if (SWIG_arg_fail(1)) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13173 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13184 if (SWIG_arg_fail(1)) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13201 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13229 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13232 int arg2
= (int) wxJOY_BUTTON_ANY
;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self",(char *) "but", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13242 if (SWIG_arg_fail(1)) SWIG_fail
;
13245 arg2
= (int)(SWIG_As_int(obj1
));
13246 if (SWIG_arg_fail(2)) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13265 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13268 int arg2
= (int) wxJOY_BUTTON_ANY
;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "but", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13278 if (SWIG_arg_fail(1)) SWIG_fail
;
13281 arg2
= (int)(SWIG_As_int(obj1
));
13282 if (SWIG_arg_fail(2)) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13301 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13304 int arg2
= (int) wxJOY_BUTTON_ANY
;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "but", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13314 if (SWIG_arg_fail(1)) SWIG_fail
;
13317 arg2
= (int)(SWIG_As_int(obj1
));
13318 if (SWIG_arg_fail(2)) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13337 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13340 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13342 return Py_BuildValue((char *)"");
13344 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13347 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13349 bool temp1
= false ;
13350 PyObject
* obj0
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "fileName", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13358 arg1
= wxString_in_helper(obj0
);
13359 if (arg1
== NULL
) SWIG_fail
;
13364 if (!wxPyCheckForApp()) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13386 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 PyObject
*arg1
= (PyObject
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "data", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13398 if (!wxPyCheckForApp()) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (wxSound
*)new_wxSound(arg1
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13412 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxSound
*arg1
= (wxSound
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13422 if (SWIG_arg_fail(1)) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 Py_INCREF(Py_None
); resultobj
= Py_None
;
13437 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxSound
*arg1
= (wxSound
*) 0 ;
13440 wxString
*arg2
= 0 ;
13442 bool temp2
= false ;
13443 PyObject
* obj0
= 0 ;
13444 PyObject
* obj1
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self",(char *) "fileName", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13451 if (SWIG_arg_fail(1)) SWIG_fail
;
13453 arg2
= wxString_in_helper(obj1
);
13454 if (arg2
== NULL
) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxSound
*arg1
= (wxSound
*) 0 ;
13484 PyObject
*arg2
= (PyObject
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 PyObject
* obj1
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self",(char *) "data", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13494 if (SWIG_arg_fail(1)) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13512 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxSound
*arg1
= (wxSound
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13523 if (SWIG_arg_fail(1)) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (bool)(arg1
)->IsOk();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13540 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
;
13542 wxSound
*arg1
= (wxSound
*) 0 ;
13543 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "flags", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13553 if (SWIG_arg_fail(1)) SWIG_fail
;
13556 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13557 if (SWIG_arg_fail(2)) SWIG_fail
;
13561 if (!wxPyCheckForApp()) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13577 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxString
*arg1
= 0 ;
13580 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13582 bool temp1
= false ;
13583 PyObject
* obj0
= 0 ;
13584 PyObject
* obj1
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "filename",(char *) "flags", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13591 arg1
= wxString_in_helper(obj0
);
13592 if (arg1
== NULL
) SWIG_fail
;
13597 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13598 if (SWIG_arg_fail(2)) SWIG_fail
;
13602 if (!wxPyCheckForApp()) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13626 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 char *kwnames
[] = {
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13634 if (!wxPyCheckForApp()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 Py_INCREF(Py_None
); resultobj
= Py_None
;
13648 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13651 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13653 return Py_BuildValue((char *)"");
13655 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxString
*arg1
= 0 ;
13658 wxString
*arg2
= 0 ;
13659 wxString
*arg3
= 0 ;
13660 wxString
*arg4
= 0 ;
13661 wxFileTypeInfo
*result
;
13662 bool temp1
= false ;
13663 bool temp2
= false ;
13664 bool temp3
= false ;
13665 bool temp4
= false ;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 PyObject
* obj2
= 0 ;
13669 PyObject
* obj3
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13676 arg1
= wxString_in_helper(obj0
);
13677 if (arg1
== NULL
) SWIG_fail
;
13681 arg2
= wxString_in_helper(obj1
);
13682 if (arg2
== NULL
) SWIG_fail
;
13686 arg3
= wxString_in_helper(obj2
);
13687 if (arg3
== NULL
) SWIG_fail
;
13691 arg4
= wxString_in_helper(obj3
);
13692 if (arg4
== NULL
) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13741 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
;
13743 wxArrayString
*arg1
= 0 ;
13744 wxFileTypeInfo
*result
;
13745 bool temp1
= false ;
13746 PyObject
* obj0
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "sArray", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13753 if (! PySequence_Check(obj0
)) {
13754 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13757 arg1
= new wxArrayString
;
13759 int i
, len
=PySequence_Length(obj0
);
13760 for (i
=0; i
<len
; i
++) {
13761 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13763 PyObject
* str
= PyObject_Unicode(item
);
13765 PyObject
* str
= PyObject_Str(item
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13768 arg1
->Add(Py2wxString(str
));
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13782 if (temp1
) delete arg1
;
13787 if (temp1
) delete arg1
;
13793 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxFileTypeInfo
*result
;
13796 char *kwnames
[] = {
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13815 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13819 PyObject
* obj0
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13826 if (SWIG_arg_fail(1)) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13843 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13846 wxString
*arg2
= 0 ;
13847 int arg3
= (int) 0 ;
13848 bool temp2
= false ;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 PyObject
* obj2
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13858 if (SWIG_arg_fail(1)) SWIG_fail
;
13860 arg2
= wxString_in_helper(obj1
);
13861 if (arg2
== NULL
) SWIG_fail
;
13866 arg3
= (int)(SWIG_As_int(obj2
));
13867 if (SWIG_arg_fail(3)) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 Py_INCREF(Py_None
); resultobj
= Py_None
;
13892 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13895 wxString
*arg2
= 0 ;
13896 bool temp2
= false ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self",(char *) "shortDesc", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13905 if (SWIG_arg_fail(1)) SWIG_fail
;
13907 arg2
= wxString_in_helper(obj1
);
13908 if (arg2
== NULL
) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 Py_INCREF(Py_None
); resultobj
= Py_None
;
13933 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13944 if (SWIG_arg_fail(1)) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13949 result
= (wxString
*) &_result_ref
;
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13959 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13968 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13979 if (SWIG_arg_fail(1)) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13984 result
= (wxString
*) &_result_ref
;
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13994 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14003 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14007 PyObject
* obj0
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14019 result
= (wxString
*) &_result_ref
;
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14029 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14038 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
;
14040 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self", NULL
14047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14049 if (SWIG_arg_fail(1)) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14054 result
= (wxString
*) &_result_ref
;
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14064 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14073 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14084 if (SWIG_arg_fail(1)) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14089 result
= (wxString
*) &_result_ref
;
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14099 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14108 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14111 wxArrayString
*result
;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14119 if (SWIG_arg_fail(1)) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14124 result
= (wxArrayString
*) &_result_ref
;
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= wxArrayString2PyList_helper(*result
);
14139 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14150 if (SWIG_arg_fail(1)) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= SWIG_From_int((int)(result
));
14167 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14178 if (SWIG_arg_fail(1)) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14183 result
= (wxString
*) &_result_ref
;
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14202 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14213 if (SWIG_arg_fail(1)) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= SWIG_From_int((int)(result
));
14230 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14233 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14235 return Py_BuildValue((char *)"");
14237 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxFileTypeInfo
*arg1
= 0 ;
14240 wxFileType
*result
;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "ftInfo", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14249 if (SWIG_arg_fail(1)) SWIG_fail
;
14250 if (arg1
== NULL
) {
14251 SWIG_null_ref("wxFileTypeInfo");
14253 if (SWIG_arg_fail(1)) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14269 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxFileType
*arg1
= (wxFileType
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14279 if (SWIG_arg_fail(1)) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 Py_INCREF(Py_None
); resultobj
= Py_None
;
14294 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxFileType
*arg1
= (wxFileType
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14305 if (SWIG_arg_fail(1)) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= result
;
14320 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxFileType
*arg1
= (wxFileType
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= result
;
14346 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxFileType
*arg1
= (wxFileType
*) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "self", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14357 if (SWIG_arg_fail(1)) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= result
;
14372 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxFileType
*arg1
= (wxFileType
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14383 if (SWIG_arg_fail(1)) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14398 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxFileType
*arg1
= (wxFileType
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
;
14424 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxFileType
*arg1
= (wxFileType
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= result
;
14450 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxFileType
*arg1
= (wxFileType
*) 0 ;
14453 wxString
*arg2
= 0 ;
14454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14457 bool temp2
= false ;
14458 bool temp3
= false ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 PyObject
* obj2
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14468 if (SWIG_arg_fail(1)) SWIG_fail
;
14470 arg2
= wxString_in_helper(obj1
);
14471 if (arg2
== NULL
) SWIG_fail
;
14476 arg3
= wxString_in_helper(obj2
);
14477 if (arg3
== NULL
) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= result
;
14511 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxFileType
*arg1
= (wxFileType
*) 0 ;
14514 wxString
*arg2
= 0 ;
14515 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14516 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14518 bool temp2
= false ;
14519 bool temp3
= false ;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 PyObject
* obj2
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14529 if (SWIG_arg_fail(1)) SWIG_fail
;
14531 arg2
= wxString_in_helper(obj1
);
14532 if (arg2
== NULL
) SWIG_fail
;
14537 arg3
= wxString_in_helper(obj2
);
14538 if (arg3
== NULL
) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= result
;
14572 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxFileType
*arg1
= (wxFileType
*) 0 ;
14575 wxString
*arg2
= 0 ;
14576 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14577 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14579 bool temp2
= false ;
14580 bool temp3
= false ;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 PyObject
* obj2
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14590 if (SWIG_arg_fail(1)) SWIG_fail
;
14592 arg2
= wxString_in_helper(obj1
);
14593 if (arg2
== NULL
) SWIG_fail
;
14598 arg3
= wxString_in_helper(obj2
);
14599 if (arg3
== NULL
) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= result
;
14633 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxFileType
*arg1
= (wxFileType
*) 0 ;
14636 wxString
*arg2
= 0 ;
14637 wxString
*arg3
= 0 ;
14638 bool arg4
= (bool) true ;
14640 bool temp2
= false ;
14641 bool temp3
= false ;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 PyObject
* obj2
= 0 ;
14645 PyObject
* obj3
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14652 if (SWIG_arg_fail(1)) SWIG_fail
;
14654 arg2
= wxString_in_helper(obj1
);
14655 if (arg2
== NULL
) SWIG_fail
;
14659 arg3
= wxString_in_helper(obj2
);
14660 if (arg3
== NULL
) SWIG_fail
;
14665 arg4
= (bool)(SWIG_As_bool(obj3
));
14666 if (SWIG_arg_fail(4)) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14701 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxFileType
*arg1
= (wxFileType
*) 0 ;
14704 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14705 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14706 int arg3
= (int) 0 ;
14708 bool temp2
= false ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 PyObject
* obj2
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self",(char *) "cmd",(char *) "index", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14718 if (SWIG_arg_fail(1)) SWIG_fail
;
14721 arg2
= wxString_in_helper(obj1
);
14722 if (arg2
== NULL
) SWIG_fail
;
14728 arg3
= (int)(SWIG_As_int(obj2
));
14729 if (SWIG_arg_fail(3)) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14756 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxFileType
*arg1
= (wxFileType
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14767 if (SWIG_arg_fail(1)) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (bool)(arg1
)->Unassociate();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14784 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxString
*arg1
= 0 ;
14787 wxString
*arg2
= 0 ;
14788 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14789 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14791 bool temp1
= false ;
14792 bool temp2
= false ;
14793 bool temp3
= false ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 PyObject
* obj2
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14803 arg1
= wxString_in_helper(obj0
);
14804 if (arg1
== NULL
) SWIG_fail
;
14808 arg2
= wxString_in_helper(obj1
);
14809 if (arg2
== NULL
) SWIG_fail
;
14814 arg3
= wxString_in_helper(obj2
);
14815 if (arg3
== NULL
) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14863 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14866 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14868 return Py_BuildValue((char *)"");
14870 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14871 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14876 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14879 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14884 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxString
*arg1
= 0 ;
14887 wxString
*arg2
= 0 ;
14889 bool temp1
= false ;
14890 bool temp2
= false ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "mimeType",(char *) "wildcard", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14899 arg1
= wxString_in_helper(obj0
);
14900 if (arg1
== NULL
) SWIG_fail
;
14904 arg2
= wxString_in_helper(obj1
);
14905 if (arg2
== NULL
) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14940 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxMimeTypesManager
*result
;
14943 char *kwnames
[] = {
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14962 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14965 int arg2
= (int) wxMAILCAP_ALL
;
14966 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14967 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14968 bool temp3
= false ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 PyObject
* obj2
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14978 if (SWIG_arg_fail(1)) SWIG_fail
;
14981 arg2
= (int)(SWIG_As_int(obj1
));
14982 if (SWIG_arg_fail(2)) SWIG_fail
;
14987 arg3
= wxString_in_helper(obj2
);
14988 if (arg3
== NULL
) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 Py_INCREF(Py_None
); resultobj
= Py_None
;
15014 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15024 if (SWIG_arg_fail(1)) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 (arg1
)->ClearData();
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 Py_INCREF(Py_None
); resultobj
= Py_None
;
15039 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
;
15041 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15042 wxString
*arg2
= 0 ;
15043 wxFileType
*result
;
15044 bool temp2
= false ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self",(char *) "ext", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15053 if (SWIG_arg_fail(1)) SWIG_fail
;
15055 arg2
= wxString_in_helper(obj1
);
15056 if (arg2
== NULL
) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15081 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15084 wxString
*arg2
= 0 ;
15085 wxFileType
*result
;
15086 bool temp2
= false ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self",(char *) "mimeType", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15095 if (SWIG_arg_fail(1)) SWIG_fail
;
15097 arg2
= wxString_in_helper(obj1
);
15098 if (arg2
== NULL
) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15123 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15126 wxString
*arg2
= 0 ;
15127 bool arg3
= (bool) false ;
15129 bool temp2
= false ;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 PyObject
* obj2
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15139 if (SWIG_arg_fail(1)) SWIG_fail
;
15141 arg2
= wxString_in_helper(obj1
);
15142 if (arg2
== NULL
) SWIG_fail
;
15147 arg3
= (bool)(SWIG_As_bool(obj2
));
15148 if (SWIG_arg_fail(3)) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15175 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15178 wxString
*arg2
= 0 ;
15180 bool temp2
= false ;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self",(char *) "filename", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail
;
15191 arg2
= wxString_in_helper(obj1
);
15192 if (arg2
== NULL
) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15230 if (SWIG_arg_fail(1)) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= result
;
15245 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15248 wxFileTypeInfo
*arg2
= 0 ;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 char *kwnames
[] = {
15252 (char *) "self",(char *) "ft", NULL
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15257 if (SWIG_arg_fail(1)) SWIG_fail
;
15259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15260 if (SWIG_arg_fail(2)) SWIG_fail
;
15261 if (arg2
== NULL
) {
15262 SWIG_null_ref("wxFileTypeInfo");
15264 if (SWIG_arg_fail(2)) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 Py_INCREF(Py_None
); resultobj
= Py_None
;
15280 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15283 wxFileTypeInfo
*arg2
= 0 ;
15284 wxFileType
*result
;
15285 PyObject
* obj0
= 0 ;
15286 PyObject
* obj1
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "ftInfo", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15293 if (SWIG_arg_fail(1)) SWIG_fail
;
15295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15296 if (SWIG_arg_fail(2)) SWIG_fail
;
15297 if (arg2
== NULL
) {
15298 SWIG_null_ref("wxFileTypeInfo");
15300 if (SWIG_arg_fail(2)) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15316 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15319 wxFileType
*arg2
= (wxFileType
*) 0 ;
15321 PyObject
* obj0
= 0 ;
15322 PyObject
* obj1
= 0 ;
15323 char *kwnames
[] = {
15324 (char *) "self",(char *) "ft", NULL
15327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15329 if (SWIG_arg_fail(1)) SWIG_fail
;
15330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15331 if (SWIG_arg_fail(2)) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (bool)(arg1
)->Unassociate(arg2
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15348 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15358 if (SWIG_arg_fail(1)) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 Py_INCREF(Py_None
); resultobj
= Py_None
;
15373 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15376 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15378 return Py_BuildValue((char *)"");
15380 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15381 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15386 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15391 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15393 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15400 static int _wrap_ART_MENU_set(PyObject
*) {
15401 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15406 static PyObject
*_wrap_ART_MENU_get(void) {
15411 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15413 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15420 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15421 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15426 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15431 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15433 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15440 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15441 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15446 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15451 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15453 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15460 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15461 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15466 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15471 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15473 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15480 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15481 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15486 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15491 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15493 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15500 static int _wrap_ART_BUTTON_set(PyObject
*) {
15501 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15506 static PyObject
*_wrap_ART_BUTTON_get(void) {
15511 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15513 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15520 static int _wrap_ART_OTHER_set(PyObject
*) {
15521 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15526 static PyObject
*_wrap_ART_OTHER_get(void) {
15531 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15533 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15540 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15541 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15546 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15551 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15553 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15560 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15561 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15566 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15571 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15573 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15580 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15581 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15586 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15591 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15593 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15600 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15601 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15606 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15611 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15613 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15620 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15621 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15626 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15631 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15633 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15640 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15641 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15646 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15651 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15653 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15660 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15661 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15666 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15671 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15673 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15680 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15681 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15686 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15691 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15693 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15700 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15701 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15706 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15711 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15713 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15720 static int _wrap_ART_GO_UP_set(PyObject
*) {
15721 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15726 static PyObject
*_wrap_ART_GO_UP_get(void) {
15731 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15733 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15740 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15741 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15746 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15751 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15753 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15760 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15761 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15766 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15771 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15773 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15780 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15781 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15786 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15791 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15793 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15800 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15801 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15806 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15811 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15813 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15820 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15821 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15826 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15831 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15833 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15840 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15841 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15846 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15851 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15853 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15860 static int _wrap_ART_PRINT_set(PyObject
*) {
15861 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15866 static PyObject
*_wrap_ART_PRINT_get(void) {
15871 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15873 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15880 static int _wrap_ART_HELP_set(PyObject
*) {
15881 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15886 static PyObject
*_wrap_ART_HELP_get(void) {
15891 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15893 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15900 static int _wrap_ART_TIP_set(PyObject
*) {
15901 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15906 static PyObject
*_wrap_ART_TIP_get(void) {
15911 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15913 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15920 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15921 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15926 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15931 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15933 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15940 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15941 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15946 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15951 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15953 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15960 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15961 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15966 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15971 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15973 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15980 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15981 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15986 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15991 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15993 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16000 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16001 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16006 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16011 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16013 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16020 static int _wrap_ART_CDROM_set(PyObject
*) {
16021 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16026 static PyObject
*_wrap_ART_CDROM_get(void) {
16031 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16033 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16040 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16041 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16046 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16051 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16053 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16060 static int _wrap_ART_FOLDER_set(PyObject
*) {
16061 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16066 static PyObject
*_wrap_ART_FOLDER_get(void) {
16071 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16073 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16080 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16081 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16086 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16091 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16093 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16100 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16101 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16106 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16111 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16113 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16120 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16121 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16126 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16131 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16133 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16140 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16141 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16146 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16151 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16153 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16160 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16161 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16166 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16171 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16173 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16180 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16181 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16186 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16191 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16193 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16200 static int _wrap_ART_ERROR_set(PyObject
*) {
16201 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16206 static PyObject
*_wrap_ART_ERROR_get(void) {
16211 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16213 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16220 static int _wrap_ART_QUESTION_set(PyObject
*) {
16221 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16226 static PyObject
*_wrap_ART_QUESTION_get(void) {
16231 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16233 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16240 static int _wrap_ART_WARNING_set(PyObject
*) {
16241 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16246 static PyObject
*_wrap_ART_WARNING_get(void) {
16251 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16253 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16260 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16261 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16266 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16271 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16273 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16280 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16281 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16286 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16291 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16293 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16300 static int _wrap_ART_COPY_set(PyObject
*) {
16301 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16306 static PyObject
*_wrap_ART_COPY_get(void) {
16311 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16313 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16320 static int _wrap_ART_CUT_set(PyObject
*) {
16321 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16326 static PyObject
*_wrap_ART_CUT_get(void) {
16331 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16333 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16340 static int _wrap_ART_PASTE_set(PyObject
*) {
16341 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16346 static PyObject
*_wrap_ART_PASTE_get(void) {
16351 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16353 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16360 static int _wrap_ART_DELETE_set(PyObject
*) {
16361 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16366 static PyObject
*_wrap_ART_DELETE_get(void) {
16371 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16373 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16380 static int _wrap_ART_UNDO_set(PyObject
*) {
16381 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16386 static PyObject
*_wrap_ART_UNDO_get(void) {
16391 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16393 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16400 static int _wrap_ART_REDO_set(PyObject
*) {
16401 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16406 static PyObject
*_wrap_ART_REDO_get(void) {
16411 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16413 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16420 static int _wrap_ART_QUIT_set(PyObject
*) {
16421 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16426 static PyObject
*_wrap_ART_QUIT_get(void) {
16431 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16433 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16440 static int _wrap_ART_FIND_set(PyObject
*) {
16441 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16446 static PyObject
*_wrap_ART_FIND_get(void) {
16451 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16453 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16460 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16461 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16466 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16471 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16473 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16480 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxPyArtProvider
*result
;
16483 char *kwnames
[] = {
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16489 if (!wxPyCheckForApp()) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16503 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16506 PyObject
*arg2
= (PyObject
*) 0 ;
16507 PyObject
*arg3
= (PyObject
*) 0 ;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 PyObject
* obj2
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self",(char *) "self",(char *) "_class", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16517 if (SWIG_arg_fail(1)) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 Py_INCREF(Py_None
); resultobj
= Py_None
;
16534 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "provider", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16544 if (SWIG_arg_fail(1)) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 wxPyArtProvider::PushProvider(arg1
);
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 Py_INCREF(Py_None
); resultobj
= Py_None
;
16559 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16562 char *kwnames
[] = {
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= (bool)wxPyArtProvider::PopProvider();
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16583 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "provider", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16594 if (SWIG_arg_fail(1)) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16611 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxString
*arg1
= 0 ;
16614 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16615 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16616 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16617 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16619 bool temp1
= false ;
16620 bool temp2
= false ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 PyObject
* obj2
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "id",(char *) "client",(char *) "size", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16631 arg1
= wxString_in_helper(obj0
);
16632 if (arg1
== NULL
) SWIG_fail
;
16637 arg2
= wxString_in_helper(obj1
);
16638 if (arg2
== NULL
) SWIG_fail
;
16645 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16649 if (!wxPyCheckForApp()) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16657 wxBitmap
* resultptr
;
16658 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16683 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxString
*arg1
= 0 ;
16686 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16687 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16688 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16689 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16691 bool temp1
= false ;
16692 bool temp2
= false ;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 PyObject
* obj2
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "id",(char *) "client",(char *) "size", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16703 arg1
= wxString_in_helper(obj0
);
16704 if (arg1
== NULL
) SWIG_fail
;
16709 arg2
= wxString_in_helper(obj1
);
16710 if (arg2
== NULL
) SWIG_fail
;
16717 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16721 if (!wxPyCheckForApp()) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16729 wxIcon
* resultptr
;
16730 resultptr
= new wxIcon((wxIcon
&)(result
));
16731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16755 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxString
*arg1
= 0 ;
16758 bool arg2
= (bool) false ;
16760 bool temp1
= false ;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "client",(char *) "platform_dependent", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16769 arg1
= wxString_in_helper(obj0
);
16770 if (arg1
== NULL
) SWIG_fail
;
16775 arg2
= (bool)(SWIG_As_bool(obj1
));
16776 if (SWIG_arg_fail(2)) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 wxSize
* resultptr
;
16788 resultptr
= new wxSize((wxSize
&)(result
));
16789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16805 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16815 if (SWIG_arg_fail(1)) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 wxPyArtProvider_Destroy(arg1
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 Py_INCREF(Py_None
); resultobj
= Py_None
;
16830 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16833 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16835 return Py_BuildValue((char *)"");
16837 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16865 wxConfigBase
*result
;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "config", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16888 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 bool arg1
= (bool) true ;
16891 wxConfigBase
*result
;
16892 PyObject
* obj0
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "createOnDemand", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16900 arg1
= (bool)(SWIG_As_bool(obj0
));
16901 if (SWIG_arg_fail(1)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16918 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxConfigBase
*result
;
16921 char *kwnames
[] = {
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (wxConfigBase
*)wxConfigBase::Create();
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16940 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16942 char *kwnames
[] = {
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 wxConfigBase::DontCreateOnDemand();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 Py_INCREF(Py_None
); resultobj
= Py_None
;
16961 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16964 wxString
*arg2
= 0 ;
16965 bool temp2
= false ;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self",(char *) "path", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16974 if (SWIG_arg_fail(1)) SWIG_fail
;
16976 arg2
= wxString_in_helper(obj1
);
16977 if (arg2
== NULL
) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 (arg1
)->SetPath((wxString
const &)*arg2
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 Py_INCREF(Py_None
); resultobj
= Py_None
;
17002 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17006 PyObject
* obj0
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17013 if (SWIG_arg_fail(1)) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17018 result
= (wxString
*) &_result_ref
;
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17037 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17048 if (SWIG_arg_fail(1)) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= result
;
17063 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "index", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17076 if (SWIG_arg_fail(1)) SWIG_fail
;
17078 arg2
= (long)(SWIG_As_long(obj1
));
17079 if (SWIG_arg_fail(2)) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= result
;
17095 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17099 PyObject
* obj0
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "self", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17106 if (SWIG_arg_fail(1)) SWIG_fail
;
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= result
;
17121 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "self",(char *) "index", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17134 if (SWIG_arg_fail(1)) SWIG_fail
;
17136 arg2
= (long)(SWIG_As_long(obj1
));
17137 if (SWIG_arg_fail(2)) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= result
;
17153 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17156 bool arg2
= (bool) false ;
17158 PyObject
* obj0
= 0 ;
17159 PyObject
* obj1
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self",(char *) "recursive", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17166 if (SWIG_arg_fail(1)) SWIG_fail
;
17169 arg2
= (bool)(SWIG_As_bool(obj1
));
17170 if (SWIG_arg_fail(2)) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17189 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17192 bool arg2
= (bool) false ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self",(char *) "recursive", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17202 if (SWIG_arg_fail(1)) SWIG_fail
;
17205 arg2
= (bool)(SWIG_As_bool(obj1
));
17206 if (SWIG_arg_fail(2)) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17225 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17228 wxString
*arg2
= 0 ;
17230 bool temp2
= false ;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self",(char *) "name", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17239 if (SWIG_arg_fail(1)) SWIG_fail
;
17241 arg2
= wxString_in_helper(obj1
);
17242 if (arg2
== NULL
) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17269 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
;
17271 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17272 wxString
*arg2
= 0 ;
17274 bool temp2
= false ;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self",(char *) "name", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17283 if (SWIG_arg_fail(1)) SWIG_fail
;
17285 arg2
= wxString_in_helper(obj1
);
17286 if (arg2
== NULL
) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17313 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17316 wxString
*arg2
= 0 ;
17318 bool temp2
= false ;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "name", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17327 if (SWIG_arg_fail(1)) SWIG_fail
;
17329 arg2
= wxString_in_helper(obj1
);
17330 if (arg2
== NULL
) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17357 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
;
17359 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17360 wxString
*arg2
= 0 ;
17361 wxConfigBase::EntryType result
;
17362 bool temp2
= false ;
17363 PyObject
* obj0
= 0 ;
17364 PyObject
* obj1
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "self",(char *) "name", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17371 if (SWIG_arg_fail(1)) SWIG_fail
;
17373 arg2
= wxString_in_helper(obj1
);
17374 if (arg2
== NULL
) SWIG_fail
;
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= SWIG_From_int((result
));
17399 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17402 wxString
*arg2
= 0 ;
17403 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17404 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17406 bool temp2
= false ;
17407 bool temp3
= false ;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 PyObject
* obj2
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17417 if (SWIG_arg_fail(1)) SWIG_fail
;
17419 arg2
= wxString_in_helper(obj1
);
17420 if (arg2
== NULL
) SWIG_fail
;
17425 arg3
= wxString_in_helper(obj2
);
17426 if (arg3
== NULL
) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17466 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17469 wxString
*arg2
= 0 ;
17470 long arg3
= (long) 0 ;
17472 bool temp2
= false ;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 PyObject
* obj2
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17482 if (SWIG_arg_fail(1)) SWIG_fail
;
17484 arg2
= wxString_in_helper(obj1
);
17485 if (arg2
== NULL
) SWIG_fail
;
17490 arg3
= (long)(SWIG_As_long(obj2
));
17491 if (SWIG_arg_fail(3)) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= SWIG_From_long((long)(result
));
17518 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17521 wxString
*arg2
= 0 ;
17522 double arg3
= (double) 0.0 ;
17524 bool temp2
= false ;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 arg2
= wxString_in_helper(obj1
);
17537 if (arg2
== NULL
) SWIG_fail
;
17542 arg3
= (double)(SWIG_As_double(obj2
));
17543 if (SWIG_arg_fail(3)) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= SWIG_From_double((double)(result
));
17570 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17573 wxString
*arg2
= 0 ;
17574 bool arg3
= (bool) false ;
17576 bool temp2
= false ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 PyObject
* obj2
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17586 if (SWIG_arg_fail(1)) SWIG_fail
;
17588 arg2
= wxString_in_helper(obj1
);
17589 if (arg2
== NULL
) SWIG_fail
;
17594 arg3
= (bool)(SWIG_As_bool(obj2
));
17595 if (SWIG_arg_fail(3)) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17625 wxString
*arg2
= 0 ;
17626 wxString
*arg3
= 0 ;
17628 bool temp2
= false ;
17629 bool temp3
= false ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 PyObject
* obj2
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "key",(char *) "value", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17639 if (SWIG_arg_fail(1)) SWIG_fail
;
17641 arg2
= wxString_in_helper(obj1
);
17642 if (arg2
== NULL
) SWIG_fail
;
17646 arg3
= wxString_in_helper(obj2
);
17647 if (arg3
== NULL
) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17682 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17685 wxString
*arg2
= 0 ;
17688 bool temp2
= false ;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 PyObject
* obj2
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self",(char *) "key",(char *) "value", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17698 if (SWIG_arg_fail(1)) SWIG_fail
;
17700 arg2
= wxString_in_helper(obj1
);
17701 if (arg2
== NULL
) SWIG_fail
;
17705 arg3
= (long)(SWIG_As_long(obj2
));
17706 if (SWIG_arg_fail(3)) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17732 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17735 wxString
*arg2
= 0 ;
17738 bool temp2
= false ;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 PyObject
* obj2
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self",(char *) "key",(char *) "value", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17748 if (SWIG_arg_fail(1)) SWIG_fail
;
17750 arg2
= wxString_in_helper(obj1
);
17751 if (arg2
== NULL
) SWIG_fail
;
17755 arg3
= (double)(SWIG_As_double(obj2
));
17756 if (SWIG_arg_fail(3)) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17782 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17785 wxString
*arg2
= 0 ;
17788 bool temp2
= false ;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 PyObject
* obj2
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "key",(char *) "value", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail
;
17800 arg2
= wxString_in_helper(obj1
);
17801 if (arg2
== NULL
) SWIG_fail
;
17805 arg3
= (bool)(SWIG_As_bool(obj2
));
17806 if (SWIG_arg_fail(3)) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17832 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17835 bool arg2
= (bool) false ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "currentOnly", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17845 if (SWIG_arg_fail(1)) SWIG_fail
;
17848 arg2
= (bool)(SWIG_As_bool(obj1
));
17849 if (SWIG_arg_fail(2)) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= (bool)(arg1
)->Flush(arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17868 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17871 wxString
*arg2
= 0 ;
17872 wxString
*arg3
= 0 ;
17874 bool temp2
= false ;
17875 bool temp3
= false ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 PyObject
* obj2
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17885 if (SWIG_arg_fail(1)) SWIG_fail
;
17887 arg2
= wxString_in_helper(obj1
);
17888 if (arg2
== NULL
) SWIG_fail
;
17892 arg3
= wxString_in_helper(obj2
);
17893 if (arg3
== NULL
) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17928 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17931 wxString
*arg2
= 0 ;
17932 wxString
*arg3
= 0 ;
17934 bool temp2
= false ;
17935 bool temp3
= false ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 PyObject
* obj2
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17945 if (SWIG_arg_fail(1)) SWIG_fail
;
17947 arg2
= wxString_in_helper(obj1
);
17948 if (arg2
== NULL
) SWIG_fail
;
17952 arg3
= wxString_in_helper(obj2
);
17953 if (arg3
== NULL
) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17988 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17991 wxString
*arg2
= 0 ;
17992 bool arg3
= (bool) true ;
17994 bool temp2
= false ;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 PyObject
* obj2
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18004 if (SWIG_arg_fail(1)) SWIG_fail
;
18006 arg2
= wxString_in_helper(obj1
);
18007 if (arg2
== NULL
) SWIG_fail
;
18012 arg3
= (bool)(SWIG_As_bool(obj2
));
18013 if (SWIG_arg_fail(3)) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18040 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18043 wxString
*arg2
= 0 ;
18045 bool temp2
= false ;
18046 PyObject
* obj0
= 0 ;
18047 PyObject
* obj1
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self",(char *) "key", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18054 if (SWIG_arg_fail(1)) SWIG_fail
;
18056 arg2
= wxString_in_helper(obj1
);
18057 if (arg2
== NULL
) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18084 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (bool)(arg1
)->DeleteAll();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18112 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18115 bool arg2
= (bool) true ;
18116 PyObject
* obj0
= 0 ;
18117 PyObject
* obj1
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self",(char *) "doIt", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18124 if (SWIG_arg_fail(1)) SWIG_fail
;
18127 arg2
= (bool)(SWIG_As_bool(obj1
));
18128 if (SWIG_arg_fail(2)) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->SetExpandEnvVars(arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 Py_INCREF(Py_None
); resultobj
= Py_None
;
18145 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18173 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18176 bool arg2
= (bool) true ;
18177 PyObject
* obj0
= 0 ;
18178 PyObject
* obj1
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self",(char *) "doIt", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18185 if (SWIG_arg_fail(1)) SWIG_fail
;
18188 arg2
= (bool)(SWIG_As_bool(obj1
));
18189 if (SWIG_arg_fail(2)) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 (arg1
)->SetRecordDefaults(arg2
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 Py_INCREF(Py_None
); resultobj
= Py_None
;
18206 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18217 if (SWIG_arg_fail(1)) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18234 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18237 wxString
*arg2
= 0 ;
18239 bool temp2
= false ;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self",(char *) "str", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",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
;
18250 arg2
= wxString_in_helper(obj1
);
18251 if (arg2
== NULL
) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18282 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18314 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18325 if (SWIG_arg_fail(1)) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18346 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18349 wxString
*arg2
= 0 ;
18350 bool temp2
= false ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "appName", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail
;
18361 arg2
= wxString_in_helper(obj1
);
18362 if (arg2
== NULL
) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 (arg1
)->SetAppName((wxString
const &)*arg2
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 Py_INCREF(Py_None
); resultobj
= Py_None
;
18387 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18390 wxString
*arg2
= 0 ;
18391 bool temp2
= false ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "vendorName", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18402 arg2
= wxString_in_helper(obj1
);
18403 if (arg2
== NULL
) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18428 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self",(char *) "style", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 arg2
= (long)(SWIG_As_long(obj1
));
18443 if (SWIG_arg_fail(2)) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 (arg1
)->SetStyle(arg2
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 Py_INCREF(Py_None
); resultobj
= Py_None
;
18459 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= SWIG_From_long((long)(result
));
18487 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18490 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18492 return Py_BuildValue((char *)"");
18494 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18497 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18498 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18499 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18500 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18501 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18502 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18503 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18504 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18506 bool temp1
= false ;
18507 bool temp2
= false ;
18508 bool temp3
= false ;
18509 bool temp4
= false ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 PyObject
* obj2
= 0 ;
18513 PyObject
* obj3
= 0 ;
18514 PyObject
* obj4
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18522 arg1
= wxString_in_helper(obj0
);
18523 if (arg1
== NULL
) SWIG_fail
;
18529 arg2
= wxString_in_helper(obj1
);
18530 if (arg2
== NULL
) SWIG_fail
;
18536 arg3
= wxString_in_helper(obj2
);
18537 if (arg3
== NULL
) SWIG_fail
;
18543 arg4
= wxString_in_helper(obj3
);
18544 if (arg4
== NULL
) SWIG_fail
;
18550 arg5
= (long)(SWIG_As_long(obj4
));
18551 if (SWIG_arg_fail(5)) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18600 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxConfig
*arg1
= (wxConfig
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18610 if (SWIG_arg_fail(1)) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 Py_INCREF(Py_None
); resultobj
= Py_None
;
18625 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18628 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18630 return Py_BuildValue((char *)"");
18632 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18635 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18636 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18637 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18638 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18639 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18640 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18641 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18642 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18643 wxFileConfig
*result
;
18644 bool temp1
= false ;
18645 bool temp2
= false ;
18646 bool temp3
= false ;
18647 bool temp4
= false ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 PyObject
* obj2
= 0 ;
18651 PyObject
* obj3
= 0 ;
18652 PyObject
* obj4
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18660 arg1
= wxString_in_helper(obj0
);
18661 if (arg1
== NULL
) SWIG_fail
;
18667 arg2
= wxString_in_helper(obj1
);
18668 if (arg2
== NULL
) SWIG_fail
;
18674 arg3
= wxString_in_helper(obj2
);
18675 if (arg3
== NULL
) SWIG_fail
;
18681 arg4
= wxString_in_helper(obj3
);
18682 if (arg4
== NULL
) SWIG_fail
;
18688 arg5
= (long)(SWIG_As_long(obj4
));
18689 if (SWIG_arg_fail(5)) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18738 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 Py_INCREF(Py_None
); resultobj
= Py_None
;
18763 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18766 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18768 return Py_BuildValue((char *)"");
18770 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18773 wxString
*arg2
= 0 ;
18774 wxConfigPathChanger
*result
;
18775 bool temp2
= false ;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj1
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "config",(char *) "entry", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18784 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 arg2
= wxString_in_helper(obj1
);
18787 if (arg2
== NULL
) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18812 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18822 if (SWIG_arg_fail(1)) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 Py_INCREF(Py_None
); resultobj
= Py_None
;
18837 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18841 PyObject
* obj0
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18848 if (SWIG_arg_fail(1)) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18853 result
= (wxString
*) &_result_ref
;
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18863 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18872 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18875 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18877 return Py_BuildValue((char *)"");
18879 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
;
18881 wxString
*arg1
= 0 ;
18883 bool temp1
= false ;
18884 PyObject
* obj0
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "sz", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18891 arg1
= wxString_in_helper(obj0
);
18892 if (arg1
== NULL
) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18923 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18924 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18929 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18934 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18936 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18943 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18944 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18949 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18954 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18956 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18963 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxDateTime::Country arg1
;
18966 PyObject
* obj0
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "country", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18973 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18974 if (SWIG_arg_fail(1)) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 Py_INCREF(Py_None
); resultobj
= Py_None
;
18990 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
;
18992 wxDateTime::Country result
;
18993 char *kwnames
[] = {
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_From_int((result
));
19012 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "country", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19024 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19025 if (SWIG_arg_fail(1)) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19044 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19048 PyObject
* obj0
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "cal", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19056 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19057 if (SWIG_arg_fail(1)) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_From_int((int)(result
));
19076 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "year", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19087 arg1
= (int)(SWIG_As_int(obj0
));
19088 if (SWIG_arg_fail(1)) SWIG_fail
;
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= SWIG_From_int((int)(result
));
19106 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19109 wxDateTime::Month result
;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "cal", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19118 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19119 if (SWIG_arg_fail(1)) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_From_int((result
));
19136 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 int arg1
= (int) wxDateTime::Inv_Year
;
19139 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "year",(char *) "cal", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19150 arg1
= (int)(SWIG_As_int(obj0
));
19151 if (SWIG_arg_fail(1)) SWIG_fail
;
19156 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19157 if (SWIG_arg_fail(2)) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19176 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 int arg1
= (int) wxDateTime::Inv_Year
;
19180 PyObject
* obj0
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "year", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19188 arg1
= (int)(SWIG_As_int(obj0
));
19189 if (SWIG_arg_fail(1)) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (int)wxDateTime::GetCentury(arg1
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= SWIG_From_int((int)(result
));
19208 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19211 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "year",(char *) "cal", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19221 arg1
= (int)(SWIG_As_int(obj0
));
19222 if (SWIG_arg_fail(1)) SWIG_fail
;
19226 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19227 if (SWIG_arg_fail(2)) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_From_int((int)(result
));
19246 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxDateTime::Month arg1
;
19249 int arg2
= (int) wxDateTime::Inv_Year
;
19250 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 PyObject
* obj2
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "month",(char *) "year",(char *) "cal", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19261 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19262 if (SWIG_arg_fail(1)) SWIG_fail
;
19266 arg2
= (int)(SWIG_As_int(obj1
));
19267 if (SWIG_arg_fail(2)) SWIG_fail
;
19272 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19273 if (SWIG_arg_fail(3)) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= SWIG_From_int((int)(result
));
19292 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxDateTime::Month arg1
;
19295 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "month",(char *) "flags", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19306 if (SWIG_arg_fail(1)) SWIG_fail
;
19310 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19311 if (SWIG_arg_fail(2)) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19334 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxDateTime::WeekDay arg1
;
19337 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "weekday",(char *) "flags", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19347 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19348 if (SWIG_arg_fail(1)) SWIG_fail
;
19352 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19353 if (SWIG_arg_fail(2)) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19376 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19379 char *kwnames
[] = {
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= (PyObject
*)DateTime_GetAmPmStrings();
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= result
;
19398 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 int arg1
= (int) wxDateTime::Inv_Year
;
19401 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "year",(char *) "country", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 arg1
= (int)(SWIG_As_int(obj0
));
19413 if (SWIG_arg_fail(1)) SWIG_fail
;
19418 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19419 if (SWIG_arg_fail(2)) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19438 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 int arg1
= (int) wxDateTime::Inv_Year
;
19441 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "year",(char *) "country", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19452 arg1
= (int)(SWIG_As_int(obj0
));
19453 if (SWIG_arg_fail(1)) SWIG_fail
;
19458 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19459 if (SWIG_arg_fail(2)) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19470 wxDateTime
* resultptr
;
19471 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19480 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19482 int arg1
= (int) wxDateTime::Inv_Year
;
19483 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "year",(char *) "country", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19494 arg1
= (int)(SWIG_As_int(obj0
));
19495 if (SWIG_arg_fail(1)) SWIG_fail
;
19500 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19501 if (SWIG_arg_fail(2)) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 wxDateTime
* resultptr
;
19513 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19522 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
;
19525 char *kwnames
[] = {
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 result
= wxDateTime::Now();
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19538 wxDateTime
* resultptr
;
19539 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19548 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19551 char *kwnames
[] = {
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= wxDateTime::UNow();
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19564 wxDateTime
* resultptr
;
19565 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19574 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19577 char *kwnames
[] = {
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= wxDateTime::Today();
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19590 wxDateTime
* resultptr
;
19591 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19600 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxDateTime
*result
;
19603 char *kwnames
[] = {
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (wxDateTime
*)new wxDateTime();
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19622 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19625 wxDateTime
*result
;
19626 PyObject
* obj0
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "timet", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19633 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19634 if (SWIG_arg_fail(1)) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (wxDateTime
*)new wxDateTime(arg1
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19650 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19653 wxDateTime
*result
;
19654 PyObject
* obj0
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "jdn", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19661 arg1
= (double)(SWIG_As_double(obj0
));
19662 if (SWIG_arg_fail(1)) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (wxDateTime
*)new wxDateTime(arg1
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19678 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19681 int arg2
= (int) 0 ;
19682 int arg3
= (int) 0 ;
19683 int arg4
= (int) 0 ;
19684 wxDateTime
*result
;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 PyObject
* obj2
= 0 ;
19688 PyObject
* obj3
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19695 arg1
= (int)(SWIG_As_int(obj0
));
19696 if (SWIG_arg_fail(1)) SWIG_fail
;
19700 arg2
= (int)(SWIG_As_int(obj1
));
19701 if (SWIG_arg_fail(2)) SWIG_fail
;
19706 arg3
= (int)(SWIG_As_int(obj2
));
19707 if (SWIG_arg_fail(3)) SWIG_fail
;
19712 arg4
= (int)(SWIG_As_int(obj3
));
19713 if (SWIG_arg_fail(4)) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19730 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19733 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19734 int arg3
= (int) wxDateTime::Inv_Year
;
19735 int arg4
= (int) 0 ;
19736 int arg5
= (int) 0 ;
19737 int arg6
= (int) 0 ;
19738 int arg7
= (int) 0 ;
19739 wxDateTime
*result
;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 PyObject
* obj2
= 0 ;
19743 PyObject
* obj3
= 0 ;
19744 PyObject
* obj4
= 0 ;
19745 PyObject
* obj5
= 0 ;
19746 PyObject
* obj6
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19753 arg1
= (int)(SWIG_As_int(obj0
));
19754 if (SWIG_arg_fail(1)) SWIG_fail
;
19758 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19759 if (SWIG_arg_fail(2)) SWIG_fail
;
19764 arg3
= (int)(SWIG_As_int(obj2
));
19765 if (SWIG_arg_fail(3)) SWIG_fail
;
19770 arg4
= (int)(SWIG_As_int(obj3
));
19771 if (SWIG_arg_fail(4)) SWIG_fail
;
19776 arg5
= (int)(SWIG_As_int(obj4
));
19777 if (SWIG_arg_fail(5)) SWIG_fail
;
19782 arg6
= (int)(SWIG_As_int(obj5
));
19783 if (SWIG_arg_fail(6)) SWIG_fail
;
19788 arg7
= (int)(SWIG_As_int(obj6
));
19789 if (SWIG_arg_fail(7)) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19806 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19816 if (SWIG_arg_fail(1)) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 Py_INCREF(Py_None
); resultobj
= Py_None
;
19831 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19834 wxDateTime
*result
;
19835 PyObject
* obj0
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19847 result
= (wxDateTime
*) &_result_ref
;
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19860 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19864 wxDateTime
*result
;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "timet", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19873 if (SWIG_arg_fail(1)) SWIG_fail
;
19875 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19876 if (SWIG_arg_fail(2)) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19882 result
= (wxDateTime
*) &_result_ref
;
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19895 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19899 wxDateTime
*result
;
19900 PyObject
* obj0
= 0 ;
19901 PyObject
* obj1
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self",(char *) "jdn", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19908 if (SWIG_arg_fail(1)) SWIG_fail
;
19910 arg2
= (double)(SWIG_As_double(obj1
));
19911 if (SWIG_arg_fail(2)) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19917 result
= (wxDateTime
*) &_result_ref
;
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19930 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19934 int arg3
= (int) 0 ;
19935 int arg4
= (int) 0 ;
19936 int arg5
= (int) 0 ;
19937 wxDateTime
*result
;
19938 PyObject
* obj0
= 0 ;
19939 PyObject
* obj1
= 0 ;
19940 PyObject
* obj2
= 0 ;
19941 PyObject
* obj3
= 0 ;
19942 PyObject
* obj4
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19949 if (SWIG_arg_fail(1)) SWIG_fail
;
19951 arg2
= (int)(SWIG_As_int(obj1
));
19952 if (SWIG_arg_fail(2)) SWIG_fail
;
19956 arg3
= (int)(SWIG_As_int(obj2
));
19957 if (SWIG_arg_fail(3)) SWIG_fail
;
19962 arg4
= (int)(SWIG_As_int(obj3
));
19963 if (SWIG_arg_fail(4)) SWIG_fail
;
19968 arg5
= (int)(SWIG_As_int(obj4
));
19969 if (SWIG_arg_fail(5)) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19976 result
= (wxDateTime
*) &_result_ref
;
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19989 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19993 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19994 int arg4
= (int) wxDateTime::Inv_Year
;
19995 int arg5
= (int) 0 ;
19996 int arg6
= (int) 0 ;
19997 int arg7
= (int) 0 ;
19998 int arg8
= (int) 0 ;
19999 wxDateTime
*result
;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 PyObject
* obj2
= 0 ;
20003 PyObject
* obj3
= 0 ;
20004 PyObject
* obj4
= 0 ;
20005 PyObject
* obj5
= 0 ;
20006 PyObject
* obj6
= 0 ;
20007 PyObject
* obj7
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20014 if (SWIG_arg_fail(1)) SWIG_fail
;
20016 arg2
= (int)(SWIG_As_int(obj1
));
20017 if (SWIG_arg_fail(2)) SWIG_fail
;
20021 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20022 if (SWIG_arg_fail(3)) SWIG_fail
;
20027 arg4
= (int)(SWIG_As_int(obj3
));
20028 if (SWIG_arg_fail(4)) SWIG_fail
;
20033 arg5
= (int)(SWIG_As_int(obj4
));
20034 if (SWIG_arg_fail(5)) SWIG_fail
;
20039 arg6
= (int)(SWIG_As_int(obj5
));
20040 if (SWIG_arg_fail(6)) SWIG_fail
;
20045 arg7
= (int)(SWIG_As_int(obj6
));
20046 if (SWIG_arg_fail(7)) SWIG_fail
;
20051 arg8
= (int)(SWIG_As_int(obj7
));
20052 if (SWIG_arg_fail(8)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20059 result
= (wxDateTime
*) &_result_ref
;
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20072 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20075 wxDateTime
*result
;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20088 result
= (wxDateTime
*) &_result_ref
;
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20101 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20105 wxDateTime
*result
;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "year", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20114 if (SWIG_arg_fail(1)) SWIG_fail
;
20116 arg2
= (int)(SWIG_As_int(obj1
));
20117 if (SWIG_arg_fail(2)) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20123 result
= (wxDateTime
*) &_result_ref
;
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20136 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20139 wxDateTime::Month arg2
;
20140 wxDateTime
*result
;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self",(char *) "month", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20149 if (SWIG_arg_fail(1)) SWIG_fail
;
20151 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20152 if (SWIG_arg_fail(2)) SWIG_fail
;
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20158 result
= (wxDateTime
*) &_result_ref
;
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20171 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20175 wxDateTime
*result
;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "day", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail
;
20186 arg2
= (int)(SWIG_As_int(obj1
));
20187 if (SWIG_arg_fail(2)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20193 result
= (wxDateTime
*) &_result_ref
;
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20206 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20210 wxDateTime
*result
;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "hour", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20219 if (SWIG_arg_fail(1)) SWIG_fail
;
20221 arg2
= (int)(SWIG_As_int(obj1
));
20222 if (SWIG_arg_fail(2)) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20228 result
= (wxDateTime
*) &_result_ref
;
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20241 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20245 wxDateTime
*result
;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "minute", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail
;
20256 arg2
= (int)(SWIG_As_int(obj1
));
20257 if (SWIG_arg_fail(2)) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20263 result
= (wxDateTime
*) &_result_ref
;
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20276 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20280 wxDateTime
*result
;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self",(char *) "second", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20289 if (SWIG_arg_fail(1)) SWIG_fail
;
20291 arg2
= (int)(SWIG_As_int(obj1
));
20292 if (SWIG_arg_fail(2)) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20298 result
= (wxDateTime
*) &_result_ref
;
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20311 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20315 wxDateTime
*result
;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "millisecond", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail
;
20326 arg2
= (int)(SWIG_As_int(obj1
));
20327 if (SWIG_arg_fail(2)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20333 result
= (wxDateTime
*) &_result_ref
;
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20346 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20349 wxDateTime::WeekDay arg2
;
20350 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20351 wxDateTime
*result
;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 PyObject
* obj2
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail
;
20363 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20364 if (SWIG_arg_fail(2)) SWIG_fail
;
20368 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20369 if (SWIG_arg_fail(3)) SWIG_fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20376 result
= (wxDateTime
*) &_result_ref
;
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20389 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
;
20391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20392 wxDateTime::WeekDay arg2
;
20393 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20395 PyObject
* obj0
= 0 ;
20396 PyObject
* obj1
= 0 ;
20397 PyObject
* obj2
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20404 if (SWIG_arg_fail(1)) SWIG_fail
;
20406 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20407 if (SWIG_arg_fail(2)) SWIG_fail
;
20411 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20412 if (SWIG_arg_fail(3)) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 wxDateTime
* resultptr
;
20424 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20433 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20436 wxDateTime::WeekDay arg2
;
20437 wxDateTime
*result
;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self",(char *) "weekday", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20446 if (SWIG_arg_fail(1)) SWIG_fail
;
20448 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20449 if (SWIG_arg_fail(2)) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20455 result
= (wxDateTime
*) &_result_ref
;
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20468 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20471 wxDateTime::WeekDay arg2
;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self",(char *) "weekday", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20481 if (SWIG_arg_fail(1)) SWIG_fail
;
20483 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20484 if (SWIG_arg_fail(2)) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20494 wxDateTime
* resultptr
;
20495 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20504 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20507 wxDateTime::WeekDay arg2
;
20508 wxDateTime
*result
;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self",(char *) "weekday", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20517 if (SWIG_arg_fail(1)) SWIG_fail
;
20519 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20520 if (SWIG_arg_fail(2)) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20526 result
= (wxDateTime
*) &_result_ref
;
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20539 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20542 wxDateTime::WeekDay arg2
;
20544 PyObject
* obj0
= 0 ;
20545 PyObject
* obj1
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "self",(char *) "weekday", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20552 if (SWIG_arg_fail(1)) SWIG_fail
;
20554 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20555 if (SWIG_arg_fail(2)) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20565 wxDateTime
* resultptr
;
20566 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20575 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20578 wxDateTime::WeekDay arg2
;
20579 int arg3
= (int) 1 ;
20580 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20581 int arg5
= (int) wxDateTime::Inv_Year
;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 PyObject
* obj2
= 0 ;
20586 PyObject
* obj3
= 0 ;
20587 PyObject
* obj4
= 0 ;
20588 char *kwnames
[] = {
20589 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20594 if (SWIG_arg_fail(1)) SWIG_fail
;
20596 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20597 if (SWIG_arg_fail(2)) SWIG_fail
;
20601 arg3
= (int)(SWIG_As_int(obj2
));
20602 if (SWIG_arg_fail(3)) SWIG_fail
;
20607 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20608 if (SWIG_arg_fail(4)) SWIG_fail
;
20613 arg5
= (int)(SWIG_As_int(obj4
));
20614 if (SWIG_arg_fail(5)) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20636 wxDateTime::WeekDay arg2
;
20637 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20638 int arg4
= (int) wxDateTime::Inv_Year
;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 PyObject
* obj2
= 0 ;
20643 PyObject
* obj3
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail
;
20652 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20653 if (SWIG_arg_fail(2)) SWIG_fail
;
20657 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20658 if (SWIG_arg_fail(3)) SWIG_fail
;
20663 arg4
= (int)(SWIG_As_int(obj3
));
20664 if (SWIG_arg_fail(4)) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20683 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20686 wxDateTime::WeekDay arg2
;
20687 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20688 int arg4
= (int) wxDateTime::Inv_Year
;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 PyObject
* obj2
= 0 ;
20693 PyObject
* obj3
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20700 if (SWIG_arg_fail(1)) SWIG_fail
;
20702 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20703 if (SWIG_arg_fail(2)) SWIG_fail
;
20707 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20708 if (SWIG_arg_fail(3)) SWIG_fail
;
20713 arg4
= (int)(SWIG_As_int(obj3
));
20714 if (SWIG_arg_fail(4)) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20725 wxDateTime
* resultptr
;
20726 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20735 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20739 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20740 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20744 PyObject
* obj2
= 0 ;
20745 PyObject
* obj3
= 0 ;
20746 char *kwnames
[] = {
20747 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20752 if (SWIG_arg_fail(1)) SWIG_fail
;
20754 arg2
= (int)(SWIG_As_int(obj1
));
20755 if (SWIG_arg_fail(2)) SWIG_fail
;
20759 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20760 if (SWIG_arg_fail(3)) SWIG_fail
;
20765 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20766 if (SWIG_arg_fail(4)) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20785 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20789 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20790 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 PyObject
* obj3
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20802 if (SWIG_arg_fail(1)) SWIG_fail
;
20804 arg2
= (int)(SWIG_As_int(obj1
));
20805 if (SWIG_arg_fail(2)) SWIG_fail
;
20809 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20810 if (SWIG_arg_fail(3)) SWIG_fail
;
20815 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20816 if (SWIG_arg_fail(4)) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20827 wxDateTime
* resultptr
;
20828 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20837 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20841 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20843 PyObject
* obj0
= 0 ;
20844 PyObject
* obj1
= 0 ;
20845 PyObject
* obj2
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20852 arg1
= (int)(SWIG_As_int(obj0
));
20853 if (SWIG_arg_fail(1)) SWIG_fail
;
20856 arg2
= (int)(SWIG_As_int(obj1
));
20857 if (SWIG_arg_fail(2)) SWIG_fail
;
20861 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20862 if (SWIG_arg_fail(3)) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20873 wxDateTime
* resultptr
;
20874 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20883 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20886 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20887 int arg3
= (int) wxDateTime::Inv_Year
;
20888 wxDateTime
*result
;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 PyObject
* obj2
= 0 ;
20892 char *kwnames
[] = {
20893 (char *) "self",(char *) "month",(char *) "year", NULL
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20898 if (SWIG_arg_fail(1)) SWIG_fail
;
20901 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20902 if (SWIG_arg_fail(2)) SWIG_fail
;
20907 arg3
= (int)(SWIG_As_int(obj2
));
20908 if (SWIG_arg_fail(3)) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20915 result
= (wxDateTime
*) &_result_ref
;
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20928 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20931 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20932 int arg3
= (int) wxDateTime::Inv_Year
;
20934 PyObject
* obj0
= 0 ;
20935 PyObject
* obj1
= 0 ;
20936 PyObject
* obj2
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self",(char *) "month",(char *) "year", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20943 if (SWIG_arg_fail(1)) SWIG_fail
;
20946 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20947 if (SWIG_arg_fail(2)) SWIG_fail
;
20952 arg3
= (int)(SWIG_As_int(obj2
));
20953 if (SWIG_arg_fail(3)) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20964 wxDateTime
* resultptr
;
20965 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20974 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
;
20976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20978 wxDateTime
*result
;
20979 PyObject
* obj0
= 0 ;
20980 PyObject
* obj1
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self",(char *) "yday", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20987 if (SWIG_arg_fail(1)) SWIG_fail
;
20989 arg2
= (int)(SWIG_As_int(obj1
));
20990 if (SWIG_arg_fail(2)) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20996 result
= (wxDateTime
*) &_result_ref
;
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21009 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self",(char *) "yday", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21022 if (SWIG_arg_fail(1)) SWIG_fail
;
21024 arg2
= (int)(SWIG_As_int(obj1
));
21025 if (SWIG_arg_fail(2)) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= (arg1
)->GetYearDay(arg2
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21035 wxDateTime
* resultptr
;
21036 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21045 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= (double)(arg1
)->GetJulianDayNumber();
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= SWIG_From_double((double)(result
));
21073 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21084 if (SWIG_arg_fail(1)) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (double)(arg1
)->GetJDN();
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_From_double((double)(result
));
21101 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21105 PyObject
* obj0
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21112 if (SWIG_arg_fail(1)) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_From_double((double)(result
));
21129 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21140 if (SWIG_arg_fail(1)) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= (double)(arg1
)->GetMJD();
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_From_double((double)(result
));
21157 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21161 PyObject
* obj0
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21168 if (SWIG_arg_fail(1)) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (double)(arg1
)->GetRataDie();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_From_double((double)(result
));
21185 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21188 wxDateTime::TimeZone
*arg2
= 0 ;
21189 bool arg3
= (bool) false ;
21191 bool temp2
= false ;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 PyObject
* obj2
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21201 if (SWIG_arg_fail(1)) SWIG_fail
;
21203 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21208 arg3
= (bool)(SWIG_As_bool(obj2
));
21209 if (SWIG_arg_fail(3)) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21220 wxDateTime
* resultptr
;
21221 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21225 if (temp2
) delete arg2
;
21230 if (temp2
) delete arg2
;
21236 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21239 wxDateTime::TimeZone
*arg2
= 0 ;
21240 bool arg3
= (bool) false ;
21241 wxDateTime
*result
;
21242 bool temp2
= false ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 PyObject
* obj2
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21252 if (SWIG_arg_fail(1)) SWIG_fail
;
21254 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21259 arg3
= (bool)(SWIG_As_bool(obj2
));
21260 if (SWIG_arg_fail(3)) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21267 result
= (wxDateTime
*) &_result_ref
;
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21275 if (temp2
) delete arg2
;
21280 if (temp2
) delete arg2
;
21286 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21289 bool arg2
= (bool) false ;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self",(char *) "noDST", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21299 if (SWIG_arg_fail(1)) SWIG_fail
;
21302 arg2
= (bool)(SWIG_As_bool(obj1
));
21303 if (SWIG_arg_fail(2)) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 result
= (arg1
)->ToGMT(arg2
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 wxDateTime
* resultptr
;
21315 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21324 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21327 bool arg2
= (bool) false ;
21328 wxDateTime
*result
;
21329 PyObject
* obj0
= 0 ;
21330 PyObject
* obj1
= 0 ;
21331 char *kwnames
[] = {
21332 (char *) "self",(char *) "noDST", NULL
21335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21337 if (SWIG_arg_fail(1)) SWIG_fail
;
21340 arg2
= (bool)(SWIG_As_bool(obj1
));
21341 if (SWIG_arg_fail(2)) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21348 result
= (wxDateTime
*) &_result_ref
;
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21361 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21364 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self",(char *) "country", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21374 if (SWIG_arg_fail(1)) SWIG_fail
;
21377 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21378 if (SWIG_arg_fail(2)) SWIG_fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_From_int((int)(result
));
21397 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
;
21399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21408 if (SWIG_arg_fail(1)) SWIG_fail
;
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21425 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
;
21427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21429 PyObject
* obj0
= 0 ;
21430 char *kwnames
[] = {
21431 (char *) "self", NULL
21434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21436 if (SWIG_arg_fail(1)) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21453 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21456 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21457 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21459 bool temp2
= false ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self",(char *) "tz", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21468 if (SWIG_arg_fail(1)) SWIG_fail
;
21471 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21483 resultobj
= SWIG_From_int((int)(result
));
21486 if (temp2
) delete arg2
;
21491 if (temp2
) delete arg2
;
21497 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21500 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21501 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21502 wxDateTime::Month result
;
21503 bool temp2
= false ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self",(char *) "tz", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail
;
21515 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= SWIG_From_int((result
));
21528 if (temp2
) delete arg2
;
21533 if (temp2
) delete arg2
;
21539 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21542 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21543 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21545 bool temp2
= false ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "tz", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail
;
21557 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_From_int((int)(result
));
21572 if (temp2
) delete arg2
;
21577 if (temp2
) delete arg2
;
21583 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21586 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21587 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21588 wxDateTime::WeekDay result
;
21589 bool temp2
= false ;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self",(char *) "tz", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",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
;
21601 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_From_int((result
));
21614 if (temp2
) delete arg2
;
21619 if (temp2
) delete arg2
;
21625 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21628 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21629 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21631 bool temp2
= false ;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self",(char *) "tz", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21640 if (SWIG_arg_fail(1)) SWIG_fail
;
21643 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_From_int((int)(result
));
21658 if (temp2
) delete arg2
;
21663 if (temp2
) delete arg2
;
21669 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21672 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21673 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21675 bool temp2
= false ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self",(char *) "tz", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21684 if (SWIG_arg_fail(1)) SWIG_fail
;
21687 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_From_int((int)(result
));
21702 if (temp2
) delete arg2
;
21707 if (temp2
) delete arg2
;
21713 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21716 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21717 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21719 bool temp2
= false ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self",(char *) "tz", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21728 if (SWIG_arg_fail(1)) SWIG_fail
;
21731 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_From_int((int)(result
));
21746 if (temp2
) delete arg2
;
21751 if (temp2
) delete arg2
;
21757 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21760 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21761 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21763 bool temp2
= false ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self",(char *) "tz", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21772 if (SWIG_arg_fail(1)) SWIG_fail
;
21775 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_From_int((int)(result
));
21790 if (temp2
) delete arg2
;
21795 if (temp2
) delete arg2
;
21801 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21804 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21805 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21807 bool temp2
= false ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 char *kwnames
[] = {
21811 (char *) "self",(char *) "tz", NULL
21814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21816 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_From_int((int)(result
));
21834 if (temp2
) delete arg2
;
21839 if (temp2
) delete arg2
;
21845 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21848 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21849 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21850 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21852 bool temp3
= false ;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 PyObject
* obj2
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self",(char *) "flags",(char *) "tz", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail
;
21865 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21866 if (SWIG_arg_fail(2)) SWIG_fail
;
21871 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_From_int((int)(result
));
21886 if (temp3
) delete arg3
;
21891 if (temp3
) delete arg3
;
21897 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21900 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21901 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21902 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21904 bool temp3
= false ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 PyObject
* obj2
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self",(char *) "flags",(char *) "tz", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21914 if (SWIG_arg_fail(1)) SWIG_fail
;
21917 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21918 if (SWIG_arg_fail(2)) SWIG_fail
;
21923 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= SWIG_From_int((int)(result
));
21938 if (temp3
) delete arg3
;
21943 if (temp3
) delete arg3
;
21949 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21952 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self",(char *) "country", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21962 if (SWIG_arg_fail(1)) SWIG_fail
;
21965 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21966 if (SWIG_arg_fail(2)) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21985 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21988 wxDateTime
*arg2
= 0 ;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self",(char *) "datetime", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21998 if (SWIG_arg_fail(1)) SWIG_fail
;
22000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22001 if (SWIG_arg_fail(2)) SWIG_fail
;
22002 if (arg2
== NULL
) {
22003 SWIG_null_ref("wxDateTime");
22005 if (SWIG_arg_fail(2)) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22023 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22026 wxDateTime
*arg2
= 0 ;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self",(char *) "datetime", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail
;
22038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22039 if (SWIG_arg_fail(2)) SWIG_fail
;
22040 if (arg2
== NULL
) {
22041 SWIG_null_ref("wxDateTime");
22043 if (SWIG_arg_fail(2)) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22061 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22064 wxDateTime
*arg2
= 0 ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "datetime", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22074 if (SWIG_arg_fail(1)) SWIG_fail
;
22076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22077 if (SWIG_arg_fail(2)) SWIG_fail
;
22078 if (arg2
== NULL
) {
22079 SWIG_null_ref("wxDateTime");
22081 if (SWIG_arg_fail(2)) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22099 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22102 wxDateTime
*arg2
= 0 ;
22103 wxDateTime
*arg3
= 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 PyObject
* obj2
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "t1",(char *) "t2", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22114 if (SWIG_arg_fail(1)) SWIG_fail
;
22116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22117 if (SWIG_arg_fail(2)) SWIG_fail
;
22118 if (arg2
== NULL
) {
22119 SWIG_null_ref("wxDateTime");
22121 if (SWIG_arg_fail(2)) SWIG_fail
;
22124 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22125 if (SWIG_arg_fail(3)) SWIG_fail
;
22126 if (arg3
== NULL
) {
22127 SWIG_null_ref("wxDateTime");
22129 if (SWIG_arg_fail(3)) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22147 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22150 wxDateTime
*arg2
= 0 ;
22151 wxDateTime
*arg3
= 0 ;
22153 PyObject
* obj0
= 0 ;
22154 PyObject
* obj1
= 0 ;
22155 PyObject
* obj2
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self",(char *) "t1",(char *) "t2", NULL
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22162 if (SWIG_arg_fail(1)) SWIG_fail
;
22164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22165 if (SWIG_arg_fail(2)) SWIG_fail
;
22166 if (arg2
== NULL
) {
22167 SWIG_null_ref("wxDateTime");
22169 if (SWIG_arg_fail(2)) SWIG_fail
;
22172 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22173 if (SWIG_arg_fail(3)) SWIG_fail
;
22174 if (arg3
== NULL
) {
22175 SWIG_null_ref("wxDateTime");
22177 if (SWIG_arg_fail(3)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22195 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22198 wxDateTime
*arg2
= 0 ;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "dt", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22208 if (SWIG_arg_fail(1)) SWIG_fail
;
22210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22211 if (SWIG_arg_fail(2)) SWIG_fail
;
22212 if (arg2
== NULL
) {
22213 SWIG_null_ref("wxDateTime");
22215 if (SWIG_arg_fail(2)) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22236 wxDateTime
*arg2
= 0 ;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self",(char *) "dt", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22246 if (SWIG_arg_fail(1)) SWIG_fail
;
22248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22249 if (SWIG_arg_fail(2)) SWIG_fail
;
22250 if (arg2
== NULL
) {
22251 SWIG_null_ref("wxDateTime");
22253 if (SWIG_arg_fail(2)) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22271 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22274 wxDateTime
*arg2
= 0 ;
22275 wxTimeSpan
*arg3
= 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 PyObject
* obj2
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "dt",(char *) "ts", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail
;
22288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22289 if (SWIG_arg_fail(2)) SWIG_fail
;
22290 if (arg2
== NULL
) {
22291 SWIG_null_ref("wxDateTime");
22293 if (SWIG_arg_fail(2)) SWIG_fail
;
22296 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22297 if (SWIG_arg_fail(3)) SWIG_fail
;
22298 if (arg3
== NULL
) {
22299 SWIG_null_ref("wxTimeSpan");
22301 if (SWIG_arg_fail(3)) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22319 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22322 wxTimeSpan
*arg2
= 0 ;
22323 wxDateTime
*result
;
22324 PyObject
* obj0
= 0 ;
22325 PyObject
* obj1
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self",(char *) "diff", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22332 if (SWIG_arg_fail(1)) SWIG_fail
;
22334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22335 if (SWIG_arg_fail(2)) SWIG_fail
;
22336 if (arg2
== NULL
) {
22337 SWIG_null_ref("wxTimeSpan");
22339 if (SWIG_arg_fail(2)) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22345 result
= (wxDateTime
*) &_result_ref
;
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22358 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22361 wxDateSpan
*arg2
= 0 ;
22362 wxDateTime
*result
;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "diff", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22371 if (SWIG_arg_fail(1)) SWIG_fail
;
22373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22374 if (SWIG_arg_fail(2)) SWIG_fail
;
22375 if (arg2
== NULL
) {
22376 SWIG_null_ref("wxDateSpan");
22378 if (SWIG_arg_fail(2)) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22384 result
= (wxDateTime
*) &_result_ref
;
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22397 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22400 wxTimeSpan
*arg2
= 0 ;
22401 wxDateTime
*result
;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "diff", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22410 if (SWIG_arg_fail(1)) SWIG_fail
;
22412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22413 if (SWIG_arg_fail(2)) SWIG_fail
;
22414 if (arg2
== NULL
) {
22415 SWIG_null_ref("wxTimeSpan");
22417 if (SWIG_arg_fail(2)) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22423 result
= (wxDateTime
*) &_result_ref
;
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22436 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22439 wxDateSpan
*arg2
= 0 ;
22440 wxDateTime
*result
;
22441 PyObject
* obj0
= 0 ;
22442 PyObject
* obj1
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self",(char *) "diff", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22449 if (SWIG_arg_fail(1)) SWIG_fail
;
22451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22452 if (SWIG_arg_fail(2)) SWIG_fail
;
22453 if (arg2
== NULL
) {
22454 SWIG_null_ref("wxDateSpan");
22456 if (SWIG_arg_fail(2)) SWIG_fail
;
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22462 result
= (wxDateTime
*) &_result_ref
;
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22475 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22478 wxDateTime
*arg2
= 0 ;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self",(char *) "dt", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail
;
22490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22491 if (SWIG_arg_fail(2)) SWIG_fail
;
22492 if (arg2
== NULL
) {
22493 SWIG_null_ref("wxDateTime");
22495 if (SWIG_arg_fail(2)) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22505 wxTimeSpan
* resultptr
;
22506 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22515 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22516 PyObject
*resultobj
;
22517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22518 wxTimeSpan
*arg2
= 0 ;
22519 wxDateTime
*result
;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22523 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22525 if (SWIG_arg_fail(1)) SWIG_fail
;
22527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22528 if (SWIG_arg_fail(2)) SWIG_fail
;
22529 if (arg2
== NULL
) {
22530 SWIG_null_ref("wxTimeSpan");
22532 if (SWIG_arg_fail(2)) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22538 result
= (wxDateTime
*) &_result_ref
;
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22551 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22552 PyObject
*resultobj
;
22553 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22554 wxDateSpan
*arg2
= 0 ;
22555 wxDateTime
*result
;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22559 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22561 if (SWIG_arg_fail(1)) SWIG_fail
;
22563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22564 if (SWIG_arg_fail(2)) SWIG_fail
;
22565 if (arg2
== NULL
) {
22566 SWIG_null_ref("wxDateSpan");
22568 if (SWIG_arg_fail(2)) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22574 result
= (wxDateTime
*) &_result_ref
;
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22587 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22592 argc
= PyObject_Length(args
);
22593 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22594 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22600 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22610 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22618 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22626 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22636 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22644 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22649 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22654 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22655 PyObject
*resultobj
;
22656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22657 wxTimeSpan
*arg2
= 0 ;
22658 wxDateTime
*result
;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22662 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22664 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22667 if (SWIG_arg_fail(2)) SWIG_fail
;
22668 if (arg2
== NULL
) {
22669 SWIG_null_ref("wxTimeSpan");
22671 if (SWIG_arg_fail(2)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22677 result
= (wxDateTime
*) &_result_ref
;
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22690 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22691 PyObject
*resultobj
;
22692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22693 wxDateSpan
*arg2
= 0 ;
22694 wxDateTime
*result
;
22695 PyObject
* obj0
= 0 ;
22696 PyObject
* obj1
= 0 ;
22698 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22700 if (SWIG_arg_fail(1)) SWIG_fail
;
22702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22703 if (SWIG_arg_fail(2)) SWIG_fail
;
22704 if (arg2
== NULL
) {
22705 SWIG_null_ref("wxDateSpan");
22707 if (SWIG_arg_fail(2)) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22713 result
= (wxDateTime
*) &_result_ref
;
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22726 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22731 argc
= PyObject_Length(args
);
22732 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22733 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22739 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22749 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22757 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22765 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22775 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22783 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22788 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22793 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22794 PyObject
*resultobj
;
22795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22796 wxTimeSpan
*arg2
= 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22801 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22803 if (SWIG_arg_fail(1)) SWIG_fail
;
22805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22806 if (SWIG_arg_fail(2)) SWIG_fail
;
22807 if (arg2
== NULL
) {
22808 SWIG_null_ref("wxTimeSpan");
22810 if (SWIG_arg_fail(2)) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22820 wxDateTime
* resultptr
;
22821 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22830 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22831 PyObject
*resultobj
;
22832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22833 wxDateSpan
*arg2
= 0 ;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22838 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22840 if (SWIG_arg_fail(1)) SWIG_fail
;
22842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22843 if (SWIG_arg_fail(2)) SWIG_fail
;
22844 if (arg2
== NULL
) {
22845 SWIG_null_ref("wxDateSpan");
22847 if (SWIG_arg_fail(2)) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22857 wxDateTime
* resultptr
;
22858 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22867 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22872 argc
= PyObject_Length(args
);
22873 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22874 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22880 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22890 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22898 return _wrap_DateTime___add____SWIG_0(self
,args
);
22906 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22916 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22924 return _wrap_DateTime___add____SWIG_1(self
,args
);
22929 Py_INCREF(Py_NotImplemented
);
22930 return Py_NotImplemented
;
22934 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22935 PyObject
*resultobj
;
22936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22937 wxDateTime
*arg2
= 0 ;
22939 PyObject
* obj0
= 0 ;
22940 PyObject
* obj1
= 0 ;
22942 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22944 if (SWIG_arg_fail(1)) SWIG_fail
;
22946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22947 if (SWIG_arg_fail(2)) SWIG_fail
;
22948 if (arg2
== NULL
) {
22949 SWIG_null_ref("wxDateTime");
22951 if (SWIG_arg_fail(2)) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22961 wxTimeSpan
* resultptr
;
22962 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22971 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22972 PyObject
*resultobj
;
22973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22974 wxTimeSpan
*arg2
= 0 ;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22979 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&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
;
22983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(2)) SWIG_fail
;
22985 if (arg2
== NULL
) {
22986 SWIG_null_ref("wxTimeSpan");
22988 if (SWIG_arg_fail(2)) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22998 wxDateTime
* resultptr
;
22999 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23008 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23009 PyObject
*resultobj
;
23010 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23011 wxDateSpan
*arg2
= 0 ;
23013 PyObject
* obj0
= 0 ;
23014 PyObject
* obj1
= 0 ;
23016 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23018 if (SWIG_arg_fail(1)) SWIG_fail
;
23020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23021 if (SWIG_arg_fail(2)) SWIG_fail
;
23022 if (arg2
== NULL
) {
23023 SWIG_null_ref("wxDateSpan");
23025 if (SWIG_arg_fail(2)) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23035 wxDateTime
* resultptr
;
23036 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23045 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23050 argc
= PyObject_Length(args
);
23051 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23052 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23058 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23068 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23076 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23084 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23094 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23102 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23110 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23120 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23128 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23133 Py_INCREF(Py_NotImplemented
);
23134 return Py_NotImplemented
;
23138 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23141 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "other", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail
;
23152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23153 if (SWIG_arg_fail(2)) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23170 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23173 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self",(char *) "other", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23183 if (SWIG_arg_fail(1)) SWIG_fail
;
23184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23185 if (SWIG_arg_fail(2)) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23202 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23205 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self",(char *) "other", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23215 if (SWIG_arg_fail(1)) SWIG_fail
;
23216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23217 if (SWIG_arg_fail(2)) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23234 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23237 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self",(char *) "other", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23247 if (SWIG_arg_fail(1)) SWIG_fail
;
23248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(2)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23266 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23269 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "other", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23279 if (SWIG_arg_fail(1)) SWIG_fail
;
23280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23281 if (SWIG_arg_fail(2)) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23298 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23301 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "other", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23330 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23333 wxString
*arg2
= 0 ;
23335 bool temp2
= false ;
23336 PyObject
* obj0
= 0 ;
23337 PyObject
* obj1
= 0 ;
23338 char *kwnames
[] = {
23339 (char *) "self",(char *) "date", NULL
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23344 if (SWIG_arg_fail(1)) SWIG_fail
;
23346 arg2
= wxString_in_helper(obj1
);
23347 if (arg2
== NULL
) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= SWIG_From_int((int)(result
));
23374 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23377 wxString
*arg2
= 0 ;
23378 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23379 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23380 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23381 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23383 bool temp2
= false ;
23384 bool temp3
= false ;
23385 PyObject
* obj0
= 0 ;
23386 PyObject
* obj1
= 0 ;
23387 PyObject
* obj2
= 0 ;
23388 PyObject
* obj3
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23395 if (SWIG_arg_fail(1)) SWIG_fail
;
23397 arg2
= wxString_in_helper(obj1
);
23398 if (arg2
== NULL
) SWIG_fail
;
23403 arg3
= wxString_in_helper(obj2
);
23404 if (arg3
== NULL
) SWIG_fail
;
23410 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23411 if (SWIG_arg_fail(4)) SWIG_fail
;
23412 if (arg4
== NULL
) {
23413 SWIG_null_ref("wxDateTime");
23415 if (SWIG_arg_fail(4)) SWIG_fail
;
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_From_int((int)(result
));
23450 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23453 wxString
*arg2
= 0 ;
23455 bool temp2
= false ;
23456 PyObject
* obj0
= 0 ;
23457 PyObject
* obj1
= 0 ;
23458 char *kwnames
[] = {
23459 (char *) "self",(char *) "datetime", NULL
23462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23464 if (SWIG_arg_fail(1)) SWIG_fail
;
23466 arg2
= wxString_in_helper(obj1
);
23467 if (arg2
== NULL
) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_From_int((int)(result
));
23494 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
;
23496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23497 wxString
*arg2
= 0 ;
23499 bool temp2
= false ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self",(char *) "date", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23508 if (SWIG_arg_fail(1)) SWIG_fail
;
23510 arg2
= wxString_in_helper(obj1
);
23511 if (arg2
== NULL
) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_From_int((int)(result
));
23538 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23541 wxString
*arg2
= 0 ;
23543 bool temp2
= false ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self",(char *) "time", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 arg2
= wxString_in_helper(obj1
);
23555 if (arg2
== NULL
) SWIG_fail
;
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_From_int((int)(result
));
23582 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23585 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23586 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23587 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23588 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23590 bool temp2
= false ;
23591 bool temp3
= false ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 PyObject
* obj2
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "self",(char *) "format",(char *) "tz", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23601 if (SWIG_arg_fail(1)) SWIG_fail
;
23604 arg2
= wxString_in_helper(obj1
);
23605 if (arg2
== NULL
) SWIG_fail
;
23611 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23634 if (temp3
) delete arg3
;
23643 if (temp3
) delete arg3
;
23649 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23660 if (SWIG_arg_fail(1)) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23681 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23692 if (SWIG_arg_fail(1)) SWIG_fail
;
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23713 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23745 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23756 if (SWIG_arg_fail(1)) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23777 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23780 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23782 return Py_BuildValue((char *)"");
23784 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "sec", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23795 arg1
= (long)(SWIG_As_long(obj0
));
23796 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= wxTimeSpan::Seconds(arg1
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 wxTimeSpan
* resultptr
;
23807 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23816 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23819 char *kwnames
[] = {
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= wxTimeSpan::Second();
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23832 wxTimeSpan
* resultptr
;
23833 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23842 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23846 PyObject
* obj0
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "min", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23853 arg1
= (long)(SWIG_As_long(obj0
));
23854 if (SWIG_arg_fail(1)) SWIG_fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= wxTimeSpan::Minutes(arg1
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23864 wxTimeSpan
* resultptr
;
23865 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23874 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23877 char *kwnames
[] = {
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= wxTimeSpan::Minute();
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23890 wxTimeSpan
* resultptr
;
23891 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23900 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "hours", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23911 arg1
= (long)(SWIG_As_long(obj0
));
23912 if (SWIG_arg_fail(1)) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= wxTimeSpan::Hours(arg1
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 wxTimeSpan
* resultptr
;
23923 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23932 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23935 char *kwnames
[] = {
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= wxTimeSpan::Hour();
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23948 wxTimeSpan
* resultptr
;
23949 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23958 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23962 PyObject
* obj0
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "days", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23969 arg1
= (long)(SWIG_As_long(obj0
));
23970 if (SWIG_arg_fail(1)) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= wxTimeSpan::Days(arg1
);
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23980 wxTimeSpan
* resultptr
;
23981 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23990 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23993 char *kwnames
[] = {
23997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= wxTimeSpan::Day();
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 wxTimeSpan
* resultptr
;
24007 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24016 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
;
24020 PyObject
* obj0
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "days", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24027 arg1
= (long)(SWIG_As_long(obj0
));
24028 if (SWIG_arg_fail(1)) SWIG_fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= wxTimeSpan::Weeks(arg1
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 wxTimeSpan
* resultptr
;
24039 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24048 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24051 char *kwnames
[] = {
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= wxTimeSpan::Week();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 wxTimeSpan
* resultptr
;
24065 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24074 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 long arg1
= (long) 0 ;
24077 long arg2
= (long) 0 ;
24078 long arg3
= (long) 0 ;
24079 long arg4
= (long) 0 ;
24080 wxTimeSpan
*result
;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 PyObject
* obj2
= 0 ;
24084 PyObject
* obj3
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24092 arg1
= (long)(SWIG_As_long(obj0
));
24093 if (SWIG_arg_fail(1)) SWIG_fail
;
24098 arg2
= (long)(SWIG_As_long(obj1
));
24099 if (SWIG_arg_fail(2)) SWIG_fail
;
24104 arg3
= (long)(SWIG_As_long(obj2
));
24105 if (SWIG_arg_fail(3)) SWIG_fail
;
24110 arg4
= (long)(SWIG_As_long(obj3
));
24111 if (SWIG_arg_fail(4)) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24128 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24138 if (SWIG_arg_fail(1)) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 Py_INCREF(Py_None
); resultobj
= Py_None
;
24153 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24156 wxTimeSpan
*arg2
= 0 ;
24157 wxTimeSpan
*result
;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char *kwnames
[] = {
24161 (char *) "self",(char *) "diff", NULL
24164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24166 if (SWIG_arg_fail(1)) SWIG_fail
;
24168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24169 if (SWIG_arg_fail(2)) SWIG_fail
;
24170 if (arg2
== NULL
) {
24171 SWIG_null_ref("wxTimeSpan");
24173 if (SWIG_arg_fail(2)) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24179 result
= (wxTimeSpan
*) &_result_ref
;
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24192 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
;
24194 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24195 wxTimeSpan
*arg2
= 0 ;
24196 wxTimeSpan
*result
;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 char *kwnames
[] = {
24200 (char *) "self",(char *) "diff", NULL
24203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24205 if (SWIG_arg_fail(1)) SWIG_fail
;
24207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24208 if (SWIG_arg_fail(2)) SWIG_fail
;
24209 if (arg2
== NULL
) {
24210 SWIG_null_ref("wxTimeSpan");
24212 if (SWIG_arg_fail(2)) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24218 result
= (wxTimeSpan
*) &_result_ref
;
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24231 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24235 wxTimeSpan
*result
;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 char *kwnames
[] = {
24239 (char *) "self",(char *) "n", NULL
24242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24244 if (SWIG_arg_fail(1)) SWIG_fail
;
24246 arg2
= (int)(SWIG_As_int(obj1
));
24247 if (SWIG_arg_fail(2)) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24253 result
= (wxTimeSpan
*) &_result_ref
;
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24266 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24269 wxTimeSpan
*result
;
24270 PyObject
* obj0
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24277 if (SWIG_arg_fail(1)) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24282 result
= (wxTimeSpan
*) &_result_ref
;
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24295 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24306 if (SWIG_arg_fail(1)) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24315 wxTimeSpan
* resultptr
;
24316 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24325 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24328 wxTimeSpan
*arg2
= 0 ;
24329 wxTimeSpan
*result
;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self",(char *) "diff", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24338 if (SWIG_arg_fail(1)) SWIG_fail
;
24340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24341 if (SWIG_arg_fail(2)) SWIG_fail
;
24342 if (arg2
== NULL
) {
24343 SWIG_null_ref("wxTimeSpan");
24345 if (SWIG_arg_fail(2)) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24351 result
= (wxTimeSpan
*) &_result_ref
;
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24364 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24367 wxTimeSpan
*arg2
= 0 ;
24368 wxTimeSpan
*result
;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self",(char *) "diff", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24377 if (SWIG_arg_fail(1)) SWIG_fail
;
24379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24380 if (SWIG_arg_fail(2)) SWIG_fail
;
24381 if (arg2
== NULL
) {
24382 SWIG_null_ref("wxTimeSpan");
24384 if (SWIG_arg_fail(2)) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24390 result
= (wxTimeSpan
*) &_result_ref
;
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24403 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24407 wxTimeSpan
*result
;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "n", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24416 if (SWIG_arg_fail(1)) SWIG_fail
;
24418 arg2
= (int)(SWIG_As_int(obj1
));
24419 if (SWIG_arg_fail(2)) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24425 result
= (wxTimeSpan
*) &_result_ref
;
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24438 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24441 wxTimeSpan
*result
;
24442 PyObject
* obj0
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24449 if (SWIG_arg_fail(1)) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24454 result
= (wxTimeSpan
*) &_result_ref
;
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24467 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24470 wxTimeSpan
*arg2
= 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:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24480 if (SWIG_arg_fail(1)) SWIG_fail
;
24482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24483 if (SWIG_arg_fail(2)) SWIG_fail
;
24484 if (arg2
== NULL
) {
24485 SWIG_null_ref("wxTimeSpan");
24487 if (SWIG_arg_fail(2)) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24497 wxTimeSpan
* resultptr
;
24498 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24507 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24510 wxTimeSpan
*arg2
= 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "other", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24520 if (SWIG_arg_fail(1)) SWIG_fail
;
24522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24523 if (SWIG_arg_fail(2)) SWIG_fail
;
24524 if (arg2
== NULL
) {
24525 SWIG_null_ref("wxTimeSpan");
24527 if (SWIG_arg_fail(2)) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 wxTimeSpan
* resultptr
;
24538 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24547 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self",(char *) "n", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24560 if (SWIG_arg_fail(1)) SWIG_fail
;
24562 arg2
= (int)(SWIG_As_int(obj1
));
24563 if (SWIG_arg_fail(2)) SWIG_fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= wxTimeSpan___mul__(arg1
,arg2
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24573 wxTimeSpan
* resultptr
;
24574 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24583 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self",(char *) "n", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail
;
24598 arg2
= (int)(SWIG_As_int(obj1
));
24599 if (SWIG_arg_fail(2)) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24609 wxTimeSpan
* resultptr
;
24610 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24619 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24622 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "other", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24632 if (SWIG_arg_fail(1)) SWIG_fail
;
24633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24634 if (SWIG_arg_fail(2)) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24651 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24654 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self",(char *) "other", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24664 if (SWIG_arg_fail(1)) SWIG_fail
;
24665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24666 if (SWIG_arg_fail(2)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24683 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24686 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "other", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail
;
24697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24698 if (SWIG_arg_fail(2)) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24715 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24718 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "other", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24730 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24747 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24750 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 PyObject
* obj1
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self",(char *) "other", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail
;
24761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24762 if (SWIG_arg_fail(2)) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24779 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24782 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self",(char *) "other", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24792 if (SWIG_arg_fail(1)) SWIG_fail
;
24793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24794 if (SWIG_arg_fail(2)) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24811 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
;
24813 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24839 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24850 if (SWIG_arg_fail(1)) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24867 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24878 if (SWIG_arg_fail(1)) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24895 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24898 wxTimeSpan
*arg2
= 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "ts", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail
;
24910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(2)) SWIG_fail
;
24912 if (arg2
== NULL
) {
24913 SWIG_null_ref("wxTimeSpan");
24915 if (SWIG_arg_fail(2)) SWIG_fail
;
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24933 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24936 wxTimeSpan
*arg2
= 0 ;
24938 PyObject
* obj0
= 0 ;
24939 PyObject
* obj1
= 0 ;
24940 char *kwnames
[] = {
24941 (char *) "self",(char *) "ts", NULL
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24946 if (SWIG_arg_fail(1)) SWIG_fail
;
24948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24949 if (SWIG_arg_fail(2)) SWIG_fail
;
24950 if (arg2
== NULL
) {
24951 SWIG_null_ref("wxTimeSpan");
24953 if (SWIG_arg_fail(2)) SWIG_fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24971 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24974 wxTimeSpan
*arg2
= 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self",(char *) "t", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24984 if (SWIG_arg_fail(1)) SWIG_fail
;
24986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24987 if (SWIG_arg_fail(2)) SWIG_fail
;
24988 if (arg2
== NULL
) {
24989 SWIG_null_ref("wxTimeSpan");
24991 if (SWIG_arg_fail(2)) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25009 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_From_int((int)(result
));
25037 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
;
25039 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25041 PyObject
* obj0
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail
;
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_From_int((int)(result
));
25065 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_From_int((int)(result
));
25093 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25104 if (SWIG_arg_fail(1)) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= SWIG_From_int((int)(result
));
25121 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25125 PyObject
* obj0
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25132 if (SWIG_arg_fail(1)) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25141 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25142 hi
= PyLong_FromLong( (&result
)->GetHi() );
25143 lo
= PyLong_FromLong( (&result
)->GetLo() );
25144 shifter
= PyLong_FromLong(32);
25145 shifted
= PyNumber_Lshift(hi
, shifter
);
25146 resultobj
= PyNumber_Or(shifted
, lo
);
25149 Py_DECREF(shifter
);
25150 Py_DECREF(shifted
);
25158 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25169 if (SWIG_arg_fail(1)) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25179 hi
= PyLong_FromLong( (&result
)->GetHi() );
25180 lo
= PyLong_FromLong( (&result
)->GetLo() );
25181 shifter
= PyLong_FromLong(32);
25182 shifted
= PyNumber_Lshift(hi
, shifter
);
25183 resultobj
= PyNumber_Or(shifted
, lo
);
25186 Py_DECREF(shifter
);
25187 Py_DECREF(shifted
);
25195 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25198 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25199 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25201 bool temp2
= false ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "format", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25210 if (SWIG_arg_fail(1)) SWIG_fail
;
25213 arg2
= wxString_in_helper(obj1
);
25214 if (arg2
== NULL
) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25246 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25249 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25251 return Py_BuildValue((char *)"");
25253 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
;
25255 int arg1
= (int) 0 ;
25256 int arg2
= (int) 0 ;
25257 int arg3
= (int) 0 ;
25258 int arg4
= (int) 0 ;
25259 wxDateSpan
*result
;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 PyObject
* obj2
= 0 ;
25263 PyObject
* obj3
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25271 arg1
= (int)(SWIG_As_int(obj0
));
25272 if (SWIG_arg_fail(1)) SWIG_fail
;
25277 arg2
= (int)(SWIG_As_int(obj1
));
25278 if (SWIG_arg_fail(2)) SWIG_fail
;
25283 arg3
= (int)(SWIG_As_int(obj2
));
25284 if (SWIG_arg_fail(3)) SWIG_fail
;
25289 arg4
= (int)(SWIG_As_int(obj3
));
25290 if (SWIG_arg_fail(4)) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25307 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
;
25309 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25310 PyObject
* obj0
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 Py_INCREF(Py_None
); resultobj
= Py_None
;
25332 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
;
25336 PyObject
* obj0
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "days", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25343 arg1
= (int)(SWIG_As_int(obj0
));
25344 if (SWIG_arg_fail(1)) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= wxDateSpan::Days(arg1
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25354 wxDateSpan
* resultptr
;
25355 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25364 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25367 char *kwnames
[] = {
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 result
= wxDateSpan::Day();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25380 wxDateSpan
* resultptr
;
25381 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25390 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
;
25394 PyObject
* obj0
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "weeks", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25401 arg1
= (int)(SWIG_As_int(obj0
));
25402 if (SWIG_arg_fail(1)) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 result
= wxDateSpan::Weeks(arg1
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25412 wxDateSpan
* resultptr
;
25413 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25422 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25425 char *kwnames
[] = {
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= wxDateSpan::Week();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25438 wxDateSpan
* resultptr
;
25439 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25448 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25452 PyObject
* obj0
= 0 ;
25453 char *kwnames
[] = {
25454 (char *) "mon", NULL
25457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25459 arg1
= (int)(SWIG_As_int(obj0
));
25460 if (SWIG_arg_fail(1)) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= wxDateSpan::Months(arg1
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25470 wxDateSpan
* resultptr
;
25471 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25480 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25483 char *kwnames
[] = {
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= wxDateSpan::Month();
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25496 wxDateSpan
* resultptr
;
25497 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25506 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25510 PyObject
* obj0
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "years", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25517 arg1
= (int)(SWIG_As_int(obj0
));
25518 if (SWIG_arg_fail(1)) SWIG_fail
;
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 result
= wxDateSpan::Years(arg1
);
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25528 wxDateSpan
* resultptr
;
25529 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25538 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25541 char *kwnames
[] = {
25545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= wxDateSpan::Year();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25554 wxDateSpan
* resultptr
;
25555 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25564 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
;
25566 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25568 wxDateSpan
*result
;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self",(char *) "n", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail
;
25579 arg2
= (int)(SWIG_As_int(obj1
));
25580 if (SWIG_arg_fail(2)) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25586 result
= (wxDateSpan
*) &_result_ref
;
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25599 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
;
25601 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25603 wxDateSpan
*result
;
25604 PyObject
* obj0
= 0 ;
25605 PyObject
* obj1
= 0 ;
25606 char *kwnames
[] = {
25607 (char *) "self",(char *) "n", NULL
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25612 if (SWIG_arg_fail(1)) SWIG_fail
;
25614 arg2
= (int)(SWIG_As_int(obj1
));
25615 if (SWIG_arg_fail(2)) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25621 result
= (wxDateSpan
*) &_result_ref
;
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25634 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25638 wxDateSpan
*result
;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self",(char *) "n", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25647 if (SWIG_arg_fail(1)) SWIG_fail
;
25649 arg2
= (int)(SWIG_As_int(obj1
));
25650 if (SWIG_arg_fail(2)) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25656 result
= (wxDateSpan
*) &_result_ref
;
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25669 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25673 wxDateSpan
*result
;
25674 PyObject
* obj0
= 0 ;
25675 PyObject
* obj1
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self",(char *) "n", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25682 if (SWIG_arg_fail(1)) SWIG_fail
;
25684 arg2
= (int)(SWIG_As_int(obj1
));
25685 if (SWIG_arg_fail(2)) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25691 result
= (wxDateSpan
*) &_result_ref
;
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25704 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25708 PyObject
* obj0
= 0 ;
25709 char *kwnames
[] = {
25710 (char *) "self", NULL
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25715 if (SWIG_arg_fail(1)) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= SWIG_From_int((int)(result
));
25732 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
;
25734 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 char *kwnames
[] = {
25738 (char *) "self", NULL
25741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25743 if (SWIG_arg_fail(1)) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= SWIG_From_int((int)(result
));
25760 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25761 PyObject
*resultobj
;
25762 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25764 PyObject
* obj0
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail
;
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_From_int((int)(result
));
25788 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25799 if (SWIG_arg_fail(1)) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= SWIG_From_int((int)(result
));
25816 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25820 PyObject
* obj0
= 0 ;
25821 char *kwnames
[] = {
25822 (char *) "self", NULL
25825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25827 if (SWIG_arg_fail(1)) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= SWIG_From_int((int)(result
));
25844 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25847 wxDateSpan
*arg2
= 0 ;
25848 wxDateSpan
*result
;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self",(char *) "other", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25857 if (SWIG_arg_fail(1)) SWIG_fail
;
25859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25860 if (SWIG_arg_fail(2)) SWIG_fail
;
25861 if (arg2
== NULL
) {
25862 SWIG_null_ref("wxDateSpan");
25864 if (SWIG_arg_fail(2)) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25870 result
= (wxDateSpan
*) &_result_ref
;
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25883 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
;
25885 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25886 wxDateSpan
*arg2
= 0 ;
25887 wxDateSpan
*result
;
25888 PyObject
* obj0
= 0 ;
25889 PyObject
* obj1
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "other", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25896 if (SWIG_arg_fail(1)) SWIG_fail
;
25898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25899 if (SWIG_arg_fail(2)) SWIG_fail
;
25900 if (arg2
== NULL
) {
25901 SWIG_null_ref("wxDateSpan");
25903 if (SWIG_arg_fail(2)) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25909 result
= (wxDateSpan
*) &_result_ref
;
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25922 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
;
25924 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25925 wxDateSpan
*result
;
25926 PyObject
* obj0
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25938 result
= (wxDateSpan
*) &_result_ref
;
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25951 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25955 wxDateSpan
*result
;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self",(char *) "factor", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25964 if (SWIG_arg_fail(1)) SWIG_fail
;
25966 arg2
= (int)(SWIG_As_int(obj1
));
25967 if (SWIG_arg_fail(2)) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25973 result
= (wxDateSpan
*) &_result_ref
;
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25986 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
;
25988 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25989 wxDateSpan
*arg2
= 0 ;
25990 wxDateSpan
*result
;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self",(char *) "other", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25999 if (SWIG_arg_fail(1)) SWIG_fail
;
26001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26002 if (SWIG_arg_fail(2)) SWIG_fail
;
26003 if (arg2
== NULL
) {
26004 SWIG_null_ref("wxDateSpan");
26006 if (SWIG_arg_fail(2)) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26012 result
= (wxDateSpan
*) &_result_ref
;
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26025 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26028 wxDateSpan
*arg2
= 0 ;
26029 wxDateSpan
*result
;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "other", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26038 if (SWIG_arg_fail(1)) SWIG_fail
;
26040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26041 if (SWIG_arg_fail(2)) SWIG_fail
;
26042 if (arg2
== NULL
) {
26043 SWIG_null_ref("wxDateSpan");
26045 if (SWIG_arg_fail(2)) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26051 result
= (wxDateSpan
*) &_result_ref
;
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26064 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
;
26066 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26067 wxDateSpan
*result
;
26068 PyObject
* obj0
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26075 if (SWIG_arg_fail(1)) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26080 result
= (wxDateSpan
*) &_result_ref
;
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26093 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
;
26095 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26097 wxDateSpan
*result
;
26098 PyObject
* obj0
= 0 ;
26099 PyObject
* obj1
= 0 ;
26100 char *kwnames
[] = {
26101 (char *) "self",(char *) "factor", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26106 if (SWIG_arg_fail(1)) SWIG_fail
;
26108 arg2
= (int)(SWIG_As_int(obj1
));
26109 if (SWIG_arg_fail(2)) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26115 result
= (wxDateSpan
*) &_result_ref
;
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26128 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26131 wxDateSpan
*arg2
= 0 ;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self",(char *) "other", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26141 if (SWIG_arg_fail(1)) SWIG_fail
;
26143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26144 if (SWIG_arg_fail(2)) SWIG_fail
;
26145 if (arg2
== NULL
) {
26146 SWIG_null_ref("wxDateSpan");
26148 if (SWIG_arg_fail(2)) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26158 wxDateSpan
* resultptr
;
26159 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26168 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26171 wxDateSpan
*arg2
= 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "other", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26181 if (SWIG_arg_fail(1)) SWIG_fail
;
26183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26184 if (SWIG_arg_fail(2)) SWIG_fail
;
26185 if (arg2
== NULL
) {
26186 SWIG_null_ref("wxDateSpan");
26188 if (SWIG_arg_fail(2)) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26198 wxDateSpan
* resultptr
;
26199 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26208 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self",(char *) "n", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26221 if (SWIG_arg_fail(1)) SWIG_fail
;
26223 arg2
= (int)(SWIG_As_int(obj1
));
26224 if (SWIG_arg_fail(2)) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= wxDateSpan___mul__(arg1
,arg2
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 wxDateSpan
* resultptr
;
26235 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26244 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 PyObject
* obj1
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self",(char *) "n", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail
;
26259 arg2
= (int)(SWIG_As_int(obj1
));
26260 if (SWIG_arg_fail(2)) SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 result
= wxDateSpan___rmul__(arg1
,arg2
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26270 wxDateSpan
* resultptr
;
26271 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26280 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26283 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 char *kwnames
[] = {
26288 (char *) "self",(char *) "other", NULL
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail
;
26294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26295 if (SWIG_arg_fail(2)) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26312 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26315 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 PyObject
* obj1
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "other", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26325 if (SWIG_arg_fail(1)) SWIG_fail
;
26326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26327 if (SWIG_arg_fail(2)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26344 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26347 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26349 return Py_BuildValue((char *)"");
26351 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26352 PyObject
*resultobj
;
26354 char *kwnames
[] = {
26358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 result
= (long)wxGetLocalTime();
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_From_long((long)(result
));
26375 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26378 char *kwnames
[] = {
26382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 result
= (long)wxGetUTCTime();
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26391 resultobj
= SWIG_From_long((long)(result
));
26399 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26402 char *kwnames
[] = {
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= (long)wxGetCurrentTime();
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= SWIG_From_long((long)(result
));
26423 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26426 char *kwnames
[] = {
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 result
= wxGetLocalTimeMillis();
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26439 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26440 hi
= PyLong_FromLong( (&result
)->GetHi() );
26441 lo
= PyLong_FromLong( (&result
)->GetLo() );
26442 shifter
= PyLong_FromLong(32);
26443 shifted
= PyNumber_Lshift(hi
, shifter
);
26444 resultobj
= PyNumber_Or(shifted
, lo
);
26447 Py_DECREF(shifter
);
26448 Py_DECREF(shifted
);
26456 static int _wrap_DefaultDateTime_set(PyObject
*) {
26457 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26462 static PyObject
*_wrap_DefaultDateTime_get(void) {
26465 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26470 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26471 PyObject
*resultobj
;
26472 wxDataFormatId arg1
;
26473 wxDataFormat
*result
;
26474 PyObject
* obj0
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "type", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26481 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26482 if (SWIG_arg_fail(1)) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26498 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxString
*arg1
= 0 ;
26501 wxDataFormat
*result
;
26502 bool temp1
= false ;
26503 PyObject
* obj0
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "format", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26510 arg1
= wxString_in_helper(obj0
);
26511 if (arg1
== NULL
) SWIG_fail
;
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26536 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26537 PyObject
*resultobj
;
26538 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26539 PyObject
* obj0
= 0 ;
26540 char *kwnames
[] = {
26541 (char *) "self", NULL
26544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26546 if (SWIG_arg_fail(1)) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 Py_INCREF(Py_None
); resultobj
= Py_None
;
26561 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26562 PyObject
*resultobj
;
26563 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26564 wxDataFormatId arg2
;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26569 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26571 if (SWIG_arg_fail(1)) SWIG_fail
;
26573 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26574 if (SWIG_arg_fail(2)) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26592 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26593 PyObject
*resultobj
;
26594 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26595 wxDataFormatId arg2
;
26597 PyObject
* obj0
= 0 ;
26598 PyObject
* obj1
= 0 ;
26600 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26602 if (SWIG_arg_fail(1)) SWIG_fail
;
26604 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26605 if (SWIG_arg_fail(2)) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26623 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26624 PyObject
*resultobj
;
26625 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26626 wxDataFormat
*arg2
= 0 ;
26628 PyObject
* obj0
= 0 ;
26629 PyObject
* obj1
= 0 ;
26631 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26633 if (SWIG_arg_fail(1)) SWIG_fail
;
26635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26636 if (SWIG_arg_fail(2)) SWIG_fail
;
26637 if (arg2
== NULL
) {
26638 SWIG_null_ref("wxDataFormat");
26640 if (SWIG_arg_fail(2)) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26658 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26663 argc
= PyObject_Length(args
);
26664 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26665 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26671 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26681 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26689 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26697 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26705 _v
= SWIG_Check_int(argv
[1]);
26707 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26712 Py_INCREF(Py_NotImplemented
);
26713 return Py_NotImplemented
;
26717 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26718 PyObject
*resultobj
;
26719 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26720 wxDataFormat
*arg2
= 0 ;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26725 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26727 if (SWIG_arg_fail(1)) SWIG_fail
;
26729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26730 if (SWIG_arg_fail(2)) SWIG_fail
;
26731 if (arg2
== NULL
) {
26732 SWIG_null_ref("wxDataFormat");
26734 if (SWIG_arg_fail(2)) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26752 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26757 argc
= PyObject_Length(args
);
26758 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26759 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26765 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26775 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26783 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26791 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26799 _v
= SWIG_Check_int(argv
[1]);
26801 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26806 Py_INCREF(Py_NotImplemented
);
26807 return Py_NotImplemented
;
26811 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
;
26813 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26814 wxDataFormatId arg2
;
26815 PyObject
* obj0
= 0 ;
26816 PyObject
* obj1
= 0 ;
26817 char *kwnames
[] = {
26818 (char *) "self",(char *) "format", NULL
26821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26823 if (SWIG_arg_fail(1)) SWIG_fail
;
26825 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26826 if (SWIG_arg_fail(2)) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 (arg1
)->SetType((wxDataFormatId
)arg2
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 Py_INCREF(Py_None
); resultobj
= Py_None
;
26842 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
;
26844 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26845 wxDataFormatId result
;
26846 PyObject
* obj0
= 0 ;
26847 char *kwnames
[] = {
26848 (char *) "self", NULL
26851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26853 if (SWIG_arg_fail(1)) SWIG_fail
;
26855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_From_int((result
));
26868 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
;
26870 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26872 PyObject
* obj0
= 0 ;
26873 char *kwnames
[] = {
26874 (char *) "self", NULL
26877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26879 if (SWIG_arg_fail(1)) SWIG_fail
;
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 result
= ((wxDataFormat
const *)arg1
)->GetId();
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26900 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26903 wxString
*arg2
= 0 ;
26904 bool temp2
= false ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "format", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26913 if (SWIG_arg_fail(1)) SWIG_fail
;
26915 arg2
= wxString_in_helper(obj1
);
26916 if (arg2
== NULL
) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 (arg1
)->SetId((wxString
const &)*arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 Py_INCREF(Py_None
); resultobj
= Py_None
;
26941 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26944 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26946 return Py_BuildValue((char *)"");
26948 static int _wrap_FormatInvalid_set(PyObject
*) {
26949 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26954 static PyObject
*_wrap_FormatInvalid_get(void) {
26957 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26962 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
;
26964 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26965 PyObject
* obj0
= 0 ;
26966 char *kwnames
[] = {
26967 (char *) "self", NULL
26970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26972 if (SWIG_arg_fail(1)) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 Py_INCREF(Py_None
); resultobj
= Py_None
;
26987 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26990 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26991 SwigValueWrapper
<wxDataFormat
> result
;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "dir", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail
;
27003 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27004 if (SWIG_arg_fail(2)) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27015 wxDataFormat
* resultptr
;
27016 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27025 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27028 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 char *kwnames
[] = {
27033 (char *) "self",(char *) "dir", NULL
27036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27038 if (SWIG_arg_fail(1)) SWIG_fail
;
27041 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27042 if (SWIG_arg_fail(2)) SWIG_fail
;
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27049 wxPyEndAllowThreads(__tstate
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27053 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27061 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27064 wxDataFormat
*arg2
= 0 ;
27065 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 PyObject
* obj2
= 0 ;
27070 char *kwnames
[] = {
27071 (char *) "self",(char *) "format",(char *) "dir", NULL
27074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27076 if (SWIG_arg_fail(1)) SWIG_fail
;
27078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27079 if (SWIG_arg_fail(2)) SWIG_fail
;
27080 if (arg2
== NULL
) {
27081 SWIG_null_ref("wxDataFormat");
27083 if (SWIG_arg_fail(2)) SWIG_fail
;
27087 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27088 if (SWIG_arg_fail(3)) SWIG_fail
;
27092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27093 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27095 wxPyEndAllowThreads(__tstate
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27107 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
;
27109 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27110 wxDataFormat
*arg2
= 0 ;
27112 PyObject
* obj0
= 0 ;
27113 PyObject
* obj1
= 0 ;
27114 char *kwnames
[] = {
27115 (char *) "self",(char *) "format", NULL
27118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27120 if (SWIG_arg_fail(1)) SWIG_fail
;
27122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27123 if (SWIG_arg_fail(2)) SWIG_fail
;
27124 if (arg2
== NULL
) {
27125 SWIG_null_ref("wxDataFormat");
27127 if (SWIG_arg_fail(2)) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27137 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27145 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27148 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27150 PyObject
* obj0
= 0 ;
27151 PyObject
* obj1
= 0 ;
27152 char *kwnames
[] = {
27153 (char *) "self",(char *) "dir", NULL
27156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27158 if (SWIG_arg_fail(1)) SWIG_fail
;
27161 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27162 if (SWIG_arg_fail(2)) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= result
;
27179 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
;
27181 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27182 wxDataFormat
*arg2
= 0 ;
27184 PyObject
* obj0
= 0 ;
27185 PyObject
* obj1
= 0 ;
27186 char *kwnames
[] = {
27187 (char *) "self",(char *) "format", NULL
27190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27192 if (SWIG_arg_fail(1)) SWIG_fail
;
27194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27195 if (SWIG_arg_fail(2)) SWIG_fail
;
27196 if (arg2
== NULL
) {
27197 SWIG_null_ref("wxDataFormat");
27199 if (SWIG_arg_fail(2)) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 resultobj
= result
;
27215 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27218 wxDataFormat
*arg2
= 0 ;
27219 PyObject
*arg3
= (PyObject
*) 0 ;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 PyObject
* obj2
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "format",(char *) "data", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail
;
27232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27233 if (SWIG_arg_fail(2)) SWIG_fail
;
27234 if (arg2
== NULL
) {
27235 SWIG_null_ref("wxDataFormat");
27237 if (SWIG_arg_fail(2)) SWIG_fail
;
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27244 wxPyEndAllowThreads(__tstate
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27256 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27259 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27261 return Py_BuildValue((char *)"");
27263 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27266 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27267 wxDataObjectSimple
*result
;
27268 PyObject
* obj0
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "format", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(1)) SWIG_fail
;
27278 if (arg1
== NULL
) {
27279 SWIG_null_ref("wxDataFormat");
27281 if (SWIG_arg_fail(1)) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27298 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27301 wxDataFormat
*result
;
27302 PyObject
* obj0
= 0 ;
27303 char *kwnames
[] = {
27304 (char *) "self", NULL
27307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27309 if (SWIG_arg_fail(1)) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27314 result
= (wxDataFormat
*) &_result_ref
;
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27327 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27330 wxDataFormat
*arg2
= 0 ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 char *kwnames
[] = {
27334 (char *) "self",(char *) "format", NULL
27337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail
;
27341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27342 if (SWIG_arg_fail(2)) SWIG_fail
;
27343 if (arg2
== NULL
) {
27344 SWIG_null_ref("wxDataFormat");
27346 if (SWIG_arg_fail(2)) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 Py_INCREF(Py_None
); resultobj
= Py_None
;
27362 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27373 if (SWIG_arg_fail(1)) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27390 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27394 PyObject
* obj0
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27401 if (SWIG_arg_fail(1)) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27409 resultobj
= result
;
27416 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
;
27418 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27419 PyObject
*arg2
= (PyObject
*) 0 ;
27421 PyObject
* obj0
= 0 ;
27422 PyObject
* obj1
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self",(char *) "data", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27429 if (SWIG_arg_fail(1)) SWIG_fail
;
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27447 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27450 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27452 return Py_BuildValue((char *)"");
27454 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27457 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27458 wxPyDataObjectSimple
*result
;
27459 PyObject
* obj0
= 0 ;
27460 char *kwnames
[] = {
27461 (char *) "format", NULL
27464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27468 if (SWIG_arg_fail(1)) SWIG_fail
;
27469 if (arg1
== NULL
) {
27470 SWIG_null_ref("wxDataFormat");
27472 if (SWIG_arg_fail(1)) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27489 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27492 PyObject
*arg2
= (PyObject
*) 0 ;
27493 PyObject
*arg3
= (PyObject
*) 0 ;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 PyObject
* obj2
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self",(char *) "self",(char *) "_class", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 Py_INCREF(Py_None
); resultobj
= Py_None
;
27520 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27523 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27525 return Py_BuildValue((char *)"");
27527 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
;
27529 wxDataObjectComposite
*result
;
27530 char *kwnames
[] = {
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27549 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27550 PyObject
*resultobj
;
27551 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27552 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27553 bool arg3
= (bool) false ;
27554 PyObject
* obj0
= 0 ;
27555 PyObject
* obj1
= 0 ;
27556 PyObject
* obj2
= 0 ;
27557 char *kwnames
[] = {
27558 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27563 if (SWIG_arg_fail(1)) SWIG_fail
;
27564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27565 if (SWIG_arg_fail(2)) SWIG_fail
;
27568 arg3
= (bool)(SWIG_As_bool(obj2
));
27569 if (SWIG_arg_fail(3)) SWIG_fail
;
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 (arg1
)->Add(arg2
,arg3
);
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 Py_INCREF(Py_None
); resultobj
= Py_None
;
27586 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27589 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27591 return Py_BuildValue((char *)"");
27593 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27596 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27597 wxTextDataObject
*result
;
27598 bool temp1
= false ;
27599 PyObject
* obj0
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "text", NULL
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27607 arg1
= wxString_in_helper(obj0
);
27608 if (arg1
== NULL
) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27634 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27635 PyObject
*resultobj
;
27636 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27638 PyObject
* obj0
= 0 ;
27639 char *kwnames
[] = {
27640 (char *) "self", NULL
27643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27645 if (SWIG_arg_fail(1)) SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= (size_t)(arg1
)->GetTextLength();
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27654 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27662 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27666 PyObject
* obj0
= 0 ;
27667 char *kwnames
[] = {
27668 (char *) "self", NULL
27671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27673 if (SWIG_arg_fail(1)) SWIG_fail
;
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 result
= (arg1
)->GetText();
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27694 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27697 wxString
*arg2
= 0 ;
27698 bool temp2
= false ;
27699 PyObject
* obj0
= 0 ;
27700 PyObject
* obj1
= 0 ;
27701 char *kwnames
[] = {
27702 (char *) "self",(char *) "text", NULL
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27707 if (SWIG_arg_fail(1)) SWIG_fail
;
27709 arg2
= wxString_in_helper(obj1
);
27710 if (arg2
== NULL
) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 (arg1
)->SetText((wxString
const &)*arg2
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 Py_INCREF(Py_None
); resultobj
= Py_None
;
27735 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27738 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27740 return Py_BuildValue((char *)"");
27742 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27745 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27746 wxPyTextDataObject
*result
;
27747 bool temp1
= false ;
27748 PyObject
* obj0
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "text", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27756 arg1
= wxString_in_helper(obj0
);
27757 if (arg1
== NULL
) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27783 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27786 PyObject
*arg2
= (PyObject
*) 0 ;
27787 PyObject
*arg3
= (PyObject
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 PyObject
* obj2
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "self",(char *) "self",(char *) "_class", NULL
27795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27797 if (SWIG_arg_fail(1)) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27807 Py_INCREF(Py_None
); resultobj
= Py_None
;
27814 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27817 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27819 return Py_BuildValue((char *)"");
27821 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27824 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27825 wxBitmapDataObject
*result
;
27826 PyObject
* obj0
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "bitmap", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27835 if (SWIG_arg_fail(1)) SWIG_fail
;
27836 if (arg1
== NULL
) {
27837 SWIG_null_ref("wxBitmap");
27839 if (SWIG_arg_fail(1)) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27856 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27857 PyObject
*resultobj
;
27858 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27860 PyObject
* obj0
= 0 ;
27861 char *kwnames
[] = {
27862 (char *) "self", NULL
27865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27867 if (SWIG_arg_fail(1)) SWIG_fail
;
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27876 wxBitmap
* resultptr
;
27877 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27886 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27889 wxBitmap
*arg2
= 0 ;
27890 PyObject
* obj0
= 0 ;
27891 PyObject
* obj1
= 0 ;
27892 char *kwnames
[] = {
27893 (char *) "self",(char *) "bitmap", NULL
27896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27898 if (SWIG_arg_fail(1)) SWIG_fail
;
27900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27901 if (SWIG_arg_fail(2)) SWIG_fail
;
27902 if (arg2
== NULL
) {
27903 SWIG_null_ref("wxBitmap");
27905 if (SWIG_arg_fail(2)) SWIG_fail
;
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27909 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 Py_INCREF(Py_None
); resultobj
= Py_None
;
27921 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27924 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27926 return Py_BuildValue((char *)"");
27928 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
;
27930 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27931 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27932 wxPyBitmapDataObject
*result
;
27933 PyObject
* obj0
= 0 ;
27934 char *kwnames
[] = {
27935 (char *) "bitmap", NULL
27938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27942 if (SWIG_arg_fail(1)) SWIG_fail
;
27943 if (arg1
== NULL
) {
27944 SWIG_null_ref("wxBitmap");
27946 if (SWIG_arg_fail(1)) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27963 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27966 PyObject
*arg2
= (PyObject
*) 0 ;
27967 PyObject
*arg3
= (PyObject
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 PyObject
* obj1
= 0 ;
27970 PyObject
* obj2
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "self",(char *) "self",(char *) "_class", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27977 if (SWIG_arg_fail(1)) SWIG_fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27987 Py_INCREF(Py_None
); resultobj
= Py_None
;
27994 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27997 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27999 return Py_BuildValue((char *)"");
28001 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
;
28003 wxFileDataObject
*result
;
28004 char *kwnames
[] = {
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 result
= (wxFileDataObject
*)new wxFileDataObject();
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28023 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
;
28025 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28026 wxArrayString
*result
;
28027 PyObject
* obj0
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail
;
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28039 result
= (wxArrayString
*) &_result_ref
;
28042 wxPyEndAllowThreads(__tstate
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= wxArrayString2PyList_helper(*result
);
28054 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
;
28056 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28057 wxString
*arg2
= 0 ;
28058 bool temp2
= false ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self",(char *) "filename", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28067 if (SWIG_arg_fail(1)) SWIG_fail
;
28069 arg2
= wxString_in_helper(obj1
);
28070 if (arg2
== NULL
) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 (arg1
)->AddFile((wxString
const &)*arg2
);
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 Py_INCREF(Py_None
); resultobj
= Py_None
;
28095 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28098 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28100 return Py_BuildValue((char *)"");
28102 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28103 PyObject
*resultobj
;
28104 wxDataFormat
*arg1
= 0 ;
28105 wxCustomDataObject
*result
;
28106 PyObject
* obj0
= 0 ;
28108 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28111 if (SWIG_arg_fail(1)) SWIG_fail
;
28112 if (arg1
== NULL
) {
28113 SWIG_null_ref("wxDataFormat");
28115 if (SWIG_arg_fail(1)) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28131 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28132 PyObject
*resultobj
;
28133 wxString
*arg1
= 0 ;
28134 wxCustomDataObject
*result
;
28135 bool temp1
= false ;
28136 PyObject
* obj0
= 0 ;
28138 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28140 arg1
= wxString_in_helper(obj0
);
28141 if (arg1
== NULL
) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28166 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28167 PyObject
*resultobj
;
28168 wxCustomDataObject
*result
;
28170 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28185 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28190 argc
= PyObject_Length(args
);
28191 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28192 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28195 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28200 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28203 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28210 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28218 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28222 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28227 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
;
28229 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28230 PyObject
*arg2
= (PyObject
*) 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self",(char *) "data", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28240 if (SWIG_arg_fail(1)) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28258 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28269 if (SWIG_arg_fail(1)) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (size_t)(arg1
)->GetSize();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28286 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28297 if (SWIG_arg_fail(1)) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= result
;
28312 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28315 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28317 return Py_BuildValue((char *)"");
28319 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28321 wxURLDataObject
*result
;
28322 char *kwnames
[] = {
28326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 result
= (wxURLDataObject
*)new wxURLDataObject();
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28341 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28345 PyObject
* obj0
= 0 ;
28346 char *kwnames
[] = {
28347 (char *) "self", NULL
28350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28352 if (SWIG_arg_fail(1)) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 result
= (arg1
)->GetURL();
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28373 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28374 PyObject
*resultobj
;
28375 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28376 wxString
*arg2
= 0 ;
28377 bool temp2
= false ;
28378 PyObject
* obj0
= 0 ;
28379 PyObject
* obj1
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self",(char *) "url", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28386 if (SWIG_arg_fail(1)) SWIG_fail
;
28388 arg2
= wxString_in_helper(obj1
);
28389 if (arg2
== NULL
) SWIG_fail
;
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 (arg1
)->SetURL((wxString
const &)*arg2
);
28396 wxPyEndAllowThreads(__tstate
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28399 Py_INCREF(Py_None
); resultobj
= Py_None
;
28414 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28417 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28419 return Py_BuildValue((char *)"");
28421 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28422 PyObject
*resultobj
;
28423 wxMetafileDataObject
*result
;
28424 char *kwnames
[] = {
28428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28443 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28446 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28448 return Py_BuildValue((char *)"");
28450 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
;
28452 wxDragResult arg1
;
28454 PyObject
* obj0
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "res", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28461 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28462 if (SWIG_arg_fail(1)) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28480 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxWindow
*arg1
= (wxWindow
*) 0 ;
28483 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28484 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28485 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28486 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28487 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28488 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28489 wxPyDropSource
*result
;
28490 PyObject
* obj0
= 0 ;
28491 PyObject
* obj1
= 0 ;
28492 PyObject
* obj2
= 0 ;
28493 PyObject
* obj3
= 0 ;
28494 char *kwnames
[] = {
28495 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28500 if (SWIG_arg_fail(1)) SWIG_fail
;
28503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28504 if (SWIG_arg_fail(2)) SWIG_fail
;
28505 if (arg2
== NULL
) {
28506 SWIG_null_ref("wxIcon");
28508 if (SWIG_arg_fail(2)) SWIG_fail
;
28513 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28514 if (SWIG_arg_fail(3)) SWIG_fail
;
28515 if (arg3
== NULL
) {
28516 SWIG_null_ref("wxIcon");
28518 if (SWIG_arg_fail(3)) SWIG_fail
;
28523 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28524 if (SWIG_arg_fail(4)) SWIG_fail
;
28525 if (arg4
== NULL
) {
28526 SWIG_null_ref("wxIcon");
28528 if (SWIG_arg_fail(4)) SWIG_fail
;
28532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28545 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28546 PyObject
*resultobj
;
28547 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28548 PyObject
*arg2
= (PyObject
*) 0 ;
28549 PyObject
*arg3
= (PyObject
*) 0 ;
28551 PyObject
* obj0
= 0 ;
28552 PyObject
* obj1
= 0 ;
28553 PyObject
* obj2
= 0 ;
28554 PyObject
* obj3
= 0 ;
28555 char *kwnames
[] = {
28556 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28561 if (SWIG_arg_fail(1)) SWIG_fail
;
28565 arg4
= (int)(SWIG_As_int(obj3
));
28566 if (SWIG_arg_fail(4)) SWIG_fail
;
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 Py_INCREF(Py_None
); resultobj
= Py_None
;
28582 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
;
28584 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28585 PyObject
* obj0
= 0 ;
28586 char *kwnames
[] = {
28587 (char *) "self", NULL
28590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28592 if (SWIG_arg_fail(1)) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 Py_INCREF(Py_None
); resultobj
= Py_None
;
28607 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
;
28609 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28610 wxDataObject
*arg2
= 0 ;
28611 PyObject
* obj0
= 0 ;
28612 PyObject
* obj1
= 0 ;
28613 char *kwnames
[] = {
28614 (char *) "self",(char *) "data", NULL
28617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28619 if (SWIG_arg_fail(1)) SWIG_fail
;
28621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28622 if (SWIG_arg_fail(2)) SWIG_fail
;
28623 if (arg2
== NULL
) {
28624 SWIG_null_ref("wxDataObject");
28626 if (SWIG_arg_fail(2)) SWIG_fail
;
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 (arg1
)->SetData(*arg2
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 Py_INCREF(Py_None
); resultobj
= Py_None
;
28642 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28645 wxDataObject
*result
;
28646 PyObject
* obj0
= 0 ;
28647 char *kwnames
[] = {
28648 (char *) "self", NULL
28651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28653 if (SWIG_arg_fail(1)) SWIG_fail
;
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28668 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28669 PyObject
*resultobj
;
28670 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28671 wxDragResult arg2
;
28672 wxCursor
*arg3
= 0 ;
28673 PyObject
* obj0
= 0 ;
28674 PyObject
* obj1
= 0 ;
28675 PyObject
* obj2
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self",(char *) "res",(char *) "cursor", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28682 if (SWIG_arg_fail(1)) SWIG_fail
;
28684 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28685 if (SWIG_arg_fail(2)) SWIG_fail
;
28688 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28689 if (SWIG_arg_fail(3)) SWIG_fail
;
28690 if (arg3
== NULL
) {
28691 SWIG_null_ref("wxCursor");
28693 if (SWIG_arg_fail(3)) SWIG_fail
;
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28699 wxPyEndAllowThreads(__tstate
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28702 Py_INCREF(Py_None
); resultobj
= Py_None
;
28709 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28710 PyObject
*resultobj
;
28711 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28712 int arg2
= (int) wxDrag_CopyOnly
;
28713 wxDragResult result
;
28714 PyObject
* obj0
= 0 ;
28715 PyObject
* obj1
= 0 ;
28716 char *kwnames
[] = {
28717 (char *) "self",(char *) "flags", NULL
28720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28722 if (SWIG_arg_fail(1)) SWIG_fail
;
28725 arg2
= (int)(SWIG_As_int(obj1
));
28726 if (SWIG_arg_fail(2)) SWIG_fail
;
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= SWIG_From_int((result
));
28743 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28746 wxDragResult arg2
;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 char *kwnames
[] = {
28751 (char *) "self",(char *) "effect", NULL
28754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28756 if (SWIG_arg_fail(1)) SWIG_fail
;
28758 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28759 if (SWIG_arg_fail(2)) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28777 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28780 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28782 return Py_BuildValue((char *)"");
28784 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28785 PyObject
*resultobj
;
28786 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28787 wxPyDropTarget
*result
;
28788 PyObject
* obj0
= 0 ;
28789 char *kwnames
[] = {
28790 (char *) "dataObject", NULL
28793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28796 if (SWIG_arg_fail(1)) SWIG_fail
;
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28812 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28813 PyObject
*resultobj
;
28814 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28815 PyObject
*arg2
= (PyObject
*) 0 ;
28816 PyObject
*arg3
= (PyObject
*) 0 ;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 PyObject
* obj2
= 0 ;
28820 char *kwnames
[] = {
28821 (char *) "self",(char *) "self",(char *) "_class", NULL
28824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28826 if (SWIG_arg_fail(1)) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 Py_INCREF(Py_None
); resultobj
= Py_None
;
28843 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
;
28845 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28846 PyObject
* obj0
= 0 ;
28847 char *kwnames
[] = {
28848 (char *) "self", NULL
28851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28853 if (SWIG_arg_fail(1)) SWIG_fail
;
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28861 Py_INCREF(Py_None
); resultobj
= Py_None
;
28868 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28871 wxDataObject
*result
;
28872 PyObject
* obj0
= 0 ;
28873 char *kwnames
[] = {
28874 (char *) "self", NULL
28877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28879 if (SWIG_arg_fail(1)) SWIG_fail
;
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28894 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
;
28896 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28897 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self",(char *) "dataObject", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28906 if (SWIG_arg_fail(1)) SWIG_fail
;
28907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28908 if (SWIG_arg_fail(2)) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 (arg1
)->SetDataObject(arg2
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 Py_INCREF(Py_None
); resultobj
= Py_None
;
28923 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
;
28925 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28928 wxDragResult arg4
;
28929 wxDragResult result
;
28930 PyObject
* obj0
= 0 ;
28931 PyObject
* obj1
= 0 ;
28932 PyObject
* obj2
= 0 ;
28933 PyObject
* obj3
= 0 ;
28934 char *kwnames
[] = {
28935 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28940 if (SWIG_arg_fail(1)) SWIG_fail
;
28942 arg2
= (int)(SWIG_As_int(obj1
));
28943 if (SWIG_arg_fail(2)) SWIG_fail
;
28946 arg3
= (int)(SWIG_As_int(obj2
));
28947 if (SWIG_arg_fail(3)) SWIG_fail
;
28950 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28951 if (SWIG_arg_fail(4)) SWIG_fail
;
28954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28955 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= SWIG_From_int((result
));
28967 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
;
28969 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28972 wxDragResult arg4
;
28973 wxDragResult result
;
28974 PyObject
* obj0
= 0 ;
28975 PyObject
* obj1
= 0 ;
28976 PyObject
* obj2
= 0 ;
28977 PyObject
* obj3
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28984 if (SWIG_arg_fail(1)) SWIG_fail
;
28986 arg2
= (int)(SWIG_As_int(obj1
));
28987 if (SWIG_arg_fail(2)) SWIG_fail
;
28990 arg3
= (int)(SWIG_As_int(obj2
));
28991 if (SWIG_arg_fail(3)) SWIG_fail
;
28994 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28995 if (SWIG_arg_fail(4)) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 resultobj
= SWIG_From_int((result
));
29011 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29012 PyObject
*resultobj
;
29013 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29014 PyObject
* obj0
= 0 ;
29015 char *kwnames
[] = {
29016 (char *) "self", NULL
29019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29021 if (SWIG_arg_fail(1)) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->base_OnLeave();
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29036 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29042 PyObject
* obj0
= 0 ;
29043 PyObject
* obj1
= 0 ;
29044 PyObject
* obj2
= 0 ;
29045 char *kwnames
[] = {
29046 (char *) "self",(char *) "x",(char *) "y", NULL
29049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29051 if (SWIG_arg_fail(1)) SWIG_fail
;
29053 arg2
= (int)(SWIG_As_int(obj1
));
29054 if (SWIG_arg_fail(2)) SWIG_fail
;
29057 arg3
= (int)(SWIG_As_int(obj2
));
29058 if (SWIG_arg_fail(3)) SWIG_fail
;
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29076 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29077 PyObject
*resultobj
;
29078 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29080 PyObject
* obj0
= 0 ;
29081 char *kwnames
[] = {
29082 (char *) "self", NULL
29085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29087 if (SWIG_arg_fail(1)) SWIG_fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 result
= (bool)(arg1
)->GetData();
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29104 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29107 wxDragResult arg2
;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 char *kwnames
[] = {
29111 (char *) "self",(char *) "action", NULL
29114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29116 if (SWIG_arg_fail(1)) SWIG_fail
;
29118 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29119 if (SWIG_arg_fail(2)) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 Py_INCREF(Py_None
); resultobj
= Py_None
;
29135 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
;
29137 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29138 wxDragResult result
;
29139 PyObject
* obj0
= 0 ;
29140 char *kwnames
[] = {
29141 (char *) "self", NULL
29144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29146 if (SWIG_arg_fail(1)) SWIG_fail
;
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29151 wxPyEndAllowThreads(__tstate
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29154 resultobj
= SWIG_From_int((result
));
29161 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29164 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29166 return Py_BuildValue((char *)"");
29168 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
;
29170 wxPyTextDropTarget
*result
;
29171 char *kwnames
[] = {
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29190 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29193 PyObject
*arg2
= (PyObject
*) 0 ;
29194 PyObject
*arg3
= (PyObject
*) 0 ;
29195 PyObject
* obj0
= 0 ;
29196 PyObject
* obj1
= 0 ;
29197 PyObject
* obj2
= 0 ;
29198 char *kwnames
[] = {
29199 (char *) "self",(char *) "self",(char *) "_class", NULL
29202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29204 if (SWIG_arg_fail(1)) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 Py_INCREF(Py_None
); resultobj
= Py_None
;
29221 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29222 PyObject
*resultobj
;
29223 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29226 wxDragResult arg4
;
29227 wxDragResult result
;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 PyObject
* obj3
= 0 ;
29232 char *kwnames
[] = {
29233 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29238 if (SWIG_arg_fail(1)) SWIG_fail
;
29240 arg2
= (int)(SWIG_As_int(obj1
));
29241 if (SWIG_arg_fail(2)) SWIG_fail
;
29244 arg3
= (int)(SWIG_As_int(obj2
));
29245 if (SWIG_arg_fail(3)) SWIG_fail
;
29248 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29249 if (SWIG_arg_fail(4)) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= SWIG_From_int((result
));
29265 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
;
29267 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29270 wxDragResult arg4
;
29271 wxDragResult result
;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 PyObject
* obj2
= 0 ;
29275 PyObject
* obj3
= 0 ;
29276 char *kwnames
[] = {
29277 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29282 if (SWIG_arg_fail(1)) SWIG_fail
;
29284 arg2
= (int)(SWIG_As_int(obj1
));
29285 if (SWIG_arg_fail(2)) SWIG_fail
;
29288 arg3
= (int)(SWIG_As_int(obj2
));
29289 if (SWIG_arg_fail(3)) SWIG_fail
;
29292 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29293 if (SWIG_arg_fail(4)) SWIG_fail
;
29296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29297 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29299 wxPyEndAllowThreads(__tstate
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29302 resultobj
= SWIG_From_int((result
));
29309 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
;
29311 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29312 PyObject
* obj0
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29319 if (SWIG_arg_fail(1)) SWIG_fail
;
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 (arg1
)->base_OnLeave();
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 Py_INCREF(Py_None
); resultobj
= Py_None
;
29334 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
;
29336 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29340 PyObject
* obj0
= 0 ;
29341 PyObject
* obj1
= 0 ;
29342 PyObject
* obj2
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "self",(char *) "x",(char *) "y", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29349 if (SWIG_arg_fail(1)) SWIG_fail
;
29351 arg2
= (int)(SWIG_As_int(obj1
));
29352 if (SWIG_arg_fail(2)) SWIG_fail
;
29355 arg3
= (int)(SWIG_As_int(obj2
));
29356 if (SWIG_arg_fail(3)) SWIG_fail
;
29359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29360 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29362 wxPyEndAllowThreads(__tstate
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29374 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
;
29376 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29379 wxDragResult arg4
;
29380 wxDragResult result
;
29381 PyObject
* obj0
= 0 ;
29382 PyObject
* obj1
= 0 ;
29383 PyObject
* obj2
= 0 ;
29384 PyObject
* obj3
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29391 if (SWIG_arg_fail(1)) SWIG_fail
;
29393 arg2
= (int)(SWIG_As_int(obj1
));
29394 if (SWIG_arg_fail(2)) SWIG_fail
;
29397 arg3
= (int)(SWIG_As_int(obj2
));
29398 if (SWIG_arg_fail(3)) SWIG_fail
;
29401 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29402 if (SWIG_arg_fail(4)) SWIG_fail
;
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29411 resultobj
= SWIG_From_int((result
));
29418 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29421 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29423 return Py_BuildValue((char *)"");
29425 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
;
29427 wxPyFileDropTarget
*result
;
29428 char *kwnames
[] = {
29432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29447 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
;
29449 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29450 PyObject
*arg2
= (PyObject
*) 0 ;
29451 PyObject
*arg3
= (PyObject
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 PyObject
* obj1
= 0 ;
29454 PyObject
* obj2
= 0 ;
29455 char *kwnames
[] = {
29456 (char *) "self",(char *) "self",(char *) "_class", NULL
29459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29461 if (SWIG_arg_fail(1)) SWIG_fail
;
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 Py_INCREF(Py_None
); resultobj
= Py_None
;
29478 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
;
29480 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29483 wxDragResult arg4
;
29484 wxDragResult result
;
29485 PyObject
* obj0
= 0 ;
29486 PyObject
* obj1
= 0 ;
29487 PyObject
* obj2
= 0 ;
29488 PyObject
* obj3
= 0 ;
29489 char *kwnames
[] = {
29490 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29495 if (SWIG_arg_fail(1)) SWIG_fail
;
29497 arg2
= (int)(SWIG_As_int(obj1
));
29498 if (SWIG_arg_fail(2)) SWIG_fail
;
29501 arg3
= (int)(SWIG_As_int(obj2
));
29502 if (SWIG_arg_fail(3)) SWIG_fail
;
29505 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29506 if (SWIG_arg_fail(4)) SWIG_fail
;
29509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29510 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29515 resultobj
= SWIG_From_int((result
));
29522 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
;
29524 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29527 wxDragResult arg4
;
29528 wxDragResult result
;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 PyObject
* obj2
= 0 ;
29532 PyObject
* obj3
= 0 ;
29533 char *kwnames
[] = {
29534 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29539 if (SWIG_arg_fail(1)) SWIG_fail
;
29541 arg2
= (int)(SWIG_As_int(obj1
));
29542 if (SWIG_arg_fail(2)) SWIG_fail
;
29545 arg3
= (int)(SWIG_As_int(obj2
));
29546 if (SWIG_arg_fail(3)) SWIG_fail
;
29549 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29550 if (SWIG_arg_fail(4)) SWIG_fail
;
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= SWIG_From_int((result
));
29566 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
;
29568 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 char *kwnames
[] = {
29571 (char *) "self", NULL
29574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29576 if (SWIG_arg_fail(1)) SWIG_fail
;
29578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29579 (arg1
)->base_OnLeave();
29581 wxPyEndAllowThreads(__tstate
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29584 Py_INCREF(Py_None
); resultobj
= Py_None
;
29591 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29592 PyObject
*resultobj
;
29593 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 PyObject
* obj2
= 0 ;
29600 char *kwnames
[] = {
29601 (char *) "self",(char *) "x",(char *) "y", NULL
29604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29606 if (SWIG_arg_fail(1)) SWIG_fail
;
29608 arg2
= (int)(SWIG_As_int(obj1
));
29609 if (SWIG_arg_fail(2)) SWIG_fail
;
29612 arg3
= (int)(SWIG_As_int(obj2
));
29613 if (SWIG_arg_fail(3)) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29631 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
;
29633 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29636 wxDragResult arg4
;
29637 wxDragResult result
;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 PyObject
* obj2
= 0 ;
29641 PyObject
* obj3
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29648 if (SWIG_arg_fail(1)) SWIG_fail
;
29650 arg2
= (int)(SWIG_As_int(obj1
));
29651 if (SWIG_arg_fail(2)) SWIG_fail
;
29654 arg3
= (int)(SWIG_As_int(obj2
));
29655 if (SWIG_arg_fail(3)) SWIG_fail
;
29658 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29659 if (SWIG_arg_fail(4)) SWIG_fail
;
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29668 resultobj
= SWIG_From_int((result
));
29675 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29678 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29680 return Py_BuildValue((char *)"");
29682 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
;
29684 wxClipboard
*result
;
29685 char *kwnames
[] = {
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 result
= (wxClipboard
*)new wxClipboard();
29694 wxPyEndAllowThreads(__tstate
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29704 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
;
29706 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29707 PyObject
* obj0
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29714 if (SWIG_arg_fail(1)) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 Py_INCREF(Py_None
); resultobj
= Py_None
;
29729 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
;
29731 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 char *kwnames
[] = {
29735 (char *) "self", NULL
29738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29740 if (SWIG_arg_fail(1)) SWIG_fail
;
29742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 result
= (bool)(arg1
)->Open();
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29757 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29758 PyObject
*resultobj
;
29759 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 char *kwnames
[] = {
29762 (char *) "self", NULL
29765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29767 if (SWIG_arg_fail(1)) SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29775 Py_INCREF(Py_None
); resultobj
= Py_None
;
29782 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29786 PyObject
* obj0
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29793 if (SWIG_arg_fail(1)) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29810 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
;
29812 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29813 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29815 PyObject
* obj0
= 0 ;
29816 PyObject
* obj1
= 0 ;
29817 char *kwnames
[] = {
29818 (char *) "self",(char *) "data", NULL
29821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29823 if (SWIG_arg_fail(1)) SWIG_fail
;
29824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29825 if (SWIG_arg_fail(2)) SWIG_fail
;
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 result
= (bool)(arg1
)->AddData(arg2
);
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29842 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
;
29844 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29845 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self",(char *) "data", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29855 if (SWIG_arg_fail(1)) SWIG_fail
;
29856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29857 if (SWIG_arg_fail(2)) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (bool)(arg1
)->SetData(arg2
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29874 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
;
29876 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29877 wxDataFormat
*arg2
= 0 ;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "format", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29887 if (SWIG_arg_fail(1)) SWIG_fail
;
29889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29890 if (SWIG_arg_fail(2)) SWIG_fail
;
29891 if (arg2
== NULL
) {
29892 SWIG_null_ref("wxDataFormat");
29894 if (SWIG_arg_fail(2)) SWIG_fail
;
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29912 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
;
29914 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29915 wxDataObject
*arg2
= 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self",(char *) "data", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29925 if (SWIG_arg_fail(1)) SWIG_fail
;
29927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29928 if (SWIG_arg_fail(2)) SWIG_fail
;
29929 if (arg2
== NULL
) {
29930 SWIG_null_ref("wxDataObject");
29932 if (SWIG_arg_fail(2)) SWIG_fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= (bool)(arg1
)->GetData(*arg2
);
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29950 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
;
29952 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29953 PyObject
* obj0
= 0 ;
29954 char *kwnames
[] = {
29955 (char *) "self", NULL
29958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29960 if (SWIG_arg_fail(1)) SWIG_fail
;
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29968 Py_INCREF(Py_None
); resultobj
= Py_None
;
29975 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
;
29977 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29979 PyObject
* obj0
= 0 ;
29980 char *kwnames
[] = {
29981 (char *) "self", NULL
29984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29986 if (SWIG_arg_fail(1)) SWIG_fail
;
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 result
= (bool)(arg1
)->Flush();
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30003 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30004 PyObject
*resultobj
;
30005 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30006 bool arg2
= (bool) true ;
30007 PyObject
* obj0
= 0 ;
30008 PyObject
* obj1
= 0 ;
30009 char *kwnames
[] = {
30010 (char *) "self",(char *) "primary", NULL
30013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30015 if (SWIG_arg_fail(1)) SWIG_fail
;
30018 arg2
= (bool)(SWIG_As_bool(obj1
));
30019 if (SWIG_arg_fail(2)) SWIG_fail
;
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30024 (arg1
)->UsePrimarySelection(arg2
);
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30029 Py_INCREF(Py_None
); resultobj
= Py_None
;
30036 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30037 PyObject
*resultobj
;
30038 wxClipboard
*result
;
30039 char *kwnames
[] = {
30043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (wxClipboard
*)wxClipboard::Get();
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30058 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30061 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30063 return Py_BuildValue((char *)"");
30065 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30066 PyObject
*resultobj
;
30067 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30068 wxClipboardLocker
*result
;
30069 PyObject
* obj0
= 0 ;
30070 char *kwnames
[] = {
30071 (char *) "clipboard", NULL
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30077 if (SWIG_arg_fail(1)) SWIG_fail
;
30080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30081 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30093 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
;
30095 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30096 PyObject
* obj0
= 0 ;
30097 char *kwnames
[] = {
30098 (char *) "self", NULL
30101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30103 if (SWIG_arg_fail(1)) SWIG_fail
;
30105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 Py_INCREF(Py_None
); resultobj
= Py_None
;
30118 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30119 PyObject
*resultobj
;
30120 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30122 PyObject
* obj0
= 0 ;
30123 char *kwnames
[] = {
30124 (char *) "self", NULL
30127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30129 if (SWIG_arg_fail(1)) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30146 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30149 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30151 return Py_BuildValue((char *)"");
30153 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30154 PyObject
*resultobj
;
30155 int arg1
= (int) 0 ;
30156 int arg2
= (int) 0 ;
30157 int arg3
= (int) 0 ;
30158 int arg4
= (int) 0 ;
30159 wxVideoMode
*result
;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 PyObject
* obj2
= 0 ;
30163 PyObject
* obj3
= 0 ;
30164 char *kwnames
[] = {
30165 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30171 arg1
= (int)(SWIG_As_int(obj0
));
30172 if (SWIG_arg_fail(1)) SWIG_fail
;
30177 arg2
= (int)(SWIG_As_int(obj1
));
30178 if (SWIG_arg_fail(2)) SWIG_fail
;
30183 arg3
= (int)(SWIG_As_int(obj2
));
30184 if (SWIG_arg_fail(3)) SWIG_fail
;
30189 arg4
= (int)(SWIG_As_int(obj3
));
30190 if (SWIG_arg_fail(4)) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30207 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
;
30209 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30210 PyObject
* obj0
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30217 if (SWIG_arg_fail(1)) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 Py_INCREF(Py_None
); resultobj
= Py_None
;
30232 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
;
30234 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30235 wxVideoMode
*arg2
= 0 ;
30237 PyObject
* obj0
= 0 ;
30238 PyObject
* obj1
= 0 ;
30239 char *kwnames
[] = {
30240 (char *) "self",(char *) "other", NULL
30243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30245 if (SWIG_arg_fail(1)) SWIG_fail
;
30247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30248 if (SWIG_arg_fail(2)) SWIG_fail
;
30249 if (arg2
== NULL
) {
30250 SWIG_null_ref("wxVideoMode");
30252 if (SWIG_arg_fail(2)) SWIG_fail
;
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30270 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30274 PyObject
* obj0
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail
;
30283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_From_int((int)(result
));
30298 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30299 PyObject
*resultobj
;
30300 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30302 PyObject
* obj0
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30309 if (SWIG_arg_fail(1)) SWIG_fail
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30318 resultobj
= SWIG_From_int((int)(result
));
30326 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
;
30328 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30330 PyObject
* obj0
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "self", NULL
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30337 if (SWIG_arg_fail(1)) SWIG_fail
;
30339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_From_int((int)(result
));
30354 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30355 PyObject
*resultobj
;
30356 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30358 PyObject
* obj0
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "self", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30365 if (SWIG_arg_fail(1)) SWIG_fail
;
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30382 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30385 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 char *kwnames
[] = {
30390 (char *) "self",(char *) "other", NULL
30393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30395 if (SWIG_arg_fail(1)) SWIG_fail
;
30396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30397 if (SWIG_arg_fail(2)) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30414 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
;
30416 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30417 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30419 PyObject
* obj0
= 0 ;
30420 PyObject
* obj1
= 0 ;
30421 char *kwnames
[] = {
30422 (char *) "self",(char *) "other", NULL
30425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30427 if (SWIG_arg_fail(1)) SWIG_fail
;
30428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30429 if (SWIG_arg_fail(2)) SWIG_fail
;
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30432 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30446 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30447 PyObject
*resultobj
;
30448 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30450 PyObject
* obj0
= 0 ;
30451 PyObject
* obj1
= 0 ;
30452 char *kwnames
[] = {
30453 (char *) "self",(char *) "w", NULL
30456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30458 if (SWIG_arg_fail(1)) SWIG_fail
;
30460 arg2
= (int)(SWIG_As_int(obj1
));
30461 if (SWIG_arg_fail(2)) SWIG_fail
;
30463 if (arg1
) (arg1
)->w
= arg2
;
30465 Py_INCREF(Py_None
); resultobj
= Py_None
;
30472 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
;
30474 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30476 PyObject
* obj0
= 0 ;
30477 char *kwnames
[] = {
30478 (char *) "self", NULL
30481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30483 if (SWIG_arg_fail(1)) SWIG_fail
;
30484 result
= (int) ((arg1
)->w
);
30487 resultobj
= SWIG_From_int((int)(result
));
30495 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30499 PyObject
* obj0
= 0 ;
30500 PyObject
* obj1
= 0 ;
30501 char *kwnames
[] = {
30502 (char *) "self",(char *) "h", NULL
30505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30507 if (SWIG_arg_fail(1)) SWIG_fail
;
30509 arg2
= (int)(SWIG_As_int(obj1
));
30510 if (SWIG_arg_fail(2)) SWIG_fail
;
30512 if (arg1
) (arg1
)->h
= arg2
;
30514 Py_INCREF(Py_None
); resultobj
= Py_None
;
30521 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30525 PyObject
* obj0
= 0 ;
30526 char *kwnames
[] = {
30527 (char *) "self", NULL
30530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail
;
30533 result
= (int) ((arg1
)->h
);
30536 resultobj
= SWIG_From_int((int)(result
));
30544 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
;
30546 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30548 PyObject
* obj0
= 0 ;
30549 PyObject
* obj1
= 0 ;
30550 char *kwnames
[] = {
30551 (char *) "self",(char *) "bpp", NULL
30554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30556 if (SWIG_arg_fail(1)) SWIG_fail
;
30558 arg2
= (int)(SWIG_As_int(obj1
));
30559 if (SWIG_arg_fail(2)) SWIG_fail
;
30561 if (arg1
) (arg1
)->bpp
= arg2
;
30563 Py_INCREF(Py_None
); resultobj
= Py_None
;
30570 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
;
30572 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 char *kwnames
[] = {
30576 (char *) "self", NULL
30579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30581 if (SWIG_arg_fail(1)) SWIG_fail
;
30582 result
= (int) ((arg1
)->bpp
);
30585 resultobj
= SWIG_From_int((int)(result
));
30593 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
;
30595 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30597 PyObject
* obj0
= 0 ;
30598 PyObject
* obj1
= 0 ;
30599 char *kwnames
[] = {
30600 (char *) "self",(char *) "refresh", NULL
30603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30605 if (SWIG_arg_fail(1)) SWIG_fail
;
30607 arg2
= (int)(SWIG_As_int(obj1
));
30608 if (SWIG_arg_fail(2)) SWIG_fail
;
30610 if (arg1
) (arg1
)->refresh
= arg2
;
30612 Py_INCREF(Py_None
); resultobj
= Py_None
;
30619 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
;
30621 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30623 PyObject
* obj0
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30630 if (SWIG_arg_fail(1)) SWIG_fail
;
30631 result
= (int) ((arg1
)->refresh
);
30634 resultobj
= SWIG_From_int((int)(result
));
30642 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30645 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30647 return Py_BuildValue((char *)"");
30649 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30650 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30655 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30658 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30663 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
;
30665 size_t arg1
= (size_t) 0 ;
30667 PyObject
* obj0
= 0 ;
30668 char *kwnames
[] = {
30669 (char *) "index", NULL
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30675 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30676 if (SWIG_arg_fail(1)) SWIG_fail
;
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 result
= (wxDisplay
*)new wxDisplay(arg1
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30693 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
;
30695 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30696 PyObject
* obj0
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail
;
30705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 Py_INCREF(Py_None
); resultobj
= Py_None
;
30718 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30721 char *kwnames
[] = {
30725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 result
= (size_t)wxDisplay::GetCount();
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30734 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30742 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30743 PyObject
*resultobj
;
30744 wxPoint
*arg1
= 0 ;
30747 PyObject
* obj0
= 0 ;
30748 char *kwnames
[] = {
30749 (char *) "pt", NULL
30752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30755 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= SWIG_From_int((int)(result
));
30773 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxWindow
*arg1
= (wxWindow
*) 0 ;
30777 PyObject
* obj0
= 0 ;
30778 char *kwnames
[] = {
30779 (char *) "window", NULL
30782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30784 if (SWIG_arg_fail(1)) SWIG_fail
;
30786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30787 result
= (int)Display_GetFromWindow(arg1
);
30789 wxPyEndAllowThreads(__tstate
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30793 resultobj
= SWIG_From_int((int)(result
));
30801 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30802 PyObject
*resultobj
;
30803 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30805 PyObject
* obj0
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "self", NULL
30810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30812 if (SWIG_arg_fail(1)) SWIG_fail
;
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30829 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
;
30831 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30833 PyObject
* obj0
= 0 ;
30834 char *kwnames
[] = {
30835 (char *) "self", NULL
30838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30840 if (SWIG_arg_fail(1)) SWIG_fail
;
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30849 wxRect
* resultptr
;
30850 resultptr
= new wxRect((wxRect
&)(result
));
30851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30859 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30860 PyObject
*resultobj
;
30861 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30863 PyObject
* obj0
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30870 if (SWIG_arg_fail(1)) SWIG_fail
;
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= ((wxDisplay
const *)arg1
)->GetName();
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30891 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30892 PyObject
*resultobj
;
30893 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30895 PyObject
* obj0
= 0 ;
30896 char *kwnames
[] = {
30897 (char *) "self", NULL
30900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30902 if (SWIG_arg_fail(1)) SWIG_fail
;
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30919 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30920 PyObject
*resultobj
;
30921 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30922 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30923 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30925 PyObject
* obj0
= 0 ;
30926 PyObject
* obj1
= 0 ;
30927 char *kwnames
[] = {
30928 (char *) "self",(char *) "mode", NULL
30931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30933 if (SWIG_arg_fail(1)) SWIG_fail
;
30936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30937 if (SWIG_arg_fail(2)) SWIG_fail
;
30938 if (arg2
== NULL
) {
30939 SWIG_null_ref("wxVideoMode");
30941 if (SWIG_arg_fail(2)) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= result
;
30958 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
;
30960 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30961 wxVideoMode result
;
30962 PyObject
* obj0
= 0 ;
30963 char *kwnames
[] = {
30964 (char *) "self", NULL
30967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30969 if (SWIG_arg_fail(1)) SWIG_fail
;
30971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30978 wxVideoMode
* resultptr
;
30979 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30988 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30991 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30992 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 char *kwnames
[] = {
30997 (char *) "self",(char *) "mode", NULL
31000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31002 if (SWIG_arg_fail(1)) SWIG_fail
;
31005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31006 if (SWIG_arg_fail(2)) SWIG_fail
;
31007 if (arg2
== NULL
) {
31008 SWIG_null_ref("wxVideoMode");
31010 if (SWIG_arg_fail(2)) SWIG_fail
;
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31015 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31017 wxPyEndAllowThreads(__tstate
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31029 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31030 PyObject
*resultobj
;
31031 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31032 PyObject
* obj0
= 0 ;
31033 char *kwnames
[] = {
31034 (char *) "self", NULL
31037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31039 if (SWIG_arg_fail(1)) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 (arg1
)->ResetMode();
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 Py_INCREF(Py_None
); resultobj
= Py_None
;
31054 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31057 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31059 return Py_BuildValue((char *)"");
31061 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
;
31063 wxStandardPaths
*result
;
31064 char *kwnames
[] = {
31068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 result
= (wxStandardPaths
*)StandardPaths_Get();
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31083 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31087 PyObject
* obj0
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31094 if (SWIG_arg_fail(1)) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31115 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31116 PyObject
*resultobj
;
31117 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31119 PyObject
* obj0
= 0 ;
31120 char *kwnames
[] = {
31121 (char *) "self", NULL
31124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31126 if (SWIG_arg_fail(1)) SWIG_fail
;
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31147 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
;
31149 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31151 PyObject
* obj0
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "self", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31158 if (SWIG_arg_fail(1)) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31179 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31180 PyObject
*resultobj
;
31181 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31183 PyObject
* obj0
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31190 if (SWIG_arg_fail(1)) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31211 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31212 PyObject
*resultobj
;
31213 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31215 PyObject
* obj0
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "self", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31222 if (SWIG_arg_fail(1)) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31243 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
;
31245 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31247 PyObject
* obj0
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "self", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31254 if (SWIG_arg_fail(1)) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31275 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31276 PyObject
*resultobj
;
31277 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31279 PyObject
* obj0
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "self", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31286 if (SWIG_arg_fail(1)) SWIG_fail
;
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31307 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31310 wxString
*arg2
= 0 ;
31311 bool temp2
= false ;
31312 PyObject
* obj0
= 0 ;
31313 PyObject
* obj1
= 0 ;
31314 char *kwnames
[] = {
31315 (char *) "self",(char *) "prefix", NULL
31318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31320 if (SWIG_arg_fail(1)) SWIG_fail
;
31322 arg2
= wxString_in_helper(obj1
);
31323 if (arg2
== NULL
) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31333 Py_INCREF(Py_None
); resultobj
= Py_None
;
31348 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
;
31350 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 char *kwnames
[] = {
31354 (char *) "self", NULL
31357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31359 if (SWIG_arg_fail(1)) SWIG_fail
;
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31380 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31383 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31385 return Py_BuildValue((char *)"");
31387 static PyMethodDef SwigMethods
[] = {
31388 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31395 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31402 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31466 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31474 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31492 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31495 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31498 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31501 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31507 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31521 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31527 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31533 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31536 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31550 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31553 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31554 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31557 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31584 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31586 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31588 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31590 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31597 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31603 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31617 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31621 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31624 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31641 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31649 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31696 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31714 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31740 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31756 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31770 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31823 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31826 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31829 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31926 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31927 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31928 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31929 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31946 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31991 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32025 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32033 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32034 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32039 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32055 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32058 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32061 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32066 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32069 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32073 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32076 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32080 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32081 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32085 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32091 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32101 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32114 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32122 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32130 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32144 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32148 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32166 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32180 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32191 { NULL
, NULL
, 0, NULL
}
32195 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32197 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32198 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32200 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32201 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32203 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32204 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32206 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32207 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32209 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32210 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32212 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32213 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32215 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32216 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32218 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32219 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32221 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32224 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32225 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32227 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32228 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32230 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32231 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32233 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32234 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32236 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32239 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32240 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32242 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32243 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32245 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32246 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32248 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32251 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32254 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32257 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32258 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32260 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32261 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32263 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32264 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32266 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32269 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32270 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32272 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32273 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32275 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32276 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32278 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32279 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32281 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32282 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32284 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32285 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32287 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32288 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32290 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32291 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32293 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32294 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32296 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32297 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32299 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32302 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32305 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32306 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32308 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32309 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32311 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32312 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32314 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32315 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32317 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32318 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32320 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32321 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32323 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32324 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32326 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32327 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32329 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32330 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32332 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32333 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32335 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32336 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32338 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32339 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32341 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32342 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32344 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32345 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32347 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32348 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32350 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32351 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32353 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32354 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32356 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32357 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32359 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32360 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32362 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32363 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32365 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32366 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32368 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32369 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32371 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32372 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32374 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32375 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32377 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32378 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32380 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32381 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32383 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32384 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32386 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32387 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32389 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32390 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32392 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32395 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32396 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32398 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32399 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32401 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32402 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32404 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32405 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32407 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32408 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32410 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32411 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32413 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32414 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32416 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32417 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32419 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32422 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32425 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32428 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32431 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32434 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32437 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32440 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) ((wxSizer
*) x
));
32443 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32446 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32449 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32452 static void *_p_wxEventTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) ((wxEvent
*) x
));
32455 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32458 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32461 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32464 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32467 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32470 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32473 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32476 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32479 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32482 static void *_p_wxControlTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32485 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32488 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32491 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32494 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32497 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32500 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32503 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32506 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32509 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32512 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32515 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32518 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32521 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32524 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32527 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32530 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32533 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32536 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32539 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32542 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32545 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32548 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32551 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32554 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32557 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32560 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32563 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32566 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32569 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32572 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32575 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32578 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32581 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32584 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32587 static void *_p_wxImageTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) ((wxImage
*) x
));
32590 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32593 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32596 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32599 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32602 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32605 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32608 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32611 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32614 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32617 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32620 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32623 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32626 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32629 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32632 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32635 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32638 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32641 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32644 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32647 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32650 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32653 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32656 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32659 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32662 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32665 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32668 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32671 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32674 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32675 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32677 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32678 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32680 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32681 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32683 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32684 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32686 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32687 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32689 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32690 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32692 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32693 return (void *)((wxWindow
*) ((wxControl
*) x
));
32695 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32696 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32698 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32699 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32701 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32702 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32704 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32705 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32707 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32708 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32709 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32710 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32711 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32712 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32713 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32714 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase
, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32715 static swig_type_info _swigt__p_wxDisplay
[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32716 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32717 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32718 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32719 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32720 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32721 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32722 static swig_type_info _swigt__ptrdiff_t
[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32723 static swig_type_info _swigt__std__ptrdiff_t
[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32724 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32725 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32726 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32727 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32728 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32729 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32730 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32731 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32732 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32733 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32734 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32735 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32736 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32737 static swig_type_info _swigt__p_wxDataObject
[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32738 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32739 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32740 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32741 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32742 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32743 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32744 static swig_type_info _swigt__p_wxSound
[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32745 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32746 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32747 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32748 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32749 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32750 static swig_type_info _swigt__p_form_ops_t
[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32751 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32752 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32753 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32754 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32755 static swig_type_info _swigt__p_wxVideoMode
[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32756 static swig_type_info _swigt__p_wxDataObjectSimple
[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32757 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32758 static swig_type_info _swigt__p_wxDuplexMode
[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32759 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32760 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32761 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32762 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32763 static swig_type_info _swigt__p_wxStandardPaths
[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32764 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32765 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32766 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32767 static swig_type_info _swigt__p_wxPaperSize
[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32768 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32769 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32770 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32771 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32772 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32773 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32774 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32775 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32776 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32777 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32778 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32779 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32780 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32781 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32782 static swig_type_info _swigt__p_wxKillError
[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32783 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32784 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32785 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32786 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32787 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32788 static swig_type_info _swigt__unsigned_int
[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32789 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32790 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32791 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32792 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32793 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget
, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32794 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32795 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32796 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32797 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32798 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32799 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32800 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32801 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32802 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32804 static swig_type_info
*swig_types_initial
[] = {
32805 _swigt__p_wxLogChain
,
32806 _swigt__p_wxMutexGuiLocker
,
32807 _swigt__p_wxFileHistory
,
32811 _swigt__p_wxDateTime__TimeZone
,
32812 _swigt__p_wxConfigBase
,
32813 _swigt__p_wxDisplay
,
32814 _swigt__p_wxFileType
,
32815 _swigt__p_wxLogGui
,
32817 _swigt__p_wxDataFormat
,
32818 _swigt__p_wxTimerEvent
,
32821 _swigt__std__ptrdiff_t
,
32824 _swigt__p_wxClipboard
,
32825 _swigt__p_wxStopWatch
,
32827 _swigt__p_wxClipboardLocker
,
32829 _swigt__p_wxLogStderr
,
32830 _swigt__p_wxLogTextCtrl
,
32831 _swigt__p_wxTextCtrl
,
32832 _swigt__p_wxBusyCursor
,
32833 _swigt__p_wxBitmapDataObject
,
32834 _swigt__p_wxTextDataObject
,
32835 _swigt__p_wxDataObject
,
32836 _swigt__p_wxPyTextDataObject
,
32837 _swigt__p_wxPyBitmapDataObject
,
32838 _swigt__p_wxFileDataObject
,
32839 _swigt__p_wxCustomDataObject
,
32840 _swigt__p_wxURLDataObject
,
32841 _swigt__p_wxMetafileDataObject
,
32843 _swigt__p_wxTimerRunner
,
32844 _swigt__p_wxLogWindow
,
32845 _swigt__p_wxTimeSpan
,
32846 _swigt__p_wxArrayString
,
32847 _swigt__p_wxWindowDisabler
,
32848 _swigt__p_form_ops_t
,
32849 _swigt__p_wxToolTip
,
32850 _swigt__p_wxDataObjectComposite
,
32851 _swigt__p_wxSystemSettings
,
32852 _swigt__p_wxFileConfig
,
32853 _swigt__p_wxVideoMode
,
32854 _swigt__p_wxDataObjectSimple
,
32855 _swigt__p_wxPyDataObjectSimple
,
32856 _swigt__p_wxDuplexMode
,
32857 _swigt__p_wxEvtHandler
,
32860 _swigt__p_wxSingleInstanceChecker
,
32861 _swigt__p_wxStandardPaths
,
32862 _swigt__p_wxFileTypeInfo
,
32865 _swigt__p_wxPaperSize
,
32866 _swigt__p_wxMimeTypesManager
,
32867 _swigt__p_wxPyArtProvider
,
32868 _swigt__p_wxPyTipProvider
,
32869 _swigt__p_wxTipProvider
,
32870 _swigt__p_wxJoystick
,
32871 _swigt__p_wxSystemOptions
,
32873 _swigt__p_wxJoystickEvent
,
32874 _swigt__p_wxCursor
,
32875 _swigt__p_wxObject
,
32876 _swigt__p_wxOutputStream
,
32877 _swigt__p_wxDateTime
,
32878 _swigt__p_wxPyDropSource
,
32879 _swigt__p_unsigned_long
,
32880 _swigt__p_wxKillError
,
32881 _swigt__p_wxWindow
,
32882 _swigt__p_wxString
,
32883 _swigt__p_wxPyProcess
,
32884 _swigt__p_wxBitmap
,
32885 _swigt__p_wxConfig
,
32886 _swigt__unsigned_int
,
32887 _swigt__p_unsigned_int
,
32888 _swigt__p_unsigned_char
,
32890 _swigt__p_wxBusyInfo
,
32891 _swigt__p_wxPyDropTarget
,
32892 _swigt__p_wxPyTextDropTarget
,
32893 _swigt__p_wxPyFileDropTarget
,
32894 _swigt__p_wxProcessEvent
,
32896 _swigt__p_wxLogNull
,
32897 _swigt__p_wxColour
,
32898 _swigt__p_wxPyTimer
,
32899 _swigt__p_wxConfigPathChanger
,
32900 _swigt__p_wxDateSpan
,
32905 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32907 static swig_const_info swig_const_table
[] = {
32908 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32909 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32910 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32911 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32912 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32913 {0, 0, 0, 0.0, 0, 0}};
32924 /* Python-specific SWIG API */
32925 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32926 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32927 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32929 /* -----------------------------------------------------------------------------
32930 * global variable support code.
32931 * ----------------------------------------------------------------------------- */
32933 typedef struct swig_globalvar
{
32934 char *name
; /* Name of global variable */
32935 PyObject
*(*get_attr
)(); /* Return the current value */
32936 int (*set_attr
)(PyObject
*); /* Set the value */
32937 struct swig_globalvar
*next
;
32940 typedef struct swig_varlinkobject
{
32942 swig_globalvar
*vars
;
32943 } swig_varlinkobject
;
32946 swig_varlink_repr(swig_varlinkobject
*v
) {
32948 return PyString_FromString("<Swig global variables>");
32952 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32953 swig_globalvar
*var
;
32955 fprintf(fp
,"Swig global variables { ");
32956 for (var
= v
->vars
; var
; var
=var
->next
) {
32957 fprintf(fp
,"%s", var
->name
);
32958 if (var
->next
) fprintf(fp
,", ");
32960 fprintf(fp
," }\n");
32965 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32966 swig_globalvar
*var
= v
->vars
;
32968 if (strcmp(var
->name
,n
) == 0) {
32969 return (*var
->get_attr
)();
32973 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32978 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32979 swig_globalvar
*var
= v
->vars
;
32981 if (strcmp(var
->name
,n
) == 0) {
32982 return (*var
->set_attr
)(p
);
32986 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32990 static PyTypeObject varlinktype
= {
32991 PyObject_HEAD_INIT(0)
32992 0, /* Number of items in variable part (ob_size) */
32993 (char *)"swigvarlink", /* Type name (tp_name) */
32994 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32995 0, /* Itemsize (tp_itemsize) */
32996 0, /* Deallocator (tp_dealloc) */
32997 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32998 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32999 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33000 0, /* tp_compare */
33001 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33002 0, /* tp_as_number */
33003 0, /* tp_as_sequence */
33004 0, /* tp_as_mapping */
33008 0, /* tp_getattro */
33009 0, /* tp_setattro */
33010 0, /* tp_as_buffer */
33013 #if PY_VERSION_HEX >= 0x02000000
33014 0, /* tp_traverse */
33017 #if PY_VERSION_HEX >= 0x02010000
33018 0, /* tp_richcompare */
33019 0, /* tp_weaklistoffset */
33021 #if PY_VERSION_HEX >= 0x02020000
33022 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33024 #if PY_VERSION_HEX >= 0x02030000
33027 #ifdef COUNT_ALLOCS
33028 0,0,0,0 /* tp_alloc -> tp_next */
33032 /* Create a variable linking object for use later */
33034 SWIG_Python_newvarlink(void) {
33035 swig_varlinkobject
*result
= 0;
33036 result
= PyMem_NEW(swig_varlinkobject
,1);
33037 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33038 result
->ob_type
= &varlinktype
;
33040 result
->ob_refcnt
= 0;
33041 Py_XINCREF((PyObject
*) result
);
33042 return ((PyObject
*) result
);
33046 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33047 swig_varlinkobject
*v
;
33048 swig_globalvar
*gv
;
33049 v
= (swig_varlinkobject
*) p
;
33050 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33051 gv
->name
= (char *) malloc(strlen(name
)+1);
33052 strcpy(gv
->name
,name
);
33053 gv
->get_attr
= get_attr
;
33054 gv
->set_attr
= set_attr
;
33055 gv
->next
= v
->vars
;
33059 /* -----------------------------------------------------------------------------
33060 * constants/methods manipulation
33061 * ----------------------------------------------------------------------------- */
33063 /* Install Constants */
33065 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33068 for (i
= 0; constants
[i
].type
; i
++) {
33069 switch(constants
[i
].type
) {
33071 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33073 case SWIG_PY_FLOAT
:
33074 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33076 case SWIG_PY_STRING
:
33077 if (constants
[i
].pvalue
) {
33078 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33080 Py_INCREF(Py_None
);
33084 case SWIG_PY_POINTER
:
33085 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33087 case SWIG_PY_BINARY
:
33088 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33095 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33101 /* -----------------------------------------------------------------------------*/
33102 /* Fix SwigMethods to carry the callback ptrs when needed */
33103 /* -----------------------------------------------------------------------------*/
33106 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33107 swig_const_info
*const_table
,
33108 swig_type_info
**types
,
33109 swig_type_info
**types_initial
) {
33111 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33112 char *c
= methods
[i
].ml_doc
;
33113 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33115 swig_const_info
*ci
= 0;
33116 char *name
= c
+ 10;
33117 for (j
= 0; const_table
[j
].type
; j
++) {
33118 if (strncmp(const_table
[j
].name
, name
,
33119 strlen(const_table
[j
].name
)) == 0) {
33120 ci
= &(const_table
[j
]);
33125 size_t shift
= (ci
->ptype
) - types
;
33126 swig_type_info
*ty
= types_initial
[shift
];
33127 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33128 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33129 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33131 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33132 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33134 strncpy(buff
, "swig_ptr: ", 10);
33136 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33137 methods
[i
].ml_doc
= ndoc
;
33143 /* -----------------------------------------------------------------------------*
33144 * Initialize type list
33145 * -----------------------------------------------------------------------------*/
33147 #if PY_MAJOR_VERSION < 2
33148 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33149 is copied out of Python/modsupport.c in python version 2.3.4 */
33151 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33154 if (!PyModule_Check(m
)) {
33155 PyErr_SetString(PyExc_TypeError
,
33156 "PyModule_AddObject() needs module as first arg");
33160 PyErr_SetString(PyExc_TypeError
,
33161 "PyModule_AddObject() needs non-NULL value");
33165 dict
= PyModule_GetDict(m
);
33166 if (dict
== NULL
) {
33167 /* Internal error -- modules must have a dict! */
33168 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33169 PyModule_GetName(m
));
33172 if (PyDict_SetItemString(dict
, name
, o
))
33179 static swig_type_info
**
33180 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33181 static PyMethodDef swig_empty_runtime_method_table
[] = {
33183 NULL
, NULL
, 0, NULL
33187 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33188 swig_empty_runtime_method_table
);
33189 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33190 if (pointer
&& module) {
33191 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33193 return type_list_handle
;
33196 static swig_type_info
**
33197 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33198 swig_type_info
**type_pointer
;
33200 /* first check if module already created */
33201 type_pointer
= SWIG_Python_GetTypeListHandle();
33202 if (type_pointer
) {
33203 return type_pointer
;
33205 /* create a new module and variable */
33206 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33214 /* -----------------------------------------------------------------------------*
33215 * Partial Init method
33216 * -----------------------------------------------------------------------------*/
33218 #ifdef SWIG_LINK_RUNTIME
33222 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33228 SWIGEXPORT(void) SWIG_init(void) {
33229 static PyObject
*SWIG_globals
= 0;
33230 static int typeinit
= 0;
33233 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33235 /* Fix SwigMethods to carry the callback ptrs when needed */
33236 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33238 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33239 d
= PyModule_GetDict(m
);
33242 #ifdef SWIG_LINK_RUNTIME
33243 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33245 # ifndef SWIG_STATIC_RUNTIME
33246 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33249 for (i
= 0; swig_types_initial
[i
]; i
++) {
33250 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33254 SWIG_InstallConstants(d
,swig_const_table
);
33257 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33260 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33263 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33266 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33269 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33272 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33275 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33278 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33281 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33284 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33287 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33290 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33293 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33296 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33299 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33302 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33305 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33308 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33311 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33314 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33317 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33320 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33323 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33326 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33329 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33332 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33335 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33338 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33341 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33344 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33347 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33350 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33353 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33356 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33359 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33362 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33365 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33368 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33371 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33374 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33377 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33380 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33383 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33386 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33389 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33392 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33395 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33398 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33401 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33404 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33407 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33410 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33413 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33416 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33419 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33422 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33425 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33428 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33431 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33434 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33437 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33440 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33443 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33446 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33449 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33452 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33455 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33458 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33461 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33464 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33467 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33470 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33473 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33476 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33479 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33482 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33485 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33488 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33491 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33494 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33497 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33500 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33503 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33506 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33509 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33512 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33515 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33518 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33521 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33524 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33527 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33529 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33530 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33531 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33532 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33533 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33535 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33538 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33541 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33544 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33546 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33548 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33551 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33554 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33557 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33560 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33563 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33566 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33569 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33572 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33575 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33578 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33581 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33583 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33584 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33585 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33586 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33587 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33589 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33592 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33595 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33598 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33601 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33604 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33607 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33610 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33613 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33616 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33619 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33622 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33625 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33628 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33631 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33634 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33637 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33640 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33643 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33646 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33649 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33652 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33655 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33658 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33661 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33664 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33667 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33670 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33673 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33676 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33679 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33681 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33683 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33686 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33689 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33692 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33695 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33698 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33701 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33704 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33707 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33710 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33713 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33716 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33719 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33721 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33722 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33723 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33724 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33726 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33729 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33732 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33735 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33738 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33741 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33744 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33747 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33749 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33750 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33751 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33752 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33753 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33754 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33755 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33756 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33757 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33758 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33759 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33760 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33761 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33762 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33763 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33764 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33793 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33794 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33795 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33796 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33797 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33798 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33799 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33800 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33801 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33802 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33803 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33804 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33806 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33809 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33812 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33815 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33818 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33821 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33824 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33827 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33830 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33833 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33835 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33836 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33838 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33841 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33844 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33847 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33850 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33853 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33856 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33859 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33862 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33865 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33868 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33871 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33874 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33877 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33880 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33883 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33886 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33889 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33892 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33895 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33898 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33901 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33904 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33907 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33910 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33913 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33916 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33919 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33922 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33925 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33928 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33931 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33934 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33937 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33940 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33943 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33946 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33949 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33952 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33955 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33958 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33961 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33964 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33967 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33970 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33973 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33976 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33979 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33982 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33985 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33988 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33991 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33994 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33997 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34000 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34003 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34006 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34009 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34012 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34015 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34018 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34021 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34024 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34027 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34030 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34033 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34036 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34039 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34042 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34045 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34048 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34051 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34054 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34057 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34060 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34063 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34066 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34069 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34072 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34075 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34078 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34081 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34084 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34087 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34090 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34093 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34096 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34099 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34102 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34105 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34108 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34111 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34114 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34117 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34120 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34123 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34126 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34129 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34132 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34135 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34138 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34141 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34144 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34147 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34150 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34153 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34156 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34159 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34162 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34165 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34168 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34171 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34174 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34177 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34180 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34183 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34186 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34189 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34192 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34195 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34198 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34201 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34204 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34207 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34210 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34213 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34216 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34219 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34222 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34225 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34228 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34231 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34234 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34237 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34240 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34243 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34246 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34249 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34252 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34255 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34258 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34261 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34264 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34267 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34270 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34273 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34276 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34279 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34282 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34285 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34288 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34291 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34294 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34297 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34300 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34302 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34304 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34307 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34310 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34313 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34316 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34319 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34322 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34325 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34328 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34331 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34334 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34337 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34340 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34343 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34346 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34349 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34352 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34355 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34358 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34361 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34363 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34365 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34368 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34371 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34374 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34377 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34380 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34383 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34386 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34389 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34392 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34395 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34398 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34401 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34402 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34403 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34404 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34406 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);