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_wxMetafile swig_types[2]
1344 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1345 #define SWIGTYPE_p_wxLog swig_types[4]
1346 #define SWIGTYPE_p_wxMenu swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1349 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1350 #define SWIGTYPE_p_wxDisplay swig_types[9]
1351 #define SWIGTYPE_p_wxFileType swig_types[10]
1352 #define SWIGTYPE_p_wxLogGui swig_types[11]
1353 #define SWIGTYPE_p_wxFont swig_types[12]
1354 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1355 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1356 #define SWIGTYPE_p_wxCaret swig_types[15]
1357 #define SWIGTYPE_ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_p_int swig_types[18]
1360 #define SWIGTYPE_p_wxSize swig_types[19]
1361 #define SWIGTYPE_p_wxClipboard swig_types[20]
1362 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1365 #define SWIGTYPE_p_wxIcon swig_types[24]
1366 #define SWIGTYPE_p_wxLogStderr swig_types[25]
1367 #define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxTextCtrl swig_types[27]
1369 #define SWIGTYPE_p_wxBusyCursor swig_types[28]
1370 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxFileDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxURLDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1379 #define SWIGTYPE_p_wxSound swig_types[38]
1380 #define SWIGTYPE_p_wxTimerRunner swig_types[39]
1381 #define SWIGTYPE_p_wxLogWindow swig_types[40]
1382 #define SWIGTYPE_p_wxTimeSpan swig_types[41]
1383 #define SWIGTYPE_p_wxArrayString swig_types[42]
1384 #define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxToolTip swig_types[45]
1387 #define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
1388 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1389 #define SWIGTYPE_p_wxFileConfig swig_types[48]
1390 #define SWIGTYPE_p_wxVideoMode swig_types[49]
1391 #define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1393 #define SWIGTYPE_p_wxDuplexMode swig_types[52]
1394 #define SWIGTYPE_p_wxEvtHandler swig_types[53]
1395 #define SWIGTYPE_p_wxRect swig_types[54]
1396 #define SWIGTYPE_p_char swig_types[55]
1397 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1398 #define SWIGTYPE_p_wxStandardPaths swig_types[57]
1399 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1400 #define SWIGTYPE_p_wxFrame swig_types[59]
1401 #define SWIGTYPE_p_wxTimer swig_types[60]
1402 #define SWIGTYPE_p_wxPaperSize swig_types[61]
1403 #define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1404 #define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1405 #define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxTipProvider swig_types[65]
1407 #define SWIGTYPE_p_wxJoystick swig_types[66]
1408 #define SWIGTYPE_p_wxSystemOptions swig_types[67]
1409 #define SWIGTYPE_p_wxPoint swig_types[68]
1410 #define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1411 #define SWIGTYPE_p_wxCursor swig_types[70]
1412 #define SWIGTYPE_p_wxObject swig_types[71]
1413 #define SWIGTYPE_p_wxOutputStream swig_types[72]
1414 #define SWIGTYPE_p_wxDateTime swig_types[73]
1415 #define SWIGTYPE_p_wxPyDropSource swig_types[74]
1416 #define SWIGTYPE_p_unsigned_long swig_types[75]
1417 #define SWIGTYPE_p_wxKillError swig_types[76]
1418 #define SWIGTYPE_p_wxWindow swig_types[77]
1419 #define SWIGTYPE_p_wxString swig_types[78]
1420 #define SWIGTYPE_p_wxPyProcess swig_types[79]
1421 #define SWIGTYPE_p_wxBitmap swig_types[80]
1422 #define SWIGTYPE_p_wxConfig swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxChar swig_types[85]
1427 #define SWIGTYPE_p_wxBusyInfo swig_types[86]
1428 #define SWIGTYPE_p_wxPyDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
1431 #define SWIGTYPE_p_wxProcessEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPyLog swig_types[91]
1433 #define SWIGTYPE_p_wxLogNull swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxPyTimer swig_types[94]
1436 #define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
1437 #define SWIGTYPE_p_wxDateSpan swig_types[96]
1438 static swig_type_info
*swig_types
[98];
1440 /* -------- TYPES TABLE (END) -------- */
1443 /*-----------------------------------------------
1444 @(target):= _misc_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_misc_
1448 #define SWIG_name "_misc_"
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1452 #include "wx/wxPython/pyistream.h"
1454 static const wxString
wxPyEmptyString(wxEmptyString
);
1458 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1459 #define SWIG_From_int PyInt_FromLong
1467 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1470 if (value
< min_value
) {
1472 PyErr_Format(PyExc_OverflowError
,
1473 "value %ld is less than '%s' minimum %ld",
1474 value
, errmsg
, min_value
);
1477 } else if (value
> max_value
) {
1479 PyErr_Format(PyExc_OverflowError
,
1480 "value %ld is greater than '%s' maximum %ld",
1481 value
, errmsg
, max_value
);
1490 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1492 if (PyNumber_Check(obj
)) {
1493 if (val
) *val
= PyInt_AsLong(obj
);
1497 SWIG_type_error("number", obj
);
1503 #if INT_MAX != LONG_MAX
1505 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1507 const char* errmsg
= val
? "int" : (char*)0;
1509 if (SWIG_AsVal_long(obj
, &v
)) {
1510 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1511 if (val
) *val
= (int)(v
);
1520 SWIG_type_error(errmsg
, obj
);
1526 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1528 return SWIG_AsVal_long(obj
,(long*)val
);
1534 SWIG_As_int(PyObject
* obj
)
1537 if (!SWIG_AsVal_int(obj
, &v
)) {
1539 this is needed to make valgrind/purify happier.
1541 memset((void*)&v
, 0, sizeof(int));
1548 SWIG_Check_int(PyObject
* obj
)
1550 return SWIG_AsVal_int(obj
, (int*)0);
1553 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1555 #include <wx/stockitem.h>
1557 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1558 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1559 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1561 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1562 #define SWIG_From_long PyInt_FromLong
1566 SWIGINTERNSHORT
long
1567 SWIG_As_long(PyObject
* obj
)
1570 if (!SWIG_AsVal_long(obj
, &v
)) {
1572 this is needed to make valgrind/purify happier.
1574 memset((void*)&v
, 0, sizeof(long));
1581 SWIG_Check_long(PyObject
* obj
)
1583 return SWIG_AsVal_long(obj
, (long*)0);
1588 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1590 if (obj
== Py_True
) {
1591 if (val
) *val
= true;
1594 if (obj
== Py_False
) {
1595 if (val
) *val
= false;
1599 if (SWIG_AsVal_int(obj
, &res
)) {
1600 if (val
) *val
= res
? true : false;
1606 SWIG_type_error("bool", obj
);
1612 SWIGINTERNSHORT
bool
1613 SWIG_As_bool(PyObject
* obj
)
1616 if (!SWIG_AsVal_bool(obj
, &v
)) {
1618 this is needed to make valgrind/purify happier.
1620 memset((void*)&v
, 0, sizeof(bool));
1627 SWIG_Check_bool(PyObject
* obj
)
1629 return SWIG_AsVal_bool(obj
, (bool*)0);
1633 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1639 } else if (target
== Py_None
) {
1643 if (!PyTuple_Check(target
)) {
1645 target
= PyTuple_New(1);
1646 PyTuple_SetItem(target
, 0, o2
);
1648 o3
= PyTuple_New(1);
1649 PyTuple_SetItem(o3
, 0, o
);
1652 target
= PySequence_Concat(o2
, o3
);
1662 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1665 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1666 SWIG_type_error("unsigned number", obj
);
1669 *val
= (unsigned long)v
;
1674 SWIGINTERNSHORT
unsigned long
1675 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1678 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1680 this is needed to make valgrind/purify happier.
1682 memset((void*)&v
, 0, sizeof(unsigned long));
1689 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1691 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1695 SWIGINTERNSHORT PyObject
*
1696 SWIG_From_unsigned_SS_long(unsigned long value
)
1698 return (value
> LONG_MAX
) ?
1699 PyLong_FromUnsignedLong(value
)
1700 : PyInt_FromLong((long)(value
));
1704 bool wxThread_IsMain() {
1705 #ifdef WXP_WITH_THREAD
1706 return wxThread::IsMain();
1712 static void wxCaret_Destroy(wxCaret
*self
){
1716 #include <wx/snglinst.h>
1720 #include <wx/msw/private.h>
1721 #include <wx/dynload.h>
1726 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1737 // This one only partially works. Appears to be an undocumented
1738 // "standard" convention that not all widgets adhear to. For
1739 // example, for some widgets backgrounds or non-client areas may
1741 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1746 // This one works much better, nearly all widgets and their
1747 // children are captured correctly[**]. Prior to the big
1748 // background erase changes that Vadim did in 2004-2005 this
1749 // method failed badly on XP with Themes activated, most native
1750 // widgets draw only partially, if at all. Without themes it
1751 // worked just like on Win2k. After those changes this method
1754 // ** For example the radio buttons in a wxRadioBox are not its
1755 // children by default, but you can capture it via the panel
1756 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1757 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1758 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1759 PRF_ERASEBKGND
| PRF_OWNED
);
1765 // This one is only defined in the latest SDK and is only
1766 // available on XP. MSDN says it is similar to sending WM_PRINT
1767 // so I expect that it will work similar to the above. Since it
1768 // is avaialble only on XP, it can't be compiled like this and
1769 // will have to be loaded dynamically.
1770 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1775 // Use PrintWindow if available, or fallback to WM_PRINT
1776 // otherwise. Unfortunately using PrintWindow is even worse than
1777 // WM_PRINT. For most native widgets nothing is drawn to the dc
1778 // at all, with or without Themes.
1779 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1780 static bool s_triedToLoad
= false;
1781 static PrintWindow_t pfnPrintWindow
= NULL
;
1782 if ( !s_triedToLoad
)
1785 s_triedToLoad
= true;
1786 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1787 if ( dllUser32
.IsLoaded() )
1789 wxLogNull nolog
; // Don't report errors here
1790 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1795 //printf("Using PrintWindow\n");
1796 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1800 //printf("Using WM_PRINT\n");
1801 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1802 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1803 PRF_ERASEBKGND
| PRF_OWNED
);
1814 #include <wx/tipdlg.h>
1817 class wxPyTipProvider
: public wxTipProvider
{
1819 wxPyTipProvider(size_t currentTip
)
1820 : wxTipProvider(currentTip
) {}
1822 DEC_PYCALLBACK_STRING__pure(GetTip
);
1823 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1827 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1828 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1831 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1833 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1835 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1836 : wxTimer(owner
, id
)
1838 if (owner
== NULL
) SetOwner(this);
1842 void wxPyTimer::Notify() {
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1846 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1847 wxPyEndBlockThreads(blocked
);
1851 void wxPyTimer::base_Notify() {
1857 SWIGINTERN PyObject
*
1858 SWIG_FromCharPtr(const char* cptr
)
1861 size_t size
= strlen(cptr
);
1862 if (size
> INT_MAX
) {
1863 return SWIG_NewPointerObj((char*)(cptr
),
1864 SWIG_TypeQuery("char *"), 0);
1867 return PyString_FromStringAndSize(cptr
, size
);
1869 return PyString_FromString(cptr
);
1879 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1880 unsigned long max_value
,
1883 if (value
> max_value
) {
1885 PyErr_Format(PyExc_OverflowError
,
1886 "value %lu is greater than '%s' minimum %lu",
1887 value
, errmsg
, max_value
);
1895 #if UINT_MAX != ULONG_MAX
1897 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1899 const char* errmsg
= val
? "unsigned int" : (char*)0;
1901 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1902 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1903 if (val
) *val
= (unsigned int)(v
);
1910 SWIG_type_error(errmsg
, obj
);
1915 SWIGINTERNSHORT
unsigned int
1916 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1918 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1923 SWIGINTERNSHORT
unsigned int
1924 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1927 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1929 this is needed to make valgrind/purify happier.
1931 memset((void*)&v
, 0, sizeof(unsigned int));
1938 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1940 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1943 static wxString
Log_TimeStamp(){
1945 wxLog::TimeStamp(&msg
);
1948 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1949 // Make somce wrappers that double any % signs so they are 'escaped'
1950 void wxPyLogFatalError(const wxString
& msg
)
1953 m
.Replace(wxT("%"), wxT("%%"));
1957 void wxPyLogError(const wxString
& msg
)
1960 m
.Replace(wxT("%"), wxT("%%"));
1964 void wxPyLogWarning(const wxString
& msg
)
1967 m
.Replace(wxT("%"), wxT("%%"));
1971 void wxPyLogMessage(const wxString
& msg
)
1974 m
.Replace(wxT("%"), wxT("%%"));
1978 void wxPyLogInfo(const wxString
& msg
)
1981 m
.Replace(wxT("%"), wxT("%%"));
1985 void wxPyLogDebug(const wxString
& msg
)
1988 m
.Replace(wxT("%"), wxT("%%"));
1992 void wxPyLogVerbose(const wxString
& msg
)
1995 m
.Replace(wxT("%"), wxT("%%"));
1999 void wxPyLogStatus(const wxString
& msg
)
2002 m
.Replace(wxT("%"), wxT("%%"));
2006 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2009 m
.Replace(wxT("%"), wxT("%%"));
2010 wxLogStatus(pFrame
, m
);
2013 void wxPyLogSysError(const wxString
& msg
)
2016 m
.Replace(wxT("%"), wxT("%%"));
2020 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2023 m
.Replace(wxT("%"), wxT("%%"));
2024 wxLogGeneric(level
, m
);
2027 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2030 m
.Replace(wxT("%"), wxT("%%"));
2031 wxLogTrace(mask
, m
);
2034 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2037 m
.Replace(wxT("%"), wxT("%%"));
2038 wxLogTrace(mask
, m
);
2043 // A wxLog class that can be derived from in wxPython
2044 class wxPyLog
: public wxLog
{
2046 wxPyLog() : wxLog() {}
2048 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2050 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2051 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2052 PyObject
* s
= wx2PyString(szString
);
2053 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2056 wxPyEndBlockThreads(blocked
);
2058 wxLog::DoLog(level
, szString
, t
);
2061 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2064 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2065 PyObject
* s
= wx2PyString(szString
);
2066 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2069 wxPyEndBlockThreads(blocked
);
2071 wxLog::DoLogString(szString
, t
);
2080 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2083 #include <wx/joystick.h>
2086 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2087 // A C++ stub class for wxJoystick for platforms that don't have it.
2088 class wxJoystick
: public wxObject
{
2090 wxJoystick(int joystick
= wxJOYSTICK1
) {
2091 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2092 PyErr_SetString(PyExc_NotImplementedError
,
2093 "wxJoystick is not available on this platform.");
2094 wxPyEndBlockThreads(blocked
);
2096 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2097 int GetZPosition() { return -1; }
2098 int GetButtonState() { return -1; }
2099 int GetPOVPosition() { return -1; }
2100 int GetPOVCTSPosition() { return -1; }
2101 int GetRudderPosition() { return -1; }
2102 int GetUPosition() { return -1; }
2103 int GetVPosition() { return -1; }
2104 int GetMovementThreshold() { return -1; }
2105 void SetMovementThreshold(int threshold
) {}
2107 bool IsOk(void) { return false; }
2108 int GetNumberJoysticks() { return -1; }
2109 int GetManufacturerId() { return -1; }
2110 int GetProductId() { return -1; }
2111 wxString
GetProductName() { return wxEmptyString
; }
2112 int GetXMin() { return -1; }
2113 int GetYMin() { return -1; }
2114 int GetZMin() { return -1; }
2115 int GetXMax() { return -1; }
2116 int GetYMax() { return -1; }
2117 int GetZMax() { return -1; }
2118 int GetNumberButtons() { return -1; }
2119 int GetNumberAxes() { return -1; }
2120 int GetMaxButtons() { return -1; }
2121 int GetMaxAxes() { return -1; }
2122 int GetPollingMin() { return -1; }
2123 int GetPollingMax() { return -1; }
2124 int GetRudderMin() { return -1; }
2125 int GetRudderMax() { return -1; }
2126 int GetUMin() { return -1; }
2127 int GetUMax() { return -1; }
2128 int GetVMin() { return -1; }
2129 int GetVMax() { return -1; }
2131 bool HasRudder() { return false; }
2132 bool HasZ() { return false; }
2133 bool HasU() { return false; }
2134 bool HasV() { return false; }
2135 bool HasPOV() { return false; }
2136 bool HasPOV4Dir() { return false; }
2137 bool HasPOVCTS() { return false; }
2139 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2140 bool ReleaseCapture() { return false; }
2145 #include <wx/sound.h>
2149 // A C++ stub class for wxWave for platforms that don't have it.
2150 class wxSound
: public wxObject
2154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2155 PyErr_SetString(PyExc_NotImplementedError
,
2156 "wxSound is not available on this platform.");
2157 wxPyEndBlockThreads(blocked
);
2159 wxSound(const wxString
&/*, bool*/) {
2160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError
,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked
);
2165 wxSound(int, const wxByte
*) {
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2174 bool Create(const wxString
&/*, bool*/) { return false; }
2175 bool Create(int, const wxByte
*) { return false; };
2176 bool IsOk() { return false; };
2177 bool Play(unsigned) const { return false; }
2178 static bool Play(const wxString
&, unsigned) { return false; }
2179 static void Stop() {}
2184 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2185 if (fileName
.Length() == 0)
2188 return new wxSound(fileName
);
2190 static wxSound
*new_wxSound(PyObject
*data
){
2191 unsigned char* buffer
; int size
;
2192 wxSound
*sound
= NULL
;
2194 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2195 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2197 sound
= new wxSound(size
, buffer
);
2199 wxPyEndBlockThreads(blocked
);
2202 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2204 unsigned char* buffer
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2211 rv
= self
->Create(size
, buffer
);
2213 wxPyEndBlockThreads(blocked
);
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 PyErr_SetString(PyExc_NotImplementedError
,
2218 "Create from data is not available on this platform.");
2219 wxPyEndBlockThreads(blocked
);
2224 #include <wx/mimetype.h>
2226 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2228 if (self
->GetMimeType(&str
))
2229 return wx2PyString(str
);
2233 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2235 if (self
->GetMimeTypes(arr
))
2236 return wxArrayString2PyList_helper(arr
);
2240 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2242 if (self
->GetExtensions(arr
))
2243 return wxArrayString2PyList_helper(arr
);
2247 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2249 if (self
->GetIcon(&loc
))
2250 return new wxIcon(loc
);
2254 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2256 if (self
->GetIcon(&loc
)) {
2257 wxString iconFile
= loc
.GetFileName();
2260 iconIndex
= loc
.GetIndex();
2262 // Make a tuple and put the values in it
2263 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2264 PyObject
* tuple
= PyTuple_New(3);
2265 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2266 wxT("wxIcon"), true));
2267 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2268 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2269 wxPyEndBlockThreads(blocked
);
2275 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2277 if (self
->GetDescription(&str
))
2278 return wx2PyString(str
);
2282 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2284 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2285 return wx2PyString(str
);
2289 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2291 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2292 return wx2PyString(str
);
2296 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2297 wxArrayString verbs
;
2298 wxArrayString commands
;
2299 if (self
->GetAllCommands(&verbs
, &commands
,
2300 wxFileType::MessageParameters(filename
, mimetype
))) {
2301 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2302 PyObject
* tuple
= PyTuple_New(2);
2303 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2304 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2305 wxPyEndBlockThreads(blocked
);
2311 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2312 return wxFileType::ExpandCommand(command
,
2313 wxFileType::MessageParameters(filename
, mimetype
));
2315 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2317 self
->EnumAllFileTypes(arr
);
2318 return wxArrayString2PyList_helper(arr
);
2321 #include <wx/artprov.h>
2323 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2324 static const wxString
wxPyART_MENU(wxART_MENU
);
2325 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2326 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2327 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2328 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2329 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2330 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2331 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2332 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2333 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2334 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2335 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2336 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2337 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2338 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2339 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2340 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2341 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2342 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2343 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2344 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2345 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2346 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2347 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2348 static const wxString
wxPyART_HELP(wxART_HELP
);
2349 static const wxString
wxPyART_TIP(wxART_TIP
);
2350 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2351 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2352 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2353 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2354 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2355 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2356 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2357 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2358 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2359 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2360 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2361 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2362 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2363 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2364 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2365 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2366 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2367 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2368 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2369 static const wxString
wxPyART_COPY(wxART_COPY
);
2370 static const wxString
wxPyART_CUT(wxART_CUT
);
2371 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2372 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2373 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2374 static const wxString
wxPyART_REDO(wxART_REDO
);
2375 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2376 static const wxString
wxPyART_FIND(wxART_FIND
);
2377 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2378 // Python aware wxArtProvider
2379 class wxPyArtProvider
: public wxArtProvider
{
2382 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2383 const wxArtClient
& client
,
2384 const wxSize
& size
) {
2385 wxBitmap rval
= wxNullBitmap
;
2386 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2387 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2388 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2392 s1
= wx2PyString(id
);
2393 s2
= wx2PyString(client
);
2394 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2399 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2404 wxPyEndBlockThreads(blocked
);
2411 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2415 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2416 PyObject
* ret
= PyTuple_New(3);
2418 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2419 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2420 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2425 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2430 cont
= self
->GetFirstGroup(value
, index
);
2431 return __EnumerationHelper(cont
, value
, index
);
2433 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2437 cont
= self
->GetNextGroup(value
, index
);
2438 return __EnumerationHelper(cont
, value
, index
);
2440 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2445 cont
= self
->GetFirstEntry(value
, index
);
2446 return __EnumerationHelper(cont
, value
, index
);
2448 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2452 cont
= self
->GetNextEntry(value
, index
);
2453 return __EnumerationHelper(cont
, value
, index
);
2455 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2457 self
->Read(key
, &rv
, defaultVal
);
2462 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2464 if (PyNumber_Check(obj
)) {
2465 if (val
) *val
= PyFloat_AsDouble(obj
);
2469 SWIG_type_error("number", obj
);
2475 SWIGINTERNSHORT
double
2476 SWIG_As_double(PyObject
* obj
)
2479 if (!SWIG_AsVal_double(obj
, &v
)) {
2481 this is needed to make valgrind/purify happier.
2483 memset((void*)&v
, 0, sizeof(double));
2490 SWIG_Check_double(PyObject
* obj
)
2492 return SWIG_AsVal_double(obj
, (double*)0);
2495 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2497 self
->Read(key
, &rv
, defaultVal
);
2501 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2502 #define SWIG_From_double PyFloat_FromDouble
2505 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2507 self
->Read(key
, &rv
, defaultVal
);
2511 #include <wx/datetime.h>
2513 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2514 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2516 #define LOCAL_TZ wxDateTime::Local
2518 static PyObject
*DateTime_GetAmPmStrings(){
2521 wxDateTime::GetAmPmStrings(&am
, &pm
);
2522 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2523 PyObject
* tup
= PyTuple_New(2);
2524 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2525 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2526 wxPyEndBlockThreads(blocked
);
2530 #if UINT_MAX < LONG_MAX
2531 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2532 #define SWIG_From_unsigned_SS_int SWIG_From_long
2535 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2536 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2540 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2541 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2542 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2543 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2544 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2545 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2546 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2547 return (*self
< *other
);
2549 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2550 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2551 return (*self
<= *other
);
2553 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2554 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2555 return (*self
> *other
);
2557 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2558 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2559 return (*self
>= *other
);
2561 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2562 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2563 return (*self
== *other
);
2565 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2566 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2567 return (*self
!= *other
);
2569 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2571 const wxChar
* _date
= date
;
2572 rv
= self
->ParseRfc822Date(_date
);
2573 if (rv
== NULL
) return -1;
2576 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2578 const wxChar
* _date
= date
;
2579 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2580 if (rv
== NULL
) return -1;
2583 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2585 const wxChar
* _datetime
= datetime
;
2586 rv
= self
->ParseDateTime(_datetime
);
2587 if (rv
== NULL
) return -1;
2588 return rv
- _datetime
;
2590 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2592 const wxChar
* _date
= date
;
2593 rv
= self
->ParseDate(_date
);
2594 if (rv
== NULL
) return -1;
2597 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2599 const wxChar
* _time
= time
;
2600 rv
= self
->ParseTime(_time
);
2601 if (rv
== NULL
) return -1;
2604 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2605 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2606 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2607 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2608 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2609 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2610 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2611 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2612 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2613 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2614 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2615 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2616 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2617 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2618 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2619 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2621 #include <wx/dataobj.h>
2623 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2624 size_t count
= self
->GetFormatCount(dir
);
2625 wxDataFormat
* formats
= new wxDataFormat
[count
];
2626 self
->GetAllFormats(formats
, dir
);
2628 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2629 PyObject
* list
= PyList_New(count
);
2630 for (size_t i
=0; i
<count
; i
++) {
2631 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2632 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2633 PyList_Append(list
, obj
);
2636 wxPyEndBlockThreads(blocked
);
2640 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2641 PyObject
* rval
= NULL
;
2642 size_t size
= self
->GetDataSize(format
);
2643 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2645 char* buf
= new char[size
];
2646 if (self
->GetDataHere(format
, buf
))
2647 rval
= PyString_FromStringAndSize(buf
, size
);
2654 wxPyEndBlockThreads(blocked
);
2657 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2659 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2660 if (PyString_Check(data
)) {
2661 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2664 // raise a TypeError if not a string
2665 PyErr_SetString(PyExc_TypeError
, "String expected.");
2668 wxPyEndBlockThreads(blocked
);
2671 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2672 PyObject
* rval
= NULL
;
2673 size_t size
= self
->GetDataSize();
2674 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2676 char* buf
= new char[size
];
2677 if (self
->GetDataHere(buf
))
2678 rval
= PyString_FromStringAndSize(buf
, size
);
2685 wxPyEndBlockThreads(blocked
);
2688 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2690 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2691 if (PyString_Check(data
)) {
2692 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2695 // raise a TypeError if not a string
2696 PyErr_SetString(PyExc_TypeError
, "String expected.");
2699 wxPyEndBlockThreads(blocked
);
2702 // Create a new class for wxPython to use
2703 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2705 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2706 : wxDataObjectSimple(format
) {}
2708 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2709 bool GetDataHere(void *buf
) const;
2710 bool SetData(size_t len
, const void *buf
) const;
2714 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2716 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2717 // We need to get the data for this object and write it to buf. I think
2718 // the best way to do this for wxPython is to have the Python method
2719 // return either a string or None and then act appropriately with the
2723 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2724 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2726 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2728 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2730 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2734 wxPyEndBlockThreads(blocked
);
2738 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2739 // For this one we simply need to make a string from buf and len
2740 // and send it to the Python method.
2742 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2743 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2744 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2745 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2748 wxPyEndBlockThreads(blocked
);
2752 // Create a new class for wxPython to use
2753 class wxPyTextDataObject
: public wxTextDataObject
{
2755 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2756 : wxTextDataObject(text
) {}
2758 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2759 DEC_PYCALLBACK_STRING__const(GetText
);
2760 DEC_PYCALLBACK__STRING(SetText
);
2764 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2765 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2766 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2769 // Create a new class for wxPython to use
2770 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2772 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2773 : wxBitmapDataObject(bitmap
) {}
2775 wxBitmap
GetBitmap() const;
2776 void SetBitmap(const wxBitmap
& bitmap
);
2780 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2781 wxBitmap
* rval
= &wxNullBitmap
;
2782 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2783 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2786 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2788 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2793 wxPyEndBlockThreads(blocked
);
2797 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2798 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2799 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2800 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2801 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2804 wxPyEndBlockThreads(blocked
);
2807 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2808 return new wxCustomDataObject(wxDataFormat(formatName
));
2810 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2812 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2813 if (PyString_Check(data
)) {
2814 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2817 // raise a TypeError if not a string
2818 PyErr_SetString(PyExc_TypeError
, "String expected.");
2821 wxPyEndBlockThreads(blocked
);
2824 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2826 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2827 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2828 wxPyEndBlockThreads(blocked
);
2832 #include <wx/metafile.h>
2835 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2838 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2839 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2840 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2841 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2842 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2845 class wxPyTextDropTarget
: public wxTextDropTarget
{
2847 wxPyTextDropTarget() {}
2849 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2851 DEC_PYCALLBACK__(OnLeave
);
2852 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2855 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2860 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2861 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2862 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2864 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2865 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2869 class wxPyFileDropTarget
: public wxFileDropTarget
{
2871 wxPyFileDropTarget() {}
2873 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2875 DEC_PYCALLBACK__(OnLeave
);
2876 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2879 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2884 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2885 const wxArrayString
& filenames
) {
2887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2888 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2889 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2890 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2893 wxPyEndBlockThreads(blocked
);
2899 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2900 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2901 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2902 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2903 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2908 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2910 #include <wx/display.h>
2912 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2913 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2915 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2917 #include <wx/dynarray.h>
2918 #include <wx/vidmode.h>
2920 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2921 #include "wx/arrimpl.cpp"
2922 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2923 const wxVideoMode wxDefaultVideoMode
;
2928 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2931 static size_t GetCount()
2932 { wxPyRaiseNotImplemented(); return 0; }
2934 static int GetFromPoint(const wxPoint
& pt
)
2935 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2936 static int GetFromWindow(wxWindow
*window
)
2937 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2939 virtual bool IsOk() const { return false; }
2940 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2941 virtual wxString
GetName() const { return wxEmptyString
; }
2942 bool IsPrimary() const { return false; }
2944 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2945 { wxArrayVideoModes a
; return a
; }
2947 virtual wxVideoMode
GetCurrentMode() const
2948 { return wxDefaultVideoMode
; }
2950 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2957 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2958 PyObject
* pyList
= NULL
;
2959 wxArrayVideoModes arr
= self
->GetModes(mode
);
2960 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2961 pyList
= PyList_New(0);
2962 for (int i
=0; i
< arr
.GetCount(); i
++) {
2963 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2964 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2965 PyList_Append(pyList
, pyObj
);
2968 wxPyEndBlockThreads(blocked
);
2972 #include <wx/stdpaths.h>
2974 static wxStandardPaths
*StandardPaths_Get(){
2975 return (wxStandardPaths
*) &wxStandardPaths::Get();
2977 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2978 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2982 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
*resultobj
;
2984 wxSystemColour arg1
;
2986 PyObject
* obj0
= 0 ;
2988 (char *) "index", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2993 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2994 if (SWIG_arg_fail(1)) SWIG_fail
;
2997 if (!wxPyCheckForApp()) SWIG_fail
;
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3005 wxColour
* resultptr
;
3006 resultptr
= new wxColour((wxColour
&)(result
));
3007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3015 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3019 PyObject
* obj0
= 0 ;
3021 (char *) "index", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3026 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3027 if (SWIG_arg_fail(1)) SWIG_fail
;
3030 if (!wxPyCheckForApp()) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3039 resultptr
= new wxFont((wxFont
&)(result
));
3040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3048 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxSystemMetric arg1
;
3051 wxWindow
*arg2
= (wxWindow
*) NULL
;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3056 (char *) "index",(char *) "win", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3061 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3062 if (SWIG_arg_fail(1)) SWIG_fail
;
3065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3066 if (SWIG_arg_fail(2)) SWIG_fail
;
3069 if (!wxPyCheckForApp()) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3077 resultobj
= SWIG_From_int((int)(result
));
3085 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxSystemFeature arg1
;
3089 PyObject
* obj0
= 0 ;
3091 (char *) "index", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3096 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3097 if (SWIG_arg_fail(1)) SWIG_fail
;
3100 if (!wxPyCheckForApp()) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3116 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxSystemScreenType result
;
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3125 if (!wxPyCheckForApp()) SWIG_fail
;
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3132 resultobj
= SWIG_From_int((result
));
3139 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxSystemScreenType arg1
;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "screen", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3149 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3150 if (SWIG_arg_fail(1)) SWIG_fail
;
3153 if (!wxPyCheckForApp()) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3160 Py_INCREF(Py_None
); resultobj
= Py_None
;
3167 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3170 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3172 return Py_BuildValue((char *)"");
3174 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3175 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3180 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3185 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3187 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3194 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
*resultobj
;
3196 wxSystemOptions
*result
;
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (wxSystemOptions
*)new wxSystemOptions();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3216 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxString
*arg1
= 0 ;
3219 wxString
*arg2
= 0 ;
3220 bool temp1
= false ;
3221 bool temp2
= false ;
3222 PyObject
* obj0
= 0 ;
3223 PyObject
* obj1
= 0 ;
3225 (char *) "name",(char *) "value", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3230 arg1
= wxString_in_helper(obj0
);
3231 if (arg1
== NULL
) SWIG_fail
;
3235 arg2
= wxString_in_helper(obj1
);
3236 if (arg2
== NULL
) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 Py_INCREF(Py_None
); resultobj
= Py_None
;
3269 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
;
3271 wxString
*arg1
= 0 ;
3273 bool temp1
= false ;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3277 (char *) "name",(char *) "value", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3282 arg1
= wxString_in_helper(obj0
);
3283 if (arg1
== NULL
) SWIG_fail
;
3287 arg2
= (int)(SWIG_As_int(obj1
));
3288 if (SWIG_arg_fail(2)) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxString
*arg1
= 0 ;
3316 bool temp1
= false ;
3317 PyObject
* obj0
= 0 ;
3319 (char *) "name", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3324 arg1
= wxString_in_helper(obj0
);
3325 if (arg1
== NULL
) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3356 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxString
*arg1
= 0 ;
3360 bool temp1
= false ;
3361 PyObject
* obj0
= 0 ;
3363 (char *) "name", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3368 arg1
= wxString_in_helper(obj0
);
3369 if (arg1
== NULL
) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= SWIG_From_int((int)(result
));
3396 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxString
*arg1
= 0 ;
3400 bool temp1
= false ;
3401 PyObject
* obj0
= 0 ;
3403 (char *) "name", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3408 arg1
= wxString_in_helper(obj0
);
3409 if (arg1
== NULL
) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3436 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3439 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3441 return Py_BuildValue((char *)"");
3443 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3444 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3449 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3454 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3456 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3463 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3464 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3469 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3474 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3476 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3483 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3484 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3489 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3494 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3496 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3503 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (long)wxNewId();
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= SWIG_From_long((long)(result
));
3527 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3530 PyObject
* obj0
= 0 ;
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3537 arg1
= (long)(SWIG_As_long(obj0
));
3538 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (long)wxGetCurrentId();
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= SWIG_From_long((long)(result
));
3578 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3582 PyObject
* obj0
= 0 ;
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3589 arg1
= (int)(SWIG_As_int(obj0
));
3590 if (SWIG_arg_fail(1)) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (bool)wxIsStockID(arg1
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3608 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3611 wxString
*arg2
= 0 ;
3613 bool temp2
= false ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3617 (char *) "id",(char *) "label", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 arg1
= (int)(SWIG_As_int(obj0
));
3623 if (SWIG_arg_fail(1)) SWIG_fail
;
3626 arg2
= wxString_in_helper(obj1
);
3627 if (arg2
== NULL
) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3654 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3657 bool arg2
= (bool) true ;
3658 wxString arg3
= (wxString
) wxPyEmptyString
;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3662 PyObject
* obj2
= 0 ;
3664 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3669 arg1
= (int)(SWIG_As_int(obj0
));
3670 if (SWIG_arg_fail(1)) SWIG_fail
;
3674 arg2
= (bool)(SWIG_As_bool(obj1
));
3675 if (SWIG_arg_fail(2)) SWIG_fail
;
3680 wxString
* sptr
= wxString_in_helper(obj2
);
3681 if (sptr
== NULL
) SWIG_fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3706 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3714 if (!wxPyCheckForApp()) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3736 if (!wxPyCheckForApp()) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 Py_INCREF(Py_None
); resultobj
= Py_None
;
3750 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 bool arg1
= (bool) true ;
3754 PyObject
* obj0
= 0 ;
3756 (char *) "resetTimer", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3762 arg1
= (bool)(SWIG_As_bool(obj0
));
3763 if (SWIG_arg_fail(1)) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= (long)wxGetElapsedTime(arg1
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= SWIG_From_long((long)(result
));
3782 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 int *arg1
= (int *) 0 ;
3785 int *arg2
= (int *) 0 ;
3794 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3795 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3798 if (!wxPyCheckForApp()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 wxGetMousePosition(arg1
,arg2
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 Py_INCREF(Py_None
); resultobj
= Py_None
;
3806 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3807 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3808 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3809 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3816 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= (bool)wxIsBusy();
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3840 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3868 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3870 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3871 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3873 bool temp1
= false ;
3874 PyObject
* obj0
= 0 ;
3876 (char *) "command", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3882 arg1
= wxString_in_helper(obj0
);
3883 if (arg1
== NULL
) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (bool)wxShell((wxString
const &)*arg1
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3911 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 Py_INCREF(Py_None
); resultobj
= Py_None
;
3932 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 int *arg1
= (int *) 0 ;
3935 int *arg2
= (int *) 0 ;
3945 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3946 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (int)wxGetOsVersion(arg1
,arg2
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_From_int((int)(result
));
3958 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3959 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3960 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3961 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3968 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 result
= wxGetOsDescription();
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3996 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (long)wxGetFreeMemory();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= SWIG_From_long((long)(result
));
4020 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxShutdownFlags arg1
;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "wFlags", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4031 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4032 if (SWIG_arg_fail(1)) SWIG_fail
;
4035 if (!wxPyCheckForApp()) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4051 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "secs", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4061 arg1
= (int)(SWIG_As_int(obj0
));
4062 if (SWIG_arg_fail(1)) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 unsigned long arg1
;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "milliseconds", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4088 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4089 if (SWIG_arg_fail(1)) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 Py_INCREF(Py_None
); resultobj
= Py_None
;
4105 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 unsigned long arg1
;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "microseconds", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4115 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4116 if (SWIG_arg_fail(1)) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 Py_INCREF(Py_None
); resultobj
= Py_None
;
4132 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "enable", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4142 arg1
= (bool)(SWIG_As_bool(obj0
));
4143 if (SWIG_arg_fail(1)) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 wxEnableTopLevelWindows(arg1
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxString
*arg1
= 0 ;
4163 bool temp1
= false ;
4164 PyObject
* obj0
= 0 ;
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4171 arg1
= wxString_in_helper(obj0
);
4172 if (arg1
== NULL
) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4203 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 result
= wxGetEmailAddress();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4231 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= wxGetHostName();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4259 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= wxGetFullHostName();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4287 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= wxGetUserId();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4315 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= wxGetUserName();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4343 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= wxGetHomeDir();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4371 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
;
4373 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4374 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4376 bool temp1
= false ;
4377 PyObject
* obj0
= 0 ;
4379 (char *) "user", NULL
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4385 arg1
= wxString_in_helper(obj0
);
4386 if (arg1
== NULL
) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= wxGetUserHome((wxString
const &)*arg1
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4418 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 unsigned long result
;
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (unsigned long)wxGetProcessId();
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4442 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 Py_INCREF(Py_None
); resultobj
= Py_None
;
4463 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4466 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4467 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4468 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4469 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4470 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4471 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4472 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4473 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4474 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4475 int arg6
= (int) 0 ;
4476 wxWindow
*arg7
= (wxWindow
*) NULL
;
4477 int arg8
= (int) -1 ;
4478 int arg9
= (int) -1 ;
4480 bool temp1
= false ;
4481 bool temp2
= false ;
4482 bool temp3
= false ;
4483 bool temp4
= false ;
4484 bool temp5
= false ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4487 PyObject
* obj2
= 0 ;
4488 PyObject
* obj3
= 0 ;
4489 PyObject
* obj4
= 0 ;
4490 PyObject
* obj5
= 0 ;
4491 PyObject
* obj6
= 0 ;
4492 PyObject
* obj7
= 0 ;
4493 PyObject
* obj8
= 0 ;
4495 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4501 arg1
= wxString_in_helper(obj0
);
4502 if (arg1
== NULL
) SWIG_fail
;
4508 arg2
= wxString_in_helper(obj1
);
4509 if (arg2
== NULL
) SWIG_fail
;
4515 arg3
= wxString_in_helper(obj2
);
4516 if (arg3
== NULL
) SWIG_fail
;
4522 arg4
= wxString_in_helper(obj3
);
4523 if (arg4
== NULL
) SWIG_fail
;
4529 arg5
= wxString_in_helper(obj4
);
4530 if (arg5
== NULL
) SWIG_fail
;
4536 arg6
= (int)(SWIG_As_int(obj5
));
4537 if (SWIG_arg_fail(6)) SWIG_fail
;
4541 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4542 if (SWIG_arg_fail(7)) SWIG_fail
;
4546 arg8
= (int)(SWIG_As_int(obj7
));
4547 if (SWIG_arg_fail(8)) SWIG_fail
;
4552 arg9
= (int)(SWIG_As_int(obj8
));
4553 if (SWIG_arg_fail(9)) SWIG_fail
;
4557 if (!wxPyCheckForApp()) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4617 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxString
*arg1
= 0 ;
4620 wxString
*arg2
= 0 ;
4621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4623 wxWindow
*arg4
= (wxWindow
*) NULL
;
4625 bool temp1
= false ;
4626 bool temp2
= false ;
4627 bool temp3
= false ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4630 PyObject
* obj2
= 0 ;
4631 PyObject
* obj3
= 0 ;
4633 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4638 arg1
= wxString_in_helper(obj0
);
4639 if (arg1
== NULL
) SWIG_fail
;
4643 arg2
= wxString_in_helper(obj1
);
4644 if (arg2
== NULL
) SWIG_fail
;
4649 arg3
= wxString_in_helper(obj2
);
4650 if (arg3
== NULL
) SWIG_fail
;
4655 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4656 if (SWIG_arg_fail(4)) SWIG_fail
;
4659 if (!wxPyCheckForApp()) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4703 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
;
4705 wxString
*arg1
= 0 ;
4706 wxString
*arg2
= 0 ;
4707 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4708 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4709 wxWindow
*arg4
= (wxWindow
*) NULL
;
4711 bool temp1
= false ;
4712 bool temp2
= false ;
4713 bool temp3
= false ;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4716 PyObject
* obj2
= 0 ;
4717 PyObject
* obj3
= 0 ;
4719 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4724 arg1
= wxString_in_helper(obj0
);
4725 if (arg1
== NULL
) SWIG_fail
;
4729 arg2
= wxString_in_helper(obj1
);
4730 if (arg2
== NULL
) SWIG_fail
;
4735 arg3
= wxString_in_helper(obj2
);
4736 if (arg3
== NULL
) SWIG_fail
;
4741 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4742 if (SWIG_arg_fail(4)) SWIG_fail
;
4745 if (!wxPyCheckForApp()) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4789 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4792 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4793 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4794 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4795 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4796 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4797 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4798 wxWindow
*arg5
= (wxWindow
*) NULL
;
4800 bool temp1
= false ;
4801 bool temp2
= false ;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4805 PyObject
* obj2
= 0 ;
4806 PyObject
* obj3
= 0 ;
4807 PyObject
* obj4
= 0 ;
4809 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4815 arg1
= wxString_in_helper(obj0
);
4816 if (arg1
== NULL
) SWIG_fail
;
4822 arg2
= wxString_in_helper(obj1
);
4823 if (arg2
== NULL
) SWIG_fail
;
4829 arg3
= (long)(SWIG_As_long(obj2
));
4830 if (SWIG_arg_fail(3)) SWIG_fail
;
4836 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4840 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4841 if (SWIG_arg_fail(5)) SWIG_fail
;
4844 if (!wxPyCheckForApp()) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4880 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxString
*arg1
= 0 ;
4883 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4884 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4885 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4886 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4887 wxWindow
*arg4
= (wxWindow
*) NULL
;
4888 int arg5
= (int) -1 ;
4889 int arg6
= (int) -1 ;
4890 bool arg7
= (bool) true ;
4892 bool temp1
= false ;
4893 bool temp2
= false ;
4894 bool temp3
= false ;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4897 PyObject
* obj2
= 0 ;
4898 PyObject
* obj3
= 0 ;
4899 PyObject
* obj4
= 0 ;
4900 PyObject
* obj5
= 0 ;
4901 PyObject
* obj6
= 0 ;
4903 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4908 arg1
= wxString_in_helper(obj0
);
4909 if (arg1
== NULL
) SWIG_fail
;
4914 arg2
= wxString_in_helper(obj1
);
4915 if (arg2
== NULL
) SWIG_fail
;
4921 arg3
= wxString_in_helper(obj2
);
4922 if (arg3
== NULL
) SWIG_fail
;
4927 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4928 if (SWIG_arg_fail(4)) SWIG_fail
;
4932 arg5
= (int)(SWIG_As_int(obj4
));
4933 if (SWIG_arg_fail(5)) SWIG_fail
;
4938 arg6
= (int)(SWIG_As_int(obj5
));
4939 if (SWIG_arg_fail(6)) SWIG_fail
;
4944 arg7
= (bool)(SWIG_As_bool(obj6
));
4945 if (SWIG_arg_fail(7)) SWIG_fail
;
4949 if (!wxPyCheckForApp()) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4993 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxString
*arg1
= 0 ;
4996 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4997 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4998 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4999 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5000 wxWindow
*arg4
= (wxWindow
*) NULL
;
5002 bool temp1
= false ;
5003 bool temp2
= false ;
5004 bool temp3
= false ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5007 PyObject
* obj2
= 0 ;
5008 PyObject
* obj3
= 0 ;
5010 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5015 arg1
= wxString_in_helper(obj0
);
5016 if (arg1
== NULL
) SWIG_fail
;
5021 arg2
= wxString_in_helper(obj1
);
5022 if (arg2
== NULL
) SWIG_fail
;
5028 arg3
= wxString_in_helper(obj2
);
5029 if (arg3
== NULL
) SWIG_fail
;
5034 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5035 if (SWIG_arg_fail(4)) SWIG_fail
;
5038 if (!wxPyCheckForApp()) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5082 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxString
*arg1
= 0 ;
5085 wxString
*arg2
= 0 ;
5087 wxString
*arg4
= (wxString
*) 0 ;
5088 wxWindow
*arg5
= (wxWindow
*) NULL
;
5089 int arg6
= (int) -1 ;
5090 int arg7
= (int) -1 ;
5091 bool arg8
= (bool) true ;
5092 int arg9
= (int) 150 ;
5093 int arg10
= (int) 200 ;
5095 bool temp1
= false ;
5096 bool temp2
= false ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5099 PyObject
* obj2
= 0 ;
5100 PyObject
* obj3
= 0 ;
5101 PyObject
* obj4
= 0 ;
5102 PyObject
* obj5
= 0 ;
5103 PyObject
* obj6
= 0 ;
5104 PyObject
* obj7
= 0 ;
5105 PyObject
* obj8
= 0 ;
5107 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5112 arg1
= wxString_in_helper(obj0
);
5113 if (arg1
== NULL
) SWIG_fail
;
5117 arg2
= wxString_in_helper(obj1
);
5118 if (arg2
== NULL
) SWIG_fail
;
5122 arg3
= PyList_Size(obj2
);
5123 arg4
= wxString_LIST_helper(obj2
);
5124 if (arg4
== NULL
) SWIG_fail
;
5127 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5128 if (SWIG_arg_fail(5)) SWIG_fail
;
5132 arg6
= (int)(SWIG_As_int(obj4
));
5133 if (SWIG_arg_fail(6)) SWIG_fail
;
5138 arg7
= (int)(SWIG_As_int(obj5
));
5139 if (SWIG_arg_fail(7)) SWIG_fail
;
5144 arg8
= (bool)(SWIG_As_bool(obj6
));
5145 if (SWIG_arg_fail(8)) SWIG_fail
;
5150 arg9
= (int)(SWIG_As_int(obj7
));
5151 if (SWIG_arg_fail(9)) SWIG_fail
;
5156 arg10
= (int)(SWIG_As_int(obj8
));
5157 if (SWIG_arg_fail(10)) SWIG_fail
;
5161 if (!wxPyCheckForApp()) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5184 if (arg4
) delete [] arg4
;
5197 if (arg4
) delete [] arg4
;
5203 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxString
*arg1
= 0 ;
5206 wxString
*arg2
= 0 ;
5208 wxString
*arg4
= (wxString
*) 0 ;
5209 wxWindow
*arg5
= (wxWindow
*) NULL
;
5210 int arg6
= (int) -1 ;
5211 int arg7
= (int) -1 ;
5212 bool arg8
= (bool) true ;
5213 int arg9
= (int) 150 ;
5214 int arg10
= (int) 200 ;
5216 bool temp1
= false ;
5217 bool temp2
= false ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 PyObject
* obj2
= 0 ;
5221 PyObject
* obj3
= 0 ;
5222 PyObject
* obj4
= 0 ;
5223 PyObject
* obj5
= 0 ;
5224 PyObject
* obj6
= 0 ;
5225 PyObject
* obj7
= 0 ;
5226 PyObject
* obj8
= 0 ;
5228 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5233 arg1
= wxString_in_helper(obj0
);
5234 if (arg1
== NULL
) SWIG_fail
;
5238 arg2
= wxString_in_helper(obj1
);
5239 if (arg2
== NULL
) SWIG_fail
;
5243 arg3
= PyList_Size(obj2
);
5244 arg4
= wxString_LIST_helper(obj2
);
5245 if (arg4
== NULL
) SWIG_fail
;
5248 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5249 if (SWIG_arg_fail(5)) SWIG_fail
;
5253 arg6
= (int)(SWIG_As_int(obj4
));
5254 if (SWIG_arg_fail(6)) SWIG_fail
;
5259 arg7
= (int)(SWIG_As_int(obj5
));
5260 if (SWIG_arg_fail(7)) SWIG_fail
;
5265 arg8
= (bool)(SWIG_As_bool(obj6
));
5266 if (SWIG_arg_fail(8)) SWIG_fail
;
5271 arg9
= (int)(SWIG_As_int(obj7
));
5272 if (SWIG_arg_fail(9)) SWIG_fail
;
5277 arg10
= (int)(SWIG_As_int(obj8
));
5278 if (SWIG_arg_fail(10)) SWIG_fail
;
5282 if (!wxPyCheckForApp()) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_From_int((int)(result
));
5301 if (arg4
) delete [] arg4
;
5314 if (arg4
) delete [] arg4
;
5320 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxString
*arg1
= 0 ;
5323 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5324 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5325 int arg3
= (int) wxOK
|wxCENTRE
;
5326 wxWindow
*arg4
= (wxWindow
*) NULL
;
5327 int arg5
= (int) -1 ;
5328 int arg6
= (int) -1 ;
5330 bool temp1
= false ;
5331 bool temp2
= false ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5334 PyObject
* obj2
= 0 ;
5335 PyObject
* obj3
= 0 ;
5336 PyObject
* obj4
= 0 ;
5337 PyObject
* obj5
= 0 ;
5339 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5344 arg1
= wxString_in_helper(obj0
);
5345 if (arg1
== NULL
) SWIG_fail
;
5350 arg2
= wxString_in_helper(obj1
);
5351 if (arg2
== NULL
) SWIG_fail
;
5357 arg3
= (int)(SWIG_As_int(obj2
));
5358 if (SWIG_arg_fail(3)) SWIG_fail
;
5362 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5363 if (SWIG_arg_fail(4)) SWIG_fail
;
5367 arg5
= (int)(SWIG_As_int(obj4
));
5368 if (SWIG_arg_fail(5)) SWIG_fail
;
5373 arg6
= (int)(SWIG_As_int(obj5
));
5374 if (SWIG_arg_fail(6)) SWIG_fail
;
5378 if (!wxPyCheckForApp()) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= SWIG_From_int((int)(result
));
5410 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxString
*arg1
= 0 ;
5413 wxString
*arg2
= 0 ;
5414 wxString
*arg3
= 0 ;
5416 long arg5
= (long) 0 ;
5417 long arg6
= (long) 100 ;
5418 wxWindow
*arg7
= (wxWindow
*) NULL
;
5419 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5420 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5422 bool temp1
= false ;
5423 bool temp2
= false ;
5424 bool temp3
= false ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5428 PyObject
* obj2
= 0 ;
5429 PyObject
* obj3
= 0 ;
5430 PyObject
* obj4
= 0 ;
5431 PyObject
* obj5
= 0 ;
5432 PyObject
* obj6
= 0 ;
5433 PyObject
* obj7
= 0 ;
5435 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5440 arg1
= wxString_in_helper(obj0
);
5441 if (arg1
== NULL
) SWIG_fail
;
5445 arg2
= wxString_in_helper(obj1
);
5446 if (arg2
== NULL
) SWIG_fail
;
5450 arg3
= wxString_in_helper(obj2
);
5451 if (arg3
== NULL
) SWIG_fail
;
5455 arg4
= (long)(SWIG_As_long(obj3
));
5456 if (SWIG_arg_fail(4)) SWIG_fail
;
5460 arg5
= (long)(SWIG_As_long(obj4
));
5461 if (SWIG_arg_fail(5)) SWIG_fail
;
5466 arg6
= (long)(SWIG_As_long(obj5
));
5467 if (SWIG_arg_fail(6)) SWIG_fail
;
5471 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(7)) SWIG_fail
;
5477 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5481 if (!wxPyCheckForApp()) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_From_long((long)(result
));
5521 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5530 if (!wxPyCheckForApp()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)wxColourDisplay();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5546 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5555 if (!wxPyCheckForApp()) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (int)wxDisplayDepth();
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_From_int((int)(result
));
5571 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5580 if (!wxPyCheckForApp()) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (int)wxGetDisplayDepth();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= SWIG_From_int((int)(result
));
5596 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 int *arg1
= (int *) 0 ;
5599 int *arg2
= (int *) 0 ;
5608 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5609 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5612 if (!wxPyCheckForApp()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 wxDisplaySize(arg1
,arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5620 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5621 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5622 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5623 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5630 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5639 if (!wxPyCheckForApp()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= wxGetDisplaySize();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5648 resultptr
= new wxSize((wxSize
&)(result
));
5649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5657 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 int *arg1
= (int *) 0 ;
5660 int *arg2
= (int *) 0 ;
5669 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5670 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5673 if (!wxPyCheckForApp()) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 wxDisplaySizeMM(arg1
,arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5682 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5683 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5684 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5691 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5700 if (!wxPyCheckForApp()) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= wxGetDisplaySizeMM();
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5709 resultptr
= new wxSize((wxSize
&)(result
));
5710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5718 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 int *arg1
= (int *) 0 ;
5721 int *arg2
= (int *) 0 ;
5722 int *arg3
= (int *) 0 ;
5723 int *arg4
= (int *) 0 ;
5736 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5737 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5738 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5739 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5742 if (!wxPyCheckForApp()) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5751 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5752 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5753 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5754 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5755 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5756 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5757 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5764 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5773 if (!wxPyCheckForApp()) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= wxGetClientDisplayRect();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5782 resultptr
= new wxRect((wxRect
&)(result
));
5783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5791 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxCursor
*arg1
= 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "cursor", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5802 if (SWIG_arg_fail(1)) SWIG_fail
;
5804 SWIG_null_ref("wxCursor");
5806 if (SWIG_arg_fail(1)) SWIG_fail
;
5809 if (!wxPyCheckForApp()) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5826 PyObject
* obj0
= 0 ;
5828 (char *) "cursor", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail
;
5837 if (!wxPyCheckForApp()) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 wxBeginBusyCursor(arg1
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 Py_INCREF(Py_None
); resultobj
= Py_None
;
5851 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5860 if (!wxPyCheckForApp()) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (wxWindow
*)wxGetActiveWindow();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= wxPyMake_wxObject(result
, 0);
5876 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5881 PyObject
* obj0
= 0 ;
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5889 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5892 if (!wxPyCheckForApp()) SWIG_fail
;
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= wxPyMake_wxObject(result
, 0);
5908 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5913 PyObject
* obj0
= 0 ;
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5921 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5924 if (!wxPyCheckForApp()) SWIG_fail
;
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= wxPyMake_wxObject(result
, 0);
5940 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxWindow
*arg1
= (wxWindow
*) 0 ;
5944 PyObject
* obj0
= 0 ;
5946 (char *) "win", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail
;
5953 if (!wxPyCheckForApp()) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= wxPyMake_wxObject(result
, 0);
5969 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "key", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5980 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5981 if (SWIG_arg_fail(1)) SWIG_fail
;
5984 if (!wxPyCheckForApp()) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6000 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6008 if (!wxPyCheckForApp()) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 wxWakeUpMainThread();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 Py_INCREF(Py_None
); resultobj
= Py_None
;
6022 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6030 if (!wxPyCheckForApp()) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 Py_INCREF(Py_None
); resultobj
= Py_None
;
6044 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6052 if (!wxPyCheckForApp()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 Py_INCREF(Py_None
); resultobj
= Py_None
;
6066 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxMutexGuiLocker
*result
;
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6075 if (!wxPyCheckForApp()) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6089 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6094 (char *) "self", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6117 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6119 return Py_BuildValue((char *)"");
6121 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (bool)wxThread_IsMain();
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6145 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxString
*arg1
= 0 ;
6149 bool temp1
= false ;
6150 PyObject
* obj0
= 0 ;
6152 (char *) "tip", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6157 arg1
= wxString_in_helper(obj0
);
6158 if (arg1
== NULL
) SWIG_fail
;
6162 if (!wxPyCheckForApp()) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= wxPyMake_wxObject(result
, 1);
6186 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6189 wxString
*arg2
= 0 ;
6190 bool temp2
= false ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6194 (char *) "self",(char *) "tip", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6199 if (SWIG_arg_fail(1)) SWIG_fail
;
6201 arg2
= wxString_in_helper(obj1
);
6202 if (arg2
== NULL
) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 (arg1
)->SetTip((wxString
const &)*arg2
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 Py_INCREF(Py_None
); resultobj
= Py_None
;
6227 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6233 (char *) "self", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6238 if (SWIG_arg_fail(1)) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (arg1
)->GetTip();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6259 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "self", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6270 if (SWIG_arg_fail(1)) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (wxWindow
*)(arg1
)->GetWindow();
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= wxPyMake_wxObject(result
, 0);
6287 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6290 PyObject
* obj0
= 0 ;
6292 (char *) "flag", NULL
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6297 arg1
= (bool)(SWIG_As_bool(obj0
));
6298 if (SWIG_arg_fail(1)) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 wxToolTip::Enable(arg1
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 Py_INCREF(Py_None
); resultobj
= Py_None
;
6314 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6317 PyObject
* obj0
= 0 ;
6319 (char *) "milliseconds", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6324 arg1
= (long)(SWIG_As_long(obj0
));
6325 if (SWIG_arg_fail(1)) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 wxToolTip::SetDelay(arg1
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 Py_INCREF(Py_None
); resultobj
= Py_None
;
6341 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6344 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6346 return Py_BuildValue((char *)"");
6348 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxWindow
*arg1
= (wxWindow
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6355 PyObject
* obj1
= 0 ;
6357 (char *) "window",(char *) "size", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6362 if (SWIG_arg_fail(1)) SWIG_fail
;
6365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6368 if (!wxPyCheckForApp()) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6382 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxCaret
*arg1
= (wxCaret
*) 0 ;
6385 PyObject
* obj0
= 0 ;
6387 (char *) "self", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6392 if (SWIG_arg_fail(1)) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 wxCaret_Destroy(arg1
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 Py_INCREF(Py_None
); resultobj
= Py_None
;
6407 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxCaret
*arg1
= (wxCaret
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "self", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6418 if (SWIG_arg_fail(1)) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (bool)(arg1
)->IsOk();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6435 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxCaret
*arg1
= (wxCaret
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6441 (char *) "self", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6446 if (SWIG_arg_fail(1)) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (bool)(arg1
)->IsVisible();
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6463 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxCaret
*arg1
= (wxCaret
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (arg1
)->GetPosition();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 wxPoint
* resultptr
;
6484 resultptr
= new wxPoint((wxPoint
&)(result
));
6485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6493 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxCaret
*arg1
= (wxCaret
*) 0 ;
6496 int *arg2
= (int *) 0 ;
6497 int *arg3
= (int *) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6508 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6511 if (SWIG_arg_fail(1)) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 (arg1
)->GetPosition(arg2
,arg3
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 Py_INCREF(Py_None
); resultobj
= Py_None
;
6520 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6521 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6522 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6523 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6530 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxCaret
*arg1
= (wxCaret
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6536 (char *) "self", NULL
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6541 if (SWIG_arg_fail(1)) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (arg1
)->GetSize();
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6551 resultptr
= new wxSize((wxSize
&)(result
));
6552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6560 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxCaret
*arg1
= (wxCaret
*) 0 ;
6563 int *arg2
= (int *) 0 ;
6564 int *arg3
= (int *) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6575 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6578 if (SWIG_arg_fail(1)) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 (arg1
)->GetSize(arg2
,arg3
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 Py_INCREF(Py_None
); resultobj
= Py_None
;
6587 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6588 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6589 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6590 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6597 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxCaret
*arg1
= (wxCaret
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6603 (char *) "self", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (wxWindow
*)(arg1
)->GetWindow();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= wxPyMake_wxObject(result
, 0);
6625 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxCaret
*arg1
= (wxCaret
*) 0 ;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6632 PyObject
* obj2
= 0 ;
6634 (char *) "self",(char *) "x",(char *) "y", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6639 if (SWIG_arg_fail(1)) SWIG_fail
;
6641 arg2
= (int)(SWIG_As_int(obj1
));
6642 if (SWIG_arg_fail(2)) SWIG_fail
;
6645 arg3
= (int)(SWIG_As_int(obj2
));
6646 if (SWIG_arg_fail(3)) SWIG_fail
;
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 (arg1
)->Move(arg2
,arg3
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 Py_INCREF(Py_None
); resultobj
= Py_None
;
6662 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxCaret
*arg1
= (wxCaret
*) 0 ;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6670 (char *) "self",(char *) "pt", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6675 if (SWIG_arg_fail(1)) SWIG_fail
;
6678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 (arg1
)->Move((wxPoint
const &)*arg2
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 Py_INCREF(Py_None
); resultobj
= Py_None
;
6694 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxCaret
*arg1
= (wxCaret
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6701 PyObject
* obj2
= 0 ;
6703 (char *) "self",(char *) "width",(char *) "height", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6708 if (SWIG_arg_fail(1)) SWIG_fail
;
6710 arg2
= (int)(SWIG_As_int(obj1
));
6711 if (SWIG_arg_fail(2)) SWIG_fail
;
6714 arg3
= (int)(SWIG_As_int(obj2
));
6715 if (SWIG_arg_fail(3)) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 (arg1
)->SetSize(arg2
,arg3
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 Py_INCREF(Py_None
); resultobj
= Py_None
;
6731 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxCaret
*arg1
= (wxCaret
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6737 PyObject
* obj1
= 0 ;
6739 (char *) "self",(char *) "size", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6744 if (SWIG_arg_fail(1)) SWIG_fail
;
6747 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 (arg1
)->SetSize((wxSize
const &)*arg2
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxCaret
*arg1
= (wxCaret
*) 0 ;
6766 int arg2
= (int) true ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6770 (char *) "self",(char *) "show", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail
;
6778 arg2
= (int)(SWIG_As_int(obj1
));
6779 if (SWIG_arg_fail(2)) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 Py_INCREF(Py_None
); resultobj
= Py_None
;
6796 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxCaret
*arg1
= (wxCaret
*) 0 ;
6799 PyObject
* obj0
= 0 ;
6801 (char *) "self", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 Py_INCREF(Py_None
); resultobj
= Py_None
;
6821 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (int)wxCaret::GetBlinkTime();
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_From_int((int)(result
));
6845 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6848 PyObject
* obj0
= 0 ;
6850 (char *) "milliseconds", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6855 arg1
= (int)(SWIG_As_int(obj0
));
6856 if (SWIG_arg_fail(1)) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 wxCaret::SetBlinkTime(arg1
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 Py_INCREF(Py_None
); resultobj
= Py_None
;
6872 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6875 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6877 return Py_BuildValue((char *)"");
6879 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6882 wxBusyCursor
*result
;
6883 PyObject
* obj0
= 0 ;
6885 (char *) "cursor", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6891 if (SWIG_arg_fail(1)) SWIG_fail
;
6894 if (!wxPyCheckForApp()) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6908 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 Py_INCREF(Py_None
); resultobj
= Py_None
;
6933 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6936 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6938 return Py_BuildValue((char *)"");
6940 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
;
6942 wxWindow
*arg1
= (wxWindow
*) NULL
;
6943 wxWindowDisabler
*result
;
6944 PyObject
* obj0
= 0 ;
6946 (char *) "winToSkip", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6952 if (SWIG_arg_fail(1)) SWIG_fail
;
6955 if (!wxPyCheckForApp()) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6969 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6979 if (SWIG_arg_fail(1)) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 Py_INCREF(Py_None
); resultobj
= Py_None
;
6994 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6997 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6999 return Py_BuildValue((char *)"");
7001 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxString
*arg1
= 0 ;
7005 bool temp1
= false ;
7006 PyObject
* obj0
= 0 ;
7008 (char *) "message", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7013 arg1
= wxString_in_helper(obj0
);
7014 if (arg1
== NULL
) SWIG_fail
;
7018 if (!wxPyCheckForApp()) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7040 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
;
7042 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7045 (char *) "self", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7050 if (SWIG_arg_fail(1)) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 Py_INCREF(Py_None
); resultobj
= Py_None
;
7065 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7068 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7070 return Py_BuildValue((char *)"");
7072 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxStopWatch
*result
;
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= (wxStopWatch
*)new wxStopWatch();
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7094 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7096 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7097 long arg2
= (long) 0 ;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7101 (char *) "self",(char *) "t0", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail
;
7109 arg2
= (long)(SWIG_As_long(obj1
));
7110 if (SWIG_arg_fail(2)) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 (arg1
)->Start(arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 Py_INCREF(Py_None
); resultobj
= Py_None
;
7127 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7132 (char *) "self", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7137 if (SWIG_arg_fail(1)) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 Py_INCREF(Py_None
); resultobj
= Py_None
;
7152 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7157 (char *) "self", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7162 if (SWIG_arg_fail(1)) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 Py_INCREF(Py_None
); resultobj
= Py_None
;
7177 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7181 PyObject
* obj0
= 0 ;
7183 (char *) "self", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7188 if (SWIG_arg_fail(1)) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= SWIG_From_long((long)(result
));
7205 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7208 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7210 return Py_BuildValue((char *)"");
7212 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 int arg1
= (int) 9 ;
7215 int arg2
= (int) wxID_FILE1
;
7216 wxFileHistory
*result
;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7220 (char *) "maxFiles",(char *) "idBase", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7226 arg1
= (int)(SWIG_As_int(obj0
));
7227 if (SWIG_arg_fail(1)) SWIG_fail
;
7232 arg2
= (int)(SWIG_As_int(obj1
));
7233 if (SWIG_arg_fail(2)) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7250 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7260 if (SWIG_arg_fail(1)) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 Py_INCREF(Py_None
); resultobj
= Py_None
;
7275 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7278 wxString
*arg2
= 0 ;
7279 bool temp2
= false ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7283 (char *) "self",(char *) "file", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 arg2
= wxString_in_helper(obj1
);
7291 if (arg2
== NULL
) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7323 (char *) "self",(char *) "i", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7328 if (SWIG_arg_fail(1)) SWIG_fail
;
7330 arg2
= (int)(SWIG_As_int(obj1
));
7331 if (SWIG_arg_fail(2)) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 (arg1
)->RemoveFileFromHistory(arg2
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 Py_INCREF(Py_None
); resultobj
= Py_None
;
7347 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7351 PyObject
* obj0
= 0 ;
7353 (char *) "self", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7358 if (SWIG_arg_fail(1)) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_From_int((int)(result
));
7375 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7378 wxMenu
*arg2
= (wxMenu
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7382 (char *) "self",(char *) "menu", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail
;
7388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7389 if (SWIG_arg_fail(2)) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 (arg1
)->UseMenu(arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 Py_INCREF(Py_None
); resultobj
= Py_None
;
7404 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7407 wxMenu
*arg2
= (wxMenu
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7409 PyObject
* obj1
= 0 ;
7411 (char *) "self",(char *) "menu", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail
;
7417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7418 if (SWIG_arg_fail(2)) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 (arg1
)->RemoveMenu(arg2
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 Py_INCREF(Py_None
); resultobj
= Py_None
;
7433 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7436 wxConfigBase
*arg2
= 0 ;
7437 PyObject
* obj0
= 0 ;
7438 PyObject
* obj1
= 0 ;
7440 (char *) "self",(char *) "config", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7445 if (SWIG_arg_fail(1)) SWIG_fail
;
7447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7448 if (SWIG_arg_fail(2)) SWIG_fail
;
7450 SWIG_null_ref("wxConfigBase");
7452 if (SWIG_arg_fail(2)) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 (arg1
)->Load(*arg2
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 Py_INCREF(Py_None
); resultobj
= Py_None
;
7468 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7471 wxConfigBase
*arg2
= 0 ;
7472 PyObject
* obj0
= 0 ;
7473 PyObject
* obj1
= 0 ;
7475 (char *) "self",(char *) "config", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7483 if (SWIG_arg_fail(2)) SWIG_fail
;
7485 SWIG_null_ref("wxConfigBase");
7487 if (SWIG_arg_fail(2)) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 (arg1
)->Save(*arg2
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 Py_INCREF(Py_None
); resultobj
= Py_None
;
7503 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7508 (char *) "self", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7513 if (SWIG_arg_fail(1)) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 (arg1
)->AddFilesToMenu();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7531 wxMenu
*arg2
= (wxMenu
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7535 (char *) "self",(char *) "menu", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7540 if (SWIG_arg_fail(1)) SWIG_fail
;
7541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7542 if (SWIG_arg_fail(2)) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 (arg1
)->AddFilesToMenu(arg2
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 Py_INCREF(Py_None
); resultobj
= Py_None
;
7557 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7565 (char *) "self",(char *) "i", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7570 if (SWIG_arg_fail(1)) SWIG_fail
;
7572 arg2
= (int)(SWIG_As_int(obj1
));
7573 if (SWIG_arg_fail(2)) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7595 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7601 (char *) "self", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7606 if (SWIG_arg_fail(1)) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_From_int((int)(result
));
7623 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7626 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7628 return Py_BuildValue((char *)"");
7630 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxString
*arg1
= 0 ;
7633 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7634 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7635 wxSingleInstanceChecker
*result
;
7636 bool temp1
= false ;
7637 bool temp2
= false ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7641 (char *) "name",(char *) "path", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7646 arg1
= wxString_in_helper(obj0
);
7647 if (arg1
== NULL
) SWIG_fail
;
7652 arg2
= wxString_in_helper(obj1
);
7653 if (arg2
== NULL
) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7687 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxSingleInstanceChecker
*result
;
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7709 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7719 if (SWIG_arg_fail(1)) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 Py_INCREF(Py_None
); resultobj
= Py_None
;
7734 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7737 wxString
*arg2
= 0 ;
7738 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7739 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7741 bool temp2
= false ;
7742 bool temp3
= false ;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj1
= 0 ;
7745 PyObject
* obj2
= 0 ;
7747 (char *) "self",(char *) "name",(char *) "path", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7752 if (SWIG_arg_fail(1)) SWIG_fail
;
7754 arg2
= wxString_in_helper(obj1
);
7755 if (arg2
== NULL
) SWIG_fail
;
7760 arg3
= wxString_in_helper(obj2
);
7761 if (arg3
== NULL
) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7797 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7808 if (SWIG_arg_fail(1)) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7825 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7828 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7830 return Py_BuildValue((char *)"");
7832 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxWindow
*arg1
= (wxWindow
*) 0 ;
7837 PyObject
* obj0
= 0 ;
7838 PyObject
* obj1
= 0 ;
7840 (char *) "window",(char *) "dc", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail
;
7847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(2)) SWIG_fail
;
7850 SWIG_null_ref("wxDC");
7852 if (SWIG_arg_fail(2)) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7870 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7880 if (SWIG_arg_fail(1)) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7901 (char *) "self", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7906 if (SWIG_arg_fail(1)) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (arg1
)->GetTip();
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7927 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (size_t)(arg1
)->GetCurrentTip();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7955 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7958 wxString
*arg2
= 0 ;
7960 bool temp2
= false ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7964 (char *) "self",(char *) "tip", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7969 if (SWIG_arg_fail(1)) SWIG_fail
;
7971 arg2
= wxString_in_helper(obj1
);
7972 if (arg2
== NULL
) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8003 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8006 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8008 return Py_BuildValue((char *)"");
8010 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8013 wxPyTipProvider
*result
;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "currentTip", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8021 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8022 if (SWIG_arg_fail(1)) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8038 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8041 PyObject
*arg2
= (PyObject
*) 0 ;
8042 PyObject
*arg3
= (PyObject
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8045 PyObject
* obj2
= 0 ;
8047 (char *) "self",(char *) "self",(char *) "_class", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8052 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8072 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8074 return Py_BuildValue((char *)"");
8076 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxWindow
*arg1
= (wxWindow
*) 0 ;
8079 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8080 bool arg3
= (bool) true ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8086 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail
;
8092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(2)) SWIG_fail
;
8096 arg3
= (bool)(SWIG_As_bool(obj2
));
8097 if (SWIG_arg_fail(3)) SWIG_fail
;
8101 if (!wxPyCheckForApp()) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8117 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxString
*arg1
= 0 ;
8121 wxTipProvider
*result
;
8122 bool temp1
= false ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8126 (char *) "filename",(char *) "currentTip", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8131 arg1
= wxString_in_helper(obj0
);
8132 if (arg1
== NULL
) SWIG_fail
;
8136 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8137 if (SWIG_arg_fail(2)) SWIG_fail
;
8140 if (!wxPyCheckForApp()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8162 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8165 int arg2
= (int) -1 ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8170 (char *) "owner",(char *) "id", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8176 if (SWIG_arg_fail(1)) SWIG_fail
;
8180 arg2
= (int)(SWIG_As_int(obj1
));
8181 if (SWIG_arg_fail(2)) SWIG_fail
;
8185 if (!wxPyCheckForApp()) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8199 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "self", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 Py_INCREF(Py_None
); resultobj
= Py_None
;
8224 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8227 PyObject
*arg2
= (PyObject
*) 0 ;
8228 PyObject
*arg3
= (PyObject
*) 0 ;
8229 int arg4
= (int) 1 ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8232 PyObject
* obj2
= 0 ;
8233 PyObject
* obj3
= 0 ;
8235 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8240 if (SWIG_arg_fail(1)) SWIG_fail
;
8245 arg4
= (int)(SWIG_As_int(obj3
));
8246 if (SWIG_arg_fail(4)) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8266 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8267 int arg3
= (int) -1 ;
8268 PyObject
* obj0
= 0 ;
8269 PyObject
* obj1
= 0 ;
8270 PyObject
* obj2
= 0 ;
8272 (char *) "self",(char *) "owner",(char *) "id", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8277 if (SWIG_arg_fail(1)) SWIG_fail
;
8278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8279 if (SWIG_arg_fail(2)) SWIG_fail
;
8282 arg3
= (int)(SWIG_As_int(obj2
));
8283 if (SWIG_arg_fail(3)) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 (arg1
)->SetOwner(arg2
,arg3
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8303 wxEvtHandler
*result
;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "self", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8311 if (SWIG_arg_fail(1)) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= wxPyMake_wxObject(result
, 0);
8328 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8330 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8331 int arg2
= (int) -1 ;
8332 bool arg3
= (bool) false ;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8336 PyObject
* obj2
= 0 ;
8338 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail
;
8346 arg2
= (int)(SWIG_As_int(obj1
));
8347 if (SWIG_arg_fail(2)) SWIG_fail
;
8352 arg3
= (bool)(SWIG_As_bool(obj2
));
8353 if (SWIG_arg_fail(3)) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8372 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8375 PyObject
* obj0
= 0 ;
8377 (char *) "self", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8382 if (SWIG_arg_fail(1)) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 Py_INCREF(Py_None
); resultobj
= Py_None
;
8397 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8401 PyObject
* obj0
= 0 ;
8403 (char *) "self", NULL
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8408 if (SWIG_arg_fail(1)) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8425 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8431 (char *) "self", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8436 if (SWIG_arg_fail(1)) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= SWIG_From_int((int)(result
));
8453 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8457 PyObject
* obj0
= 0 ;
8459 (char *) "self", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8464 if (SWIG_arg_fail(1)) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8481 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8485 PyObject
* obj0
= 0 ;
8487 (char *) "self", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_From_int((int)(result
));
8509 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8512 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8514 return Py_BuildValue((char *)"");
8516 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 int arg1
= (int) 0 ;
8519 int arg2
= (int) 0 ;
8520 wxTimerEvent
*result
;
8521 PyObject
* obj0
= 0 ;
8522 PyObject
* obj1
= 0 ;
8524 (char *) "timerid",(char *) "interval", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8530 arg1
= (int)(SWIG_As_int(obj0
));
8531 if (SWIG_arg_fail(1)) SWIG_fail
;
8536 arg2
= (int)(SWIG_As_int(obj1
));
8537 if (SWIG_arg_fail(2)) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8554 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
*resultobj
;
8556 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8560 (char *) "self", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8565 if (SWIG_arg_fail(1)) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= SWIG_From_int((int)(result
));
8582 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8585 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8587 return Py_BuildValue((char *)"");
8589 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8590 PyObject
*resultobj
;
8592 wxTimerRunner
*result
;
8593 PyObject
* obj0
= 0 ;
8595 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8598 if (SWIG_arg_fail(1)) SWIG_fail
;
8600 SWIG_null_ref("wxTimer");
8602 if (SWIG_arg_fail(1)) SWIG_fail
;
8605 if (!wxPyCheckForApp()) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8619 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8620 PyObject
*resultobj
;
8623 bool arg3
= (bool) false ;
8624 wxTimerRunner
*result
;
8625 PyObject
* obj0
= 0 ;
8626 PyObject
* obj1
= 0 ;
8627 PyObject
* obj2
= 0 ;
8629 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail
;
8634 SWIG_null_ref("wxTimer");
8636 if (SWIG_arg_fail(1)) SWIG_fail
;
8639 arg2
= (int)(SWIG_As_int(obj1
));
8640 if (SWIG_arg_fail(2)) SWIG_fail
;
8644 arg3
= (bool)(SWIG_As_bool(obj2
));
8645 if (SWIG_arg_fail(3)) SWIG_fail
;
8649 if (!wxPyCheckForApp()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8663 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8668 argc
= PyObject_Length(args
);
8669 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8670 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8676 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8684 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8687 if ((argc
>= 2) && (argc
<= 3)) {
8691 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8699 _v
= SWIG_Check_int(argv
[1]);
8702 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8704 _v
= SWIG_Check_bool(argv
[2]);
8706 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8712 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8717 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8720 PyObject
* obj0
= 0 ;
8722 (char *) "self", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8727 if (SWIG_arg_fail(1)) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 Py_INCREF(Py_None
); resultobj
= Py_None
;
8742 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8746 bool arg3
= (bool) false ;
8747 PyObject
* obj0
= 0 ;
8748 PyObject
* obj1
= 0 ;
8749 PyObject
* obj2
= 0 ;
8751 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8756 if (SWIG_arg_fail(1)) SWIG_fail
;
8758 arg2
= (int)(SWIG_As_int(obj1
));
8759 if (SWIG_arg_fail(2)) SWIG_fail
;
8763 arg3
= (bool)(SWIG_As_bool(obj2
));
8764 if (SWIG_arg_fail(3)) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 (arg1
)->Start(arg2
,arg3
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 Py_INCREF(Py_None
); resultobj
= Py_None
;
8781 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8784 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8786 return Py_BuildValue((char *)"");
8788 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 result
= (wxLog
*)new wxLog();
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8810 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (bool)wxLog::IsEnabled();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8834 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 bool arg1
= (bool) true ;
8838 PyObject
* obj0
= 0 ;
8840 (char *) "doIt", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8846 arg1
= (bool)(SWIG_As_bool(obj0
));
8847 if (SWIG_arg_fail(1)) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (bool)wxLog::EnableLogging(arg1
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8866 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8869 wxChar
*arg2
= (wxChar
*) 0 ;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8873 PyObject
* obj2
= 0 ;
8875 (char *) "level",(char *) "szString",(char *) "t", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8880 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8881 if (SWIG_arg_fail(1)) SWIG_fail
;
8883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8884 if (SWIG_arg_fail(2)) SWIG_fail
;
8886 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8887 if (SWIG_arg_fail(3)) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxLog
*arg1
= (wxLog
*) 0 ;
8906 PyObject
* obj0
= 0 ;
8908 (char *) "self", NULL
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8913 if (SWIG_arg_fail(1)) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 Py_INCREF(Py_None
); resultobj
= Py_None
;
8928 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 wxLog::FlushActive();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 Py_INCREF(Py_None
); resultobj
= Py_None
;
8949 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (wxLog
*)wxLog::GetActiveTarget();
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8971 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxLog
*arg1
= (wxLog
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "pLogger", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8982 if (SWIG_arg_fail(1)) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8997 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 bool arg1
= (bool) true ;
9042 PyObject
* obj0
= 0 ;
9044 (char *) "bVerbose", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9050 arg1
= (bool)(SWIG_As_bool(obj0
));
9051 if (SWIG_arg_fail(1)) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 wxLog::SetVerbose(arg1
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 Py_INCREF(Py_None
); resultobj
= Py_None
;
9068 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9071 PyObject
* obj0
= 0 ;
9073 (char *) "logLevel", NULL
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9078 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9079 if (SWIG_arg_fail(1)) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 wxLog::SetLogLevel(arg1
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 Py_INCREF(Py_None
); resultobj
= Py_None
;
9095 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 wxLog::DontCreateOnDemand();
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 Py_INCREF(Py_None
); resultobj
= Py_None
;
9116 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9119 PyObject
* obj0
= 0 ;
9121 (char *) "ulMask", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9126 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9127 if (SWIG_arg_fail(1)) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 wxLog::SetTraceMask(arg1
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 Py_INCREF(Py_None
); resultobj
= Py_None
;
9143 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxString
*arg1
= 0 ;
9146 bool temp1
= false ;
9147 PyObject
* obj0
= 0 ;
9149 (char *) "str", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9154 arg1
= wxString_in_helper(obj0
);
9155 if (arg1
== NULL
) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 wxLog::AddTraceMask((wxString
const &)*arg1
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 Py_INCREF(Py_None
); resultobj
= Py_None
;
9180 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxString
*arg1
= 0 ;
9183 bool temp1
= false ;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "str", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9191 arg1
= wxString_in_helper(obj0
);
9192 if (arg1
== NULL
) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 Py_INCREF(Py_None
); resultobj
= Py_None
;
9217 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 wxLog::ClearTraceMasks();
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 Py_INCREF(Py_None
); resultobj
= Py_None
;
9238 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxArrayString
*result
;
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9250 result
= (wxArrayString
*) &_result_ref
;
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= wxArrayString2PyList_helper(*result
);
9265 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxChar
*arg1
= (wxChar
*) 0 ;
9268 PyObject
* obj0
= 0 ;
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxLog::SetTimestamp((wxChar
const *)arg1
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 Py_INCREF(Py_None
); resultobj
= Py_None
;
9290 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (bool)wxLog::GetVerbose();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9314 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxTraceMask
)wxLog::GetTraceMask();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9338 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxChar
*arg1
= (wxChar
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9344 (char *) "mask", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9349 if (SWIG_arg_fail(1)) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9366 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
;
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (wxLogLevel
)wxLog::GetLogLevel();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9390 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (wxChar
*)wxLog::GetTimestamp();
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9412 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
;
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= Log_TimeStamp();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9440 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxLog
*arg1
= (wxLog
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 wxLog_Destroy(arg1
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 Py_INCREF(Py_None
); resultobj
= Py_None
;
9465 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9468 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9470 return Py_BuildValue((char *)"");
9472 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxLogStderr
*result
;
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (wxLogStderr
*)new wxLogStderr();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9494 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9497 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9499 return Py_BuildValue((char *)"");
9501 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9504 wxLogTextCtrl
*result
;
9505 PyObject
* obj0
= 0 ;
9507 (char *) "pTextCtrl", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9527 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9530 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9532 return Py_BuildValue((char *)"");
9534 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (wxLogGui
*)new wxLogGui();
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9556 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9559 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9561 return Py_BuildValue((char *)"");
9563 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxFrame
*arg1
= (wxFrame
*) 0 ;
9566 wxString
*arg2
= 0 ;
9567 bool arg3
= (bool) true ;
9568 bool arg4
= (bool) true ;
9569 wxLogWindow
*result
;
9570 bool temp2
= false ;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9573 PyObject
* obj2
= 0 ;
9574 PyObject
* obj3
= 0 ;
9576 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9581 if (SWIG_arg_fail(1)) SWIG_fail
;
9583 arg2
= wxString_in_helper(obj1
);
9584 if (arg2
== NULL
) SWIG_fail
;
9589 arg3
= (bool)(SWIG_As_bool(obj2
));
9590 if (SWIG_arg_fail(3)) SWIG_fail
;
9595 arg4
= (bool)(SWIG_As_bool(obj3
));
9596 if (SWIG_arg_fail(4)) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9621 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9624 bool arg2
= (bool) true ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9628 (char *) "self",(char *) "bShow", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9633 if (SWIG_arg_fail(1)) SWIG_fail
;
9636 arg2
= (bool)(SWIG_As_bool(obj1
));
9637 if (SWIG_arg_fail(2)) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 Py_INCREF(Py_None
); resultobj
= Py_None
;
9654 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9658 PyObject
* obj0
= 0 ;
9660 (char *) "self", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9665 if (SWIG_arg_fail(1)) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= wxPyMake_wxObject(result
, 0);
9682 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9693 if (SWIG_arg_fail(1)) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9708 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9719 if (SWIG_arg_fail(1)) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9736 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9743 (char *) "self",(char *) "bDoPass", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(1)) SWIG_fail
;
9750 arg2
= (bool)(SWIG_As_bool(obj1
));
9751 if (SWIG_arg_fail(2)) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 (arg1
)->PassMessages(arg2
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 Py_INCREF(Py_None
); resultobj
= Py_None
;
9767 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9770 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9772 return Py_BuildValue((char *)"");
9774 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9776 wxLog
*arg1
= (wxLog
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9780 (char *) "logger", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9785 if (SWIG_arg_fail(1)) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (wxLogChain
*)new wxLogChain(arg1
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9800 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9803 wxLog
*arg2
= (wxLog
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9807 (char *) "self",(char *) "logger", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9812 if (SWIG_arg_fail(1)) SWIG_fail
;
9813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9814 if (SWIG_arg_fail(2)) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 (arg1
)->SetLog(arg2
);
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 Py_INCREF(Py_None
); resultobj
= Py_None
;
9829 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9836 (char *) "self",(char *) "bDoPass", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9841 if (SWIG_arg_fail(1)) SWIG_fail
;
9843 arg2
= (bool)(SWIG_As_bool(obj1
));
9844 if (SWIG_arg_fail(2)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 (arg1
)->PassMessages(arg2
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 Py_INCREF(Py_None
); resultobj
= Py_None
;
9860 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (bool)(arg1
)->IsPassingMessages();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9888 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9899 if (SWIG_arg_fail(1)) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (wxLog
*)(arg1
)->GetOldLog();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9914 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9917 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9919 return Py_BuildValue((char *)"");
9921 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 unsigned long result
;
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (unsigned long)wxSysErrorCode();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9945 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 unsigned long arg1
= (unsigned long) 0 ;
9949 PyObject
* obj0
= 0 ;
9951 (char *) "nErrCode", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9957 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9958 if (SWIG_arg_fail(1)) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= wxSysErrorMsg(arg1
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9981 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxString
*arg1
= 0 ;
9984 bool temp1
= false ;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "msg", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9992 arg1
= wxString_in_helper(obj0
);
9993 if (arg1
== NULL
) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 wxPyLogFatalError((wxString
const &)*arg1
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 Py_INCREF(Py_None
); resultobj
= Py_None
;
10018 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxString
*arg1
= 0 ;
10021 bool temp1
= false ;
10022 PyObject
* obj0
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "msg", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10029 arg1
= wxString_in_helper(obj0
);
10030 if (arg1
== NULL
) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 wxPyLogError((wxString
const &)*arg1
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 Py_INCREF(Py_None
); resultobj
= Py_None
;
10055 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxString
*arg1
= 0 ;
10058 bool temp1
= false ;
10059 PyObject
* obj0
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "msg", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10066 arg1
= wxString_in_helper(obj0
);
10067 if (arg1
== NULL
) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 wxPyLogWarning((wxString
const &)*arg1
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 Py_INCREF(Py_None
); resultobj
= Py_None
;
10092 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxString
*arg1
= 0 ;
10095 bool temp1
= false ;
10096 PyObject
* obj0
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "msg", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10103 arg1
= wxString_in_helper(obj0
);
10104 if (arg1
== NULL
) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 wxPyLogMessage((wxString
const &)*arg1
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 Py_INCREF(Py_None
); resultobj
= Py_None
;
10129 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxString
*arg1
= 0 ;
10132 bool temp1
= false ;
10133 PyObject
* obj0
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "msg", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10140 arg1
= wxString_in_helper(obj0
);
10141 if (arg1
== NULL
) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 wxPyLogInfo((wxString
const &)*arg1
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10166 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxString
*arg1
= 0 ;
10169 bool temp1
= false ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "msg", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10177 arg1
= wxString_in_helper(obj0
);
10178 if (arg1
== NULL
) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 wxPyLogDebug((wxString
const &)*arg1
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 Py_INCREF(Py_None
); resultobj
= Py_None
;
10203 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxString
*arg1
= 0 ;
10206 bool temp1
= false ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "msg", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10214 arg1
= wxString_in_helper(obj0
);
10215 if (arg1
== NULL
) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 wxPyLogVerbose((wxString
const &)*arg1
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 Py_INCREF(Py_None
); resultobj
= Py_None
;
10240 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxString
*arg1
= 0 ;
10243 bool temp1
= false ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "msg", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10251 arg1
= wxString_in_helper(obj0
);
10252 if (arg1
== NULL
) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 wxPyLogStatus((wxString
const &)*arg1
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10277 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
;
10279 wxFrame
*arg1
= (wxFrame
*) 0 ;
10280 wxString
*arg2
= 0 ;
10281 bool temp2
= false ;
10282 PyObject
* obj0
= 0 ;
10283 PyObject
* obj1
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "pFrame",(char *) "msg", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10290 if (SWIG_arg_fail(1)) SWIG_fail
;
10292 arg2
= wxString_in_helper(obj1
);
10293 if (arg2
== NULL
) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 Py_INCREF(Py_None
); resultobj
= Py_None
;
10318 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxString
*arg1
= 0 ;
10321 bool temp1
= false ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "msg", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10329 arg1
= wxString_in_helper(obj0
);
10330 if (arg1
== NULL
) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 wxPyLogSysError((wxString
const &)*arg1
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10355 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 unsigned long arg1
;
10358 wxString
*arg2
= 0 ;
10359 bool temp2
= false ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "level",(char *) "msg", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10368 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10369 if (SWIG_arg_fail(1)) SWIG_fail
;
10372 arg2
= wxString_in_helper(obj1
);
10373 if (arg2
== NULL
) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10398 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10399 PyObject
*resultobj
;
10400 unsigned long arg1
;
10401 wxString
*arg2
= 0 ;
10402 bool temp2
= false ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10406 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10408 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10409 if (SWIG_arg_fail(1)) SWIG_fail
;
10412 arg2
= wxString_in_helper(obj1
);
10413 if (arg2
== NULL
) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 Py_INCREF(Py_None
); resultobj
= Py_None
;
10438 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10439 PyObject
*resultobj
;
10440 wxString
*arg1
= 0 ;
10441 wxString
*arg2
= 0 ;
10442 bool temp1
= false ;
10443 bool temp2
= false ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10447 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10449 arg1
= wxString_in_helper(obj0
);
10450 if (arg1
== NULL
) SWIG_fail
;
10454 arg2
= wxString_in_helper(obj1
);
10455 if (arg2
== NULL
) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 Py_INCREF(Py_None
); resultobj
= Py_None
;
10488 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10493 argc
= PyObject_Length(args
);
10494 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10495 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10500 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10504 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10507 return _wrap_LogTrace__SWIG_1(self
,args
);
10513 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10516 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10519 return _wrap_LogTrace__SWIG_0(self
,args
);
10524 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10529 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxString
*arg1
= 0 ;
10532 wxString
*arg2
= 0 ;
10533 bool temp1
= false ;
10534 bool temp2
= false ;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "title",(char *) "text", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10543 arg1
= wxString_in_helper(obj0
);
10544 if (arg1
== NULL
) SWIG_fail
;
10548 arg2
= wxString_in_helper(obj1
);
10549 if (arg2
== NULL
) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 Py_INCREF(Py_None
); resultobj
= Py_None
;
10582 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10585 char *kwnames
[] = {
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxLogNull
*)new wxLogNull();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10604 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10614 if (SWIG_arg_fail(1)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 Py_INCREF(Py_None
); resultobj
= Py_None
;
10629 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10632 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10634 return Py_BuildValue((char *)"");
10636 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10639 char *kwnames
[] = {
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (wxPyLog
*)new wxPyLog();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10658 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10661 PyObject
*arg2
= (PyObject
*) 0 ;
10662 PyObject
*arg3
= (PyObject
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 PyObject
* obj2
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self",(char *) "self",(char *) "_class", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 Py_INCREF(Py_None
); resultobj
= Py_None
;
10689 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10692 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10694 return Py_BuildValue((char *)"");
10696 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10699 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10700 int arg3
= (int) wxKILL_NOCHILDREN
;
10701 wxKillError result
;
10702 PyObject
* obj0
= 0 ;
10703 PyObject
* obj1
= 0 ;
10704 PyObject
* obj2
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10711 arg1
= (int)(SWIG_As_int(obj0
));
10712 if (SWIG_arg_fail(1)) SWIG_fail
;
10716 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10717 if (SWIG_arg_fail(2)) SWIG_fail
;
10722 arg3
= (int)(SWIG_As_int(obj2
));
10723 if (SWIG_arg_fail(3)) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= SWIG_From_int((result
));
10740 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10744 PyObject
* obj0
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "pid", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10751 arg1
= (int)(SWIG_As_int(obj0
));
10752 if (SWIG_arg_fail(1)) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (bool)wxPyProcess::Exists(arg1
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10770 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxString
*arg1
= 0 ;
10773 int arg2
= (int) wxEXEC_ASYNC
;
10774 wxPyProcess
*result
;
10775 bool temp1
= false ;
10776 PyObject
* obj0
= 0 ;
10777 PyObject
* obj1
= 0 ;
10778 char *kwnames
[] = {
10779 (char *) "cmd",(char *) "flags", NULL
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10784 arg1
= wxString_in_helper(obj0
);
10785 if (arg1
== NULL
) SWIG_fail
;
10790 arg2
= (int)(SWIG_As_int(obj1
));
10791 if (SWIG_arg_fail(2)) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10816 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10819 int arg2
= (int) -1 ;
10820 wxPyProcess
*result
;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "parent",(char *) "id", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10830 if (SWIG_arg_fail(1)) SWIG_fail
;
10834 arg2
= (int)(SWIG_As_int(obj1
));
10835 if (SWIG_arg_fail(2)) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10852 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10855 PyObject
*arg2
= (PyObject
*) 0 ;
10856 PyObject
*arg3
= (PyObject
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 PyObject
* obj2
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "self",(char *) "self",(char *) "_class", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10866 if (SWIG_arg_fail(1)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 PyObject
* obj2
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self",(char *) "pid",(char *) "status", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10897 if (SWIG_arg_fail(1)) SWIG_fail
;
10899 arg2
= (int)(SWIG_As_int(obj1
));
10900 if (SWIG_arg_fail(2)) SWIG_fail
;
10903 arg3
= (int)(SWIG_As_int(obj2
));
10904 if (SWIG_arg_fail(3)) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 (arg1
)->base_OnTerminate(arg2
,arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 Py_INCREF(Py_None
); resultobj
= Py_None
;
10920 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10923 PyObject
* obj0
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10930 if (SWIG_arg_fail(1)) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 (arg1
)->Redirect();
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 Py_INCREF(Py_None
); resultobj
= Py_None
;
10945 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10949 PyObject
* obj0
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10956 if (SWIG_arg_fail(1)) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 result
= (bool)(arg1
)->IsRedirected();
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10973 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10983 if (SWIG_arg_fail(1)) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 Py_INCREF(Py_None
); resultobj
= Py_None
;
10998 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11001 wxInputStream
*result
;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 wxPyInputStream
* _ptr
= NULL
;
11021 _ptr
= new wxPyInputStream(result
);
11023 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11031 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11034 wxInputStream
*result
;
11035 PyObject
* obj0
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11042 if (SWIG_arg_fail(1)) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 wxPyInputStream
* _ptr
= NULL
;
11054 _ptr
= new wxPyInputStream(result
);
11056 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11064 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11067 wxOutputStream
*result
;
11068 PyObject
* obj0
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11075 if (SWIG_arg_fail(1)) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11090 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 (arg1
)->CloseOutput();
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 Py_INCREF(Py_None
); resultobj
= Py_None
;
11115 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "self", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11154 if (SWIG_arg_fail(1)) SWIG_fail
;
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11173 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11199 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11202 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11204 return Py_BuildValue((char *)"");
11206 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 int arg1
= (int) 0 ;
11209 int arg2
= (int) 0 ;
11210 int arg3
= (int) 0 ;
11211 wxProcessEvent
*result
;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 PyObject
* obj2
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11222 arg1
= (int)(SWIG_As_int(obj0
));
11223 if (SWIG_arg_fail(1)) SWIG_fail
;
11228 arg2
= (int)(SWIG_As_int(obj1
));
11229 if (SWIG_arg_fail(2)) SWIG_fail
;
11234 arg3
= (int)(SWIG_As_int(obj2
));
11235 if (SWIG_arg_fail(3)) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11252 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11256 PyObject
* obj0
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11263 if (SWIG_arg_fail(1)) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (int)(arg1
)->GetPid();
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_From_int((int)(result
));
11280 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11291 if (SWIG_arg_fail(1)) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 result
= (int)(arg1
)->GetExitCode();
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= SWIG_From_int((int)(result
));
11308 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "m_pid", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11320 if (SWIG_arg_fail(1)) SWIG_fail
;
11322 arg2
= (int)(SWIG_As_int(obj1
));
11323 if (SWIG_arg_fail(2)) SWIG_fail
;
11325 if (arg1
) (arg1
)->m_pid
= arg2
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 result
= (int) ((arg1
)->m_pid
);
11349 resultobj
= SWIG_From_int((int)(result
));
11357 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "m_exitcode", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail
;
11371 arg2
= (int)(SWIG_As_int(obj1
));
11372 if (SWIG_arg_fail(2)) SWIG_fail
;
11374 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11376 Py_INCREF(Py_None
); resultobj
= Py_None
;
11383 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
;
11385 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail
;
11395 result
= (int) ((arg1
)->m_exitcode
);
11398 resultobj
= SWIG_From_int((int)(result
));
11406 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11409 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11411 return Py_BuildValue((char *)"");
11413 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxString
*arg1
= 0 ;
11416 int arg2
= (int) wxEXEC_ASYNC
;
11417 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11419 bool temp1
= false ;
11420 PyObject
* obj0
= 0 ;
11421 PyObject
* obj1
= 0 ;
11422 PyObject
* obj2
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "command",(char *) "flags",(char *) "process", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11429 arg1
= wxString_in_helper(obj0
);
11430 if (arg1
== NULL
) SWIG_fail
;
11435 arg2
= (int)(SWIG_As_int(obj1
));
11436 if (SWIG_arg_fail(2)) SWIG_fail
;
11440 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11441 if (SWIG_arg_fail(3)) SWIG_fail
;
11444 if (!wxPyCheckForApp()) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_From_long((long)(result
));
11468 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11471 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11472 wxKillError
*arg3
= (wxKillError
*) 0 ;
11473 int arg4
= (int) wxKILL_NOCHILDREN
;
11475 wxKillError temp3
;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 PyObject
* obj2
= 0 ;
11479 char *kwnames
[] = {
11480 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11488 arg1
= (long)(SWIG_As_long(obj0
));
11489 if (SWIG_arg_fail(1)) SWIG_fail
;
11493 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11494 if (SWIG_arg_fail(2)) SWIG_fail
;
11499 arg4
= (int)(SWIG_As_int(obj2
));
11500 if (SWIG_arg_fail(4)) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_From_int((int)(result
));
11515 o
= PyInt_FromLong((long) (*arg3
));
11516 resultobj
= t_output_helper(resultobj
, o
);
11524 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 int arg1
= (int) wxJOYSTICK1
;
11527 wxJoystick
*result
;
11528 PyObject
* obj0
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "joystick", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11536 arg1
= (int)(SWIG_As_int(obj0
));
11537 if (SWIG_arg_fail(1)) SWIG_fail
;
11541 if (!wxPyCheckForApp()) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (wxJoystick
*)new wxJoystick(arg1
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11555 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11565 if (SWIG_arg_fail(1)) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11591 if (SWIG_arg_fail(1)) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (arg1
)->GetPosition();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 wxPoint
* resultptr
;
11601 resultptr
= new wxPoint((wxPoint
&)(result
));
11602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11610 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11614 PyObject
* obj0
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "self", NULL
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11621 if (SWIG_arg_fail(1)) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (int)(arg1
)->GetZPosition();
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_From_int((int)(result
));
11638 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11642 PyObject
* obj0
= 0 ;
11643 char *kwnames
[] = {
11644 (char *) "self", NULL
11647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11649 if (SWIG_arg_fail(1)) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (int)(arg1
)->GetButtonState();
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_From_int((int)(result
));
11666 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (int)(arg1
)->GetPOVPosition();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_From_int((int)(result
));
11694 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11698 PyObject
* obj0
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11705 if (SWIG_arg_fail(1)) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 result
= (int)(arg1
)->GetPOVCTSPosition();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_From_int((int)(result
));
11722 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
;
11724 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11726 PyObject
* obj0
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "self", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11733 if (SWIG_arg_fail(1)) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= (int)(arg1
)->GetRudderPosition();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= SWIG_From_int((int)(result
));
11750 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11754 PyObject
* obj0
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "self", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11761 if (SWIG_arg_fail(1)) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (int)(arg1
)->GetUPosition();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_From_int((int)(result
));
11778 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= (int)(arg1
)->GetVPosition();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_From_int((int)(result
));
11806 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11810 PyObject
* obj0
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11817 if (SWIG_arg_fail(1)) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (int)(arg1
)->GetMovementThreshold();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_From_int((int)(result
));
11834 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
;
11836 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 PyObject
* obj1
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self",(char *) "threshold", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11846 if (SWIG_arg_fail(1)) SWIG_fail
;
11848 arg2
= (int)(SWIG_As_int(obj1
));
11849 if (SWIG_arg_fail(2)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->SetMovementThreshold(arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 Py_INCREF(Py_None
); resultobj
= Py_None
;
11865 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11869 PyObject
* obj0
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11876 if (SWIG_arg_fail(1)) SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (bool)(arg1
)->IsOk();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11893 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11897 PyObject
* obj0
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11904 if (SWIG_arg_fail(1)) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (int)(arg1
)->GetNumberJoysticks();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_From_int((int)(result
));
11921 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (int)(arg1
)->GetManufacturerId();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_From_int((int)(result
));
11949 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11960 if (SWIG_arg_fail(1)) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (int)(arg1
)->GetProductId();
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_From_int((int)(result
));
11977 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11981 PyObject
* obj0
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (arg1
)->GetProductName();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12009 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (int)(arg1
)->GetXMin();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_From_int((int)(result
));
12037 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (int)(arg1
)->GetYMin();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_From_int((int)(result
));
12065 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (int)(arg1
)->GetZMin();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_From_int((int)(result
));
12093 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (int)(arg1
)->GetXMax();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= SWIG_From_int((int)(result
));
12121 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (int)(arg1
)->GetYMax();
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= SWIG_From_int((int)(result
));
12149 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12160 if (SWIG_arg_fail(1)) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (int)(arg1
)->GetZMax();
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_From_int((int)(result
));
12177 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)(arg1
)->GetNumberButtons();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_From_int((int)(result
));
12205 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (int)(arg1
)->GetNumberAxes();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_From_int((int)(result
));
12233 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (int)(arg1
)->GetMaxButtons();
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_From_int((int)(result
));
12261 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (int)(arg1
)->GetMaxAxes();
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= SWIG_From_int((int)(result
));
12289 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12300 if (SWIG_arg_fail(1)) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (int)(arg1
)->GetPollingMin();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= SWIG_From_int((int)(result
));
12317 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= (int)(arg1
)->GetPollingMax();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= SWIG_From_int((int)(result
));
12345 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (int)(arg1
)->GetRudderMin();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_From_int((int)(result
));
12373 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (int)(arg1
)->GetRudderMax();
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_From_int((int)(result
));
12401 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12405 PyObject
* obj0
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail
;
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= (int)(arg1
)->GetUMin();
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= SWIG_From_int((int)(result
));
12429 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12440 if (SWIG_arg_fail(1)) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (int)(arg1
)->GetUMax();
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_From_int((int)(result
));
12457 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12468 if (SWIG_arg_fail(1)) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (int)(arg1
)->GetVMin();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_From_int((int)(result
));
12485 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12489 PyObject
* obj0
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12496 if (SWIG_arg_fail(1)) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (int)(arg1
)->GetVMax();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= SWIG_From_int((int)(result
));
12513 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12517 PyObject
* obj0
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "self", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12524 if (SWIG_arg_fail(1)) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 result
= (bool)(arg1
)->HasRudder();
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12541 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12552 if (SWIG_arg_fail(1)) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (bool)(arg1
)->HasZ();
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12569 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12580 if (SWIG_arg_fail(1)) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (bool)(arg1
)->HasU();
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12597 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12608 if (SWIG_arg_fail(1)) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 result
= (bool)(arg1
)->HasV();
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12625 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12636 if (SWIG_arg_fail(1)) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= (bool)(arg1
)->HasPOV();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12653 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12664 if (SWIG_arg_fail(1)) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (bool)(arg1
)->HasPOV4Dir();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12681 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12685 PyObject
* obj0
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12692 if (SWIG_arg_fail(1)) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= (bool)(arg1
)->HasPOVCTS();
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12709 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
;
12711 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12712 wxWindow
*arg2
= (wxWindow
*) 0 ;
12713 int arg3
= (int) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 PyObject
* obj2
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12724 if (SWIG_arg_fail(1)) SWIG_fail
;
12725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12726 if (SWIG_arg_fail(2)) SWIG_fail
;
12729 arg3
= (int)(SWIG_As_int(obj2
));
12730 if (SWIG_arg_fail(3)) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12749 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 result
= (bool)(arg1
)->ReleaseCapture();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12777 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12780 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12782 return Py_BuildValue((char *)"");
12784 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12787 int arg2
= (int) 0 ;
12788 int arg3
= (int) wxJOYSTICK1
;
12789 int arg4
= (int) 0 ;
12790 wxJoystickEvent
*result
;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 PyObject
* obj2
= 0 ;
12794 PyObject
* obj3
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12802 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12803 if (SWIG_arg_fail(1)) SWIG_fail
;
12808 arg2
= (int)(SWIG_As_int(obj1
));
12809 if (SWIG_arg_fail(2)) SWIG_fail
;
12814 arg3
= (int)(SWIG_As_int(obj2
));
12815 if (SWIG_arg_fail(3)) SWIG_fail
;
12820 arg4
= (int)(SWIG_As_int(obj3
));
12821 if (SWIG_arg_fail(4)) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12838 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12849 if (SWIG_arg_fail(1)) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12858 wxPoint
* resultptr
;
12859 resultptr
= new wxPoint((wxPoint
&)(result
));
12860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12868 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= SWIG_From_int((int)(result
));
12896 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_From_int((int)(result
));
12924 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12928 PyObject
* obj0
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12935 if (SWIG_arg_fail(1)) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_From_int((int)(result
));
12952 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12963 if (SWIG_arg_fail(1)) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= SWIG_From_int((int)(result
));
12980 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
;
12982 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "self",(char *) "stick", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
12991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12992 if (SWIG_arg_fail(1)) SWIG_fail
;
12994 arg2
= (int)(SWIG_As_int(obj1
));
12995 if (SWIG_arg_fail(2)) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 (arg1
)->SetJoystick(arg2
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 Py_INCREF(Py_None
); resultobj
= Py_None
;
13011 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self",(char *) "state", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail
;
13025 arg2
= (int)(SWIG_As_int(obj1
));
13026 if (SWIG_arg_fail(2)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 (arg1
)->SetButtonState(arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "change", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13054 if (SWIG_arg_fail(1)) SWIG_fail
;
13056 arg2
= (int)(SWIG_As_int(obj1
));
13057 if (SWIG_arg_fail(2)) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 (arg1
)->SetButtonChange(arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 Py_INCREF(Py_None
); resultobj
= Py_None
;
13073 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13076 wxPoint
*arg2
= 0 ;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self",(char *) "pos", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13086 if (SWIG_arg_fail(1)) SWIG_fail
;
13089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 Py_INCREF(Py_None
); resultobj
= Py_None
;
13105 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self",(char *) "zPos", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13117 if (SWIG_arg_fail(1)) SWIG_fail
;
13119 arg2
= (int)(SWIG_As_int(obj1
));
13120 if (SWIG_arg_fail(2)) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 (arg1
)->SetZPosition(arg2
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 Py_INCREF(Py_None
); resultobj
= Py_None
;
13136 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13140 PyObject
* obj0
= 0 ;
13141 char *kwnames
[] = {
13142 (char *) "self", NULL
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13147 if (SWIG_arg_fail(1)) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13164 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
;
13166 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13168 PyObject
* obj0
= 0 ;
13169 char *kwnames
[] = {
13170 (char *) "self", NULL
13173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13175 if (SWIG_arg_fail(1)) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13192 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13203 if (SWIG_arg_fail(1)) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13220 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13223 int arg2
= (int) wxJOY_BUTTON_ANY
;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self",(char *) "but", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail
;
13236 arg2
= (int)(SWIG_As_int(obj1
));
13237 if (SWIG_arg_fail(2)) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13256 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13259 int arg2
= (int) wxJOY_BUTTON_ANY
;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "but", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13269 if (SWIG_arg_fail(1)) SWIG_fail
;
13272 arg2
= (int)(SWIG_As_int(obj1
));
13273 if (SWIG_arg_fail(2)) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13292 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13295 int arg2
= (int) wxJOY_BUTTON_ANY
;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "but", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail
;
13308 arg2
= (int)(SWIG_As_int(obj1
));
13309 if (SWIG_arg_fail(2)) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13328 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13331 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13333 return Py_BuildValue((char *)"");
13335 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13338 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13340 bool temp1
= false ;
13341 PyObject
* obj0
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "fileName", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13349 arg1
= wxString_in_helper(obj0
);
13350 if (arg1
== NULL
) SWIG_fail
;
13355 if (!wxPyCheckForApp()) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13377 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 PyObject
*arg1
= (PyObject
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "data", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13389 if (!wxPyCheckForApp()) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (wxSound
*)new_wxSound(arg1
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13403 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxSound
*arg1
= (wxSound
*) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13413 if (SWIG_arg_fail(1)) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 Py_INCREF(Py_None
); resultobj
= Py_None
;
13428 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxSound
*arg1
= (wxSound
*) 0 ;
13431 wxString
*arg2
= 0 ;
13433 bool temp2
= false ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "fileName", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail
;
13444 arg2
= wxString_in_helper(obj1
);
13445 if (arg2
== NULL
) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13472 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxSound
*arg1
= (wxSound
*) 0 ;
13475 PyObject
*arg2
= (PyObject
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "data", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13503 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxSound
*arg1
= (wxSound
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13514 if (SWIG_arg_fail(1)) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (bool)(arg1
)->IsOk();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13531 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxSound
*arg1
= (wxSound
*) 0 ;
13534 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self",(char *) "flags", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13544 if (SWIG_arg_fail(1)) SWIG_fail
;
13547 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13548 if (SWIG_arg_fail(2)) SWIG_fail
;
13552 if (!wxPyCheckForApp()) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13568 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxString
*arg1
= 0 ;
13571 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13573 bool temp1
= false ;
13574 PyObject
* obj0
= 0 ;
13575 PyObject
* obj1
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "filename",(char *) "flags", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13582 arg1
= wxString_in_helper(obj0
);
13583 if (arg1
== NULL
) SWIG_fail
;
13588 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13589 if (SWIG_arg_fail(2)) SWIG_fail
;
13593 if (!wxPyCheckForApp()) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13617 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 char *kwnames
[] = {
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13625 if (!wxPyCheckForApp()) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 Py_INCREF(Py_None
); resultobj
= Py_None
;
13639 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13644 return Py_BuildValue((char *)"");
13646 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxString
*arg1
= 0 ;
13649 wxString
*arg2
= 0 ;
13650 wxString
*arg3
= 0 ;
13651 wxString
*arg4
= 0 ;
13652 wxFileTypeInfo
*result
;
13653 bool temp1
= false ;
13654 bool temp2
= false ;
13655 bool temp3
= false ;
13656 bool temp4
= false ;
13657 PyObject
* obj0
= 0 ;
13658 PyObject
* obj1
= 0 ;
13659 PyObject
* obj2
= 0 ;
13660 PyObject
* obj3
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13667 arg1
= wxString_in_helper(obj0
);
13668 if (arg1
== NULL
) SWIG_fail
;
13672 arg2
= wxString_in_helper(obj1
);
13673 if (arg2
== NULL
) SWIG_fail
;
13677 arg3
= wxString_in_helper(obj2
);
13678 if (arg3
== NULL
) SWIG_fail
;
13682 arg4
= wxString_in_helper(obj3
);
13683 if (arg4
== NULL
) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13732 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxArrayString
*arg1
= 0 ;
13735 wxFileTypeInfo
*result
;
13736 bool temp1
= false ;
13737 PyObject
* obj0
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "sArray", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13744 if (! PySequence_Check(obj0
)) {
13745 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13748 arg1
= new wxArrayString
;
13750 int i
, len
=PySequence_Length(obj0
);
13751 for (i
=0; i
<len
; i
++) {
13752 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13754 PyObject
* str
= PyObject_Unicode(item
);
13756 PyObject
* str
= PyObject_Str(item
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13759 arg1
->Add(Py2wxString(str
));
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13773 if (temp1
) delete arg1
;
13778 if (temp1
) delete arg1
;
13784 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxFileTypeInfo
*result
;
13787 char *kwnames
[] = {
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13806 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13817 if (SWIG_arg_fail(1)) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13834 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13837 wxString
*arg2
= 0 ;
13838 int arg3
= (int) 0 ;
13839 bool temp2
= false ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 PyObject
* obj2
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13849 if (SWIG_arg_fail(1)) SWIG_fail
;
13851 arg2
= wxString_in_helper(obj1
);
13852 if (arg2
== NULL
) SWIG_fail
;
13857 arg3
= (int)(SWIG_As_int(obj2
));
13858 if (SWIG_arg_fail(3)) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 Py_INCREF(Py_None
); resultobj
= Py_None
;
13883 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13886 wxString
*arg2
= 0 ;
13887 bool temp2
= false ;
13888 PyObject
* obj0
= 0 ;
13889 PyObject
* obj1
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self",(char *) "shortDesc", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13896 if (SWIG_arg_fail(1)) SWIG_fail
;
13898 arg2
= wxString_in_helper(obj1
);
13899 if (arg2
== NULL
) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 Py_INCREF(Py_None
); resultobj
= Py_None
;
13924 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13928 PyObject
* obj0
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13935 if (SWIG_arg_fail(1)) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13940 result
= (wxString
*) &_result_ref
;
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13950 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13959 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
;
13961 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13963 PyObject
* obj0
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13975 result
= (wxString
*) &_result_ref
;
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13994 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14010 result
= (wxString
*) &_result_ref
;
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14020 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14029 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
;
14031 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14033 PyObject
* obj0
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14040 if (SWIG_arg_fail(1)) SWIG_fail
;
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14045 result
= (wxString
*) &_result_ref
;
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14055 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14064 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14068 PyObject
* obj0
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14080 result
= (wxString
*) &_result_ref
;
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14090 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14099 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14102 wxArrayString
*result
;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14110 if (SWIG_arg_fail(1)) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14115 result
= (wxArrayString
*) &_result_ref
;
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= wxArrayString2PyList_helper(*result
);
14130 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14134 PyObject
* obj0
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14141 if (SWIG_arg_fail(1)) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= SWIG_From_int((int)(result
));
14158 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14169 if (SWIG_arg_fail(1)) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14174 result
= (wxString
*) &_result_ref
;
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14184 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14193 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14204 if (SWIG_arg_fail(1)) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= SWIG_From_int((int)(result
));
14221 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14224 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14226 return Py_BuildValue((char *)"");
14228 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxFileTypeInfo
*arg1
= 0 ;
14231 wxFileType
*result
;
14232 PyObject
* obj0
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "ftInfo", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14240 if (SWIG_arg_fail(1)) SWIG_fail
;
14241 if (arg1
== NULL
) {
14242 SWIG_null_ref("wxFileTypeInfo");
14244 if (SWIG_arg_fail(1)) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14260 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxFileType
*arg1
= (wxFileType
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxFileType
*arg1
= (wxFileType
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 char *kwnames
[] = {
14291 (char *) "self", NULL
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14296 if (SWIG_arg_fail(1)) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14301 wxPyEndAllowThreads(__tstate
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= result
;
14311 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxFileType
*arg1
= (wxFileType
*) 0 ;
14315 PyObject
* obj0
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= result
;
14337 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxFileType
*arg1
= (wxFileType
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14348 if (SWIG_arg_fail(1)) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= result
;
14363 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxFileType
*arg1
= (wxFileType
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14374 if (SWIG_arg_fail(1)) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14389 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxFileType
*arg1
= (wxFileType
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14400 if (SWIG_arg_fail(1)) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= result
;
14415 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxFileType
*arg1
= (wxFileType
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= result
;
14441 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxFileType
*arg1
= (wxFileType
*) 0 ;
14444 wxString
*arg2
= 0 ;
14445 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14446 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14448 bool temp2
= false ;
14449 bool temp3
= false ;
14450 PyObject
* obj0
= 0 ;
14451 PyObject
* obj1
= 0 ;
14452 PyObject
* obj2
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail
;
14461 arg2
= wxString_in_helper(obj1
);
14462 if (arg2
== NULL
) SWIG_fail
;
14467 arg3
= wxString_in_helper(obj2
);
14468 if (arg3
== NULL
) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= result
;
14502 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxFileType
*arg1
= (wxFileType
*) 0 ;
14505 wxString
*arg2
= 0 ;
14506 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14507 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14509 bool temp2
= false ;
14510 bool temp3
= false ;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj1
= 0 ;
14513 PyObject
* obj2
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail
;
14522 arg2
= wxString_in_helper(obj1
);
14523 if (arg2
== NULL
) SWIG_fail
;
14528 arg3
= wxString_in_helper(obj2
);
14529 if (arg3
== NULL
) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= result
;
14563 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxFileType
*arg1
= (wxFileType
*) 0 ;
14566 wxString
*arg2
= 0 ;
14567 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14568 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14570 bool temp2
= false ;
14571 bool temp3
= false ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 PyObject
* obj2
= 0 ;
14575 char *kwnames
[] = {
14576 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail
;
14583 arg2
= wxString_in_helper(obj1
);
14584 if (arg2
== NULL
) SWIG_fail
;
14589 arg3
= wxString_in_helper(obj2
);
14590 if (arg3
== NULL
) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= result
;
14624 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
;
14626 wxFileType
*arg1
= (wxFileType
*) 0 ;
14627 wxString
*arg2
= 0 ;
14628 wxString
*arg3
= 0 ;
14629 bool arg4
= (bool) true ;
14631 bool temp2
= false ;
14632 bool temp3
= false ;
14633 PyObject
* obj0
= 0 ;
14634 PyObject
* obj1
= 0 ;
14635 PyObject
* obj2
= 0 ;
14636 PyObject
* obj3
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail
;
14645 arg2
= wxString_in_helper(obj1
);
14646 if (arg2
== NULL
) SWIG_fail
;
14650 arg3
= wxString_in_helper(obj2
);
14651 if (arg3
== NULL
) SWIG_fail
;
14656 arg4
= (bool)(SWIG_As_bool(obj3
));
14657 if (SWIG_arg_fail(4)) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14692 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxFileType
*arg1
= (wxFileType
*) 0 ;
14695 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14696 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14697 int arg3
= (int) 0 ;
14699 bool temp2
= false ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self",(char *) "cmd",(char *) "index", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail
;
14712 arg2
= wxString_in_helper(obj1
);
14713 if (arg2
== NULL
) SWIG_fail
;
14719 arg3
= (int)(SWIG_As_int(obj2
));
14720 if (SWIG_arg_fail(3)) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14747 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxFileType
*arg1
= (wxFileType
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14758 if (SWIG_arg_fail(1)) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (bool)(arg1
)->Unassociate();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14775 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxString
*arg1
= 0 ;
14778 wxString
*arg2
= 0 ;
14779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14782 bool temp1
= false ;
14783 bool temp2
= false ;
14784 bool temp3
= false ;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14787 PyObject
* obj2
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14794 arg1
= wxString_in_helper(obj0
);
14795 if (arg1
== NULL
) SWIG_fail
;
14799 arg2
= wxString_in_helper(obj1
);
14800 if (arg2
== NULL
) SWIG_fail
;
14805 arg3
= wxString_in_helper(obj2
);
14806 if (arg3
== NULL
) SWIG_fail
;
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14854 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14859 return Py_BuildValue((char *)"");
14861 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14862 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14867 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14870 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14875 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxString
*arg1
= 0 ;
14878 wxString
*arg2
= 0 ;
14880 bool temp1
= false ;
14881 bool temp2
= false ;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "mimeType",(char *) "wildcard", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14890 arg1
= wxString_in_helper(obj0
);
14891 if (arg1
== NULL
) SWIG_fail
;
14895 arg2
= wxString_in_helper(obj1
);
14896 if (arg2
== NULL
) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14931 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxMimeTypesManager
*result
;
14934 char *kwnames
[] = {
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14953 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14956 int arg2
= (int) wxMAILCAP_ALL
;
14957 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14958 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14959 bool temp3
= false ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 PyObject
* obj2
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail
;
14972 arg2
= (int)(SWIG_As_int(obj1
));
14973 if (SWIG_arg_fail(2)) SWIG_fail
;
14978 arg3
= wxString_in_helper(obj2
);
14979 if (arg3
== NULL
) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 Py_INCREF(Py_None
); resultobj
= Py_None
;
15005 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15015 if (SWIG_arg_fail(1)) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->ClearData();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15030 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15033 wxString
*arg2
= 0 ;
15034 wxFileType
*result
;
15035 bool temp2
= false ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "ext", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail
;
15046 arg2
= wxString_in_helper(obj1
);
15047 if (arg2
== NULL
) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15072 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15075 wxString
*arg2
= 0 ;
15076 wxFileType
*result
;
15077 bool temp2
= false ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self",(char *) "mimeType", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15086 if (SWIG_arg_fail(1)) SWIG_fail
;
15088 arg2
= wxString_in_helper(obj1
);
15089 if (arg2
== NULL
) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15114 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15117 wxString
*arg2
= 0 ;
15118 bool arg3
= (bool) false ;
15120 bool temp2
= false ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 PyObject
* obj2
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail
;
15132 arg2
= wxString_in_helper(obj1
);
15133 if (arg2
== NULL
) SWIG_fail
;
15138 arg3
= (bool)(SWIG_As_bool(obj2
));
15139 if (SWIG_arg_fail(3)) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15166 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15169 wxString
*arg2
= 0 ;
15171 bool temp2
= false ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "filename", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail
;
15182 arg2
= wxString_in_helper(obj1
);
15183 if (arg2
== NULL
) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15210 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15221 if (SWIG_arg_fail(1)) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= result
;
15236 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15239 wxFileTypeInfo
*arg2
= 0 ;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self",(char *) "ft", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail
;
15250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15251 if (SWIG_arg_fail(2)) SWIG_fail
;
15252 if (arg2
== NULL
) {
15253 SWIG_null_ref("wxFileTypeInfo");
15255 if (SWIG_arg_fail(2)) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 Py_INCREF(Py_None
); resultobj
= Py_None
;
15271 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15274 wxFileTypeInfo
*arg2
= 0 ;
15275 wxFileType
*result
;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self",(char *) "ftInfo", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail
;
15286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15287 if (SWIG_arg_fail(2)) SWIG_fail
;
15288 if (arg2
== NULL
) {
15289 SWIG_null_ref("wxFileTypeInfo");
15291 if (SWIG_arg_fail(2)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15307 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15310 wxFileType
*arg2
= (wxFileType
*) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 PyObject
* obj1
= 0 ;
15314 char *kwnames
[] = {
15315 (char *) "self",(char *) "ft", NULL
15318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15320 if (SWIG_arg_fail(1)) SWIG_fail
;
15321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15322 if (SWIG_arg_fail(2)) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (bool)(arg1
)->Unassociate(arg2
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15339 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15349 if (SWIG_arg_fail(1)) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15367 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15369 return Py_BuildValue((char *)"");
15371 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15372 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15377 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15382 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15384 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15391 static int _wrap_ART_MENU_set(PyObject
*) {
15392 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15397 static PyObject
*_wrap_ART_MENU_get(void) {
15402 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15404 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15411 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15412 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15417 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15422 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15424 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15431 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15432 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15437 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15442 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15444 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15451 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15452 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15457 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15462 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15464 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15471 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15472 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15477 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15482 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15484 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15491 static int _wrap_ART_BUTTON_set(PyObject
*) {
15492 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15497 static PyObject
*_wrap_ART_BUTTON_get(void) {
15502 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15504 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15511 static int _wrap_ART_OTHER_set(PyObject
*) {
15512 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15517 static PyObject
*_wrap_ART_OTHER_get(void) {
15522 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15524 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15531 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15532 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15537 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15542 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15544 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15551 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15552 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15557 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15562 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15564 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15571 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15572 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15577 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15582 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15584 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15591 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15592 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15597 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15602 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15604 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15611 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15612 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15617 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15622 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15624 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15631 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15632 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15637 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15642 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15644 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15651 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15652 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15657 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15662 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15664 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15671 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15672 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15677 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15682 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15684 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15691 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15692 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15697 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15702 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15704 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15711 static int _wrap_ART_GO_UP_set(PyObject
*) {
15712 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15717 static PyObject
*_wrap_ART_GO_UP_get(void) {
15722 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15724 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15731 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15732 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15737 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15742 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15744 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15751 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15752 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15757 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15762 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15764 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15771 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15772 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15777 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15782 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15784 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15791 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15792 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15797 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15802 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15804 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15811 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15812 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15817 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15822 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15824 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15831 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15832 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15837 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15842 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15844 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15851 static int _wrap_ART_PRINT_set(PyObject
*) {
15852 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15857 static PyObject
*_wrap_ART_PRINT_get(void) {
15862 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15864 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15871 static int _wrap_ART_HELP_set(PyObject
*) {
15872 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15877 static PyObject
*_wrap_ART_HELP_get(void) {
15882 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15884 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15891 static int _wrap_ART_TIP_set(PyObject
*) {
15892 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15897 static PyObject
*_wrap_ART_TIP_get(void) {
15902 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15904 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15911 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15912 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15917 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15922 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15924 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15931 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15932 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15937 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15942 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15944 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15951 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15952 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15957 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15962 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15964 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15971 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15972 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15977 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15982 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15984 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15991 static int _wrap_ART_FLOPPY_set(PyObject
*) {
15992 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
15997 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16002 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16004 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16011 static int _wrap_ART_CDROM_set(PyObject
*) {
16012 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16017 static PyObject
*_wrap_ART_CDROM_get(void) {
16022 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16024 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16031 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16032 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16037 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16042 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16044 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16051 static int _wrap_ART_FOLDER_set(PyObject
*) {
16052 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16057 static PyObject
*_wrap_ART_FOLDER_get(void) {
16062 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16064 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16071 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16072 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16077 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16082 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16084 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16091 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16092 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16097 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16102 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16104 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16111 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16112 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16117 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16122 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16124 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16131 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16132 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16137 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16142 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16144 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16151 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16152 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16157 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16162 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16164 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16171 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16172 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16177 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16182 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16184 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16191 static int _wrap_ART_ERROR_set(PyObject
*) {
16192 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16197 static PyObject
*_wrap_ART_ERROR_get(void) {
16202 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16204 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16211 static int _wrap_ART_QUESTION_set(PyObject
*) {
16212 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16217 static PyObject
*_wrap_ART_QUESTION_get(void) {
16222 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16224 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16231 static int _wrap_ART_WARNING_set(PyObject
*) {
16232 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16237 static PyObject
*_wrap_ART_WARNING_get(void) {
16242 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16244 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16251 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16252 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16257 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16262 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16264 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16271 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16272 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16277 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16282 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16284 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16291 static int _wrap_ART_COPY_set(PyObject
*) {
16292 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16297 static PyObject
*_wrap_ART_COPY_get(void) {
16302 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16304 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16311 static int _wrap_ART_CUT_set(PyObject
*) {
16312 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16317 static PyObject
*_wrap_ART_CUT_get(void) {
16322 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16324 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16331 static int _wrap_ART_PASTE_set(PyObject
*) {
16332 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16337 static PyObject
*_wrap_ART_PASTE_get(void) {
16342 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16344 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16351 static int _wrap_ART_DELETE_set(PyObject
*) {
16352 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16357 static PyObject
*_wrap_ART_DELETE_get(void) {
16362 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16364 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16371 static int _wrap_ART_UNDO_set(PyObject
*) {
16372 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16377 static PyObject
*_wrap_ART_UNDO_get(void) {
16382 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16384 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16391 static int _wrap_ART_REDO_set(PyObject
*) {
16392 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16397 static PyObject
*_wrap_ART_REDO_get(void) {
16402 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16404 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16411 static int _wrap_ART_QUIT_set(PyObject
*) {
16412 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16417 static PyObject
*_wrap_ART_QUIT_get(void) {
16422 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16424 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16431 static int _wrap_ART_FIND_set(PyObject
*) {
16432 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16437 static PyObject
*_wrap_ART_FIND_get(void) {
16442 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16444 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16451 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16452 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16457 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16462 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16464 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16471 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxPyArtProvider
*result
;
16474 char *kwnames
[] = {
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16480 if (!wxPyCheckForApp()) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16494 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16497 PyObject
*arg2
= (PyObject
*) 0 ;
16498 PyObject
*arg3
= (PyObject
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 PyObject
* obj2
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self",(char *) "self",(char *) "_class", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16508 if (SWIG_arg_fail(1)) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "provider", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16535 if (SWIG_arg_fail(1)) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 wxPyArtProvider::PushProvider(arg1
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 Py_INCREF(Py_None
); resultobj
= Py_None
;
16550 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16553 char *kwnames
[] = {
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (bool)wxPyArtProvider::PopProvider();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16574 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "provider", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16602 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxString
*arg1
= 0 ;
16605 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16606 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16607 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16608 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16610 bool temp1
= false ;
16611 bool temp2
= false ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 PyObject
* obj2
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "id",(char *) "client",(char *) "size", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16622 arg1
= wxString_in_helper(obj0
);
16623 if (arg1
== NULL
) SWIG_fail
;
16628 arg2
= wxString_in_helper(obj1
);
16629 if (arg2
== NULL
) SWIG_fail
;
16636 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16640 if (!wxPyCheckForApp()) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16648 wxBitmap
* resultptr
;
16649 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16674 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
;
16676 wxString
*arg1
= 0 ;
16677 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16678 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16679 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16680 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16682 bool temp1
= false ;
16683 bool temp2
= false ;
16685 PyObject
* obj0
= 0 ;
16686 PyObject
* obj1
= 0 ;
16687 PyObject
* obj2
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "id",(char *) "client",(char *) "size", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16694 arg1
= wxString_in_helper(obj0
);
16695 if (arg1
== NULL
) SWIG_fail
;
16700 arg2
= wxString_in_helper(obj1
);
16701 if (arg2
== NULL
) SWIG_fail
;
16708 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16712 if (!wxPyCheckForApp()) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 wxIcon
* resultptr
;
16721 resultptr
= new wxIcon((wxIcon
&)(result
));
16722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16746 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxString
*arg1
= 0 ;
16749 bool arg2
= (bool) false ;
16751 bool temp1
= false ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "client",(char *) "platform_dependent", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16760 arg1
= wxString_in_helper(obj0
);
16761 if (arg1
== NULL
) SWIG_fail
;
16766 arg2
= (bool)(SWIG_As_bool(obj1
));
16767 if (SWIG_arg_fail(2)) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16778 wxSize
* resultptr
;
16779 resultptr
= new wxSize((wxSize
&)(result
));
16780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16796 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16806 if (SWIG_arg_fail(1)) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 wxPyArtProvider_Destroy(arg1
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 Py_INCREF(Py_None
); resultobj
= Py_None
;
16821 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16824 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16826 return Py_BuildValue((char *)"");
16828 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16838 if (SWIG_arg_fail(1)) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 Py_INCREF(Py_None
); resultobj
= Py_None
;
16853 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16856 wxConfigBase
*result
;
16857 PyObject
* obj0
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "config", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16864 if (SWIG_arg_fail(1)) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16879 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 bool arg1
= (bool) true ;
16882 wxConfigBase
*result
;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "createOnDemand", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16891 arg1
= (bool)(SWIG_As_bool(obj0
));
16892 if (SWIG_arg_fail(1)) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16909 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxConfigBase
*result
;
16912 char *kwnames
[] = {
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (wxConfigBase
*)wxConfigBase::Create();
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16931 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 char *kwnames
[] = {
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 wxConfigBase::DontCreateOnDemand();
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 Py_INCREF(Py_None
); resultobj
= Py_None
;
16952 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16955 wxString
*arg2
= 0 ;
16956 bool temp2
= false ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "path", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail
;
16967 arg2
= wxString_in_helper(obj1
);
16968 if (arg2
== NULL
) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 (arg1
)->SetPath((wxString
const &)*arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16993 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17009 result
= (wxString
*) &_result_ref
;
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17019 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17028 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= result
;
17054 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "index", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 arg2
= (long)(SWIG_As_long(obj1
));
17070 if (SWIG_arg_fail(2)) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= result
;
17086 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= result
;
17112 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self",(char *) "index", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail
;
17127 arg2
= (long)(SWIG_As_long(obj1
));
17128 if (SWIG_arg_fail(2)) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= result
;
17144 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17147 bool arg2
= (bool) false ;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self",(char *) "recursive", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail
;
17160 arg2
= (bool)(SWIG_As_bool(obj1
));
17161 if (SWIG_arg_fail(2)) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17180 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17183 bool arg2
= (bool) false ;
17185 PyObject
* obj0
= 0 ;
17186 PyObject
* obj1
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self",(char *) "recursive", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail
;
17196 arg2
= (bool)(SWIG_As_bool(obj1
));
17197 if (SWIG_arg_fail(2)) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17216 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17219 wxString
*arg2
= 0 ;
17221 bool temp2
= false ;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self",(char *) "name", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17230 if (SWIG_arg_fail(1)) SWIG_fail
;
17232 arg2
= wxString_in_helper(obj1
);
17233 if (arg2
== NULL
) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17260 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17263 wxString
*arg2
= 0 ;
17265 bool temp2
= false ;
17266 PyObject
* obj0
= 0 ;
17267 PyObject
* obj1
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self",(char *) "name", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail
;
17276 arg2
= wxString_in_helper(obj1
);
17277 if (arg2
== NULL
) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17304 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17307 wxString
*arg2
= 0 ;
17309 bool temp2
= false ;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self",(char *) "name", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail
;
17320 arg2
= wxString_in_helper(obj1
);
17321 if (arg2
== NULL
) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17348 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17351 wxString
*arg2
= 0 ;
17352 wxConfigBase::EntryType result
;
17353 bool temp2
= false ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self",(char *) "name", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail
;
17364 arg2
= wxString_in_helper(obj1
);
17365 if (arg2
== NULL
) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_From_int((result
));
17390 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17393 wxString
*arg2
= 0 ;
17394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17397 bool temp2
= false ;
17398 bool temp3
= false ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 PyObject
* obj2
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17408 if (SWIG_arg_fail(1)) SWIG_fail
;
17410 arg2
= wxString_in_helper(obj1
);
17411 if (arg2
== NULL
) SWIG_fail
;
17416 arg3
= wxString_in_helper(obj2
);
17417 if (arg3
== NULL
) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17457 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17460 wxString
*arg2
= 0 ;
17461 long arg3
= (long) 0 ;
17463 bool temp2
= false ;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 PyObject
* obj2
= 0 ;
17467 char *kwnames
[] = {
17468 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17473 if (SWIG_arg_fail(1)) SWIG_fail
;
17475 arg2
= wxString_in_helper(obj1
);
17476 if (arg2
== NULL
) SWIG_fail
;
17481 arg3
= (long)(SWIG_As_long(obj2
));
17482 if (SWIG_arg_fail(3)) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_From_long((long)(result
));
17509 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17512 wxString
*arg2
= 0 ;
17513 double arg3
= (double) 0.0 ;
17515 bool temp2
= false ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 PyObject
* obj2
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17525 if (SWIG_arg_fail(1)) SWIG_fail
;
17527 arg2
= wxString_in_helper(obj1
);
17528 if (arg2
== NULL
) SWIG_fail
;
17533 arg3
= (double)(SWIG_As_double(obj2
));
17534 if (SWIG_arg_fail(3)) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= SWIG_From_double((double)(result
));
17561 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17564 wxString
*arg2
= 0 ;
17565 bool arg3
= (bool) false ;
17567 bool temp2
= false ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 PyObject
* obj2
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17577 if (SWIG_arg_fail(1)) SWIG_fail
;
17579 arg2
= wxString_in_helper(obj1
);
17580 if (arg2
== NULL
) SWIG_fail
;
17585 arg3
= (bool)(SWIG_As_bool(obj2
));
17586 if (SWIG_arg_fail(3)) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17613 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17616 wxString
*arg2
= 0 ;
17617 wxString
*arg3
= 0 ;
17619 bool temp2
= false ;
17620 bool temp3
= false ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 PyObject
* obj2
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self",(char *) "key",(char *) "value", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail
;
17632 arg2
= wxString_in_helper(obj1
);
17633 if (arg2
== NULL
) SWIG_fail
;
17637 arg3
= wxString_in_helper(obj2
);
17638 if (arg3
== NULL
) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17673 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17676 wxString
*arg2
= 0 ;
17679 bool temp2
= false ;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 PyObject
* obj2
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self",(char *) "key",(char *) "value", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17689 if (SWIG_arg_fail(1)) SWIG_fail
;
17691 arg2
= wxString_in_helper(obj1
);
17692 if (arg2
== NULL
) SWIG_fail
;
17696 arg3
= (long)(SWIG_As_long(obj2
));
17697 if (SWIG_arg_fail(3)) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17723 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17726 wxString
*arg2
= 0 ;
17729 bool temp2
= false ;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 PyObject
* obj2
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self",(char *) "key",(char *) "value", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17739 if (SWIG_arg_fail(1)) SWIG_fail
;
17741 arg2
= wxString_in_helper(obj1
);
17742 if (arg2
== NULL
) SWIG_fail
;
17746 arg3
= (double)(SWIG_As_double(obj2
));
17747 if (SWIG_arg_fail(3)) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17773 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17776 wxString
*arg2
= 0 ;
17779 bool temp2
= false ;
17780 PyObject
* obj0
= 0 ;
17781 PyObject
* obj1
= 0 ;
17782 PyObject
* obj2
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self",(char *) "key",(char *) "value", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17789 if (SWIG_arg_fail(1)) SWIG_fail
;
17791 arg2
= wxString_in_helper(obj1
);
17792 if (arg2
== NULL
) SWIG_fail
;
17796 arg3
= (bool)(SWIG_As_bool(obj2
));
17797 if (SWIG_arg_fail(3)) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17823 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17826 bool arg2
= (bool) false ;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 char *kwnames
[] = {
17831 (char *) "self",(char *) "currentOnly", NULL
17834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17836 if (SWIG_arg_fail(1)) SWIG_fail
;
17839 arg2
= (bool)(SWIG_As_bool(obj1
));
17840 if (SWIG_arg_fail(2)) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 result
= (bool)(arg1
)->Flush(arg2
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17859 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17862 wxString
*arg2
= 0 ;
17863 wxString
*arg3
= 0 ;
17865 bool temp2
= false ;
17866 bool temp3
= false ;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 PyObject
* obj2
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17876 if (SWIG_arg_fail(1)) SWIG_fail
;
17878 arg2
= wxString_in_helper(obj1
);
17879 if (arg2
== NULL
) SWIG_fail
;
17883 arg3
= wxString_in_helper(obj2
);
17884 if (arg3
== NULL
) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17919 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17922 wxString
*arg2
= 0 ;
17923 wxString
*arg3
= 0 ;
17925 bool temp2
= false ;
17926 bool temp3
= false ;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 PyObject
* obj2
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17936 if (SWIG_arg_fail(1)) SWIG_fail
;
17938 arg2
= wxString_in_helper(obj1
);
17939 if (arg2
== NULL
) SWIG_fail
;
17943 arg3
= wxString_in_helper(obj2
);
17944 if (arg3
== NULL
) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17979 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17982 wxString
*arg2
= 0 ;
17983 bool arg3
= (bool) true ;
17985 bool temp2
= false ;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 PyObject
* obj2
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17995 if (SWIG_arg_fail(1)) SWIG_fail
;
17997 arg2
= wxString_in_helper(obj1
);
17998 if (arg2
== NULL
) SWIG_fail
;
18003 arg3
= (bool)(SWIG_As_bool(obj2
));
18004 if (SWIG_arg_fail(3)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18031 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18034 wxString
*arg2
= 0 ;
18036 bool temp2
= false ;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self",(char *) "key", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18047 arg2
= wxString_in_helper(obj1
);
18048 if (arg2
== NULL
) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18075 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
;
18077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18079 PyObject
* obj0
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18086 if (SWIG_arg_fail(1)) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (bool)(arg1
)->DeleteAll();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18103 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18106 bool arg2
= (bool) true ;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj1
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "self",(char *) "doIt", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18115 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 arg2
= (bool)(SWIG_As_bool(obj1
));
18119 if (SWIG_arg_fail(2)) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 (arg1
)->SetExpandEnvVars(arg2
);
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 Py_INCREF(Py_None
); resultobj
= Py_None
;
18136 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18164 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18167 bool arg2
= (bool) true ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self",(char *) "doIt", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail
;
18179 arg2
= (bool)(SWIG_As_bool(obj1
));
18180 if (SWIG_arg_fail(2)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->SetRecordDefaults(arg2
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 Py_INCREF(Py_None
); resultobj
= Py_None
;
18197 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18208 if (SWIG_arg_fail(1)) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18225 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18228 wxString
*arg2
= 0 ;
18230 bool temp2
= false ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self",(char *) "str", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 arg2
= wxString_in_helper(obj1
);
18242 if (arg2
== NULL
) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18273 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18284 if (SWIG_arg_fail(1)) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18305 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18316 if (SWIG_arg_fail(1)) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18337 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18340 wxString
*arg2
= 0 ;
18341 bool temp2
= false ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "appName", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18350 if (SWIG_arg_fail(1)) SWIG_fail
;
18352 arg2
= wxString_in_helper(obj1
);
18353 if (arg2
== NULL
) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 (arg1
)->SetAppName((wxString
const &)*arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18381 wxString
*arg2
= 0 ;
18382 bool temp2
= false ;
18383 PyObject
* obj0
= 0 ;
18384 PyObject
* obj1
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self",(char *) "vendorName", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail
;
18393 arg2
= wxString_in_helper(obj1
);
18394 if (arg2
== NULL
) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 Py_INCREF(Py_None
); resultobj
= Py_None
;
18419 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 PyObject
* obj1
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self",(char *) "style", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail
;
18433 arg2
= (long)(SWIG_As_long(obj1
));
18434 if (SWIG_arg_fail(2)) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 (arg1
)->SetStyle(arg2
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 Py_INCREF(Py_None
); resultobj
= Py_None
;
18450 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18461 if (SWIG_arg_fail(1)) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= SWIG_From_long((long)(result
));
18478 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18481 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18483 return Py_BuildValue((char *)"");
18485 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18488 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18489 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18490 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18491 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18492 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18493 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18494 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18495 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18497 bool temp1
= false ;
18498 bool temp2
= false ;
18499 bool temp3
= false ;
18500 bool temp4
= false ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 PyObject
* obj2
= 0 ;
18504 PyObject
* obj3
= 0 ;
18505 PyObject
* obj4
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18513 arg1
= wxString_in_helper(obj0
);
18514 if (arg1
== NULL
) SWIG_fail
;
18520 arg2
= wxString_in_helper(obj1
);
18521 if (arg2
== NULL
) SWIG_fail
;
18527 arg3
= wxString_in_helper(obj2
);
18528 if (arg3
== NULL
) SWIG_fail
;
18534 arg4
= wxString_in_helper(obj3
);
18535 if (arg4
== NULL
) SWIG_fail
;
18541 arg5
= (long)(SWIG_As_long(obj4
));
18542 if (SWIG_arg_fail(5)) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18591 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
;
18593 wxConfig
*arg1
= (wxConfig
*) 0 ;
18594 PyObject
* obj0
= 0 ;
18595 char *kwnames
[] = {
18596 (char *) "self", NULL
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18601 if (SWIG_arg_fail(1)) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 Py_INCREF(Py_None
); resultobj
= Py_None
;
18616 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18619 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18621 return Py_BuildValue((char *)"");
18623 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18626 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18627 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18628 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18629 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18630 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18631 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18632 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18633 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18634 wxFileConfig
*result
;
18635 bool temp1
= false ;
18636 bool temp2
= false ;
18637 bool temp3
= false ;
18638 bool temp4
= false ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 PyObject
* obj2
= 0 ;
18642 PyObject
* obj3
= 0 ;
18643 PyObject
* obj4
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18651 arg1
= wxString_in_helper(obj0
);
18652 if (arg1
== NULL
) SWIG_fail
;
18658 arg2
= wxString_in_helper(obj1
);
18659 if (arg2
== NULL
) SWIG_fail
;
18665 arg3
= wxString_in_helper(obj2
);
18666 if (arg3
== NULL
) SWIG_fail
;
18672 arg4
= wxString_in_helper(obj3
);
18673 if (arg4
== NULL
) SWIG_fail
;
18679 arg5
= (long)(SWIG_As_long(obj4
));
18680 if (SWIG_arg_fail(5)) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18729 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18739 if (SWIG_arg_fail(1)) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 Py_INCREF(Py_None
); resultobj
= Py_None
;
18754 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18757 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18759 return Py_BuildValue((char *)"");
18761 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18764 wxString
*arg2
= 0 ;
18765 wxConfigPathChanger
*result
;
18766 bool temp2
= false ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "config",(char *) "entry", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18775 if (SWIG_arg_fail(1)) SWIG_fail
;
18777 arg2
= wxString_in_helper(obj1
);
18778 if (arg2
== NULL
) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18803 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 Py_INCREF(Py_None
); resultobj
= Py_None
;
18828 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail
;
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18844 result
= (wxString
*) &_result_ref
;
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18854 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18863 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18866 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18868 return Py_BuildValue((char *)"");
18870 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxString
*arg1
= 0 ;
18874 bool temp1
= false ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "sz", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18882 arg1
= wxString_in_helper(obj0
);
18883 if (arg1
== NULL
) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18914 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18915 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18920 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18925 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18927 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18934 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18935 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18940 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18945 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18947 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18954 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxDateTime::Country arg1
;
18957 PyObject
* obj0
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "country", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18964 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18965 if (SWIG_arg_fail(1)) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 Py_INCREF(Py_None
); resultobj
= Py_None
;
18981 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxDateTime::Country result
;
18984 char *kwnames
[] = {
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18996 resultobj
= SWIG_From_int((result
));
19003 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19007 PyObject
* obj0
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "country", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19015 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19016 if (SWIG_arg_fail(1)) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19035 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19039 PyObject
* obj0
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "cal", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19047 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19048 if (SWIG_arg_fail(1)) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= SWIG_From_int((int)(result
));
19067 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19071 PyObject
* obj0
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "year", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19078 arg1
= (int)(SWIG_As_int(obj0
));
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= SWIG_From_int((int)(result
));
19097 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19100 wxDateTime::Month result
;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "cal", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19109 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19110 if (SWIG_arg_fail(1)) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= SWIG_From_int((result
));
19127 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 int arg1
= (int) wxDateTime::Inv_Year
;
19130 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "year",(char *) "cal", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19141 arg1
= (int)(SWIG_As_int(obj0
));
19142 if (SWIG_arg_fail(1)) SWIG_fail
;
19147 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19148 if (SWIG_arg_fail(2)) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19167 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 int arg1
= (int) wxDateTime::Inv_Year
;
19171 PyObject
* obj0
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "year", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19179 arg1
= (int)(SWIG_As_int(obj0
));
19180 if (SWIG_arg_fail(1)) SWIG_fail
;
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 result
= (int)wxDateTime::GetCentury(arg1
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19191 resultobj
= SWIG_From_int((int)(result
));
19199 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19202 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19204 PyObject
* obj0
= 0 ;
19205 PyObject
* obj1
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "year",(char *) "cal", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19212 arg1
= (int)(SWIG_As_int(obj0
));
19213 if (SWIG_arg_fail(1)) SWIG_fail
;
19217 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19218 if (SWIG_arg_fail(2)) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_From_int((int)(result
));
19237 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxDateTime::Month arg1
;
19240 int arg2
= (int) wxDateTime::Inv_Year
;
19241 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 PyObject
* obj2
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "month",(char *) "year",(char *) "cal", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19252 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19253 if (SWIG_arg_fail(1)) SWIG_fail
;
19257 arg2
= (int)(SWIG_As_int(obj1
));
19258 if (SWIG_arg_fail(2)) SWIG_fail
;
19263 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19264 if (SWIG_arg_fail(3)) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= SWIG_From_int((int)(result
));
19283 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxDateTime::Month arg1
;
19286 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19288 PyObject
* obj0
= 0 ;
19289 PyObject
* obj1
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "month",(char *) "flags", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19296 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19297 if (SWIG_arg_fail(1)) SWIG_fail
;
19301 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19302 if (SWIG_arg_fail(2)) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19325 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxDateTime::WeekDay arg1
;
19328 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "weekday",(char *) "flags", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19338 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19339 if (SWIG_arg_fail(1)) SWIG_fail
;
19343 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19344 if (SWIG_arg_fail(2)) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19367 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
;
19370 char *kwnames
[] = {
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (PyObject
*)DateTime_GetAmPmStrings();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= result
;
19389 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 int arg1
= (int) wxDateTime::Inv_Year
;
19392 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19394 PyObject
* obj0
= 0 ;
19395 PyObject
* obj1
= 0 ;
19396 char *kwnames
[] = {
19397 (char *) "year",(char *) "country", NULL
19400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19403 arg1
= (int)(SWIG_As_int(obj0
));
19404 if (SWIG_arg_fail(1)) SWIG_fail
;
19409 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19410 if (SWIG_arg_fail(2)) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19429 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 int arg1
= (int) wxDateTime::Inv_Year
;
19432 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19434 PyObject
* obj0
= 0 ;
19435 PyObject
* obj1
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "year",(char *) "country", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19443 arg1
= (int)(SWIG_As_int(obj0
));
19444 if (SWIG_arg_fail(1)) SWIG_fail
;
19449 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19450 if (SWIG_arg_fail(2)) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19461 wxDateTime
* resultptr
;
19462 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19471 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 int arg1
= (int) wxDateTime::Inv_Year
;
19474 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "year",(char *) "country", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19485 arg1
= (int)(SWIG_As_int(obj0
));
19486 if (SWIG_arg_fail(1)) SWIG_fail
;
19491 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19492 if (SWIG_arg_fail(2)) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19503 wxDateTime
* resultptr
;
19504 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19513 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19516 char *kwnames
[] = {
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= wxDateTime::Now();
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19529 wxDateTime
* resultptr
;
19530 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19539 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19542 char *kwnames
[] = {
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= wxDateTime::UNow();
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19555 wxDateTime
* resultptr
;
19556 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19565 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19568 char *kwnames
[] = {
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= wxDateTime::Today();
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 wxDateTime
* resultptr
;
19582 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19591 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxDateTime
*result
;
19594 char *kwnames
[] = {
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= (wxDateTime
*)new wxDateTime();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19613 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19616 wxDateTime
*result
;
19617 PyObject
* obj0
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "timet", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19624 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19625 if (SWIG_arg_fail(1)) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (wxDateTime
*)new wxDateTime(arg1
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19641 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19644 wxDateTime
*result
;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "jdn", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19652 arg1
= (double)(SWIG_As_double(obj0
));
19653 if (SWIG_arg_fail(1)) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (wxDateTime
*)new wxDateTime(arg1
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19669 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19672 int arg2
= (int) 0 ;
19673 int arg3
= (int) 0 ;
19674 int arg4
= (int) 0 ;
19675 wxDateTime
*result
;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 PyObject
* obj2
= 0 ;
19679 PyObject
* obj3
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19686 arg1
= (int)(SWIG_As_int(obj0
));
19687 if (SWIG_arg_fail(1)) SWIG_fail
;
19691 arg2
= (int)(SWIG_As_int(obj1
));
19692 if (SWIG_arg_fail(2)) SWIG_fail
;
19697 arg3
= (int)(SWIG_As_int(obj2
));
19698 if (SWIG_arg_fail(3)) SWIG_fail
;
19703 arg4
= (int)(SWIG_As_int(obj3
));
19704 if (SWIG_arg_fail(4)) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19721 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19724 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19725 int arg3
= (int) wxDateTime::Inv_Year
;
19726 int arg4
= (int) 0 ;
19727 int arg5
= (int) 0 ;
19728 int arg6
= (int) 0 ;
19729 int arg7
= (int) 0 ;
19730 wxDateTime
*result
;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj1
= 0 ;
19733 PyObject
* obj2
= 0 ;
19734 PyObject
* obj3
= 0 ;
19735 PyObject
* obj4
= 0 ;
19736 PyObject
* obj5
= 0 ;
19737 PyObject
* obj6
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19744 arg1
= (int)(SWIG_As_int(obj0
));
19745 if (SWIG_arg_fail(1)) SWIG_fail
;
19749 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19750 if (SWIG_arg_fail(2)) SWIG_fail
;
19755 arg3
= (int)(SWIG_As_int(obj2
));
19756 if (SWIG_arg_fail(3)) SWIG_fail
;
19761 arg4
= (int)(SWIG_As_int(obj3
));
19762 if (SWIG_arg_fail(4)) SWIG_fail
;
19767 arg5
= (int)(SWIG_As_int(obj4
));
19768 if (SWIG_arg_fail(5)) SWIG_fail
;
19773 arg6
= (int)(SWIG_As_int(obj5
));
19774 if (SWIG_arg_fail(6)) SWIG_fail
;
19779 arg7
= (int)(SWIG_As_int(obj6
));
19780 if (SWIG_arg_fail(7)) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19797 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 Py_INCREF(Py_None
); resultobj
= Py_None
;
19822 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19825 wxDateTime
*result
;
19826 PyObject
* obj0
= 0 ;
19827 char *kwnames
[] = {
19828 (char *) "self", NULL
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19833 if (SWIG_arg_fail(1)) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19838 result
= (wxDateTime
*) &_result_ref
;
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19851 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19855 wxDateTime
*result
;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self",(char *) "timet", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19864 if (SWIG_arg_fail(1)) SWIG_fail
;
19866 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19867 if (SWIG_arg_fail(2)) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19873 result
= (wxDateTime
*) &_result_ref
;
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19886 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19890 wxDateTime
*result
;
19891 PyObject
* obj0
= 0 ;
19892 PyObject
* obj1
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self",(char *) "jdn", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19899 if (SWIG_arg_fail(1)) SWIG_fail
;
19901 arg2
= (double)(SWIG_As_double(obj1
));
19902 if (SWIG_arg_fail(2)) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19908 result
= (wxDateTime
*) &_result_ref
;
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19921 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19925 int arg3
= (int) 0 ;
19926 int arg4
= (int) 0 ;
19927 int arg5
= (int) 0 ;
19928 wxDateTime
*result
;
19929 PyObject
* obj0
= 0 ;
19930 PyObject
* obj1
= 0 ;
19931 PyObject
* obj2
= 0 ;
19932 PyObject
* obj3
= 0 ;
19933 PyObject
* obj4
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail
;
19942 arg2
= (int)(SWIG_As_int(obj1
));
19943 if (SWIG_arg_fail(2)) SWIG_fail
;
19947 arg3
= (int)(SWIG_As_int(obj2
));
19948 if (SWIG_arg_fail(3)) SWIG_fail
;
19953 arg4
= (int)(SWIG_As_int(obj3
));
19954 if (SWIG_arg_fail(4)) SWIG_fail
;
19959 arg5
= (int)(SWIG_As_int(obj4
));
19960 if (SWIG_arg_fail(5)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19967 result
= (wxDateTime
*) &_result_ref
;
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19980 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19984 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19985 int arg4
= (int) wxDateTime::Inv_Year
;
19986 int arg5
= (int) 0 ;
19987 int arg6
= (int) 0 ;
19988 int arg7
= (int) 0 ;
19989 int arg8
= (int) 0 ;
19990 wxDateTime
*result
;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 PyObject
* obj2
= 0 ;
19994 PyObject
* obj3
= 0 ;
19995 PyObject
* obj4
= 0 ;
19996 PyObject
* obj5
= 0 ;
19997 PyObject
* obj6
= 0 ;
19998 PyObject
* obj7
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail
;
20007 arg2
= (int)(SWIG_As_int(obj1
));
20008 if (SWIG_arg_fail(2)) SWIG_fail
;
20012 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20013 if (SWIG_arg_fail(3)) SWIG_fail
;
20018 arg4
= (int)(SWIG_As_int(obj3
));
20019 if (SWIG_arg_fail(4)) SWIG_fail
;
20024 arg5
= (int)(SWIG_As_int(obj4
));
20025 if (SWIG_arg_fail(5)) SWIG_fail
;
20030 arg6
= (int)(SWIG_As_int(obj5
));
20031 if (SWIG_arg_fail(6)) SWIG_fail
;
20036 arg7
= (int)(SWIG_As_int(obj6
));
20037 if (SWIG_arg_fail(7)) SWIG_fail
;
20042 arg8
= (int)(SWIG_As_int(obj7
));
20043 if (SWIG_arg_fail(8)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20050 result
= (wxDateTime
*) &_result_ref
;
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20063 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20066 wxDateTime
*result
;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20074 if (SWIG_arg_fail(1)) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20079 result
= (wxDateTime
*) &_result_ref
;
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20092 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20096 wxDateTime
*result
;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self",(char *) "year", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20105 if (SWIG_arg_fail(1)) SWIG_fail
;
20107 arg2
= (int)(SWIG_As_int(obj1
));
20108 if (SWIG_arg_fail(2)) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20114 result
= (wxDateTime
*) &_result_ref
;
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20127 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20130 wxDateTime::Month arg2
;
20131 wxDateTime
*result
;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self",(char *) "month", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20140 if (SWIG_arg_fail(1)) SWIG_fail
;
20142 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20143 if (SWIG_arg_fail(2)) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20149 result
= (wxDateTime
*) &_result_ref
;
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20162 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20166 wxDateTime
*result
;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "day", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail
;
20177 arg2
= (int)(SWIG_As_int(obj1
));
20178 if (SWIG_arg_fail(2)) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20184 result
= (wxDateTime
*) &_result_ref
;
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20197 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20201 wxDateTime
*result
;
20202 PyObject
* obj0
= 0 ;
20203 PyObject
* obj1
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self",(char *) "hour", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20210 if (SWIG_arg_fail(1)) SWIG_fail
;
20212 arg2
= (int)(SWIG_As_int(obj1
));
20213 if (SWIG_arg_fail(2)) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20219 result
= (wxDateTime
*) &_result_ref
;
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20232 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20236 wxDateTime
*result
;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "minute", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail
;
20247 arg2
= (int)(SWIG_As_int(obj1
));
20248 if (SWIG_arg_fail(2)) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20254 result
= (wxDateTime
*) &_result_ref
;
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20267 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20271 wxDateTime
*result
;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self",(char *) "second", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail
;
20282 arg2
= (int)(SWIG_As_int(obj1
));
20283 if (SWIG_arg_fail(2)) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20289 result
= (wxDateTime
*) &_result_ref
;
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20302 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20306 wxDateTime
*result
;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self",(char *) "millisecond", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20315 if (SWIG_arg_fail(1)) SWIG_fail
;
20317 arg2
= (int)(SWIG_As_int(obj1
));
20318 if (SWIG_arg_fail(2)) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20324 result
= (wxDateTime
*) &_result_ref
;
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20337 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20340 wxDateTime::WeekDay arg2
;
20341 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20342 wxDateTime
*result
;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 PyObject
* obj2
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20352 if (SWIG_arg_fail(1)) SWIG_fail
;
20354 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20355 if (SWIG_arg_fail(2)) SWIG_fail
;
20359 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20360 if (SWIG_arg_fail(3)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20367 result
= (wxDateTime
*) &_result_ref
;
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20380 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20383 wxDateTime::WeekDay arg2
;
20384 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 PyObject
* obj2
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20395 if (SWIG_arg_fail(1)) SWIG_fail
;
20397 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20398 if (SWIG_arg_fail(2)) SWIG_fail
;
20402 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20403 if (SWIG_arg_fail(3)) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 wxDateTime
* resultptr
;
20415 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20424 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20427 wxDateTime::WeekDay arg2
;
20428 wxDateTime
*result
;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "self",(char *) "weekday", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20437 if (SWIG_arg_fail(1)) SWIG_fail
;
20439 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20440 if (SWIG_arg_fail(2)) SWIG_fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20446 result
= (wxDateTime
*) &_result_ref
;
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20459 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20462 wxDateTime::WeekDay arg2
;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "self",(char *) "weekday", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20472 if (SWIG_arg_fail(1)) SWIG_fail
;
20474 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20475 if (SWIG_arg_fail(2)) SWIG_fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20485 wxDateTime
* resultptr
;
20486 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20495 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20498 wxDateTime::WeekDay arg2
;
20499 wxDateTime
*result
;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "self",(char *) "weekday", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20508 if (SWIG_arg_fail(1)) SWIG_fail
;
20510 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20511 if (SWIG_arg_fail(2)) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20517 result
= (wxDateTime
*) &_result_ref
;
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20530 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
;
20532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20533 wxDateTime::WeekDay arg2
;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self",(char *) "weekday", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20545 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20546 if (SWIG_arg_fail(2)) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20556 wxDateTime
* resultptr
;
20557 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20566 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20569 wxDateTime::WeekDay arg2
;
20570 int arg3
= (int) 1 ;
20571 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20572 int arg5
= (int) wxDateTime::Inv_Year
;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 PyObject
* obj2
= 0 ;
20577 PyObject
* obj3
= 0 ;
20578 PyObject
* obj4
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20585 if (SWIG_arg_fail(1)) SWIG_fail
;
20587 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20588 if (SWIG_arg_fail(2)) SWIG_fail
;
20592 arg3
= (int)(SWIG_As_int(obj2
));
20593 if (SWIG_arg_fail(3)) SWIG_fail
;
20598 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20599 if (SWIG_arg_fail(4)) SWIG_fail
;
20604 arg5
= (int)(SWIG_As_int(obj4
));
20605 if (SWIG_arg_fail(5)) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20624 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20627 wxDateTime::WeekDay arg2
;
20628 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20629 int arg4
= (int) wxDateTime::Inv_Year
;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20633 PyObject
* obj2
= 0 ;
20634 PyObject
* obj3
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20641 if (SWIG_arg_fail(1)) SWIG_fail
;
20643 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20644 if (SWIG_arg_fail(2)) SWIG_fail
;
20648 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20649 if (SWIG_arg_fail(3)) SWIG_fail
;
20654 arg4
= (int)(SWIG_As_int(obj3
));
20655 if (SWIG_arg_fail(4)) SWIG_fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20674 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20675 PyObject
*resultobj
;
20676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20677 wxDateTime::WeekDay arg2
;
20678 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20679 int arg4
= (int) wxDateTime::Inv_Year
;
20681 PyObject
* obj0
= 0 ;
20682 PyObject
* obj1
= 0 ;
20683 PyObject
* obj2
= 0 ;
20684 PyObject
* obj3
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail
;
20693 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20694 if (SWIG_arg_fail(2)) SWIG_fail
;
20698 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20699 if (SWIG_arg_fail(3)) SWIG_fail
;
20704 arg4
= (int)(SWIG_As_int(obj3
));
20705 if (SWIG_arg_fail(4)) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20716 wxDateTime
* resultptr
;
20717 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20726 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20730 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20731 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 PyObject
* obj2
= 0 ;
20736 PyObject
* obj3
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail
;
20745 arg2
= (int)(SWIG_As_int(obj1
));
20746 if (SWIG_arg_fail(2)) SWIG_fail
;
20750 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20751 if (SWIG_arg_fail(3)) SWIG_fail
;
20756 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20757 if (SWIG_arg_fail(4)) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20776 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20780 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20781 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 PyObject
* obj2
= 0 ;
20786 PyObject
* obj3
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail
;
20795 arg2
= (int)(SWIG_As_int(obj1
));
20796 if (SWIG_arg_fail(2)) SWIG_fail
;
20800 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20801 if (SWIG_arg_fail(3)) SWIG_fail
;
20806 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20807 if (SWIG_arg_fail(4)) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 wxDateTime
* resultptr
;
20819 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20828 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20832 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 PyObject
* obj2
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20843 arg1
= (int)(SWIG_As_int(obj0
));
20844 if (SWIG_arg_fail(1)) SWIG_fail
;
20847 arg2
= (int)(SWIG_As_int(obj1
));
20848 if (SWIG_arg_fail(2)) SWIG_fail
;
20852 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20853 if (SWIG_arg_fail(3)) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20864 wxDateTime
* resultptr
;
20865 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20874 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20877 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20878 int arg3
= (int) wxDateTime::Inv_Year
;
20879 wxDateTime
*result
;
20880 PyObject
* obj0
= 0 ;
20881 PyObject
* obj1
= 0 ;
20882 PyObject
* obj2
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self",(char *) "month",(char *) "year", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail
;
20892 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20893 if (SWIG_arg_fail(2)) SWIG_fail
;
20898 arg3
= (int)(SWIG_As_int(obj2
));
20899 if (SWIG_arg_fail(3)) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20906 result
= (wxDateTime
*) &_result_ref
;
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20919 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20922 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20923 int arg3
= (int) wxDateTime::Inv_Year
;
20925 PyObject
* obj0
= 0 ;
20926 PyObject
* obj1
= 0 ;
20927 PyObject
* obj2
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self",(char *) "month",(char *) "year", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20934 if (SWIG_arg_fail(1)) SWIG_fail
;
20937 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20938 if (SWIG_arg_fail(2)) SWIG_fail
;
20943 arg3
= (int)(SWIG_As_int(obj2
));
20944 if (SWIG_arg_fail(3)) SWIG_fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20955 wxDateTime
* resultptr
;
20956 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20965 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20969 wxDateTime
*result
;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20972 char *kwnames
[] = {
20973 (char *) "self",(char *) "yday", NULL
20976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20978 if (SWIG_arg_fail(1)) SWIG_fail
;
20980 arg2
= (int)(SWIG_As_int(obj1
));
20981 if (SWIG_arg_fail(2)) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20987 result
= (wxDateTime
*) &_result_ref
;
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21000 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self",(char *) "yday", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21013 if (SWIG_arg_fail(1)) SWIG_fail
;
21015 arg2
= (int)(SWIG_As_int(obj1
));
21016 if (SWIG_arg_fail(2)) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= (arg1
)->GetYearDay(arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 wxDateTime
* resultptr
;
21027 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21036 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21040 PyObject
* obj0
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (double)(arg1
)->GetJulianDayNumber();
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_From_double((double)(result
));
21064 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 result
= (double)(arg1
)->GetJDN();
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_From_double((double)(result
));
21092 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21103 if (SWIG_arg_fail(1)) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= SWIG_From_double((double)(result
));
21120 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21131 if (SWIG_arg_fail(1)) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (double)(arg1
)->GetMJD();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_From_double((double)(result
));
21148 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "self", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21159 if (SWIG_arg_fail(1)) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (double)(arg1
)->GetRataDie();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= SWIG_From_double((double)(result
));
21176 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21179 wxDateTime::TimeZone
*arg2
= 0 ;
21180 bool arg3
= (bool) false ;
21182 bool temp2
= false ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 PyObject
* obj2
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21192 if (SWIG_arg_fail(1)) SWIG_fail
;
21194 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21199 arg3
= (bool)(SWIG_As_bool(obj2
));
21200 if (SWIG_arg_fail(3)) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21211 wxDateTime
* resultptr
;
21212 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21216 if (temp2
) delete arg2
;
21221 if (temp2
) delete arg2
;
21227 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21230 wxDateTime::TimeZone
*arg2
= 0 ;
21231 bool arg3
= (bool) false ;
21232 wxDateTime
*result
;
21233 bool temp2
= false ;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 PyObject
* obj2
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21243 if (SWIG_arg_fail(1)) SWIG_fail
;
21245 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21250 arg3
= (bool)(SWIG_As_bool(obj2
));
21251 if (SWIG_arg_fail(3)) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21258 result
= (wxDateTime
*) &_result_ref
;
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21266 if (temp2
) delete arg2
;
21271 if (temp2
) delete arg2
;
21277 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21280 bool arg2
= (bool) false ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "noDST", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21290 if (SWIG_arg_fail(1)) SWIG_fail
;
21293 arg2
= (bool)(SWIG_As_bool(obj1
));
21294 if (SWIG_arg_fail(2)) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (arg1
)->ToGMT(arg2
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 wxDateTime
* resultptr
;
21306 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21315 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21318 bool arg2
= (bool) false ;
21319 wxDateTime
*result
;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self",(char *) "noDST", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21328 if (SWIG_arg_fail(1)) SWIG_fail
;
21331 arg2
= (bool)(SWIG_As_bool(obj1
));
21332 if (SWIG_arg_fail(2)) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21339 result
= (wxDateTime
*) &_result_ref
;
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21352 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21355 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21357 PyObject
* obj0
= 0 ;
21358 PyObject
* obj1
= 0 ;
21359 char *kwnames
[] = {
21360 (char *) "self",(char *) "country", NULL
21363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21365 if (SWIG_arg_fail(1)) SWIG_fail
;
21368 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21369 if (SWIG_arg_fail(2)) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_From_int((int)(result
));
21388 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21416 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21427 if (SWIG_arg_fail(1)) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21444 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21447 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21448 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21450 bool temp2
= false ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 char *kwnames
[] = {
21454 (char *) "self",(char *) "tz", NULL
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail
;
21462 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_From_int((int)(result
));
21477 if (temp2
) delete arg2
;
21482 if (temp2
) delete arg2
;
21488 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21491 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21492 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21493 wxDateTime::Month result
;
21494 bool temp2
= false ;
21495 PyObject
* obj0
= 0 ;
21496 PyObject
* obj1
= 0 ;
21497 char *kwnames
[] = {
21498 (char *) "self",(char *) "tz", NULL
21501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21503 if (SWIG_arg_fail(1)) SWIG_fail
;
21506 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_From_int((result
));
21519 if (temp2
) delete arg2
;
21524 if (temp2
) delete arg2
;
21530 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21533 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21534 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21536 bool temp2
= false ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "tz", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= SWIG_From_int((int)(result
));
21563 if (temp2
) delete arg2
;
21568 if (temp2
) delete arg2
;
21574 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21577 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21578 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21579 wxDateTime::WeekDay result
;
21580 bool temp2
= false ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self",(char *) "tz", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21589 if (SWIG_arg_fail(1)) SWIG_fail
;
21592 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_From_int((result
));
21605 if (temp2
) delete arg2
;
21610 if (temp2
) delete arg2
;
21616 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21619 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21620 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21622 bool temp2
= false ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "tz", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21631 if (SWIG_arg_fail(1)) SWIG_fail
;
21634 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21646 resultobj
= SWIG_From_int((int)(result
));
21649 if (temp2
) delete arg2
;
21654 if (temp2
) delete arg2
;
21660 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21663 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21664 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21666 bool temp2
= false ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self",(char *) "tz", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21675 if (SWIG_arg_fail(1)) SWIG_fail
;
21678 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_From_int((int)(result
));
21693 if (temp2
) delete arg2
;
21698 if (temp2
) delete arg2
;
21704 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21707 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21708 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21710 bool temp2
= false ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self",(char *) "tz", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail
;
21722 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_From_int((int)(result
));
21737 if (temp2
) delete arg2
;
21742 if (temp2
) delete arg2
;
21748 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21751 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21752 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21754 bool temp2
= false ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self",(char *) "tz", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21763 if (SWIG_arg_fail(1)) SWIG_fail
;
21766 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= SWIG_From_int((int)(result
));
21781 if (temp2
) delete arg2
;
21786 if (temp2
) delete arg2
;
21792 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21795 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21796 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21798 bool temp2
= false ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "tz", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21807 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= SWIG_From_int((int)(result
));
21825 if (temp2
) delete arg2
;
21830 if (temp2
) delete arg2
;
21836 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21839 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21840 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21841 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21843 bool temp3
= false ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 PyObject
* obj2
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "flags",(char *) "tz", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21853 if (SWIG_arg_fail(1)) SWIG_fail
;
21856 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21857 if (SWIG_arg_fail(2)) SWIG_fail
;
21862 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_From_int((int)(result
));
21877 if (temp3
) delete arg3
;
21882 if (temp3
) delete arg3
;
21888 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21891 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21892 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21893 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21895 bool temp3
= false ;
21896 PyObject
* obj0
= 0 ;
21897 PyObject
* obj1
= 0 ;
21898 PyObject
* obj2
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self",(char *) "flags",(char *) "tz", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21905 if (SWIG_arg_fail(1)) SWIG_fail
;
21908 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21909 if (SWIG_arg_fail(2)) SWIG_fail
;
21914 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= SWIG_From_int((int)(result
));
21929 if (temp3
) delete arg3
;
21934 if (temp3
) delete arg3
;
21940 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21943 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 char *kwnames
[] = {
21948 (char *) "self",(char *) "country", NULL
21951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21953 if (SWIG_arg_fail(1)) SWIG_fail
;
21956 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21957 if (SWIG_arg_fail(2)) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21976 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21979 wxDateTime
*arg2
= 0 ;
21981 PyObject
* obj0
= 0 ;
21982 PyObject
* obj1
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "datetime", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21989 if (SWIG_arg_fail(1)) SWIG_fail
;
21991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21992 if (SWIG_arg_fail(2)) SWIG_fail
;
21993 if (arg2
== NULL
) {
21994 SWIG_null_ref("wxDateTime");
21996 if (SWIG_arg_fail(2)) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22014 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22017 wxDateTime
*arg2
= 0 ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self",(char *) "datetime", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail
;
22029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22030 if (SWIG_arg_fail(2)) SWIG_fail
;
22031 if (arg2
== NULL
) {
22032 SWIG_null_ref("wxDateTime");
22034 if (SWIG_arg_fail(2)) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22052 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22055 wxDateTime
*arg2
= 0 ;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self",(char *) "datetime", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22065 if (SWIG_arg_fail(1)) SWIG_fail
;
22067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22068 if (SWIG_arg_fail(2)) SWIG_fail
;
22069 if (arg2
== NULL
) {
22070 SWIG_null_ref("wxDateTime");
22072 if (SWIG_arg_fail(2)) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22090 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22093 wxDateTime
*arg2
= 0 ;
22094 wxDateTime
*arg3
= 0 ;
22096 PyObject
* obj0
= 0 ;
22097 PyObject
* obj1
= 0 ;
22098 PyObject
* obj2
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self",(char *) "t1",(char *) "t2", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail
;
22107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22108 if (SWIG_arg_fail(2)) SWIG_fail
;
22109 if (arg2
== NULL
) {
22110 SWIG_null_ref("wxDateTime");
22112 if (SWIG_arg_fail(2)) SWIG_fail
;
22115 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22116 if (SWIG_arg_fail(3)) SWIG_fail
;
22117 if (arg3
== NULL
) {
22118 SWIG_null_ref("wxDateTime");
22120 if (SWIG_arg_fail(3)) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22138 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22141 wxDateTime
*arg2
= 0 ;
22142 wxDateTime
*arg3
= 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "t1",(char *) "t2", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail
;
22155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22156 if (SWIG_arg_fail(2)) SWIG_fail
;
22157 if (arg2
== NULL
) {
22158 SWIG_null_ref("wxDateTime");
22160 if (SWIG_arg_fail(2)) SWIG_fail
;
22163 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22164 if (SWIG_arg_fail(3)) SWIG_fail
;
22165 if (arg3
== NULL
) {
22166 SWIG_null_ref("wxDateTime");
22168 if (SWIG_arg_fail(3)) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22186 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22189 wxDateTime
*arg2
= 0 ;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 char *kwnames
[] = {
22194 (char *) "self",(char *) "dt", NULL
22197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22199 if (SWIG_arg_fail(1)) SWIG_fail
;
22201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22202 if (SWIG_arg_fail(2)) SWIG_fail
;
22203 if (arg2
== NULL
) {
22204 SWIG_null_ref("wxDateTime");
22206 if (SWIG_arg_fail(2)) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22224 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22227 wxDateTime
*arg2
= 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self",(char *) "dt", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail
;
22239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(2)) SWIG_fail
;
22241 if (arg2
== NULL
) {
22242 SWIG_null_ref("wxDateTime");
22244 if (SWIG_arg_fail(2)) SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22262 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22265 wxDateTime
*arg2
= 0 ;
22266 wxTimeSpan
*arg3
= 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 PyObject
* obj2
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self",(char *) "dt",(char *) "ts", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22277 if (SWIG_arg_fail(1)) SWIG_fail
;
22279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22280 if (SWIG_arg_fail(2)) SWIG_fail
;
22281 if (arg2
== NULL
) {
22282 SWIG_null_ref("wxDateTime");
22284 if (SWIG_arg_fail(2)) SWIG_fail
;
22287 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22288 if (SWIG_arg_fail(3)) SWIG_fail
;
22289 if (arg3
== NULL
) {
22290 SWIG_null_ref("wxTimeSpan");
22292 if (SWIG_arg_fail(3)) SWIG_fail
;
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22310 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22313 wxTimeSpan
*arg2
= 0 ;
22314 wxDateTime
*result
;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self",(char *) "diff", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22323 if (SWIG_arg_fail(1)) SWIG_fail
;
22325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22326 if (SWIG_arg_fail(2)) SWIG_fail
;
22327 if (arg2
== NULL
) {
22328 SWIG_null_ref("wxTimeSpan");
22330 if (SWIG_arg_fail(2)) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22336 result
= (wxDateTime
*) &_result_ref
;
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22349 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22352 wxDateSpan
*arg2
= 0 ;
22353 wxDateTime
*result
;
22354 PyObject
* obj0
= 0 ;
22355 PyObject
* obj1
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self",(char *) "diff", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail
;
22364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22365 if (SWIG_arg_fail(2)) SWIG_fail
;
22366 if (arg2
== NULL
) {
22367 SWIG_null_ref("wxDateSpan");
22369 if (SWIG_arg_fail(2)) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22375 result
= (wxDateTime
*) &_result_ref
;
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22388 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22391 wxTimeSpan
*arg2
= 0 ;
22392 wxDateTime
*result
;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "diff", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22401 if (SWIG_arg_fail(1)) SWIG_fail
;
22403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22404 if (SWIG_arg_fail(2)) SWIG_fail
;
22405 if (arg2
== NULL
) {
22406 SWIG_null_ref("wxTimeSpan");
22408 if (SWIG_arg_fail(2)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22414 result
= (wxDateTime
*) &_result_ref
;
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22427 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22430 wxDateSpan
*arg2
= 0 ;
22431 wxDateTime
*result
;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "diff", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22440 if (SWIG_arg_fail(1)) SWIG_fail
;
22442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(2)) SWIG_fail
;
22444 if (arg2
== NULL
) {
22445 SWIG_null_ref("wxDateSpan");
22447 if (SWIG_arg_fail(2)) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22453 result
= (wxDateTime
*) &_result_ref
;
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22466 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22469 wxDateTime
*arg2
= 0 ;
22471 PyObject
* obj0
= 0 ;
22472 PyObject
* obj1
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self",(char *) "dt", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22479 if (SWIG_arg_fail(1)) SWIG_fail
;
22481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22482 if (SWIG_arg_fail(2)) SWIG_fail
;
22483 if (arg2
== NULL
) {
22484 SWIG_null_ref("wxDateTime");
22486 if (SWIG_arg_fail(2)) SWIG_fail
;
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22496 wxTimeSpan
* resultptr
;
22497 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22506 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22507 PyObject
*resultobj
;
22508 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22509 wxTimeSpan
*arg2
= 0 ;
22510 wxDateTime
*result
;
22511 PyObject
* obj0
= 0 ;
22512 PyObject
* obj1
= 0 ;
22514 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22516 if (SWIG_arg_fail(1)) SWIG_fail
;
22518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22519 if (SWIG_arg_fail(2)) SWIG_fail
;
22520 if (arg2
== NULL
) {
22521 SWIG_null_ref("wxTimeSpan");
22523 if (SWIG_arg_fail(2)) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22529 result
= (wxDateTime
*) &_result_ref
;
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22542 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22543 PyObject
*resultobj
;
22544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22545 wxDateSpan
*arg2
= 0 ;
22546 wxDateTime
*result
;
22547 PyObject
* obj0
= 0 ;
22548 PyObject
* obj1
= 0 ;
22550 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22552 if (SWIG_arg_fail(1)) SWIG_fail
;
22554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22555 if (SWIG_arg_fail(2)) SWIG_fail
;
22556 if (arg2
== NULL
) {
22557 SWIG_null_ref("wxDateSpan");
22559 if (SWIG_arg_fail(2)) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22565 result
= (wxDateTime
*) &_result_ref
;
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22578 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22583 argc
= PyObject_Length(args
);
22584 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22585 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22591 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22601 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22609 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22617 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22627 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22635 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22640 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22645 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22646 PyObject
*resultobj
;
22647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22648 wxTimeSpan
*arg2
= 0 ;
22649 wxDateTime
*result
;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22653 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22655 if (SWIG_arg_fail(1)) SWIG_fail
;
22657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22658 if (SWIG_arg_fail(2)) SWIG_fail
;
22659 if (arg2
== NULL
) {
22660 SWIG_null_ref("wxTimeSpan");
22662 if (SWIG_arg_fail(2)) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22668 result
= (wxDateTime
*) &_result_ref
;
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22681 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22682 PyObject
*resultobj
;
22683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22684 wxDateSpan
*arg2
= 0 ;
22685 wxDateTime
*result
;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22689 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22691 if (SWIG_arg_fail(1)) SWIG_fail
;
22693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22694 if (SWIG_arg_fail(2)) SWIG_fail
;
22695 if (arg2
== NULL
) {
22696 SWIG_null_ref("wxDateSpan");
22698 if (SWIG_arg_fail(2)) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22704 result
= (wxDateTime
*) &_result_ref
;
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22717 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22722 argc
= PyObject_Length(args
);
22723 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22724 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22740 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22748 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22756 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22766 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22774 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22779 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22784 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22785 PyObject
*resultobj
;
22786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22787 wxTimeSpan
*arg2
= 0 ;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22792 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22794 if (SWIG_arg_fail(1)) SWIG_fail
;
22796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22797 if (SWIG_arg_fail(2)) SWIG_fail
;
22798 if (arg2
== NULL
) {
22799 SWIG_null_ref("wxTimeSpan");
22801 if (SWIG_arg_fail(2)) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22811 wxDateTime
* resultptr
;
22812 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22821 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22822 PyObject
*resultobj
;
22823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22824 wxDateSpan
*arg2
= 0 ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22829 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail
;
22833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22834 if (SWIG_arg_fail(2)) SWIG_fail
;
22835 if (arg2
== NULL
) {
22836 SWIG_null_ref("wxDateSpan");
22838 if (SWIG_arg_fail(2)) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22848 wxDateTime
* resultptr
;
22849 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22858 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22863 argc
= PyObject_Length(args
);
22864 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22865 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22871 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22881 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22889 return _wrap_DateTime___add____SWIG_0(self
,args
);
22897 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22907 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22915 return _wrap_DateTime___add____SWIG_1(self
,args
);
22920 Py_INCREF(Py_NotImplemented
);
22921 return Py_NotImplemented
;
22925 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22926 PyObject
*resultobj
;
22927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22928 wxDateTime
*arg2
= 0 ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22933 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail
;
22937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22938 if (SWIG_arg_fail(2)) SWIG_fail
;
22939 if (arg2
== NULL
) {
22940 SWIG_null_ref("wxDateTime");
22942 if (SWIG_arg_fail(2)) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22952 wxTimeSpan
* resultptr
;
22953 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22962 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22963 PyObject
*resultobj
;
22964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22965 wxTimeSpan
*arg2
= 0 ;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22970 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail
;
22974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22975 if (SWIG_arg_fail(2)) SWIG_fail
;
22976 if (arg2
== NULL
) {
22977 SWIG_null_ref("wxTimeSpan");
22979 if (SWIG_arg_fail(2)) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 wxDateTime
* resultptr
;
22990 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22999 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23000 PyObject
*resultobj
;
23001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23002 wxDateSpan
*arg2
= 0 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23007 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail
;
23011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23012 if (SWIG_arg_fail(2)) SWIG_fail
;
23013 if (arg2
== NULL
) {
23014 SWIG_null_ref("wxDateSpan");
23016 if (SWIG_arg_fail(2)) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23026 wxDateTime
* resultptr
;
23027 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23036 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23041 argc
= PyObject_Length(args
);
23042 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23043 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23049 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23059 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23067 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23075 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23085 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23093 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23101 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23111 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23119 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23124 Py_INCREF(Py_NotImplemented
);
23125 return Py_NotImplemented
;
23129 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23132 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self",(char *) "other", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail
;
23143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23144 if (SWIG_arg_fail(2)) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23161 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23164 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23166 PyObject
* obj0
= 0 ;
23167 PyObject
* obj1
= 0 ;
23168 char *kwnames
[] = {
23169 (char *) "self",(char *) "other", NULL
23172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23174 if (SWIG_arg_fail(1)) SWIG_fail
;
23175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23176 if (SWIG_arg_fail(2)) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23193 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
;
23195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23196 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self",(char *) "other", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail
;
23207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23208 if (SWIG_arg_fail(2)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23225 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23228 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self",(char *) "other", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23238 if (SWIG_arg_fail(1)) SWIG_fail
;
23239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23240 if (SWIG_arg_fail(2)) SWIG_fail
;
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23257 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23260 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23262 PyObject
* obj0
= 0 ;
23263 PyObject
* obj1
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self",(char *) "other", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23270 if (SWIG_arg_fail(1)) SWIG_fail
;
23271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23272 if (SWIG_arg_fail(2)) SWIG_fail
;
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23289 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
;
23291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23292 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self",(char *) "other", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail
;
23303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23304 if (SWIG_arg_fail(2)) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23321 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23324 wxString
*arg2
= 0 ;
23326 bool temp2
= false ;
23327 PyObject
* obj0
= 0 ;
23328 PyObject
* obj1
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self",(char *) "date", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail
;
23337 arg2
= wxString_in_helper(obj1
);
23338 if (arg2
== NULL
) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_From_int((int)(result
));
23365 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23368 wxString
*arg2
= 0 ;
23369 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23370 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23371 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23372 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23374 bool temp2
= false ;
23375 bool temp3
= false ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 PyObject
* obj2
= 0 ;
23379 PyObject
* obj3
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail
;
23388 arg2
= wxString_in_helper(obj1
);
23389 if (arg2
== NULL
) SWIG_fail
;
23394 arg3
= wxString_in_helper(obj2
);
23395 if (arg3
== NULL
) SWIG_fail
;
23401 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23402 if (SWIG_arg_fail(4)) SWIG_fail
;
23403 if (arg4
== NULL
) {
23404 SWIG_null_ref("wxDateTime");
23406 if (SWIG_arg_fail(4)) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= SWIG_From_int((int)(result
));
23441 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23444 wxString
*arg2
= 0 ;
23446 bool temp2
= false ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self",(char *) "datetime", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23455 if (SWIG_arg_fail(1)) SWIG_fail
;
23457 arg2
= wxString_in_helper(obj1
);
23458 if (arg2
== NULL
) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= SWIG_From_int((int)(result
));
23485 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23488 wxString
*arg2
= 0 ;
23490 bool temp2
= false ;
23491 PyObject
* obj0
= 0 ;
23492 PyObject
* obj1
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self",(char *) "date", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23499 if (SWIG_arg_fail(1)) SWIG_fail
;
23501 arg2
= wxString_in_helper(obj1
);
23502 if (arg2
== NULL
) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23513 resultobj
= SWIG_From_int((int)(result
));
23529 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23532 wxString
*arg2
= 0 ;
23534 bool temp2
= false ;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self",(char *) "time", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail
;
23545 arg2
= wxString_in_helper(obj1
);
23546 if (arg2
== NULL
) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_From_int((int)(result
));
23573 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23576 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23577 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23578 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23579 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23581 bool temp2
= false ;
23582 bool temp3
= false ;
23583 PyObject
* obj0
= 0 ;
23584 PyObject
* obj1
= 0 ;
23585 PyObject
* obj2
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self",(char *) "format",(char *) "tz", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail
;
23595 arg2
= wxString_in_helper(obj1
);
23596 if (arg2
== NULL
) SWIG_fail
;
23602 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23625 if (temp3
) delete arg3
;
23634 if (temp3
) delete arg3
;
23640 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23644 PyObject
* obj0
= 0 ;
23645 char *kwnames
[] = {
23646 (char *) "self", NULL
23649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23651 if (SWIG_arg_fail(1)) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23672 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23704 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23715 if (SWIG_arg_fail(1)) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23736 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23768 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23771 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23773 return Py_BuildValue((char *)"");
23775 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23779 PyObject
* obj0
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "sec", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23786 arg1
= (long)(SWIG_As_long(obj0
));
23787 if (SWIG_arg_fail(1)) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= wxTimeSpan::Seconds(arg1
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 wxTimeSpan
* resultptr
;
23798 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23807 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23810 char *kwnames
[] = {
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= wxTimeSpan::Second();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23823 wxTimeSpan
* resultptr
;
23824 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23833 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23834 PyObject
*resultobj
;
23837 PyObject
* obj0
= 0 ;
23838 char *kwnames
[] = {
23839 (char *) "min", NULL
23842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23844 arg1
= (long)(SWIG_As_long(obj0
));
23845 if (SWIG_arg_fail(1)) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= wxTimeSpan::Minutes(arg1
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23855 wxTimeSpan
* resultptr
;
23856 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23865 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23868 char *kwnames
[] = {
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= wxTimeSpan::Minute();
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23881 wxTimeSpan
* resultptr
;
23882 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23891 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
;
23895 PyObject
* obj0
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "hours", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23902 arg1
= (long)(SWIG_As_long(obj0
));
23903 if (SWIG_arg_fail(1)) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= wxTimeSpan::Hours(arg1
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23913 wxTimeSpan
* resultptr
;
23914 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23923 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
;
23926 char *kwnames
[] = {
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= wxTimeSpan::Hour();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 wxTimeSpan
* resultptr
;
23940 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23949 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23953 PyObject
* obj0
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "days", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23960 arg1
= (long)(SWIG_As_long(obj0
));
23961 if (SWIG_arg_fail(1)) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= wxTimeSpan::Days(arg1
);
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23971 wxTimeSpan
* resultptr
;
23972 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23981 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23984 char *kwnames
[] = {
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= wxTimeSpan::Day();
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 wxTimeSpan
* resultptr
;
23998 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24007 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24011 PyObject
* obj0
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "days", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24018 arg1
= (long)(SWIG_As_long(obj0
));
24019 if (SWIG_arg_fail(1)) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= wxTimeSpan::Weeks(arg1
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 wxTimeSpan
* resultptr
;
24030 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24039 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24042 char *kwnames
[] = {
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= wxTimeSpan::Week();
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 wxTimeSpan
* resultptr
;
24056 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24065 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 long arg1
= (long) 0 ;
24068 long arg2
= (long) 0 ;
24069 long arg3
= (long) 0 ;
24070 long arg4
= (long) 0 ;
24071 wxTimeSpan
*result
;
24072 PyObject
* obj0
= 0 ;
24073 PyObject
* obj1
= 0 ;
24074 PyObject
* obj2
= 0 ;
24075 PyObject
* obj3
= 0 ;
24076 char *kwnames
[] = {
24077 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24083 arg1
= (long)(SWIG_As_long(obj0
));
24084 if (SWIG_arg_fail(1)) SWIG_fail
;
24089 arg2
= (long)(SWIG_As_long(obj1
));
24090 if (SWIG_arg_fail(2)) SWIG_fail
;
24095 arg3
= (long)(SWIG_As_long(obj2
));
24096 if (SWIG_arg_fail(3)) SWIG_fail
;
24101 arg4
= (long)(SWIG_As_long(obj3
));
24102 if (SWIG_arg_fail(4)) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24119 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24129 if (SWIG_arg_fail(1)) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 Py_INCREF(Py_None
); resultobj
= Py_None
;
24144 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24147 wxTimeSpan
*arg2
= 0 ;
24148 wxTimeSpan
*result
;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self",(char *) "diff", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24157 if (SWIG_arg_fail(1)) SWIG_fail
;
24159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24160 if (SWIG_arg_fail(2)) SWIG_fail
;
24161 if (arg2
== NULL
) {
24162 SWIG_null_ref("wxTimeSpan");
24164 if (SWIG_arg_fail(2)) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24170 result
= (wxTimeSpan
*) &_result_ref
;
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24183 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24186 wxTimeSpan
*arg2
= 0 ;
24187 wxTimeSpan
*result
;
24188 PyObject
* obj0
= 0 ;
24189 PyObject
* obj1
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self",(char *) "diff", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail
;
24198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24199 if (SWIG_arg_fail(2)) SWIG_fail
;
24200 if (arg2
== NULL
) {
24201 SWIG_null_ref("wxTimeSpan");
24203 if (SWIG_arg_fail(2)) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24209 result
= (wxTimeSpan
*) &_result_ref
;
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24222 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24226 wxTimeSpan
*result
;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self",(char *) "n", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24235 if (SWIG_arg_fail(1)) SWIG_fail
;
24237 arg2
= (int)(SWIG_As_int(obj1
));
24238 if (SWIG_arg_fail(2)) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24244 result
= (wxTimeSpan
*) &_result_ref
;
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24257 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24258 PyObject
*resultobj
;
24259 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24260 wxTimeSpan
*result
;
24261 PyObject
* obj0
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24273 result
= (wxTimeSpan
*) &_result_ref
;
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24286 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24297 if (SWIG_arg_fail(1)) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 wxTimeSpan
* resultptr
;
24307 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24316 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24319 wxTimeSpan
*arg2
= 0 ;
24320 wxTimeSpan
*result
;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self",(char *) "diff", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24329 if (SWIG_arg_fail(1)) SWIG_fail
;
24331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24332 if (SWIG_arg_fail(2)) SWIG_fail
;
24333 if (arg2
== NULL
) {
24334 SWIG_null_ref("wxTimeSpan");
24336 if (SWIG_arg_fail(2)) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24342 result
= (wxTimeSpan
*) &_result_ref
;
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24355 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24358 wxTimeSpan
*arg2
= 0 ;
24359 wxTimeSpan
*result
;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self",(char *) "diff", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24368 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(2)) SWIG_fail
;
24372 if (arg2
== NULL
) {
24373 SWIG_null_ref("wxTimeSpan");
24375 if (SWIG_arg_fail(2)) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24381 result
= (wxTimeSpan
*) &_result_ref
;
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24394 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24398 wxTimeSpan
*result
;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self",(char *) "n", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24407 if (SWIG_arg_fail(1)) SWIG_fail
;
24409 arg2
= (int)(SWIG_As_int(obj1
));
24410 if (SWIG_arg_fail(2)) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24416 result
= (wxTimeSpan
*) &_result_ref
;
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24429 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24432 wxTimeSpan
*result
;
24433 PyObject
* obj0
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail
;
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24445 result
= (wxTimeSpan
*) &_result_ref
;
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24458 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24461 wxTimeSpan
*arg2
= 0 ;
24463 PyObject
* obj0
= 0 ;
24464 PyObject
* obj1
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self",(char *) "other", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24471 if (SWIG_arg_fail(1)) SWIG_fail
;
24473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24474 if (SWIG_arg_fail(2)) SWIG_fail
;
24475 if (arg2
== NULL
) {
24476 SWIG_null_ref("wxTimeSpan");
24478 if (SWIG_arg_fail(2)) SWIG_fail
;
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24488 wxTimeSpan
* resultptr
;
24489 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24498 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
;
24500 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24501 wxTimeSpan
*arg2
= 0 ;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 char *kwnames
[] = {
24506 (char *) "self",(char *) "other", NULL
24509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24511 if (SWIG_arg_fail(1)) SWIG_fail
;
24513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24514 if (SWIG_arg_fail(2)) SWIG_fail
;
24515 if (arg2
== NULL
) {
24516 SWIG_null_ref("wxTimeSpan");
24518 if (SWIG_arg_fail(2)) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 wxTimeSpan
* resultptr
;
24529 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24538 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self",(char *) "n", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24551 if (SWIG_arg_fail(1)) SWIG_fail
;
24553 arg2
= (int)(SWIG_As_int(obj1
));
24554 if (SWIG_arg_fail(2)) SWIG_fail
;
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 result
= wxTimeSpan___mul__(arg1
,arg2
);
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24564 wxTimeSpan
* resultptr
;
24565 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24574 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "n", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24587 if (SWIG_arg_fail(1)) SWIG_fail
;
24589 arg2
= (int)(SWIG_As_int(obj1
));
24590 if (SWIG_arg_fail(2)) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24600 wxTimeSpan
* resultptr
;
24601 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24610 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24613 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "other", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24623 if (SWIG_arg_fail(1)) SWIG_fail
;
24624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24625 if (SWIG_arg_fail(2)) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24642 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
;
24644 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24645 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 char *kwnames
[] = {
24650 (char *) "self",(char *) "other", NULL
24653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24655 if (SWIG_arg_fail(1)) SWIG_fail
;
24656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24657 if (SWIG_arg_fail(2)) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24674 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24677 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24679 PyObject
* obj0
= 0 ;
24680 PyObject
* obj1
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self",(char *) "other", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24687 if (SWIG_arg_fail(1)) SWIG_fail
;
24688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24689 if (SWIG_arg_fail(2)) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24706 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24709 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self",(char *) "other", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24719 if (SWIG_arg_fail(1)) SWIG_fail
;
24720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24721 if (SWIG_arg_fail(2)) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24738 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
;
24740 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24741 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24743 PyObject
* obj0
= 0 ;
24744 PyObject
* obj1
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self",(char *) "other", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24751 if (SWIG_arg_fail(1)) SWIG_fail
;
24752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24753 if (SWIG_arg_fail(2)) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24770 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
;
24772 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24773 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 char *kwnames
[] = {
24778 (char *) "self",(char *) "other", NULL
24781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24783 if (SWIG_arg_fail(1)) SWIG_fail
;
24784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24785 if (SWIG_arg_fail(2)) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24802 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24830 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24858 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24886 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24889 wxTimeSpan
*arg2
= 0 ;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self",(char *) "ts", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24899 if (SWIG_arg_fail(1)) SWIG_fail
;
24901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24902 if (SWIG_arg_fail(2)) SWIG_fail
;
24903 if (arg2
== NULL
) {
24904 SWIG_null_ref("wxTimeSpan");
24906 if (SWIG_arg_fail(2)) SWIG_fail
;
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24924 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24927 wxTimeSpan
*arg2
= 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "ts", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail
;
24939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24940 if (SWIG_arg_fail(2)) SWIG_fail
;
24941 if (arg2
== NULL
) {
24942 SWIG_null_ref("wxTimeSpan");
24944 if (SWIG_arg_fail(2)) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24962 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24965 wxTimeSpan
*arg2
= 0 ;
24967 PyObject
* obj0
= 0 ;
24968 PyObject
* obj1
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self",(char *) "t", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24975 if (SWIG_arg_fail(1)) SWIG_fail
;
24977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24978 if (SWIG_arg_fail(2)) SWIG_fail
;
24979 if (arg2
== NULL
) {
24980 SWIG_null_ref("wxTimeSpan");
24982 if (SWIG_arg_fail(2)) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25000 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25004 PyObject
* obj0
= 0 ;
25005 char *kwnames
[] = {
25006 (char *) "self", NULL
25009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25011 if (SWIG_arg_fail(1)) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= SWIG_From_int((int)(result
));
25028 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25032 PyObject
* obj0
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "self", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25039 if (SWIG_arg_fail(1)) SWIG_fail
;
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_From_int((int)(result
));
25056 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
;
25058 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25060 PyObject
* obj0
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25067 if (SWIG_arg_fail(1)) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25076 resultobj
= SWIG_From_int((int)(result
));
25084 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25095 if (SWIG_arg_fail(1)) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_From_int((int)(result
));
25112 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25133 hi
= PyLong_FromLong( (&result
)->GetHi() );
25134 lo
= PyLong_FromLong( (&result
)->GetLo() );
25135 shifter
= PyLong_FromLong(32);
25136 shifted
= PyNumber_Lshift(hi
, shifter
);
25137 resultobj
= PyNumber_Or(shifted
, lo
);
25140 Py_DECREF(shifter
);
25141 Py_DECREF(shifted
);
25149 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "self", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25160 if (SWIG_arg_fail(1)) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25169 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25170 hi
= PyLong_FromLong( (&result
)->GetHi() );
25171 lo
= PyLong_FromLong( (&result
)->GetLo() );
25172 shifter
= PyLong_FromLong(32);
25173 shifted
= PyNumber_Lshift(hi
, shifter
);
25174 resultobj
= PyNumber_Or(shifted
, lo
);
25177 Py_DECREF(shifter
);
25178 Py_DECREF(shifted
);
25186 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25189 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25190 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25192 bool temp2
= false ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self",(char *) "format", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25201 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 arg2
= wxString_in_helper(obj1
);
25205 if (arg2
== NULL
) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25237 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25240 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25242 return Py_BuildValue((char *)"");
25244 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 int arg1
= (int) 0 ;
25247 int arg2
= (int) 0 ;
25248 int arg3
= (int) 0 ;
25249 int arg4
= (int) 0 ;
25250 wxDateSpan
*result
;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 PyObject
* obj2
= 0 ;
25254 PyObject
* obj3
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25262 arg1
= (int)(SWIG_As_int(obj0
));
25263 if (SWIG_arg_fail(1)) SWIG_fail
;
25268 arg2
= (int)(SWIG_As_int(obj1
));
25269 if (SWIG_arg_fail(2)) SWIG_fail
;
25274 arg3
= (int)(SWIG_As_int(obj2
));
25275 if (SWIG_arg_fail(3)) SWIG_fail
;
25280 arg4
= (int)(SWIG_As_int(obj3
));
25281 if (SWIG_arg_fail(4)) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25298 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 Py_INCREF(Py_None
); resultobj
= Py_None
;
25323 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25327 PyObject
* obj0
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "days", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25334 arg1
= (int)(SWIG_As_int(obj0
));
25335 if (SWIG_arg_fail(1)) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= wxDateSpan::Days(arg1
);
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25345 wxDateSpan
* resultptr
;
25346 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25355 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25358 char *kwnames
[] = {
25362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= wxDateSpan::Day();
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25371 wxDateSpan
* resultptr
;
25372 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25381 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25385 PyObject
* obj0
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "weeks", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25392 arg1
= (int)(SWIG_As_int(obj0
));
25393 if (SWIG_arg_fail(1)) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= wxDateSpan::Weeks(arg1
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25403 wxDateSpan
* resultptr
;
25404 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25413 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25416 char *kwnames
[] = {
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= wxDateSpan::Week();
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25429 wxDateSpan
* resultptr
;
25430 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25439 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
;
25443 PyObject
* obj0
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "mon", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25450 arg1
= (int)(SWIG_As_int(obj0
));
25451 if (SWIG_arg_fail(1)) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= wxDateSpan::Months(arg1
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25461 wxDateSpan
* resultptr
;
25462 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25471 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25474 char *kwnames
[] = {
25478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= wxDateSpan::Month();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25487 wxDateSpan
* resultptr
;
25488 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25497 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25501 PyObject
* obj0
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "years", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25508 arg1
= (int)(SWIG_As_int(obj0
));
25509 if (SWIG_arg_fail(1)) SWIG_fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 result
= wxDateSpan::Years(arg1
);
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25519 wxDateSpan
* resultptr
;
25520 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25529 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25532 char *kwnames
[] = {
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= wxDateSpan::Year();
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25545 wxDateSpan
* resultptr
;
25546 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25555 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25559 wxDateSpan
*result
;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char *kwnames
[] = {
25563 (char *) "self",(char *) "n", NULL
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25568 if (SWIG_arg_fail(1)) SWIG_fail
;
25570 arg2
= (int)(SWIG_As_int(obj1
));
25571 if (SWIG_arg_fail(2)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25577 result
= (wxDateSpan
*) &_result_ref
;
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25590 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25594 wxDateSpan
*result
;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self",(char *) "n", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25603 if (SWIG_arg_fail(1)) SWIG_fail
;
25605 arg2
= (int)(SWIG_As_int(obj1
));
25606 if (SWIG_arg_fail(2)) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25612 result
= (wxDateSpan
*) &_result_ref
;
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25625 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25629 wxDateSpan
*result
;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self",(char *) "n", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25638 if (SWIG_arg_fail(1)) SWIG_fail
;
25640 arg2
= (int)(SWIG_As_int(obj1
));
25641 if (SWIG_arg_fail(2)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25647 result
= (wxDateSpan
*) &_result_ref
;
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25660 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25664 wxDateSpan
*result
;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self",(char *) "n", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25673 if (SWIG_arg_fail(1)) SWIG_fail
;
25675 arg2
= (int)(SWIG_As_int(obj1
));
25676 if (SWIG_arg_fail(2)) SWIG_fail
;
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25682 result
= (wxDateSpan
*) &_result_ref
;
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25695 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25699 PyObject
* obj0
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= SWIG_From_int((int)(result
));
25723 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25727 PyObject
* obj0
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self", NULL
25732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25734 if (SWIG_arg_fail(1)) SWIG_fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_From_int((int)(result
));
25751 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25753 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_From_int((int)(result
));
25779 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
;
25781 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25783 PyObject
* obj0
= 0 ;
25784 char *kwnames
[] = {
25785 (char *) "self", NULL
25788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25790 if (SWIG_arg_fail(1)) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_From_int((int)(result
));
25807 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25808 PyObject
*resultobj
;
25809 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25811 PyObject
* obj0
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25818 if (SWIG_arg_fail(1)) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= SWIG_From_int((int)(result
));
25835 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
;
25837 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25838 wxDateSpan
*arg2
= 0 ;
25839 wxDateSpan
*result
;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "other", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25848 if (SWIG_arg_fail(1)) SWIG_fail
;
25850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25851 if (SWIG_arg_fail(2)) SWIG_fail
;
25852 if (arg2
== NULL
) {
25853 SWIG_null_ref("wxDateSpan");
25855 if (SWIG_arg_fail(2)) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25861 result
= (wxDateSpan
*) &_result_ref
;
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25874 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
;
25876 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25877 wxDateSpan
*arg2
= 0 ;
25878 wxDateSpan
*result
;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 char *kwnames
[] = {
25882 (char *) "self",(char *) "other", NULL
25885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25887 if (SWIG_arg_fail(1)) SWIG_fail
;
25889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25890 if (SWIG_arg_fail(2)) SWIG_fail
;
25891 if (arg2
== NULL
) {
25892 SWIG_null_ref("wxDateSpan");
25894 if (SWIG_arg_fail(2)) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25900 result
= (wxDateSpan
*) &_result_ref
;
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25913 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25916 wxDateSpan
*result
;
25917 PyObject
* obj0
= 0 ;
25918 char *kwnames
[] = {
25919 (char *) "self", NULL
25922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25924 if (SWIG_arg_fail(1)) SWIG_fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25929 result
= (wxDateSpan
*) &_result_ref
;
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25942 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25946 wxDateSpan
*result
;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self",(char *) "factor", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail
;
25957 arg2
= (int)(SWIG_As_int(obj1
));
25958 if (SWIG_arg_fail(2)) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25964 result
= (wxDateSpan
*) &_result_ref
;
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25977 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
;
25979 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25980 wxDateSpan
*arg2
= 0 ;
25981 wxDateSpan
*result
;
25982 PyObject
* obj0
= 0 ;
25983 PyObject
* obj1
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self",(char *) "other", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25990 if (SWIG_arg_fail(1)) SWIG_fail
;
25992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25993 if (SWIG_arg_fail(2)) SWIG_fail
;
25994 if (arg2
== NULL
) {
25995 SWIG_null_ref("wxDateSpan");
25997 if (SWIG_arg_fail(2)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26003 result
= (wxDateSpan
*) &_result_ref
;
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26016 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26019 wxDateSpan
*arg2
= 0 ;
26020 wxDateSpan
*result
;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "other", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26029 if (SWIG_arg_fail(1)) SWIG_fail
;
26031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26032 if (SWIG_arg_fail(2)) SWIG_fail
;
26033 if (arg2
== NULL
) {
26034 SWIG_null_ref("wxDateSpan");
26036 if (SWIG_arg_fail(2)) SWIG_fail
;
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26042 result
= (wxDateSpan
*) &_result_ref
;
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26055 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
;
26057 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26058 wxDateSpan
*result
;
26059 PyObject
* obj0
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26066 if (SWIG_arg_fail(1)) SWIG_fail
;
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26071 result
= (wxDateSpan
*) &_result_ref
;
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26084 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26088 wxDateSpan
*result
;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self",(char *) "factor", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26097 if (SWIG_arg_fail(1)) SWIG_fail
;
26099 arg2
= (int)(SWIG_As_int(obj1
));
26100 if (SWIG_arg_fail(2)) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26106 result
= (wxDateSpan
*) &_result_ref
;
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26119 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26122 wxDateSpan
*arg2
= 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self",(char *) "other", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26132 if (SWIG_arg_fail(1)) SWIG_fail
;
26134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26135 if (SWIG_arg_fail(2)) SWIG_fail
;
26136 if (arg2
== NULL
) {
26137 SWIG_null_ref("wxDateSpan");
26139 if (SWIG_arg_fail(2)) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26149 wxDateSpan
* resultptr
;
26150 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26159 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26162 wxDateSpan
*arg2
= 0 ;
26164 PyObject
* obj0
= 0 ;
26165 PyObject
* obj1
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self",(char *) "other", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26172 if (SWIG_arg_fail(1)) SWIG_fail
;
26174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26175 if (SWIG_arg_fail(2)) SWIG_fail
;
26176 if (arg2
== NULL
) {
26177 SWIG_null_ref("wxDateSpan");
26179 if (SWIG_arg_fail(2)) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26189 wxDateSpan
* resultptr
;
26190 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26199 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26200 PyObject
*resultobj
;
26201 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "n", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26214 arg2
= (int)(SWIG_As_int(obj1
));
26215 if (SWIG_arg_fail(2)) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 result
= wxDateSpan___mul__(arg1
,arg2
);
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26225 wxDateSpan
* resultptr
;
26226 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26235 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "n", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26248 if (SWIG_arg_fail(1)) SWIG_fail
;
26250 arg2
= (int)(SWIG_As_int(obj1
));
26251 if (SWIG_arg_fail(2)) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 result
= wxDateSpan___rmul__(arg1
,arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26261 wxDateSpan
* resultptr
;
26262 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26271 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26274 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self",(char *) "other", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(2)) SWIG_fail
;
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26303 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26306 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 char *kwnames
[] = {
26311 (char *) "self",(char *) "other", NULL
26314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail
;
26317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26318 if (SWIG_arg_fail(2)) SWIG_fail
;
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26335 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26338 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26340 return Py_BuildValue((char *)"");
26342 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26345 char *kwnames
[] = {
26349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (long)wxGetLocalTime();
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_From_long((long)(result
));
26366 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26369 char *kwnames
[] = {
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (long)wxGetUTCTime();
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_From_long((long)(result
));
26390 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26393 char *kwnames
[] = {
26397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (long)wxGetCurrentTime();
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_From_long((long)(result
));
26414 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26417 char *kwnames
[] = {
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= wxGetLocalTimeMillis();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26430 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26431 hi
= PyLong_FromLong( (&result
)->GetHi() );
26432 lo
= PyLong_FromLong( (&result
)->GetLo() );
26433 shifter
= PyLong_FromLong(32);
26434 shifted
= PyNumber_Lshift(hi
, shifter
);
26435 resultobj
= PyNumber_Or(shifted
, lo
);
26438 Py_DECREF(shifter
);
26439 Py_DECREF(shifted
);
26447 static int _wrap_DefaultDateTime_set(PyObject
*) {
26448 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26453 static PyObject
*_wrap_DefaultDateTime_get(void) {
26456 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26461 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxDataFormatId arg1
;
26464 wxDataFormat
*result
;
26465 PyObject
* obj0
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "type", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26472 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26473 if (SWIG_arg_fail(1)) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26489 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxString
*arg1
= 0 ;
26492 wxDataFormat
*result
;
26493 bool temp1
= false ;
26494 PyObject
* obj0
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "format", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26501 arg1
= wxString_in_helper(obj0
);
26502 if (arg1
== NULL
) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26527 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26537 if (SWIG_arg_fail(1)) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 Py_INCREF(Py_None
); resultobj
= Py_None
;
26552 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26553 PyObject
*resultobj
;
26554 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26555 wxDataFormatId arg2
;
26557 PyObject
* obj0
= 0 ;
26558 PyObject
* obj1
= 0 ;
26560 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26562 if (SWIG_arg_fail(1)) SWIG_fail
;
26564 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26565 if (SWIG_arg_fail(2)) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26583 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26584 PyObject
*resultobj
;
26585 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26586 wxDataFormatId arg2
;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26591 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26593 if (SWIG_arg_fail(1)) SWIG_fail
;
26595 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26596 if (SWIG_arg_fail(2)) SWIG_fail
;
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26614 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26615 PyObject
*resultobj
;
26616 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26617 wxDataFormat
*arg2
= 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26622 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26624 if (SWIG_arg_fail(1)) SWIG_fail
;
26626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26627 if (SWIG_arg_fail(2)) SWIG_fail
;
26628 if (arg2
== NULL
) {
26629 SWIG_null_ref("wxDataFormat");
26631 if (SWIG_arg_fail(2)) SWIG_fail
;
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26649 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26654 argc
= PyObject_Length(args
);
26655 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26656 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26662 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26672 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26680 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26688 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26696 _v
= SWIG_Check_int(argv
[1]);
26698 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26703 Py_INCREF(Py_NotImplemented
);
26704 return Py_NotImplemented
;
26708 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26709 PyObject
*resultobj
;
26710 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26711 wxDataFormat
*arg2
= 0 ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26716 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail
;
26720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26721 if (SWIG_arg_fail(2)) SWIG_fail
;
26722 if (arg2
== NULL
) {
26723 SWIG_null_ref("wxDataFormat");
26725 if (SWIG_arg_fail(2)) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26743 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26748 argc
= PyObject_Length(args
);
26749 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26750 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26756 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26766 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26774 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26782 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26790 _v
= SWIG_Check_int(argv
[1]);
26792 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26797 Py_INCREF(Py_NotImplemented
);
26798 return Py_NotImplemented
;
26802 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
;
26804 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26805 wxDataFormatId arg2
;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self",(char *) "format", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail
;
26816 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26817 if (SWIG_arg_fail(2)) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 (arg1
)->SetType((wxDataFormatId
)arg2
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 Py_INCREF(Py_None
); resultobj
= Py_None
;
26833 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26836 wxDataFormatId result
;
26837 PyObject
* obj0
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "self", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26844 if (SWIG_arg_fail(1)) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= SWIG_From_int((result
));
26859 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= ((wxDataFormat
const *)arg1
)->GetId();
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26891 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
;
26893 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26894 wxString
*arg2
= 0 ;
26895 bool temp2
= false ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 char *kwnames
[] = {
26899 (char *) "self",(char *) "format", NULL
26902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26904 if (SWIG_arg_fail(1)) SWIG_fail
;
26906 arg2
= wxString_in_helper(obj1
);
26907 if (arg2
== NULL
) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 (arg1
)->SetId((wxString
const &)*arg2
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 Py_INCREF(Py_None
); resultobj
= Py_None
;
26932 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26935 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26937 return Py_BuildValue((char *)"");
26939 static int _wrap_FormatInvalid_set(PyObject
*) {
26940 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26945 static PyObject
*_wrap_FormatInvalid_get(void) {
26948 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26953 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 char *kwnames
[] = {
26958 (char *) "self", NULL
26961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26963 if (SWIG_arg_fail(1)) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 Py_INCREF(Py_None
); resultobj
= Py_None
;
26978 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
;
26980 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26981 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26982 SwigValueWrapper
<wxDataFormat
> result
;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 char *kwnames
[] = {
26986 (char *) "self",(char *) "dir", NULL
26989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26991 if (SWIG_arg_fail(1)) SWIG_fail
;
26994 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26995 if (SWIG_arg_fail(2)) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27006 wxDataFormat
* resultptr
;
27007 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27016 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
;
27018 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27019 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27021 PyObject
* obj0
= 0 ;
27022 PyObject
* obj1
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "dir", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail
;
27032 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27033 if (SWIG_arg_fail(2)) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27052 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27055 wxDataFormat
*arg2
= 0 ;
27056 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27058 PyObject
* obj0
= 0 ;
27059 PyObject
* obj1
= 0 ;
27060 PyObject
* obj2
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self",(char *) "format",(char *) "dir", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27067 if (SWIG_arg_fail(1)) SWIG_fail
;
27069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27070 if (SWIG_arg_fail(2)) SWIG_fail
;
27071 if (arg2
== NULL
) {
27072 SWIG_null_ref("wxDataFormat");
27074 if (SWIG_arg_fail(2)) SWIG_fail
;
27078 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27079 if (SWIG_arg_fail(3)) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27098 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
;
27100 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27101 wxDataFormat
*arg2
= 0 ;
27103 PyObject
* obj0
= 0 ;
27104 PyObject
* obj1
= 0 ;
27105 char *kwnames
[] = {
27106 (char *) "self",(char *) "format", NULL
27109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27111 if (SWIG_arg_fail(1)) SWIG_fail
;
27113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27114 if (SWIG_arg_fail(2)) SWIG_fail
;
27115 if (arg2
== NULL
) {
27116 SWIG_null_ref("wxDataFormat");
27118 if (SWIG_arg_fail(2)) SWIG_fail
;
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27136 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27137 PyObject
*resultobj
;
27138 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27139 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27141 PyObject
* obj0
= 0 ;
27142 PyObject
* obj1
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self",(char *) "dir", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27149 if (SWIG_arg_fail(1)) SWIG_fail
;
27152 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27153 if (SWIG_arg_fail(2)) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= result
;
27170 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27173 wxDataFormat
*arg2
= 0 ;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 char *kwnames
[] = {
27178 (char *) "self",(char *) "format", NULL
27181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27183 if (SWIG_arg_fail(1)) SWIG_fail
;
27185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27186 if (SWIG_arg_fail(2)) SWIG_fail
;
27187 if (arg2
== NULL
) {
27188 SWIG_null_ref("wxDataFormat");
27190 if (SWIG_arg_fail(2)) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27199 resultobj
= result
;
27206 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27209 wxDataFormat
*arg2
= 0 ;
27210 PyObject
*arg3
= (PyObject
*) 0 ;
27212 PyObject
* obj0
= 0 ;
27213 PyObject
* obj1
= 0 ;
27214 PyObject
* obj2
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "format",(char *) "data", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail
;
27223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27224 if (SWIG_arg_fail(2)) SWIG_fail
;
27225 if (arg2
== NULL
) {
27226 SWIG_null_ref("wxDataFormat");
27228 if (SWIG_arg_fail(2)) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27247 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27250 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27252 return Py_BuildValue((char *)"");
27254 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27255 PyObject
*resultobj
;
27256 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27257 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27258 wxDataObjectSimple
*result
;
27259 PyObject
* obj0
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "format", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27268 if (SWIG_arg_fail(1)) SWIG_fail
;
27269 if (arg1
== NULL
) {
27270 SWIG_null_ref("wxDataFormat");
27272 if (SWIG_arg_fail(1)) SWIG_fail
;
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27289 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
;
27291 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27292 wxDataFormat
*result
;
27293 PyObject
* obj0
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27300 if (SWIG_arg_fail(1)) SWIG_fail
;
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27305 result
= (wxDataFormat
*) &_result_ref
;
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27318 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27321 wxDataFormat
*arg2
= 0 ;
27322 PyObject
* obj0
= 0 ;
27323 PyObject
* obj1
= 0 ;
27324 char *kwnames
[] = {
27325 (char *) "self",(char *) "format", NULL
27328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27330 if (SWIG_arg_fail(1)) SWIG_fail
;
27332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27333 if (SWIG_arg_fail(2)) SWIG_fail
;
27334 if (arg2
== NULL
) {
27335 SWIG_null_ref("wxDataFormat");
27337 if (SWIG_arg_fail(2)) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 Py_INCREF(Py_None
); resultobj
= Py_None
;
27353 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27364 if (SWIG_arg_fail(1)) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27381 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27400 resultobj
= result
;
27407 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27408 PyObject
*resultobj
;
27409 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27410 PyObject
*arg2
= (PyObject
*) 0 ;
27412 PyObject
* obj0
= 0 ;
27413 PyObject
* obj1
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "self",(char *) "data", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27420 if (SWIG_arg_fail(1)) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27438 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27441 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27443 return Py_BuildValue((char *)"");
27445 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27446 PyObject
*resultobj
;
27447 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27448 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27449 wxPyDataObjectSimple
*result
;
27450 PyObject
* obj0
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "format", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27459 if (SWIG_arg_fail(1)) SWIG_fail
;
27460 if (arg1
== NULL
) {
27461 SWIG_null_ref("wxDataFormat");
27463 if (SWIG_arg_fail(1)) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27480 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27483 PyObject
*arg2
= (PyObject
*) 0 ;
27484 PyObject
*arg3
= (PyObject
*) 0 ;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 PyObject
* obj2
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "self",(char *) "_class", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 Py_INCREF(Py_None
); resultobj
= Py_None
;
27511 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27514 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27516 return Py_BuildValue((char *)"");
27518 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxDataObjectComposite
*result
;
27521 char *kwnames
[] = {
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27540 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27543 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27544 bool arg3
= (bool) false ;
27545 PyObject
* obj0
= 0 ;
27546 PyObject
* obj1
= 0 ;
27547 PyObject
* obj2
= 0 ;
27548 char *kwnames
[] = {
27549 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27554 if (SWIG_arg_fail(1)) SWIG_fail
;
27555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27556 if (SWIG_arg_fail(2)) SWIG_fail
;
27559 arg3
= (bool)(SWIG_As_bool(obj2
));
27560 if (SWIG_arg_fail(3)) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 (arg1
)->Add(arg2
,arg3
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 Py_INCREF(Py_None
); resultobj
= Py_None
;
27577 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27580 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27582 return Py_BuildValue((char *)"");
27584 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
;
27586 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27587 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27588 wxTextDataObject
*result
;
27589 bool temp1
= false ;
27590 PyObject
* obj0
= 0 ;
27591 char *kwnames
[] = {
27592 (char *) "text", NULL
27595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27598 arg1
= wxString_in_helper(obj0
);
27599 if (arg1
== NULL
) SWIG_fail
;
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27625 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27629 PyObject
* obj0
= 0 ;
27630 char *kwnames
[] = {
27631 (char *) "self", NULL
27634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27636 if (SWIG_arg_fail(1)) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (size_t)(arg1
)->GetTextLength();
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27653 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
;
27655 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27657 PyObject
* obj0
= 0 ;
27658 char *kwnames
[] = {
27659 (char *) "self", NULL
27662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27664 if (SWIG_arg_fail(1)) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 result
= (arg1
)->GetText();
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27685 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27688 wxString
*arg2
= 0 ;
27689 bool temp2
= false ;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self",(char *) "text", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail
;
27700 arg2
= wxString_in_helper(obj1
);
27701 if (arg2
== NULL
) SWIG_fail
;
27705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 (arg1
)->SetText((wxString
const &)*arg2
);
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 Py_INCREF(Py_None
); resultobj
= Py_None
;
27726 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27729 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27731 return Py_BuildValue((char *)"");
27733 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27736 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27737 wxPyTextDataObject
*result
;
27738 bool temp1
= false ;
27739 PyObject
* obj0
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "text", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27747 arg1
= wxString_in_helper(obj0
);
27748 if (arg1
== NULL
) SWIG_fail
;
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27774 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27777 PyObject
*arg2
= (PyObject
*) 0 ;
27778 PyObject
*arg3
= (PyObject
*) 0 ;
27779 PyObject
* obj0
= 0 ;
27780 PyObject
* obj1
= 0 ;
27781 PyObject
* obj2
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "self",(char *) "self",(char *) "_class", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27788 if (SWIG_arg_fail(1)) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27805 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27808 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27810 return Py_BuildValue((char *)"");
27812 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
;
27814 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27815 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27816 wxBitmapDataObject
*result
;
27817 PyObject
* obj0
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "bitmap", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27826 if (SWIG_arg_fail(1)) SWIG_fail
;
27827 if (arg1
== NULL
) {
27828 SWIG_null_ref("wxBitmap");
27830 if (SWIG_arg_fail(1)) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27847 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 wxBitmap
* resultptr
;
27868 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27877 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27880 wxBitmap
*arg2
= 0 ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 char *kwnames
[] = {
27884 (char *) "self",(char *) "bitmap", NULL
27887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27889 if (SWIG_arg_fail(1)) SWIG_fail
;
27891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27892 if (SWIG_arg_fail(2)) SWIG_fail
;
27893 if (arg2
== NULL
) {
27894 SWIG_null_ref("wxBitmap");
27896 if (SWIG_arg_fail(2)) SWIG_fail
;
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 Py_INCREF(Py_None
); resultobj
= Py_None
;
27912 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27915 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27917 return Py_BuildValue((char *)"");
27919 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27920 PyObject
*resultobj
;
27921 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27922 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27923 wxPyBitmapDataObject
*result
;
27924 PyObject
* obj0
= 0 ;
27925 char *kwnames
[] = {
27926 (char *) "bitmap", NULL
27929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27933 if (SWIG_arg_fail(1)) SWIG_fail
;
27934 if (arg1
== NULL
) {
27935 SWIG_null_ref("wxBitmap");
27937 if (SWIG_arg_fail(1)) SWIG_fail
;
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27954 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
;
27956 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27957 PyObject
*arg2
= (PyObject
*) 0 ;
27958 PyObject
*arg3
= (PyObject
*) 0 ;
27959 PyObject
* obj0
= 0 ;
27960 PyObject
* obj1
= 0 ;
27961 PyObject
* obj2
= 0 ;
27962 char *kwnames
[] = {
27963 (char *) "self",(char *) "self",(char *) "_class", NULL
27966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27968 if (SWIG_arg_fail(1)) SWIG_fail
;
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 Py_INCREF(Py_None
); resultobj
= Py_None
;
27985 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27988 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27990 return Py_BuildValue((char *)"");
27992 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
;
27994 wxFileDataObject
*result
;
27995 char *kwnames
[] = {
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 result
= (wxFileDataObject
*)new wxFileDataObject();
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28014 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28017 wxArrayString
*result
;
28018 PyObject
* obj0
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28025 if (SWIG_arg_fail(1)) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28030 result
= (wxArrayString
*) &_result_ref
;
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= wxArrayString2PyList_helper(*result
);
28045 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28048 wxString
*arg2
= 0 ;
28049 bool temp2
= false ;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "filename", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail
;
28060 arg2
= wxString_in_helper(obj1
);
28061 if (arg2
== NULL
) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 (arg1
)->AddFile((wxString
const &)*arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28089 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28091 return Py_BuildValue((char *)"");
28093 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28094 PyObject
*resultobj
;
28095 wxDataFormat
*arg1
= 0 ;
28096 wxCustomDataObject
*result
;
28097 PyObject
* obj0
= 0 ;
28099 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28102 if (SWIG_arg_fail(1)) SWIG_fail
;
28103 if (arg1
== NULL
) {
28104 SWIG_null_ref("wxDataFormat");
28106 if (SWIG_arg_fail(1)) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28122 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28123 PyObject
*resultobj
;
28124 wxString
*arg1
= 0 ;
28125 wxCustomDataObject
*result
;
28126 bool temp1
= false ;
28127 PyObject
* obj0
= 0 ;
28129 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28131 arg1
= wxString_in_helper(obj0
);
28132 if (arg1
== NULL
) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28157 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28158 PyObject
*resultobj
;
28159 wxCustomDataObject
*result
;
28161 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28164 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28176 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28181 argc
= PyObject_Length(args
);
28182 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28183 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28186 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28191 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28194 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28201 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28209 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28213 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28218 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
;
28220 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28221 PyObject
*arg2
= (PyObject
*) 0 ;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self",(char *) "data", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28231 if (SWIG_arg_fail(1)) SWIG_fail
;
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28249 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28253 PyObject
* obj0
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28260 if (SWIG_arg_fail(1)) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 result
= (size_t)(arg1
)->GetSize();
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28277 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28281 PyObject
* obj0
= 0 ;
28282 char *kwnames
[] = {
28283 (char *) "self", NULL
28286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28288 if (SWIG_arg_fail(1)) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 resultobj
= result
;
28303 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28306 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28308 return Py_BuildValue((char *)"");
28310 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxURLDataObject
*result
;
28313 char *kwnames
[] = {
28317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 result
= (wxURLDataObject
*)new wxURLDataObject();
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28332 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28336 PyObject
* obj0
= 0 ;
28337 char *kwnames
[] = {
28338 (char *) "self", NULL
28341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28343 if (SWIG_arg_fail(1)) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= (arg1
)->GetURL();
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28364 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28367 wxString
*arg2
= 0 ;
28368 bool temp2
= false ;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self",(char *) "url", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28377 if (SWIG_arg_fail(1)) SWIG_fail
;
28379 arg2
= wxString_in_helper(obj1
);
28380 if (arg2
== NULL
) SWIG_fail
;
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 (arg1
)->SetURL((wxString
const &)*arg2
);
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28390 Py_INCREF(Py_None
); resultobj
= Py_None
;
28405 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28408 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28410 return Py_BuildValue((char *)"");
28412 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxMetafileDataObject
*result
;
28415 char *kwnames
[] = {
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28424 wxPyEndAllowThreads(__tstate
);
28425 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28434 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
;
28436 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28437 wxMetafile
*arg2
= 0 ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "metafile", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28446 if (SWIG_arg_fail(1)) SWIG_fail
;
28448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28449 if (SWIG_arg_fail(2)) SWIG_fail
;
28450 if (arg2
== NULL
) {
28451 SWIG_null_ref("wxMetafile");
28453 if (SWIG_arg_fail(2)) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 Py_INCREF(Py_None
); resultobj
= Py_None
;
28469 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28473 PyObject
* obj0
= 0 ;
28474 char *kwnames
[] = {
28475 (char *) "self", NULL
28478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28480 if (SWIG_arg_fail(1)) SWIG_fail
;
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28489 wxMetafile
* resultptr
;
28490 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28499 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28502 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28504 return Py_BuildValue((char *)"");
28506 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxDragResult arg1
;
28510 PyObject
* obj0
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "res", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28517 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28518 if (SWIG_arg_fail(1)) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28536 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
;
28538 wxWindow
*arg1
= (wxWindow
*) 0 ;
28539 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28540 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28541 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28542 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28543 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28544 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28545 wxPyDropSource
*result
;
28546 PyObject
* obj0
= 0 ;
28547 PyObject
* obj1
= 0 ;
28548 PyObject
* obj2
= 0 ;
28549 PyObject
* obj3
= 0 ;
28550 char *kwnames
[] = {
28551 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28556 if (SWIG_arg_fail(1)) SWIG_fail
;
28559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28560 if (SWIG_arg_fail(2)) SWIG_fail
;
28561 if (arg2
== NULL
) {
28562 SWIG_null_ref("wxCursor");
28564 if (SWIG_arg_fail(2)) SWIG_fail
;
28569 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28570 if (SWIG_arg_fail(3)) SWIG_fail
;
28571 if (arg3
== NULL
) {
28572 SWIG_null_ref("wxCursor");
28574 if (SWIG_arg_fail(3)) SWIG_fail
;
28579 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28580 if (SWIG_arg_fail(4)) SWIG_fail
;
28581 if (arg4
== NULL
) {
28582 SWIG_null_ref("wxCursor");
28584 if (SWIG_arg_fail(4)) SWIG_fail
;
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28601 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28604 PyObject
*arg2
= (PyObject
*) 0 ;
28605 PyObject
*arg3
= (PyObject
*) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 PyObject
* obj2
= 0 ;
28610 PyObject
* obj3
= 0 ;
28611 char *kwnames
[] = {
28612 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28617 if (SWIG_arg_fail(1)) SWIG_fail
;
28621 arg4
= (int)(SWIG_As_int(obj3
));
28622 if (SWIG_arg_fail(4)) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 Py_INCREF(Py_None
); resultobj
= Py_None
;
28638 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28641 PyObject
* obj0
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "self", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 Py_INCREF(Py_None
); resultobj
= Py_None
;
28663 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28664 PyObject
*resultobj
;
28665 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28666 wxDataObject
*arg2
= 0 ;
28667 PyObject
* obj0
= 0 ;
28668 PyObject
* obj1
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self",(char *) "data", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail
;
28677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28678 if (SWIG_arg_fail(2)) SWIG_fail
;
28679 if (arg2
== NULL
) {
28680 SWIG_null_ref("wxDataObject");
28682 if (SWIG_arg_fail(2)) SWIG_fail
;
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 (arg1
)->SetData(*arg2
);
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28691 Py_INCREF(Py_None
); resultobj
= Py_None
;
28698 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28701 wxDataObject
*result
;
28702 PyObject
* obj0
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28724 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28727 wxDragResult arg2
;
28728 wxCursor
*arg3
= 0 ;
28729 PyObject
* obj0
= 0 ;
28730 PyObject
* obj1
= 0 ;
28731 PyObject
* obj2
= 0 ;
28732 char *kwnames
[] = {
28733 (char *) "self",(char *) "res",(char *) "cursor", NULL
28736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28738 if (SWIG_arg_fail(1)) SWIG_fail
;
28740 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28741 if (SWIG_arg_fail(2)) SWIG_fail
;
28744 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28745 if (SWIG_arg_fail(3)) SWIG_fail
;
28746 if (arg3
== NULL
) {
28747 SWIG_null_ref("wxCursor");
28749 if (SWIG_arg_fail(3)) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 Py_INCREF(Py_None
); resultobj
= Py_None
;
28765 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28768 int arg2
= (int) wxDrag_CopyOnly
;
28769 wxDragResult result
;
28770 PyObject
* obj0
= 0 ;
28771 PyObject
* obj1
= 0 ;
28772 char *kwnames
[] = {
28773 (char *) "self",(char *) "flags", NULL
28776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28778 if (SWIG_arg_fail(1)) SWIG_fail
;
28781 arg2
= (int)(SWIG_As_int(obj1
));
28782 if (SWIG_arg_fail(2)) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= SWIG_From_int((result
));
28799 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
;
28801 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28802 wxDragResult arg2
;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "self",(char *) "effect", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28812 if (SWIG_arg_fail(1)) SWIG_fail
;
28814 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28815 if (SWIG_arg_fail(2)) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28833 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28836 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28838 return Py_BuildValue((char *)"");
28840 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28841 PyObject
*resultobj
;
28842 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28843 wxPyDropTarget
*result
;
28844 PyObject
* obj0
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "dataObject", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28852 if (SWIG_arg_fail(1)) SWIG_fail
;
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28868 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28871 PyObject
*arg2
= (PyObject
*) 0 ;
28872 PyObject
*arg3
= (PyObject
*) 0 ;
28873 PyObject
* obj0
= 0 ;
28874 PyObject
* obj1
= 0 ;
28875 PyObject
* obj2
= 0 ;
28876 char *kwnames
[] = {
28877 (char *) "self",(char *) "self",(char *) "_class", NULL
28880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28882 if (SWIG_arg_fail(1)) SWIG_fail
;
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 Py_INCREF(Py_None
); resultobj
= Py_None
;
28899 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28900 PyObject
*resultobj
;
28901 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28902 PyObject
* obj0
= 0 ;
28903 char *kwnames
[] = {
28904 (char *) "self", NULL
28907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28909 if (SWIG_arg_fail(1)) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 Py_INCREF(Py_None
); resultobj
= Py_None
;
28924 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28927 wxDataObject
*result
;
28928 PyObject
* obj0
= 0 ;
28929 char *kwnames
[] = {
28930 (char *) "self", NULL
28933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28935 if (SWIG_arg_fail(1)) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28950 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
;
28952 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28953 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28954 PyObject
* obj0
= 0 ;
28955 PyObject
* obj1
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self",(char *) "dataObject", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28962 if (SWIG_arg_fail(1)) SWIG_fail
;
28963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28964 if (SWIG_arg_fail(2)) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 (arg1
)->SetDataObject(arg2
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 Py_INCREF(Py_None
); resultobj
= Py_None
;
28979 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
;
28981 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28984 wxDragResult arg4
;
28985 wxDragResult result
;
28986 PyObject
* obj0
= 0 ;
28987 PyObject
* obj1
= 0 ;
28988 PyObject
* obj2
= 0 ;
28989 PyObject
* obj3
= 0 ;
28990 char *kwnames
[] = {
28991 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28996 if (SWIG_arg_fail(1)) SWIG_fail
;
28998 arg2
= (int)(SWIG_As_int(obj1
));
28999 if (SWIG_arg_fail(2)) SWIG_fail
;
29002 arg3
= (int)(SWIG_As_int(obj2
));
29003 if (SWIG_arg_fail(3)) SWIG_fail
;
29006 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29007 if (SWIG_arg_fail(4)) SWIG_fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_From_int((result
));
29023 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
;
29025 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29028 wxDragResult arg4
;
29029 wxDragResult result
;
29030 PyObject
* obj0
= 0 ;
29031 PyObject
* obj1
= 0 ;
29032 PyObject
* obj2
= 0 ;
29033 PyObject
* obj3
= 0 ;
29034 char *kwnames
[] = {
29035 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29040 if (SWIG_arg_fail(1)) SWIG_fail
;
29042 arg2
= (int)(SWIG_As_int(obj1
));
29043 if (SWIG_arg_fail(2)) SWIG_fail
;
29046 arg3
= (int)(SWIG_As_int(obj2
));
29047 if (SWIG_arg_fail(3)) SWIG_fail
;
29050 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29051 if (SWIG_arg_fail(4)) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 resultobj
= SWIG_From_int((result
));
29067 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
;
29069 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29070 PyObject
* obj0
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "self", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29077 if (SWIG_arg_fail(1)) SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 (arg1
)->base_OnLeave();
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 Py_INCREF(Py_None
); resultobj
= Py_None
;
29092 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29098 PyObject
* obj0
= 0 ;
29099 PyObject
* obj1
= 0 ;
29100 PyObject
* obj2
= 0 ;
29101 char *kwnames
[] = {
29102 (char *) "self",(char *) "x",(char *) "y", NULL
29105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29107 if (SWIG_arg_fail(1)) SWIG_fail
;
29109 arg2
= (int)(SWIG_As_int(obj1
));
29110 if (SWIG_arg_fail(2)) SWIG_fail
;
29113 arg3
= (int)(SWIG_As_int(obj2
));
29114 if (SWIG_arg_fail(3)) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29132 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
;
29134 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29136 PyObject
* obj0
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= (bool)(arg1
)->GetData();
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29160 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29163 wxDragResult arg2
;
29164 PyObject
* obj0
= 0 ;
29165 PyObject
* obj1
= 0 ;
29166 char *kwnames
[] = {
29167 (char *) "self",(char *) "action", NULL
29170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29172 if (SWIG_arg_fail(1)) SWIG_fail
;
29174 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29175 if (SWIG_arg_fail(2)) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 Py_INCREF(Py_None
); resultobj
= Py_None
;
29191 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29192 PyObject
*resultobj
;
29193 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29194 wxDragResult result
;
29195 PyObject
* obj0
= 0 ;
29196 char *kwnames
[] = {
29197 (char *) "self", NULL
29200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29202 if (SWIG_arg_fail(1)) SWIG_fail
;
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_From_int((result
));
29217 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29220 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29222 return Py_BuildValue((char *)"");
29224 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29225 PyObject
*resultobj
;
29226 wxPyTextDropTarget
*result
;
29227 char *kwnames
[] = {
29231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29246 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29249 PyObject
*arg2
= (PyObject
*) 0 ;
29250 PyObject
*arg3
= (PyObject
*) 0 ;
29251 PyObject
* obj0
= 0 ;
29252 PyObject
* obj1
= 0 ;
29253 PyObject
* obj2
= 0 ;
29254 char *kwnames
[] = {
29255 (char *) "self",(char *) "self",(char *) "_class", NULL
29258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29260 if (SWIG_arg_fail(1)) SWIG_fail
;
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 Py_INCREF(Py_None
); resultobj
= Py_None
;
29277 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
;
29279 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29282 wxDragResult arg4
;
29283 wxDragResult result
;
29284 PyObject
* obj0
= 0 ;
29285 PyObject
* obj1
= 0 ;
29286 PyObject
* obj2
= 0 ;
29287 PyObject
* obj3
= 0 ;
29288 char *kwnames
[] = {
29289 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29294 if (SWIG_arg_fail(1)) SWIG_fail
;
29296 arg2
= (int)(SWIG_As_int(obj1
));
29297 if (SWIG_arg_fail(2)) SWIG_fail
;
29300 arg3
= (int)(SWIG_As_int(obj2
));
29301 if (SWIG_arg_fail(3)) SWIG_fail
;
29304 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29305 if (SWIG_arg_fail(4)) SWIG_fail
;
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= SWIG_From_int((result
));
29321 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29322 PyObject
*resultobj
;
29323 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29326 wxDragResult arg4
;
29327 wxDragResult result
;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 PyObject
* obj2
= 0 ;
29331 PyObject
* obj3
= 0 ;
29332 char *kwnames
[] = {
29333 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail
;
29340 arg2
= (int)(SWIG_As_int(obj1
));
29341 if (SWIG_arg_fail(2)) SWIG_fail
;
29344 arg3
= (int)(SWIG_As_int(obj2
));
29345 if (SWIG_arg_fail(3)) SWIG_fail
;
29348 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29349 if (SWIG_arg_fail(4)) SWIG_fail
;
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29358 resultobj
= SWIG_From_int((result
));
29365 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
;
29367 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29375 if (SWIG_arg_fail(1)) SWIG_fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 (arg1
)->base_OnLeave();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 Py_INCREF(Py_None
); resultobj
= Py_None
;
29390 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
;
29392 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29396 PyObject
* obj0
= 0 ;
29397 PyObject
* obj1
= 0 ;
29398 PyObject
* obj2
= 0 ;
29399 char *kwnames
[] = {
29400 (char *) "self",(char *) "x",(char *) "y", NULL
29403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29405 if (SWIG_arg_fail(1)) SWIG_fail
;
29407 arg2
= (int)(SWIG_As_int(obj1
));
29408 if (SWIG_arg_fail(2)) SWIG_fail
;
29411 arg3
= (int)(SWIG_As_int(obj2
));
29412 if (SWIG_arg_fail(3)) SWIG_fail
;
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29430 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29435 wxDragResult arg4
;
29436 wxDragResult result
;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 PyObject
* obj2
= 0 ;
29440 PyObject
* obj3
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29447 if (SWIG_arg_fail(1)) SWIG_fail
;
29449 arg2
= (int)(SWIG_As_int(obj1
));
29450 if (SWIG_arg_fail(2)) SWIG_fail
;
29453 arg3
= (int)(SWIG_As_int(obj2
));
29454 if (SWIG_arg_fail(3)) SWIG_fail
;
29457 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29458 if (SWIG_arg_fail(4)) SWIG_fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_From_int((result
));
29474 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29477 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29479 return Py_BuildValue((char *)"");
29481 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
;
29483 wxPyFileDropTarget
*result
;
29484 char *kwnames
[] = {
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29503 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
;
29505 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29506 PyObject
*arg2
= (PyObject
*) 0 ;
29507 PyObject
*arg3
= (PyObject
*) 0 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 PyObject
* obj2
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self",(char *) "self",(char *) "_class", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29517 if (SWIG_arg_fail(1)) SWIG_fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 Py_INCREF(Py_None
); resultobj
= Py_None
;
29534 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
;
29536 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29539 wxDragResult arg4
;
29540 wxDragResult result
;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 PyObject
* obj2
= 0 ;
29544 PyObject
* obj3
= 0 ;
29545 char *kwnames
[] = {
29546 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29551 if (SWIG_arg_fail(1)) SWIG_fail
;
29553 arg2
= (int)(SWIG_As_int(obj1
));
29554 if (SWIG_arg_fail(2)) SWIG_fail
;
29557 arg3
= (int)(SWIG_As_int(obj2
));
29558 if (SWIG_arg_fail(3)) SWIG_fail
;
29561 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29562 if (SWIG_arg_fail(4)) SWIG_fail
;
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= SWIG_From_int((result
));
29578 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29579 PyObject
*resultobj
;
29580 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29583 wxDragResult arg4
;
29584 wxDragResult result
;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 PyObject
* obj2
= 0 ;
29588 PyObject
* obj3
= 0 ;
29589 char *kwnames
[] = {
29590 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29595 if (SWIG_arg_fail(1)) SWIG_fail
;
29597 arg2
= (int)(SWIG_As_int(obj1
));
29598 if (SWIG_arg_fail(2)) SWIG_fail
;
29601 arg3
= (int)(SWIG_As_int(obj2
));
29602 if (SWIG_arg_fail(3)) SWIG_fail
;
29605 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29606 if (SWIG_arg_fail(4)) SWIG_fail
;
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29612 wxPyEndAllowThreads(__tstate
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= SWIG_From_int((result
));
29622 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29625 PyObject
* obj0
= 0 ;
29626 char *kwnames
[] = {
29627 (char *) "self", NULL
29630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29632 if (SWIG_arg_fail(1)) SWIG_fail
;
29634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 (arg1
)->base_OnLeave();
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 Py_INCREF(Py_None
); resultobj
= Py_None
;
29647 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 PyObject
* obj2
= 0 ;
29656 char *kwnames
[] = {
29657 (char *) "self",(char *) "x",(char *) "y", NULL
29660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29662 if (SWIG_arg_fail(1)) SWIG_fail
;
29664 arg2
= (int)(SWIG_As_int(obj1
));
29665 if (SWIG_arg_fail(2)) SWIG_fail
;
29668 arg3
= (int)(SWIG_As_int(obj2
));
29669 if (SWIG_arg_fail(3)) SWIG_fail
;
29672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29673 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29687 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
;
29689 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29692 wxDragResult arg4
;
29693 wxDragResult result
;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 PyObject
* obj2
= 0 ;
29697 PyObject
* obj3
= 0 ;
29698 char *kwnames
[] = {
29699 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29704 if (SWIG_arg_fail(1)) SWIG_fail
;
29706 arg2
= (int)(SWIG_As_int(obj1
));
29707 if (SWIG_arg_fail(2)) SWIG_fail
;
29710 arg3
= (int)(SWIG_As_int(obj2
));
29711 if (SWIG_arg_fail(3)) SWIG_fail
;
29714 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29715 if (SWIG_arg_fail(4)) SWIG_fail
;
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= SWIG_From_int((result
));
29731 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29734 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29736 return Py_BuildValue((char *)"");
29738 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29739 PyObject
*resultobj
;
29740 wxClipboard
*result
;
29741 char *kwnames
[] = {
29745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= (wxClipboard
*)new wxClipboard();
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29760 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
;
29762 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29763 PyObject
* obj0
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "self", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29770 if (SWIG_arg_fail(1)) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 Py_INCREF(Py_None
); resultobj
= Py_None
;
29785 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29786 PyObject
*resultobj
;
29787 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29789 PyObject
* obj0
= 0 ;
29790 char *kwnames
[] = {
29791 (char *) "self", NULL
29794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29796 if (SWIG_arg_fail(1)) SWIG_fail
;
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 result
= (bool)(arg1
)->Open();
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29813 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
;
29815 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29816 PyObject
* obj0
= 0 ;
29817 char *kwnames
[] = {
29818 (char *) "self", NULL
29821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29823 if (SWIG_arg_fail(1)) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 Py_INCREF(Py_None
); resultobj
= Py_None
;
29838 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29842 PyObject
* obj0
= 0 ;
29843 char *kwnames
[] = {
29844 (char *) "self", NULL
29847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29849 if (SWIG_arg_fail(1)) SWIG_fail
;
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29852 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29866 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29869 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29871 PyObject
* obj0
= 0 ;
29872 PyObject
* obj1
= 0 ;
29873 char *kwnames
[] = {
29874 (char *) "self",(char *) "data", NULL
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail
;
29880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29881 if (SWIG_arg_fail(2)) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (bool)(arg1
)->AddData(arg2
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29898 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29899 PyObject
*resultobj
;
29900 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29901 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29903 PyObject
* obj0
= 0 ;
29904 PyObject
* obj1
= 0 ;
29905 char *kwnames
[] = {
29906 (char *) "self",(char *) "data", NULL
29909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29911 if (SWIG_arg_fail(1)) SWIG_fail
;
29912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29913 if (SWIG_arg_fail(2)) SWIG_fail
;
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 result
= (bool)(arg1
)->SetData(arg2
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29930 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
;
29932 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29933 wxDataFormat
*arg2
= 0 ;
29935 PyObject
* obj0
= 0 ;
29936 PyObject
* obj1
= 0 ;
29937 char *kwnames
[] = {
29938 (char *) "self",(char *) "format", NULL
29941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29943 if (SWIG_arg_fail(1)) SWIG_fail
;
29945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29946 if (SWIG_arg_fail(2)) SWIG_fail
;
29947 if (arg2
== NULL
) {
29948 SWIG_null_ref("wxDataFormat");
29950 if (SWIG_arg_fail(2)) SWIG_fail
;
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29968 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
;
29970 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29971 wxDataObject
*arg2
= 0 ;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 char *kwnames
[] = {
29976 (char *) "self",(char *) "data", NULL
29979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29981 if (SWIG_arg_fail(1)) SWIG_fail
;
29983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(2)) SWIG_fail
;
29985 if (arg2
== NULL
) {
29986 SWIG_null_ref("wxDataObject");
29988 if (SWIG_arg_fail(2)) SWIG_fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= (bool)(arg1
)->GetData(*arg2
);
29994 wxPyEndAllowThreads(__tstate
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30006 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
;
30008 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30009 PyObject
* obj0
= 0 ;
30010 char *kwnames
[] = {
30011 (char *) "self", NULL
30014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30016 if (SWIG_arg_fail(1)) SWIG_fail
;
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30024 Py_INCREF(Py_None
); resultobj
= Py_None
;
30031 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
;
30033 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30035 PyObject
* obj0
= 0 ;
30036 char *kwnames
[] = {
30037 (char *) "self", NULL
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30042 if (SWIG_arg_fail(1)) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (bool)(arg1
)->Flush();
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30059 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
;
30061 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30062 bool arg2
= (bool) true ;
30063 PyObject
* obj0
= 0 ;
30064 PyObject
* obj1
= 0 ;
30065 char *kwnames
[] = {
30066 (char *) "self",(char *) "primary", NULL
30069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30071 if (SWIG_arg_fail(1)) SWIG_fail
;
30074 arg2
= (bool)(SWIG_As_bool(obj1
));
30075 if (SWIG_arg_fail(2)) SWIG_fail
;
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 (arg1
)->UsePrimarySelection(arg2
);
30082 wxPyEndAllowThreads(__tstate
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 Py_INCREF(Py_None
); resultobj
= Py_None
;
30092 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
;
30094 wxClipboard
*result
;
30095 char *kwnames
[] = {
30099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 result
= (wxClipboard
*)wxClipboard::Get();
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30114 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30117 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30119 return Py_BuildValue((char *)"");
30121 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
;
30123 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30124 wxClipboardLocker
*result
;
30125 PyObject
* obj0
= 0 ;
30126 char *kwnames
[] = {
30127 (char *) "clipboard", NULL
30130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30133 if (SWIG_arg_fail(1)) SWIG_fail
;
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30149 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
;
30151 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30152 PyObject
* obj0
= 0 ;
30153 char *kwnames
[] = {
30154 (char *) "self", NULL
30157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30159 if (SWIG_arg_fail(1)) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 Py_INCREF(Py_None
); resultobj
= Py_None
;
30174 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30185 if (SWIG_arg_fail(1)) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30202 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30205 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30207 return Py_BuildValue((char *)"");
30209 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 int arg1
= (int) 0 ;
30212 int arg2
= (int) 0 ;
30213 int arg3
= (int) 0 ;
30214 int arg4
= (int) 0 ;
30215 wxVideoMode
*result
;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 PyObject
* obj2
= 0 ;
30219 PyObject
* obj3
= 0 ;
30220 char *kwnames
[] = {
30221 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30227 arg1
= (int)(SWIG_As_int(obj0
));
30228 if (SWIG_arg_fail(1)) SWIG_fail
;
30233 arg2
= (int)(SWIG_As_int(obj1
));
30234 if (SWIG_arg_fail(2)) SWIG_fail
;
30239 arg3
= (int)(SWIG_As_int(obj2
));
30240 if (SWIG_arg_fail(3)) SWIG_fail
;
30245 arg4
= (int)(SWIG_As_int(obj3
));
30246 if (SWIG_arg_fail(4)) SWIG_fail
;
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30263 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30266 PyObject
* obj0
= 0 ;
30267 char *kwnames
[] = {
30268 (char *) "self", NULL
30271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30273 if (SWIG_arg_fail(1)) SWIG_fail
;
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 Py_INCREF(Py_None
); resultobj
= Py_None
;
30288 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30291 wxVideoMode
*arg2
= 0 ;
30293 PyObject
* obj0
= 0 ;
30294 PyObject
* obj1
= 0 ;
30295 char *kwnames
[] = {
30296 (char *) "self",(char *) "other", NULL
30299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30301 if (SWIG_arg_fail(1)) SWIG_fail
;
30303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30304 if (SWIG_arg_fail(2)) SWIG_fail
;
30305 if (arg2
== NULL
) {
30306 SWIG_null_ref("wxVideoMode");
30308 if (SWIG_arg_fail(2)) SWIG_fail
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30326 static PyObject
*_wrap_VideoMode_GetWidth(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_GetWidth",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
)->GetWidth();
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_From_int((int)(result
));
30354 static PyObject
*_wrap_VideoMode_GetHeight(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_GetHeight",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
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= SWIG_From_int((int)(result
));
30382 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 char *kwnames
[] = {
30388 (char *) "self", NULL
30391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30393 if (SWIG_arg_fail(1)) SWIG_fail
;
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= SWIG_From_int((int)(result
));
30410 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
;
30412 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30414 PyObject
* obj0
= 0 ;
30415 char *kwnames
[] = {
30416 (char *) "self", NULL
30419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30421 if (SWIG_arg_fail(1)) SWIG_fail
;
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30438 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
;
30440 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30441 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self",(char *) "other", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail
;
30452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30453 if (SWIG_arg_fail(2)) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30470 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
;
30472 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30473 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30475 PyObject
* obj0
= 0 ;
30476 PyObject
* obj1
= 0 ;
30477 char *kwnames
[] = {
30478 (char *) "self",(char *) "other", NULL
30481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30485 if (SWIG_arg_fail(2)) SWIG_fail
;
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30502 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
;
30504 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self",(char *) "w", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail
;
30516 arg2
= (int)(SWIG_As_int(obj1
));
30517 if (SWIG_arg_fail(2)) SWIG_fail
;
30519 if (arg1
) (arg1
)->w
= arg2
;
30521 Py_INCREF(Py_None
); resultobj
= Py_None
;
30528 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
;
30530 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30532 PyObject
* obj0
= 0 ;
30533 char *kwnames
[] = {
30534 (char *) "self", NULL
30537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30539 if (SWIG_arg_fail(1)) SWIG_fail
;
30540 result
= (int) ((arg1
)->w
);
30543 resultobj
= SWIG_From_int((int)(result
));
30551 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30552 PyObject
*resultobj
;
30553 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self",(char *) "h", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail
;
30565 arg2
= (int)(SWIG_As_int(obj1
));
30566 if (SWIG_arg_fail(2)) SWIG_fail
;
30568 if (arg1
) (arg1
)->h
= arg2
;
30570 Py_INCREF(Py_None
); resultobj
= Py_None
;
30577 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30578 PyObject
*resultobj
;
30579 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30581 PyObject
* obj0
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30588 if (SWIG_arg_fail(1)) SWIG_fail
;
30589 result
= (int) ((arg1
)->h
);
30592 resultobj
= SWIG_From_int((int)(result
));
30600 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
;
30602 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30604 PyObject
* obj0
= 0 ;
30605 PyObject
* obj1
= 0 ;
30606 char *kwnames
[] = {
30607 (char *) "self",(char *) "bpp", NULL
30610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30612 if (SWIG_arg_fail(1)) SWIG_fail
;
30614 arg2
= (int)(SWIG_As_int(obj1
));
30615 if (SWIG_arg_fail(2)) SWIG_fail
;
30617 if (arg1
) (arg1
)->bpp
= arg2
;
30619 Py_INCREF(Py_None
); resultobj
= Py_None
;
30626 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30627 PyObject
*resultobj
;
30628 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30630 PyObject
* obj0
= 0 ;
30631 char *kwnames
[] = {
30632 (char *) "self", NULL
30635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail
;
30638 result
= (int) ((arg1
)->bpp
);
30641 resultobj
= SWIG_From_int((int)(result
));
30649 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
;
30651 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30653 PyObject
* obj0
= 0 ;
30654 PyObject
* obj1
= 0 ;
30655 char *kwnames
[] = {
30656 (char *) "self",(char *) "refresh", NULL
30659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30661 if (SWIG_arg_fail(1)) SWIG_fail
;
30663 arg2
= (int)(SWIG_As_int(obj1
));
30664 if (SWIG_arg_fail(2)) SWIG_fail
;
30666 if (arg1
) (arg1
)->refresh
= arg2
;
30668 Py_INCREF(Py_None
); resultobj
= Py_None
;
30675 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
;
30677 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 char *kwnames
[] = {
30681 (char *) "self", NULL
30684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30686 if (SWIG_arg_fail(1)) SWIG_fail
;
30687 result
= (int) ((arg1
)->refresh
);
30690 resultobj
= SWIG_From_int((int)(result
));
30698 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30701 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30703 return Py_BuildValue((char *)"");
30705 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30706 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30711 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30714 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30719 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
;
30721 size_t arg1
= (size_t) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "index", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30731 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30732 if (SWIG_arg_fail(1)) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (wxDisplay
*)new wxDisplay(arg1
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30749 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
;
30751 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30752 PyObject
* obj0
= 0 ;
30753 char *kwnames
[] = {
30754 (char *) "self", NULL
30757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30759 if (SWIG_arg_fail(1)) SWIG_fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 Py_INCREF(Py_None
); resultobj
= Py_None
;
30774 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
;
30777 char *kwnames
[] = {
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 result
= (size_t)wxDisplay::GetCount();
30786 wxPyEndAllowThreads(__tstate
);
30787 if (PyErr_Occurred()) SWIG_fail
;
30790 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30798 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxPoint
*arg1
= 0 ;
30803 PyObject
* obj0
= 0 ;
30804 char *kwnames
[] = {
30805 (char *) "pt", NULL
30808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30811 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= SWIG_From_int((int)(result
));
30829 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
;
30831 wxWindow
*arg1
= (wxWindow
*) 0 ;
30833 PyObject
* obj0
= 0 ;
30834 char *kwnames
[] = {
30835 (char *) "window", NULL
30838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30840 if (SWIG_arg_fail(1)) SWIG_fail
;
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (int)wxDisplay::GetFromWindow(arg1
);
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30849 resultobj
= SWIG_From_int((int)(result
));
30857 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30861 PyObject
* obj0
= 0 ;
30862 char *kwnames
[] = {
30863 (char *) "self", NULL
30866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30868 if (SWIG_arg_fail(1)) SWIG_fail
;
30870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30885 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30886 PyObject
*resultobj
;
30887 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30889 PyObject
* obj0
= 0 ;
30890 char *kwnames
[] = {
30891 (char *) "self", NULL
30894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30896 if (SWIG_arg_fail(1)) SWIG_fail
;
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30905 wxRect
* resultptr
;
30906 resultptr
= new wxRect((wxRect
&)(result
));
30907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30915 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
;
30917 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30919 PyObject
* obj0
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30926 if (SWIG_arg_fail(1)) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= ((wxDisplay
const *)arg1
)->GetName();
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30947 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
;
30949 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30975 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
;
30977 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30978 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30979 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30981 PyObject
* obj0
= 0 ;
30982 PyObject
* obj1
= 0 ;
30983 char *kwnames
[] = {
30984 (char *) "self",(char *) "mode", NULL
30987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30989 if (SWIG_arg_fail(1)) SWIG_fail
;
30992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30993 if (SWIG_arg_fail(2)) SWIG_fail
;
30994 if (arg2
== NULL
) {
30995 SWIG_null_ref("wxVideoMode");
30997 if (SWIG_arg_fail(2)) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= result
;
31014 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
;
31016 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31017 wxVideoMode result
;
31018 PyObject
* obj0
= 0 ;
31019 char *kwnames
[] = {
31020 (char *) "self", NULL
31023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31025 if (SWIG_arg_fail(1)) SWIG_fail
;
31027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31028 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31034 wxVideoMode
* resultptr
;
31035 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31044 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31045 PyObject
*resultobj
;
31046 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31047 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31048 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char *kwnames
[] = {
31053 (char *) "self",(char *) "mode", NULL
31056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31058 if (SWIG_arg_fail(1)) SWIG_fail
;
31061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31062 if (SWIG_arg_fail(2)) SWIG_fail
;
31063 if (arg2
== NULL
) {
31064 SWIG_null_ref("wxVideoMode");
31066 if (SWIG_arg_fail(2)) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31085 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31086 PyObject
*resultobj
;
31087 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31088 PyObject
* obj0
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "self", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31095 if (SWIG_arg_fail(1)) SWIG_fail
;
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 (arg1
)->ResetMode();
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 Py_INCREF(Py_None
); resultobj
= Py_None
;
31110 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31113 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31115 return Py_BuildValue((char *)"");
31117 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31118 PyObject
*resultobj
;
31119 wxStandardPaths
*result
;
31120 char *kwnames
[] = {
31124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 result
= (wxStandardPaths
*)StandardPaths_Get();
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31139 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31140 PyObject
*resultobj
;
31141 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31143 PyObject
* obj0
= 0 ;
31144 char *kwnames
[] = {
31145 (char *) "self", NULL
31148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31150 if (SWIG_arg_fail(1)) SWIG_fail
;
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31171 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
;
31173 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31175 PyObject
* obj0
= 0 ;
31176 char *kwnames
[] = {
31177 (char *) "self", NULL
31180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31182 if (SWIG_arg_fail(1)) SWIG_fail
;
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31203 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31207 PyObject
* obj0
= 0 ;
31208 char *kwnames
[] = {
31209 (char *) "self", NULL
31212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31214 if (SWIG_arg_fail(1)) SWIG_fail
;
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31235 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31237 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31239 PyObject
* obj0
= 0 ;
31240 char *kwnames
[] = {
31241 (char *) "self", NULL
31244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31246 if (SWIG_arg_fail(1)) SWIG_fail
;
31248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31249 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31267 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31268 PyObject
*resultobj
;
31269 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31271 PyObject
* obj0
= 0 ;
31272 char *kwnames
[] = {
31273 (char *) "self", NULL
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31278 if (SWIG_arg_fail(1)) SWIG_fail
;
31280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31281 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31283 wxPyEndAllowThreads(__tstate
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31299 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31300 PyObject
*resultobj
;
31301 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31303 PyObject
* obj0
= 0 ;
31304 char *kwnames
[] = {
31305 (char *) "self", NULL
31308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31310 if (SWIG_arg_fail(1)) SWIG_fail
;
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31331 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
;
31333 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31335 PyObject
* obj0
= 0 ;
31336 char *kwnames
[] = {
31337 (char *) "self", NULL
31340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31342 if (SWIG_arg_fail(1)) SWIG_fail
;
31344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31345 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31363 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31364 PyObject
*resultobj
;
31365 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31366 wxString
*arg2
= 0 ;
31367 bool temp2
= false ;
31368 PyObject
* obj0
= 0 ;
31369 PyObject
* obj1
= 0 ;
31370 char *kwnames
[] = {
31371 (char *) "self",(char *) "prefix", NULL
31374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31376 if (SWIG_arg_fail(1)) SWIG_fail
;
31378 arg2
= wxString_in_helper(obj1
);
31379 if (arg2
== NULL
) SWIG_fail
;
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 Py_INCREF(Py_None
); resultobj
= Py_None
;
31404 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
;
31406 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31408 PyObject
* obj0
= 0 ;
31409 char *kwnames
[] = {
31410 (char *) "self", NULL
31413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31415 if (SWIG_arg_fail(1)) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31420 wxPyEndAllowThreads(__tstate
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31436 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31439 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31441 return Py_BuildValue((char *)"");
31443 static PyMethodDef SwigMethods
[] = {
31444 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31451 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31458 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31522 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31530 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31548 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31551 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31554 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31557 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31563 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31577 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31583 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31589 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31592 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31606 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31609 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31610 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31613 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31640 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31642 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31644 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31646 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31653 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31659 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31673 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31677 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31680 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31697 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31705 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31752 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31770 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31796 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31812 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31826 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31836 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31879 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31882 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31885 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31889 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31982 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31983 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31984 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31985 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32002 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32047 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32081 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32089 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32090 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32095 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32104 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32111 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32114 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32117 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32122 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32125 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32129 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32132 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32136 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32137 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32145 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32149 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32159 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32172 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32180 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32188 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32202 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32206 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32224 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32238 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32249 { NULL
, NULL
, 0, NULL
}
32253 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32255 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32258 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32259 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32261 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32262 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32264 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32265 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32267 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32268 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32270 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32271 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32273 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32274 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32276 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32277 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32279 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32282 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32283 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32285 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32286 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32288 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32289 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32291 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32292 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32294 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32295 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32297 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32298 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32300 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32301 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32303 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32304 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32306 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32307 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32309 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32310 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32312 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32313 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32315 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32316 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32318 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32319 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32321 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32322 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32324 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32325 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32327 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32328 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32330 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32331 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32333 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32334 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32336 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32337 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32339 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32340 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32342 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32343 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32345 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32346 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32348 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32349 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32351 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32352 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32354 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32355 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32357 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32360 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32361 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32363 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32364 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32366 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32367 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32369 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32370 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32372 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32373 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32375 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32376 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32378 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32379 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32381 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32382 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32384 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32385 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32387 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32388 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32390 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32391 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32393 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32394 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32396 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32397 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32399 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32400 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32402 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32403 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32405 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32406 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32408 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32409 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32411 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32412 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32414 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32415 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32417 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32418 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32420 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32421 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32423 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32424 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32426 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32427 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32429 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32430 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32432 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32433 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32435 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32436 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32438 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32439 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32441 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32442 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32444 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32445 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32447 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32448 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32450 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32453 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32454 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32456 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32457 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32459 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32460 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32462 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32463 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32465 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32466 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32468 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32469 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32471 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32472 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32474 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32475 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32477 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32480 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32483 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32486 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32489 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32492 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32495 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32498 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) ((wxSizer
*) x
));
32501 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32504 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32507 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32510 static void *_p_wxEventTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) ((wxEvent
*) x
));
32513 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32516 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32519 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32522 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32525 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32528 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32531 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32534 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32537 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32540 static void *_p_wxControlTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32543 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32546 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32549 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32552 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32555 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32558 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32561 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32564 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32567 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32570 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32573 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32576 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32579 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32582 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32585 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32588 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32591 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32594 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32597 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32600 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32603 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32606 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32609 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32612 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32615 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32618 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32621 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32624 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32627 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32630 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32633 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32636 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32639 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32642 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32645 static void *_p_wxImageTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) ((wxImage
*) x
));
32648 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32651 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32654 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32657 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32660 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32663 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32666 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32669 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32672 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32675 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32678 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32681 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32684 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32687 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32690 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32693 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32696 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32699 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32702 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32705 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32708 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32711 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32714 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32717 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32720 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32723 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32726 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32729 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32732 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32733 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32735 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32736 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32738 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32739 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32741 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32742 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32744 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32745 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32747 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32748 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32750 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32751 return (void *)((wxWindow
*) ((wxControl
*) x
));
32753 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32754 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32756 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32757 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32759 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32760 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32762 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32763 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32765 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}};
32766 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}};
32767 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32768 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}};
32769 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}};
32770 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}};
32771 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}};
32772 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}};
32773 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}};
32774 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}};
32775 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}};
32776 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}};
32777 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}};
32778 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}};
32779 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}};
32780 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}};
32781 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}};
32782 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}};
32783 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}};
32784 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}};
32785 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}};
32786 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}};
32787 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}};
32788 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}};
32789 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}};
32790 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}};
32791 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}};
32792 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}};
32793 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}};
32794 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}};
32795 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}};
32796 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}};
32797 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}};
32798 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}};
32799 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}};
32800 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}};
32801 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}};
32802 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}};
32803 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}};
32804 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}};
32805 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}};
32806 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}};
32807 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}};
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 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}};
32815 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}};
32816 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}};
32817 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}};
32818 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}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32824 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}};
32825 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}};
32826 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}};
32827 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}};
32828 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}};
32829 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}};
32830 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}};
32831 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}};
32832 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}};
32833 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}};
32834 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}};
32835 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}};
32836 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}};
32837 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}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32863 static swig_type_info
*swig_types_initial
[] = {
32864 _swigt__p_wxLogChain
,
32865 _swigt__p_wxMutexGuiLocker
,
32866 _swigt__p_wxMetafile
,
32867 _swigt__p_wxFileHistory
,
32871 _swigt__p_wxDateTime__TimeZone
,
32872 _swigt__p_wxConfigBase
,
32873 _swigt__p_wxDisplay
,
32874 _swigt__p_wxFileType
,
32875 _swigt__p_wxLogGui
,
32877 _swigt__p_wxDataFormat
,
32878 _swigt__p_wxTimerEvent
,
32881 _swigt__std__ptrdiff_t
,
32884 _swigt__p_wxClipboard
,
32885 _swigt__p_wxStopWatch
,
32887 _swigt__p_wxClipboardLocker
,
32889 _swigt__p_wxLogStderr
,
32890 _swigt__p_wxLogTextCtrl
,
32891 _swigt__p_wxTextCtrl
,
32892 _swigt__p_wxBusyCursor
,
32893 _swigt__p_wxBitmapDataObject
,
32894 _swigt__p_wxTextDataObject
,
32895 _swigt__p_wxDataObject
,
32896 _swigt__p_wxPyTextDataObject
,
32897 _swigt__p_wxPyBitmapDataObject
,
32898 _swigt__p_wxFileDataObject
,
32899 _swigt__p_wxCustomDataObject
,
32900 _swigt__p_wxURLDataObject
,
32901 _swigt__p_wxMetafileDataObject
,
32903 _swigt__p_wxTimerRunner
,
32904 _swigt__p_wxLogWindow
,
32905 _swigt__p_wxTimeSpan
,
32906 _swigt__p_wxArrayString
,
32907 _swigt__p_wxWindowDisabler
,
32908 _swigt__p_form_ops_t
,
32909 _swigt__p_wxToolTip
,
32910 _swigt__p_wxDataObjectComposite
,
32911 _swigt__p_wxSystemSettings
,
32912 _swigt__p_wxFileConfig
,
32913 _swigt__p_wxVideoMode
,
32914 _swigt__p_wxDataObjectSimple
,
32915 _swigt__p_wxPyDataObjectSimple
,
32916 _swigt__p_wxDuplexMode
,
32917 _swigt__p_wxEvtHandler
,
32920 _swigt__p_wxSingleInstanceChecker
,
32921 _swigt__p_wxStandardPaths
,
32922 _swigt__p_wxFileTypeInfo
,
32925 _swigt__p_wxPaperSize
,
32926 _swigt__p_wxMimeTypesManager
,
32927 _swigt__p_wxPyArtProvider
,
32928 _swigt__p_wxPyTipProvider
,
32929 _swigt__p_wxTipProvider
,
32930 _swigt__p_wxJoystick
,
32931 _swigt__p_wxSystemOptions
,
32933 _swigt__p_wxJoystickEvent
,
32934 _swigt__p_wxCursor
,
32935 _swigt__p_wxObject
,
32936 _swigt__p_wxOutputStream
,
32937 _swigt__p_wxDateTime
,
32938 _swigt__p_wxPyDropSource
,
32939 _swigt__p_unsigned_long
,
32940 _swigt__p_wxKillError
,
32941 _swigt__p_wxWindow
,
32942 _swigt__p_wxString
,
32943 _swigt__p_wxPyProcess
,
32944 _swigt__p_wxBitmap
,
32945 _swigt__p_wxConfig
,
32946 _swigt__unsigned_int
,
32947 _swigt__p_unsigned_int
,
32948 _swigt__p_unsigned_char
,
32950 _swigt__p_wxBusyInfo
,
32951 _swigt__p_wxPyDropTarget
,
32952 _swigt__p_wxPyTextDropTarget
,
32953 _swigt__p_wxPyFileDropTarget
,
32954 _swigt__p_wxProcessEvent
,
32956 _swigt__p_wxLogNull
,
32957 _swigt__p_wxColour
,
32958 _swigt__p_wxPyTimer
,
32959 _swigt__p_wxConfigPathChanger
,
32960 _swigt__p_wxDateSpan
,
32965 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32967 static swig_const_info swig_const_table
[] = {
32968 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32969 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32970 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32971 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32972 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32973 {0, 0, 0, 0.0, 0, 0}};
32984 /* Python-specific SWIG API */
32985 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32986 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32987 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32989 /* -----------------------------------------------------------------------------
32990 * global variable support code.
32991 * ----------------------------------------------------------------------------- */
32993 typedef struct swig_globalvar
{
32994 char *name
; /* Name of global variable */
32995 PyObject
*(*get_attr
)(); /* Return the current value */
32996 int (*set_attr
)(PyObject
*); /* Set the value */
32997 struct swig_globalvar
*next
;
33000 typedef struct swig_varlinkobject
{
33002 swig_globalvar
*vars
;
33003 } swig_varlinkobject
;
33006 swig_varlink_repr(swig_varlinkobject
*v
) {
33008 return PyString_FromString("<Swig global variables>");
33012 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33013 swig_globalvar
*var
;
33015 fprintf(fp
,"Swig global variables { ");
33016 for (var
= v
->vars
; var
; var
=var
->next
) {
33017 fprintf(fp
,"%s", var
->name
);
33018 if (var
->next
) fprintf(fp
,", ");
33020 fprintf(fp
," }\n");
33025 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33026 swig_globalvar
*var
= v
->vars
;
33028 if (strcmp(var
->name
,n
) == 0) {
33029 return (*var
->get_attr
)();
33033 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33038 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33039 swig_globalvar
*var
= v
->vars
;
33041 if (strcmp(var
->name
,n
) == 0) {
33042 return (*var
->set_attr
)(p
);
33046 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33050 static PyTypeObject varlinktype
= {
33051 PyObject_HEAD_INIT(0)
33052 0, /* Number of items in variable part (ob_size) */
33053 (char *)"swigvarlink", /* Type name (tp_name) */
33054 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33055 0, /* Itemsize (tp_itemsize) */
33056 0, /* Deallocator (tp_dealloc) */
33057 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33058 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33059 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33060 0, /* tp_compare */
33061 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33062 0, /* tp_as_number */
33063 0, /* tp_as_sequence */
33064 0, /* tp_as_mapping */
33068 0, /* tp_getattro */
33069 0, /* tp_setattro */
33070 0, /* tp_as_buffer */
33073 #if PY_VERSION_HEX >= 0x02000000
33074 0, /* tp_traverse */
33077 #if PY_VERSION_HEX >= 0x02010000
33078 0, /* tp_richcompare */
33079 0, /* tp_weaklistoffset */
33081 #if PY_VERSION_HEX >= 0x02020000
33082 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33084 #if PY_VERSION_HEX >= 0x02030000
33087 #ifdef COUNT_ALLOCS
33088 0,0,0,0 /* tp_alloc -> tp_next */
33092 /* Create a variable linking object for use later */
33094 SWIG_Python_newvarlink(void) {
33095 swig_varlinkobject
*result
= 0;
33096 result
= PyMem_NEW(swig_varlinkobject
,1);
33097 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33098 result
->ob_type
= &varlinktype
;
33100 result
->ob_refcnt
= 0;
33101 Py_XINCREF((PyObject
*) result
);
33102 return ((PyObject
*) result
);
33106 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33107 swig_varlinkobject
*v
;
33108 swig_globalvar
*gv
;
33109 v
= (swig_varlinkobject
*) p
;
33110 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33111 gv
->name
= (char *) malloc(strlen(name
)+1);
33112 strcpy(gv
->name
,name
);
33113 gv
->get_attr
= get_attr
;
33114 gv
->set_attr
= set_attr
;
33115 gv
->next
= v
->vars
;
33119 /* -----------------------------------------------------------------------------
33120 * constants/methods manipulation
33121 * ----------------------------------------------------------------------------- */
33123 /* Install Constants */
33125 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33128 for (i
= 0; constants
[i
].type
; i
++) {
33129 switch(constants
[i
].type
) {
33131 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33133 case SWIG_PY_FLOAT
:
33134 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33136 case SWIG_PY_STRING
:
33137 if (constants
[i
].pvalue
) {
33138 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33140 Py_INCREF(Py_None
);
33144 case SWIG_PY_POINTER
:
33145 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33147 case SWIG_PY_BINARY
:
33148 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33155 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33161 /* -----------------------------------------------------------------------------*/
33162 /* Fix SwigMethods to carry the callback ptrs when needed */
33163 /* -----------------------------------------------------------------------------*/
33166 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33167 swig_const_info
*const_table
,
33168 swig_type_info
**types
,
33169 swig_type_info
**types_initial
) {
33171 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33172 char *c
= methods
[i
].ml_doc
;
33173 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33175 swig_const_info
*ci
= 0;
33176 char *name
= c
+ 10;
33177 for (j
= 0; const_table
[j
].type
; j
++) {
33178 if (strncmp(const_table
[j
].name
, name
,
33179 strlen(const_table
[j
].name
)) == 0) {
33180 ci
= &(const_table
[j
]);
33185 size_t shift
= (ci
->ptype
) - types
;
33186 swig_type_info
*ty
= types_initial
[shift
];
33187 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33188 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33189 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33191 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33192 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33194 strncpy(buff
, "swig_ptr: ", 10);
33196 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33197 methods
[i
].ml_doc
= ndoc
;
33203 /* -----------------------------------------------------------------------------*
33204 * Initialize type list
33205 * -----------------------------------------------------------------------------*/
33207 #if PY_MAJOR_VERSION < 2
33208 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33209 is copied out of Python/modsupport.c in python version 2.3.4 */
33211 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33214 if (!PyModule_Check(m
)) {
33215 PyErr_SetString(PyExc_TypeError
,
33216 "PyModule_AddObject() needs module as first arg");
33220 PyErr_SetString(PyExc_TypeError
,
33221 "PyModule_AddObject() needs non-NULL value");
33225 dict
= PyModule_GetDict(m
);
33226 if (dict
== NULL
) {
33227 /* Internal error -- modules must have a dict! */
33228 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33229 PyModule_GetName(m
));
33232 if (PyDict_SetItemString(dict
, name
, o
))
33239 static swig_type_info
**
33240 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33241 static PyMethodDef swig_empty_runtime_method_table
[] = {
33243 NULL
, NULL
, 0, NULL
33247 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33248 swig_empty_runtime_method_table
);
33249 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33250 if (pointer
&& module) {
33251 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33253 return type_list_handle
;
33256 static swig_type_info
**
33257 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33258 swig_type_info
**type_pointer
;
33260 /* first check if module already created */
33261 type_pointer
= SWIG_Python_GetTypeListHandle();
33262 if (type_pointer
) {
33263 return type_pointer
;
33265 /* create a new module and variable */
33266 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33274 /* -----------------------------------------------------------------------------*
33275 * Partial Init method
33276 * -----------------------------------------------------------------------------*/
33278 #ifdef SWIG_LINK_RUNTIME
33282 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33288 SWIGEXPORT(void) SWIG_init(void) {
33289 static PyObject
*SWIG_globals
= 0;
33290 static int typeinit
= 0;
33293 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33295 /* Fix SwigMethods to carry the callback ptrs when needed */
33296 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33298 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33299 d
= PyModule_GetDict(m
);
33302 #ifdef SWIG_LINK_RUNTIME
33303 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33305 # ifndef SWIG_STATIC_RUNTIME
33306 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33309 for (i
= 0; swig_types_initial
[i
]; i
++) {
33310 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33314 SWIG_InstallConstants(d
,swig_const_table
);
33317 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33320 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33323 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33326 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33329 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33332 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33335 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33338 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33341 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33344 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33347 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33350 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33353 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33356 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33359 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33362 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33365 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33368 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33371 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33374 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33377 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33380 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33383 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33386 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33389 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33392 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33395 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33398 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33401 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33404 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33407 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33410 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33413 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33416 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33419 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33422 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33425 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33428 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33431 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33434 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33437 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33440 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33443 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33446 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33449 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33452 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33455 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33458 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33461 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33464 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33467 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33470 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33473 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33476 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33479 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33482 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33485 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33488 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33491 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33494 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33497 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33500 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33503 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33506 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33509 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33512 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33515 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33518 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33521 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33524 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33527 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33530 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33533 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33536 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33539 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33542 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33545 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33548 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33551 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33554 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33557 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33560 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33563 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33566 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33569 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33572 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33575 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33578 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33581 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33584 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33587 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33589 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33590 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33591 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33592 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33593 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33595 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33598 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33601 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33604 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33606 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33608 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33611 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33614 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33617 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33620 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33623 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33626 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33629 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33632 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33635 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33638 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33641 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33643 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33644 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33645 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33646 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33647 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33649 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33652 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33655 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33658 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33661 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33664 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33667 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33670 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33673 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33676 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33679 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33682 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33685 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33688 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33691 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33694 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33697 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33700 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33703 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33706 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33709 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33712 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33715 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33718 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33721 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33724 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33727 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33730 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33733 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33736 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33739 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33741 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33743 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33746 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33749 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33752 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33755 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33758 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33761 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33764 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33767 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33770 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33773 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33776 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33779 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33781 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33782 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33783 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33784 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33786 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33789 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33792 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33795 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33798 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33801 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33804 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33807 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33809 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33810 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33811 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33812 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33813 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33814 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33815 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33816 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33817 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33818 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33819 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33820 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33821 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33822 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33823 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33824 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33825 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33826 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33827 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33828 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33829 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33830 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33831 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33866 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33869 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33872 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33875 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33878 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33881 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33884 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33887 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33890 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33893 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33895 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33896 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33898 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33901 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33904 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33907 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33910 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33913 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33916 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33919 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33922 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33925 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33928 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33931 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33934 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33937 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33940 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33943 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33946 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33949 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33952 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33955 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33958 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33961 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33964 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33967 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33970 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33973 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33976 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33979 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33982 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33985 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33988 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33991 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33994 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33997 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34000 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34003 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34006 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34009 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34012 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34015 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34018 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34021 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34024 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34027 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34030 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34033 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34036 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34039 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34042 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34045 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34048 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34051 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34054 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34057 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34060 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34063 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34066 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34069 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34072 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34075 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34078 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34081 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34084 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34087 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34090 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34093 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34096 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34099 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34102 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34105 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34108 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34111 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34114 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34117 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34120 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34123 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34126 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34129 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34132 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34135 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34138 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34141 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34144 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34147 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34150 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34153 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34156 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34159 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34162 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34165 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34168 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34171 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34174 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34177 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34180 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34183 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34186 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34189 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34192 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34195 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34198 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34201 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34204 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34207 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34210 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34213 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34216 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34219 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34222 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34225 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34228 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34231 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34234 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34237 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34240 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34243 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34246 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34249 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34252 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34255 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34258 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34261 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34264 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34267 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34270 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34273 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34276 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34279 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34282 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34285 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34288 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34291 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34294 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34297 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34300 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34303 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34306 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34309 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34312 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34315 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34318 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34321 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34324 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34327 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34330 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34333 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34336 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34339 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34342 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34345 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34348 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34351 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34354 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34357 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34360 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34362 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34364 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34367 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34370 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34373 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34376 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34379 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34382 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34385 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34388 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34391 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34394 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34397 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34400 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34403 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34406 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34409 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34412 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34415 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34418 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34421 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34423 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34425 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34428 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34431 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34434 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34437 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34440 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34443 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34446 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34449 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34452 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34455 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34458 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34461 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34462 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34463 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34464 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34466 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);