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();
1713 int wxCaret_GetBlinkTime() {
1714 return wxCaret::GetBlinkTime();
1717 void wxCaret_SetBlinkTime(int milliseconds
) {
1718 wxCaret::SetBlinkTime(milliseconds
);
1722 #include <wx/snglinst.h>
1726 #include <wx/msw/private.h>
1727 #include <wx/dynload.h>
1732 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
1739 // This one only partially works. Appears to be an undocumented
1740 // "standard" convention that not all widgets adhear to. For
1741 // example, for some widgets backgrounds or non-client areas may
1743 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1747 // This one works much better, except for on XP. On Win2k nearly
1748 // all widgets and their children are captured correctly[**]. On
1749 // XP with Themes activated most native widgets draw only
1750 // partially, if at all. Without themes it works just like on
1753 // ** For example the radio buttons in a wxRadioBox are not its
1754 // children by default, but you can capture it via the panel
1755 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1756 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1757 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1758 PRF_ERASEBKGND
| PRF_OWNED
);
1762 // This one is only defined in the latest SDK and is only
1763 // available on XP. MSDN says it is similar to sending WM_PRINT
1764 // so I expect that it will work similar to the above. Since it
1765 // is avaialble only on XP, it can't be compiled like this and
1766 // will have to be loaded dynamically.
1767 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1772 // Use PrintWindow if available, or fallback to WM_PRINT
1773 // otherwise. Unfortunately using PrintWindow is even worse than
1774 // WM_PRINT. For most native widgets nothing is drawn to the dc
1775 // at all, with or without Themes.
1776 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1777 static bool s_triedToLoad
= false;
1778 static PrintWindow_t pfnPrintWindow
= NULL
;
1779 if ( !s_triedToLoad
)
1782 s_triedToLoad
= true;
1783 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1784 if ( dllUser32
.IsLoaded() )
1786 wxLogNull nolog
; // Don't report errors here
1787 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1792 printf("Using PrintWindow\n");
1793 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1797 printf("Using WM_PRINT\n");
1798 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1799 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
1807 #include <wx/tipdlg.h>
1810 class wxPyTipProvider
: public wxTipProvider
{
1812 wxPyTipProvider(size_t currentTip
)
1813 : wxTipProvider(currentTip
) {}
1815 DEC_PYCALLBACK_STRING__pure(GetTip
);
1816 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1820 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1821 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1824 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1826 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1828 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1829 : wxTimer(owner
, id
)
1831 if (owner
== NULL
) SetOwner(this);
1835 void wxPyTimer::Notify() {
1837 bool blocked
= wxPyBeginBlockThreads();
1838 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1839 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1840 wxPyEndBlockThreads(blocked
);
1844 void wxPyTimer::base_Notify() {
1850 SWIGINTERN PyObject
*
1851 SWIG_FromCharPtr(const char* cptr
)
1854 size_t size
= strlen(cptr
);
1855 if (size
> INT_MAX
) {
1856 return SWIG_NewPointerObj((char*)(cptr
),
1857 SWIG_TypeQuery("char *"), 0);
1860 return PyString_FromStringAndSize(cptr
, size
);
1862 return PyString_FromString(cptr
);
1872 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1873 unsigned long max_value
,
1876 if (value
> max_value
) {
1878 PyErr_Format(PyExc_OverflowError
,
1879 "value %lu is greater than '%s' minimum %lu",
1880 value
, errmsg
, max_value
);
1888 #if UINT_MAX != ULONG_MAX
1890 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1892 const char* errmsg
= val
? "unsigned int" : (char*)0;
1894 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1895 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1896 if (val
) *val
= (unsigned int)(v
);
1903 SWIG_type_error(errmsg
, obj
);
1908 SWIGINTERNSHORT
unsigned int
1909 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1911 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1916 SWIGINTERNSHORT
unsigned int
1917 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1920 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1922 this is needed to make valgrind/purify happier.
1924 memset((void*)&v
, 0, sizeof(unsigned int));
1931 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1933 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1936 static wxString
Log_TimeStamp(){
1938 wxLog::TimeStamp(&msg
);
1941 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1942 // Make somce wrappers that double any % signs so they are 'escaped'
1943 void wxPyLogFatalError(const wxString
& msg
)
1946 m
.Replace(wxT("%"), wxT("%%"));
1950 void wxPyLogError(const wxString
& msg
)
1953 m
.Replace(wxT("%"), wxT("%%"));
1957 void wxPyLogWarning(const wxString
& msg
)
1960 m
.Replace(wxT("%"), wxT("%%"));
1964 void wxPyLogMessage(const wxString
& msg
)
1967 m
.Replace(wxT("%"), wxT("%%"));
1971 void wxPyLogInfo(const wxString
& msg
)
1974 m
.Replace(wxT("%"), wxT("%%"));
1978 void wxPyLogDebug(const wxString
& msg
)
1981 m
.Replace(wxT("%"), wxT("%%"));
1985 void wxPyLogVerbose(const wxString
& msg
)
1988 m
.Replace(wxT("%"), wxT("%%"));
1992 void wxPyLogStatus(const wxString
& msg
)
1995 m
.Replace(wxT("%"), wxT("%%"));
1999 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2002 m
.Replace(wxT("%"), wxT("%%"));
2003 wxLogStatus(pFrame
, m
);
2006 void wxPyLogSysError(const wxString
& msg
)
2009 m
.Replace(wxT("%"), wxT("%%"));
2013 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2016 m
.Replace(wxT("%"), wxT("%%"));
2017 wxLogGeneric(level
, m
);
2020 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2023 m
.Replace(wxT("%"), wxT("%%"));
2024 wxLogTrace(mask
, m
);
2027 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2030 m
.Replace(wxT("%"), wxT("%%"));
2031 wxLogTrace(mask
, m
);
2036 // A wxLog class that can be derived from in wxPython
2037 class wxPyLog
: public wxLog
{
2039 wxPyLog() : wxLog() {}
2041 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2043 bool blocked
= wxPyBeginBlockThreads();
2044 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2045 PyObject
* s
= wx2PyString(szString
);
2046 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2049 wxPyEndBlockThreads(blocked
);
2051 wxLog::DoLog(level
, szString
, t
);
2054 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2056 bool blocked
= wxPyBeginBlockThreads();
2057 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2058 PyObject
* s
= wx2PyString(szString
);
2059 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2062 wxPyEndBlockThreads(blocked
);
2064 wxLog::DoLogString(szString
, t
);
2073 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2076 #include <wx/joystick.h>
2079 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2080 // A C++ stub class for wxJoystick for platforms that don't have it.
2081 class wxJoystick
: public wxObject
{
2083 wxJoystick(int joystick
= wxJOYSTICK1
) {
2084 bool blocked
= wxPyBeginBlockThreads();
2085 PyErr_SetString(PyExc_NotImplementedError
,
2086 "wxJoystick is not available on this platform.");
2087 wxPyEndBlockThreads(blocked
);
2089 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2090 int GetZPosition() { return -1; }
2091 int GetButtonState() { return -1; }
2092 int GetPOVPosition() { return -1; }
2093 int GetPOVCTSPosition() { return -1; }
2094 int GetRudderPosition() { return -1; }
2095 int GetUPosition() { return -1; }
2096 int GetVPosition() { return -1; }
2097 int GetMovementThreshold() { return -1; }
2098 void SetMovementThreshold(int threshold
) {}
2100 bool IsOk(void) { return false; }
2101 int GetNumberJoysticks() { return -1; }
2102 int GetManufacturerId() { return -1; }
2103 int GetProductId() { return -1; }
2104 wxString
GetProductName() { return wxEmptyString
; }
2105 int GetXMin() { return -1; }
2106 int GetYMin() { return -1; }
2107 int GetZMin() { return -1; }
2108 int GetXMax() { return -1; }
2109 int GetYMax() { return -1; }
2110 int GetZMax() { return -1; }
2111 int GetNumberButtons() { return -1; }
2112 int GetNumberAxes() { return -1; }
2113 int GetMaxButtons() { return -1; }
2114 int GetMaxAxes() { return -1; }
2115 int GetPollingMin() { return -1; }
2116 int GetPollingMax() { return -1; }
2117 int GetRudderMin() { return -1; }
2118 int GetRudderMax() { return -1; }
2119 int GetUMin() { return -1; }
2120 int GetUMax() { return -1; }
2121 int GetVMin() { return -1; }
2122 int GetVMax() { return -1; }
2124 bool HasRudder() { return false; }
2125 bool HasZ() { return false; }
2126 bool HasU() { return false; }
2127 bool HasV() { return false; }
2128 bool HasPOV() { return false; }
2129 bool HasPOV4Dir() { return false; }
2130 bool HasPOVCTS() { return false; }
2132 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2133 bool ReleaseCapture() { return false; }
2138 #include <wx/sound.h>
2142 // A C++ stub class for wxWave for platforms that don't have it.
2143 class wxSound
: public wxObject
2147 bool blocked
= wxPyBeginBlockThreads();
2148 PyErr_SetString(PyExc_NotImplementedError
,
2149 "wxSound is not available on this platform.");
2150 wxPyEndBlockThreads(blocked
);
2152 wxSound(const wxString
&/*, bool*/) {
2153 bool blocked
= wxPyBeginBlockThreads();
2154 PyErr_SetString(PyExc_NotImplementedError
,
2155 "wxSound is not available on this platform.");
2156 wxPyEndBlockThreads(blocked
);
2158 wxSound(int, const wxByte
*) {
2159 bool blocked
= wxPyBeginBlockThreads();
2160 PyErr_SetString(PyExc_NotImplementedError
,
2161 "wxSound is not available on this platform.");
2162 wxPyEndBlockThreads(blocked
);
2167 bool Create(const wxString
&/*, bool*/) { return false; }
2168 bool Create(int, const wxByte
*) { return false; };
2169 bool IsOk() { return false; };
2170 bool Play(unsigned) const { return false; }
2171 static bool Play(const wxString
&, unsigned) { return false; }
2172 static void Stop() {}
2177 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2178 if (fileName
.Length() == 0)
2181 return new wxSound(fileName
);
2183 static wxSound
*new_wxSound(PyObject
*data
){
2184 unsigned char* buffer
; int size
;
2185 wxSound
*sound
= NULL
;
2187 bool blocked
= wxPyBeginBlockThreads();
2188 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2190 sound
= new wxSound(size
, buffer
);
2192 wxPyEndBlockThreads(blocked
);
2195 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2197 unsigned char* buffer
;
2201 bool blocked
= wxPyBeginBlockThreads();
2202 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2204 rv
= self
->Create(size
, buffer
);
2206 wxPyEndBlockThreads(blocked
);
2209 bool blocked
= wxPyBeginBlockThreads();
2210 PyErr_SetString(PyExc_NotImplementedError
,
2211 "Create from data is not available on this platform.");
2212 wxPyEndBlockThreads(blocked
);
2217 #include <wx/mimetype.h>
2219 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2221 if (self
->GetMimeType(&str
))
2222 return wx2PyString(str
);
2226 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2228 if (self
->GetMimeTypes(arr
))
2229 return wxArrayString2PyList_helper(arr
);
2233 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2235 if (self
->GetExtensions(arr
))
2236 return wxArrayString2PyList_helper(arr
);
2240 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2242 if (self
->GetIcon(&loc
))
2243 return new wxIcon(loc
);
2247 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2249 if (self
->GetIcon(&loc
)) {
2250 wxString iconFile
= loc
.GetFileName();
2253 iconIndex
= loc
.GetIndex();
2255 // Make a tuple and put the values in it
2256 bool blocked
= wxPyBeginBlockThreads();
2257 PyObject
* tuple
= PyTuple_New(3);
2258 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2259 wxT("wxIcon"), true));
2260 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2261 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2262 wxPyEndBlockThreads(blocked
);
2268 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2270 if (self
->GetDescription(&str
))
2271 return wx2PyString(str
);
2275 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2277 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2278 return wx2PyString(str
);
2282 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2284 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2285 return wx2PyString(str
);
2289 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2290 wxArrayString verbs
;
2291 wxArrayString commands
;
2292 if (self
->GetAllCommands(&verbs
, &commands
,
2293 wxFileType::MessageParameters(filename
, mimetype
))) {
2294 bool blocked
= wxPyBeginBlockThreads();
2295 PyObject
* tuple
= PyTuple_New(2);
2296 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2297 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2298 wxPyEndBlockThreads(blocked
);
2304 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2305 return wxFileType::ExpandCommand(command
,
2306 wxFileType::MessageParameters(filename
, mimetype
));
2308 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2310 self
->EnumAllFileTypes(arr
);
2311 return wxArrayString2PyList_helper(arr
);
2314 #include <wx/artprov.h>
2316 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2317 static const wxString
wxPyART_MENU(wxART_MENU
);
2318 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2319 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2320 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2321 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2322 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2323 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2324 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2325 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2326 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2327 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2328 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2329 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2330 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2331 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2332 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2333 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2334 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2335 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2336 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2337 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2338 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2339 static const wxString
wxPyART_HELP(wxART_HELP
);
2340 static const wxString
wxPyART_TIP(wxART_TIP
);
2341 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2342 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2343 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2344 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2345 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2346 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2347 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2348 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2349 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2350 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2351 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2352 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2353 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2354 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2355 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2356 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2357 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2358 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2359 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2360 // Python aware wxArtProvider
2361 class wxPyArtProvider
: public wxArtProvider
{
2364 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2365 const wxArtClient
& client
,
2366 const wxSize
& size
) {
2367 wxBitmap rval
= wxNullBitmap
;
2368 bool blocked
= wxPyBeginBlockThreads();
2369 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2370 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2374 s1
= wx2PyString(id
);
2375 s2
= wx2PyString(client
);
2376 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2381 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2386 wxPyEndBlockThreads(blocked
);
2393 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2397 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2398 PyObject
* ret
= PyTuple_New(3);
2400 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2401 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2402 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2407 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2412 cont
= self
->GetFirstGroup(value
, index
);
2413 return __EnumerationHelper(cont
, value
, index
);
2415 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2419 cont
= self
->GetNextGroup(value
, index
);
2420 return __EnumerationHelper(cont
, value
, index
);
2422 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2427 cont
= self
->GetFirstEntry(value
, index
);
2428 return __EnumerationHelper(cont
, value
, index
);
2430 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2434 cont
= self
->GetNextEntry(value
, index
);
2435 return __EnumerationHelper(cont
, value
, index
);
2437 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2439 self
->Read(key
, &rv
, defaultVal
);
2444 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2446 if (PyNumber_Check(obj
)) {
2447 if (val
) *val
= PyFloat_AsDouble(obj
);
2451 SWIG_type_error("number", obj
);
2457 SWIGINTERNSHORT
double
2458 SWIG_As_double(PyObject
* obj
)
2461 if (!SWIG_AsVal_double(obj
, &v
)) {
2463 this is needed to make valgrind/purify happier.
2465 memset((void*)&v
, 0, sizeof(double));
2472 SWIG_Check_double(PyObject
* obj
)
2474 return SWIG_AsVal_double(obj
, (double*)0);
2477 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2479 self
->Read(key
, &rv
, defaultVal
);
2483 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2484 #define SWIG_From_double PyFloat_FromDouble
2487 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2489 self
->Read(key
, &rv
, defaultVal
);
2493 #include <wx/datetime.h>
2496 static const wxString
wxPyDateFormatStr(wxT("%c"));
2497 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
2499 #define LOCAL_TZ wxDateTime::Local
2502 #if UINT_MAX < LONG_MAX
2503 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2504 #define SWIG_From_unsigned_SS_int SWIG_From_long
2507 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2508 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2512 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2513 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2514 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2515 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2516 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2517 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2518 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2519 return (*self
< *other
);
2521 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2522 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2523 return (*self
<= *other
);
2525 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2526 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2527 return (*self
> *other
);
2529 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2530 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2531 return (*self
>= *other
);
2533 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2534 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2535 return (*self
== *other
);
2537 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2538 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2539 return (*self
!= *other
);
2541 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2543 const wxChar
* _date
= date
;
2544 rv
= self
->ParseRfc822Date(_date
);
2545 if (rv
== NULL
) return -1;
2548 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDateFormatStr
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2550 const wxChar
* _date
= date
;
2551 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2552 if (rv
== NULL
) return -1;
2555 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2557 const wxChar
* _datetime
= datetime
;
2558 rv
= self
->ParseDateTime(_datetime
);
2559 if (rv
== NULL
) return -1;
2560 return rv
- _datetime
;
2562 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2564 const wxChar
* _date
= date
;
2565 rv
= self
->ParseDate(_date
);
2566 if (rv
== NULL
) return -1;
2569 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2571 const wxChar
* _time
= time
;
2572 rv
= self
->ParseTime(_time
);
2573 if (rv
== NULL
) return -1;
2576 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2577 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2578 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2579 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2580 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2581 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2582 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2583 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2584 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2585 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2586 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2587 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2588 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2589 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2590 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2591 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2593 #include <wx/dataobj.h>
2595 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2596 size_t count
= self
->GetFormatCount(dir
);
2597 wxDataFormat
* formats
= new wxDataFormat
[count
];
2598 self
->GetAllFormats(formats
, dir
);
2600 bool blocked
= wxPyBeginBlockThreads();
2601 PyObject
* list
= PyList_New(count
);
2602 for (size_t i
=0; i
<count
; i
++) {
2603 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2604 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2605 PyList_Append(list
, obj
);
2608 wxPyEndBlockThreads(blocked
);
2612 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2613 PyObject
* rval
= NULL
;
2614 size_t size
= self
->GetDataSize(format
);
2615 bool blocked
= wxPyBeginBlockThreads();
2617 char* buf
= new char[size
];
2618 if (self
->GetDataHere(format
, buf
))
2619 rval
= PyString_FromStringAndSize(buf
, size
);
2626 wxPyEndBlockThreads(blocked
);
2629 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2631 bool blocked
= wxPyBeginBlockThreads();
2632 if (PyString_Check(data
)) {
2633 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2636 // raise a TypeError if not a string
2637 PyErr_SetString(PyExc_TypeError
, "String expected.");
2640 wxPyEndBlockThreads(blocked
);
2643 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2644 PyObject
* rval
= NULL
;
2645 size_t size
= self
->GetDataSize();
2646 bool blocked
= wxPyBeginBlockThreads();
2648 char* buf
= new char[size
];
2649 if (self
->GetDataHere(buf
))
2650 rval
= PyString_FromStringAndSize(buf
, size
);
2657 wxPyEndBlockThreads(blocked
);
2660 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2662 bool blocked
= wxPyBeginBlockThreads();
2663 if (PyString_Check(data
)) {
2664 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2667 // raise a TypeError if not a string
2668 PyErr_SetString(PyExc_TypeError
, "String expected.");
2671 wxPyEndBlockThreads(blocked
);
2674 // Create a new class for wxPython to use
2675 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2677 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2678 : wxDataObjectSimple(format
) {}
2680 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2681 bool GetDataHere(void *buf
) const;
2682 bool SetData(size_t len
, const void *buf
) const;
2686 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2688 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2689 // We need to get the data for this object and write it to buf. I think
2690 // the best way to do this for wxPython is to have the Python method
2691 // return either a string or None and then act appropriately with the
2695 bool blocked
= wxPyBeginBlockThreads();
2696 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2698 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2700 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2702 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2706 wxPyEndBlockThreads(blocked
);
2710 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2711 // For this one we simply need to make a string from buf and len
2712 // and send it to the Python method.
2714 bool blocked
= wxPyBeginBlockThreads();
2715 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2716 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2717 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2720 wxPyEndBlockThreads(blocked
);
2724 // Create a new class for wxPython to use
2725 class wxPyTextDataObject
: public wxTextDataObject
{
2727 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2728 : wxTextDataObject(text
) {}
2730 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2731 DEC_PYCALLBACK_STRING__const(GetText
);
2732 DEC_PYCALLBACK__STRING(SetText
);
2736 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2737 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2738 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2741 // Create a new class for wxPython to use
2742 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2744 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2745 : wxBitmapDataObject(bitmap
) {}
2747 wxBitmap
GetBitmap() const;
2748 void SetBitmap(const wxBitmap
& bitmap
);
2752 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2753 wxBitmap
* rval
= &wxNullBitmap
;
2754 bool blocked
= wxPyBeginBlockThreads();
2755 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2758 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2760 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2765 wxPyEndBlockThreads(blocked
);
2769 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2770 bool blocked
= wxPyBeginBlockThreads();
2771 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2772 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2773 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2776 wxPyEndBlockThreads(blocked
);
2779 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2781 bool blocked
= wxPyBeginBlockThreads();
2782 if (PyString_Check(data
)) {
2783 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2786 // raise a TypeError if not a string
2787 PyErr_SetString(PyExc_TypeError
, "String expected.");
2790 wxPyEndBlockThreads(blocked
);
2793 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2795 bool blocked
= wxPyBeginBlockThreads();
2796 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2797 wxPyEndBlockThreads(blocked
);
2801 #include <wx/metafile.h>
2804 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2807 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2808 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2809 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2810 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2811 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2814 class wxPyTextDropTarget
: public wxTextDropTarget
{
2816 wxPyTextDropTarget() {}
2818 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2820 DEC_PYCALLBACK__(OnLeave
);
2821 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2822 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2823 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2824 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2829 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2830 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2831 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2832 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2833 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2834 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2838 class wxPyFileDropTarget
: public wxFileDropTarget
{
2840 wxPyFileDropTarget() {}
2842 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2844 DEC_PYCALLBACK__(OnLeave
);
2845 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2846 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2847 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2848 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2853 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2854 const wxArrayString
& filenames
) {
2856 bool blocked
= wxPyBeginBlockThreads();
2857 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2858 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2859 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2862 wxPyEndBlockThreads(blocked
);
2868 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2869 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2870 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2871 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2872 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2877 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2879 #include <wx/display.h>
2881 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2882 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2884 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2886 #include <wx/dynarray.h>
2887 #include <wx/vidmode.h>
2889 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2890 #include "wx/arrimpl.cpp"
2891 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2892 const wxVideoMode wxDefaultVideoMode
;
2897 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2900 static size_t GetCount()
2901 { wxPyRaiseNotImplemented(); return 0; }
2903 static int GetFromPoint(const wxPoint
& pt
)
2904 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2905 static int GetFromWindow(wxWindow
*window
)
2906 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2908 virtual bool IsOk() const { return false; }
2909 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2910 virtual wxString
GetName() const { return wxEmptyString
; }
2911 bool IsPrimary() const { return false; }
2913 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2914 { wxArrayVideoModes a
; return a
; }
2916 virtual wxVideoMode
GetCurrentMode() const
2917 { return wxDefaultVideoMode
; }
2919 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2926 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2927 PyObject
* pyList
= NULL
;
2928 wxArrayVideoModes arr
= self
->GetModes(mode
);
2929 bool blocked
= wxPyBeginBlockThreads();
2930 pyList
= PyList_New(0);
2931 for (int i
=0; i
< arr
.GetCount(); i
++) {
2932 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2933 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2934 PyList_Append(pyList
, pyObj
);
2937 wxPyEndBlockThreads(blocked
);
2941 #include <wx/stdpaths.h>
2943 static wxStandardPaths
*StandardPaths_Get(){
2944 return (wxStandardPaths
*) &wxStandardPaths::Get();
2946 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2947 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2951 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxSystemColour arg1
;
2955 PyObject
* obj0
= 0 ;
2957 (char *) "index", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2962 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2963 if (SWIG_arg_fail(1)) SWIG_fail
;
2966 if (!wxPyCheckForApp()) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2974 wxColour
* resultptr
;
2975 resultptr
= new wxColour((wxColour
&)(result
));
2976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2984 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2988 PyObject
* obj0
= 0 ;
2990 (char *) "index", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
2995 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
2996 if (SWIG_arg_fail(1)) SWIG_fail
;
2999 if (!wxPyCheckForApp()) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3008 resultptr
= new wxFont((wxFont
&)(result
));
3009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3017 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxSystemMetric arg1
;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "index", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
3028 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3029 if (SWIG_arg_fail(1)) SWIG_fail
;
3032 if (!wxPyCheckForApp()) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= SWIG_From_int((int)(result
));
3048 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxSystemFeature arg1
;
3052 PyObject
* obj0
= 0 ;
3054 (char *) "index", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3059 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3060 if (SWIG_arg_fail(1)) SWIG_fail
;
3063 if (!wxPyCheckForApp()) SWIG_fail
;
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3079 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxSystemScreenType result
;
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3088 if (!wxPyCheckForApp()) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3095 resultobj
= SWIG_From_int((result
));
3102 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxSystemScreenType arg1
;
3105 PyObject
* obj0
= 0 ;
3107 (char *) "screen", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3112 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3113 if (SWIG_arg_fail(1)) SWIG_fail
;
3116 if (!wxPyCheckForApp()) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3130 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3133 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3135 return Py_BuildValue((char *)"");
3137 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3138 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3143 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3148 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3150 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3157 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxSystemOptions
*result
;
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 result
= (wxSystemOptions
*)new wxSystemOptions();
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3179 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
;
3181 wxString
*arg1
= 0 ;
3182 wxString
*arg2
= 0 ;
3183 bool temp1
= false ;
3184 bool temp2
= false ;
3185 PyObject
* obj0
= 0 ;
3186 PyObject
* obj1
= 0 ;
3188 (char *) "name",(char *) "value", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3193 arg1
= wxString_in_helper(obj0
);
3194 if (arg1
== NULL
) SWIG_fail
;
3198 arg2
= wxString_in_helper(obj1
);
3199 if (arg2
== NULL
) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 Py_INCREF(Py_None
); resultobj
= Py_None
;
3232 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxString
*arg1
= 0 ;
3236 bool temp1
= false ;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "name",(char *) "value", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3245 arg1
= wxString_in_helper(obj0
);
3246 if (arg1
== NULL
) SWIG_fail
;
3250 arg2
= (int)(SWIG_As_int(obj1
));
3251 if (SWIG_arg_fail(2)) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 Py_INCREF(Py_None
); resultobj
= Py_None
;
3275 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxString
*arg1
= 0 ;
3279 bool temp1
= false ;
3280 PyObject
* obj0
= 0 ;
3282 (char *) "name", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3287 arg1
= wxString_in_helper(obj0
);
3288 if (arg1
== NULL
) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3319 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxString
*arg1
= 0 ;
3323 bool temp1
= false ;
3324 PyObject
* obj0
= 0 ;
3326 (char *) "name", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3331 arg1
= wxString_in_helper(obj0
);
3332 if (arg1
== NULL
) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3343 resultobj
= SWIG_From_int((int)(result
));
3359 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
;
3361 wxString
*arg1
= 0 ;
3363 bool temp1
= false ;
3364 PyObject
* obj0
= 0 ;
3366 (char *) "name", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3371 arg1
= wxString_in_helper(obj0
);
3372 if (arg1
== NULL
) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3399 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3402 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3404 return Py_BuildValue((char *)"");
3406 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3407 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3412 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3417 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3419 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3426 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3427 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3432 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3437 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3439 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3446 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3447 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3452 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3457 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3459 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3466 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
;
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= (long)wxNewId();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 resultobj
= SWIG_From_long((long)(result
));
3490 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3493 PyObject
* obj0
= 0 ;
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3500 arg1
= (long)(SWIG_As_long(obj0
));
3501 if (SWIG_arg_fail(1)) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= (long)wxGetCurrentId();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= SWIG_From_long((long)(result
));
3541 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3545 PyObject
* obj0
= 0 ;
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3552 arg1
= (int)(SWIG_As_int(obj0
));
3553 if (SWIG_arg_fail(1)) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= (bool)wxIsStockID(arg1
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3571 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3574 wxString
*arg2
= 0 ;
3576 bool temp2
= false ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "id",(char *) "label", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3585 arg1
= (int)(SWIG_As_int(obj0
));
3586 if (SWIG_arg_fail(1)) SWIG_fail
;
3589 arg2
= wxString_in_helper(obj1
);
3590 if (arg2
== NULL
) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3617 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3621 PyObject
* obj0
= 0 ;
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
3628 arg1
= (int)(SWIG_As_int(obj0
));
3629 if (SWIG_arg_fail(1)) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= wxGetStockLabel(arg1
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3651 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3659 if (!wxPyCheckForApp()) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3681 if (!wxPyCheckForApp()) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 Py_INCREF(Py_None
); resultobj
= Py_None
;
3695 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 bool arg1
= (bool) true ;
3699 PyObject
* obj0
= 0 ;
3701 (char *) "resetTimer", NULL
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3707 arg1
= (bool)(SWIG_As_bool(obj0
));
3708 if (SWIG_arg_fail(1)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (long)wxGetElapsedTime(arg1
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_From_long((long)(result
));
3727 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 int *arg1
= (int *) 0 ;
3730 int *arg2
= (int *) 0 ;
3739 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3740 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3743 if (!wxPyCheckForApp()) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 wxGetMousePosition(arg1
,arg2
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 Py_INCREF(Py_None
); resultobj
= Py_None
;
3751 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3752 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3753 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3754 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3761 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 result
= (bool)wxIsBusy();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3785 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3813 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3816 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3818 bool temp1
= false ;
3819 PyObject
* obj0
= 0 ;
3821 (char *) "command", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3827 arg1
= wxString_in_helper(obj0
);
3828 if (arg1
== NULL
) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= (bool)wxShell((wxString
const &)*arg1
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3856 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
;
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 Py_INCREF(Py_None
); resultobj
= Py_None
;
3877 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 int *arg1
= (int *) 0 ;
3880 int *arg2
= (int *) 0 ;
3890 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3891 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (int)wxGetOsVersion(arg1
,arg2
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_From_int((int)(result
));
3903 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3904 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3905 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3906 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3913 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= wxGetOsDescription();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3941 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (long)wxGetFreeMemory();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= SWIG_From_long((long)(result
));
3965 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxShutdownFlags arg1
;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "wFlags", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
3976 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
3977 if (SWIG_arg_fail(1)) SWIG_fail
;
3980 if (!wxPyCheckForApp()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3996 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "secs", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4006 arg1
= (int)(SWIG_As_int(obj0
));
4007 if (SWIG_arg_fail(1)) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 unsigned long arg1
;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "milliseconds", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4033 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4034 if (SWIG_arg_fail(1)) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 unsigned long arg1
;
4053 PyObject
* obj0
= 0 ;
4055 (char *) "microseconds", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4060 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4061 if (SWIG_arg_fail(1)) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "enable", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4087 arg1
= (bool)(SWIG_As_bool(obj0
));
4088 if (SWIG_arg_fail(1)) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 wxEnableTopLevelWindows(arg1
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 Py_INCREF(Py_None
); resultobj
= Py_None
;
4104 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxString
*arg1
= 0 ;
4108 bool temp1
= false ;
4109 PyObject
* obj0
= 0 ;
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4116 arg1
= wxString_in_helper(obj0
);
4117 if (arg1
== NULL
) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4148 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= wxGetEmailAddress();
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4176 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= wxGetHostName();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4204 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= wxGetFullHostName();
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4232 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= wxGetUserId();
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4260 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= wxGetUserName();
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4288 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= wxGetHomeDir();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4316 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4319 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4321 bool temp1
= false ;
4322 PyObject
* obj0
= 0 ;
4324 (char *) "user", NULL
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4330 arg1
= wxString_in_helper(obj0
);
4331 if (arg1
== NULL
) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 result
= wxGetUserHome((wxString
const &)*arg1
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4363 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 unsigned long result
;
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (unsigned long)wxGetProcessId();
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4387 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 Py_INCREF(Py_None
); resultobj
= Py_None
;
4408 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4411 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4412 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4413 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4414 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4415 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4416 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4417 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4418 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4419 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4420 int arg6
= (int) 0 ;
4421 wxWindow
*arg7
= (wxWindow
*) NULL
;
4422 int arg8
= (int) -1 ;
4423 int arg9
= (int) -1 ;
4425 bool temp1
= false ;
4426 bool temp2
= false ;
4427 bool temp3
= false ;
4428 bool temp4
= false ;
4429 bool temp5
= false ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4432 PyObject
* obj2
= 0 ;
4433 PyObject
* obj3
= 0 ;
4434 PyObject
* obj4
= 0 ;
4435 PyObject
* obj5
= 0 ;
4436 PyObject
* obj6
= 0 ;
4437 PyObject
* obj7
= 0 ;
4438 PyObject
* obj8
= 0 ;
4440 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4446 arg1
= wxString_in_helper(obj0
);
4447 if (arg1
== NULL
) SWIG_fail
;
4453 arg2
= wxString_in_helper(obj1
);
4454 if (arg2
== NULL
) SWIG_fail
;
4460 arg3
= wxString_in_helper(obj2
);
4461 if (arg3
== NULL
) SWIG_fail
;
4467 arg4
= wxString_in_helper(obj3
);
4468 if (arg4
== NULL
) SWIG_fail
;
4474 arg5
= wxString_in_helper(obj4
);
4475 if (arg5
== NULL
) SWIG_fail
;
4481 arg6
= (int)(SWIG_As_int(obj5
));
4482 if (SWIG_arg_fail(6)) SWIG_fail
;
4486 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4487 if (SWIG_arg_fail(7)) SWIG_fail
;
4491 arg8
= (int)(SWIG_As_int(obj7
));
4492 if (SWIG_arg_fail(8)) SWIG_fail
;
4497 arg9
= (int)(SWIG_As_int(obj8
));
4498 if (SWIG_arg_fail(9)) SWIG_fail
;
4502 if (!wxPyCheckForApp()) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4562 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxString
*arg1
= 0 ;
4565 wxString
*arg2
= 0 ;
4566 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4567 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4568 wxWindow
*arg4
= (wxWindow
*) NULL
;
4570 bool temp1
= false ;
4571 bool temp2
= false ;
4572 bool temp3
= false ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4575 PyObject
* obj2
= 0 ;
4576 PyObject
* obj3
= 0 ;
4578 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4583 arg1
= wxString_in_helper(obj0
);
4584 if (arg1
== NULL
) SWIG_fail
;
4588 arg2
= wxString_in_helper(obj1
);
4589 if (arg2
== NULL
) SWIG_fail
;
4594 arg3
= wxString_in_helper(obj2
);
4595 if (arg3
== NULL
) SWIG_fail
;
4600 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4601 if (SWIG_arg_fail(4)) SWIG_fail
;
4604 if (!wxPyCheckForApp()) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4648 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxString
*arg1
= 0 ;
4651 wxString
*arg2
= 0 ;
4652 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4654 wxWindow
*arg4
= (wxWindow
*) NULL
;
4656 bool temp1
= false ;
4657 bool temp2
= false ;
4658 bool temp3
= false ;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4661 PyObject
* obj2
= 0 ;
4662 PyObject
* obj3
= 0 ;
4664 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4669 arg1
= wxString_in_helper(obj0
);
4670 if (arg1
== NULL
) SWIG_fail
;
4674 arg2
= wxString_in_helper(obj1
);
4675 if (arg2
== NULL
) SWIG_fail
;
4680 arg3
= wxString_in_helper(obj2
);
4681 if (arg3
== NULL
) SWIG_fail
;
4686 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4687 if (SWIG_arg_fail(4)) SWIG_fail
;
4690 if (!wxPyCheckForApp()) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4734 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4737 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4738 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4739 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4740 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4743 wxWindow
*arg5
= (wxWindow
*) NULL
;
4745 bool temp1
= false ;
4746 bool temp2
= false ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4751 PyObject
* obj3
= 0 ;
4752 PyObject
* obj4
= 0 ;
4754 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4760 arg1
= wxString_in_helper(obj0
);
4761 if (arg1
== NULL
) SWIG_fail
;
4767 arg2
= wxString_in_helper(obj1
);
4768 if (arg2
== NULL
) SWIG_fail
;
4774 arg3
= (long)(SWIG_As_long(obj2
));
4775 if (SWIG_arg_fail(3)) SWIG_fail
;
4781 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4785 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4786 if (SWIG_arg_fail(5)) SWIG_fail
;
4789 if (!wxPyCheckForApp()) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4825 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxString
*arg1
= 0 ;
4828 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4829 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4830 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4832 wxWindow
*arg4
= (wxWindow
*) NULL
;
4833 int arg5
= (int) -1 ;
4834 int arg6
= (int) -1 ;
4835 bool arg7
= (bool) true ;
4837 bool temp1
= false ;
4838 bool temp2
= false ;
4839 bool temp3
= false ;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4842 PyObject
* obj2
= 0 ;
4843 PyObject
* obj3
= 0 ;
4844 PyObject
* obj4
= 0 ;
4845 PyObject
* obj5
= 0 ;
4846 PyObject
* obj6
= 0 ;
4848 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4853 arg1
= wxString_in_helper(obj0
);
4854 if (arg1
== NULL
) SWIG_fail
;
4859 arg2
= wxString_in_helper(obj1
);
4860 if (arg2
== NULL
) SWIG_fail
;
4866 arg3
= wxString_in_helper(obj2
);
4867 if (arg3
== NULL
) SWIG_fail
;
4872 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4873 if (SWIG_arg_fail(4)) SWIG_fail
;
4877 arg5
= (int)(SWIG_As_int(obj4
));
4878 if (SWIG_arg_fail(5)) SWIG_fail
;
4883 arg6
= (int)(SWIG_As_int(obj5
));
4884 if (SWIG_arg_fail(6)) SWIG_fail
;
4889 arg7
= (bool)(SWIG_As_bool(obj6
));
4890 if (SWIG_arg_fail(7)) SWIG_fail
;
4894 if (!wxPyCheckForApp()) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4938 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxString
*arg1
= 0 ;
4941 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4942 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4945 wxWindow
*arg4
= (wxWindow
*) NULL
;
4947 bool temp1
= false ;
4948 bool temp2
= false ;
4949 bool temp3
= false ;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4952 PyObject
* obj2
= 0 ;
4953 PyObject
* obj3
= 0 ;
4955 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4960 arg1
= wxString_in_helper(obj0
);
4961 if (arg1
== NULL
) SWIG_fail
;
4966 arg2
= wxString_in_helper(obj1
);
4967 if (arg2
== NULL
) SWIG_fail
;
4973 arg3
= wxString_in_helper(obj2
);
4974 if (arg3
== NULL
) SWIG_fail
;
4979 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4980 if (SWIG_arg_fail(4)) SWIG_fail
;
4983 if (!wxPyCheckForApp()) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5027 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxString
*arg1
= 0 ;
5030 wxString
*arg2
= 0 ;
5032 wxString
*arg4
= (wxString
*) 0 ;
5033 wxWindow
*arg5
= (wxWindow
*) NULL
;
5034 int arg6
= (int) -1 ;
5035 int arg7
= (int) -1 ;
5036 bool arg8
= (bool) true ;
5037 int arg9
= (int) 150 ;
5038 int arg10
= (int) 200 ;
5040 bool temp1
= false ;
5041 bool temp2
= false ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5044 PyObject
* obj2
= 0 ;
5045 PyObject
* obj3
= 0 ;
5046 PyObject
* obj4
= 0 ;
5047 PyObject
* obj5
= 0 ;
5048 PyObject
* obj6
= 0 ;
5049 PyObject
* obj7
= 0 ;
5050 PyObject
* obj8
= 0 ;
5052 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5057 arg1
= wxString_in_helper(obj0
);
5058 if (arg1
== NULL
) SWIG_fail
;
5062 arg2
= wxString_in_helper(obj1
);
5063 if (arg2
== NULL
) SWIG_fail
;
5067 arg3
= PyList_Size(obj2
);
5068 arg4
= wxString_LIST_helper(obj2
);
5069 if (arg4
== NULL
) SWIG_fail
;
5072 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5073 if (SWIG_arg_fail(5)) SWIG_fail
;
5077 arg6
= (int)(SWIG_As_int(obj4
));
5078 if (SWIG_arg_fail(6)) SWIG_fail
;
5083 arg7
= (int)(SWIG_As_int(obj5
));
5084 if (SWIG_arg_fail(7)) SWIG_fail
;
5089 arg8
= (bool)(SWIG_As_bool(obj6
));
5090 if (SWIG_arg_fail(8)) SWIG_fail
;
5095 arg9
= (int)(SWIG_As_int(obj7
));
5096 if (SWIG_arg_fail(9)) SWIG_fail
;
5101 arg10
= (int)(SWIG_As_int(obj8
));
5102 if (SWIG_arg_fail(10)) SWIG_fail
;
5106 if (!wxPyCheckForApp()) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5129 if (arg4
) delete [] arg4
;
5142 if (arg4
) delete [] arg4
;
5148 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxString
*arg1
= 0 ;
5151 wxString
*arg2
= 0 ;
5153 wxString
*arg4
= (wxString
*) 0 ;
5154 wxWindow
*arg5
= (wxWindow
*) NULL
;
5155 int arg6
= (int) -1 ;
5156 int arg7
= (int) -1 ;
5157 bool arg8
= (bool) true ;
5158 int arg9
= (int) 150 ;
5159 int arg10
= (int) 200 ;
5161 bool temp1
= false ;
5162 bool temp2
= false ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5165 PyObject
* obj2
= 0 ;
5166 PyObject
* obj3
= 0 ;
5167 PyObject
* obj4
= 0 ;
5168 PyObject
* obj5
= 0 ;
5169 PyObject
* obj6
= 0 ;
5170 PyObject
* obj7
= 0 ;
5171 PyObject
* obj8
= 0 ;
5173 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5178 arg1
= wxString_in_helper(obj0
);
5179 if (arg1
== NULL
) SWIG_fail
;
5183 arg2
= wxString_in_helper(obj1
);
5184 if (arg2
== NULL
) SWIG_fail
;
5188 arg3
= PyList_Size(obj2
);
5189 arg4
= wxString_LIST_helper(obj2
);
5190 if (arg4
== NULL
) SWIG_fail
;
5193 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(5)) SWIG_fail
;
5198 arg6
= (int)(SWIG_As_int(obj4
));
5199 if (SWIG_arg_fail(6)) SWIG_fail
;
5204 arg7
= (int)(SWIG_As_int(obj5
));
5205 if (SWIG_arg_fail(7)) SWIG_fail
;
5210 arg8
= (bool)(SWIG_As_bool(obj6
));
5211 if (SWIG_arg_fail(8)) SWIG_fail
;
5216 arg9
= (int)(SWIG_As_int(obj7
));
5217 if (SWIG_arg_fail(9)) SWIG_fail
;
5222 arg10
= (int)(SWIG_As_int(obj8
));
5223 if (SWIG_arg_fail(10)) SWIG_fail
;
5227 if (!wxPyCheckForApp()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_From_int((int)(result
));
5246 if (arg4
) delete [] arg4
;
5259 if (arg4
) delete [] arg4
;
5265 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxString
*arg1
= 0 ;
5268 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5269 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5270 int arg3
= (int) wxOK
|wxCENTRE
;
5271 wxWindow
*arg4
= (wxWindow
*) NULL
;
5272 int arg5
= (int) -1 ;
5273 int arg6
= (int) -1 ;
5275 bool temp1
= false ;
5276 bool temp2
= false ;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5279 PyObject
* obj2
= 0 ;
5280 PyObject
* obj3
= 0 ;
5281 PyObject
* obj4
= 0 ;
5282 PyObject
* obj5
= 0 ;
5284 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5289 arg1
= wxString_in_helper(obj0
);
5290 if (arg1
== NULL
) SWIG_fail
;
5295 arg2
= wxString_in_helper(obj1
);
5296 if (arg2
== NULL
) SWIG_fail
;
5302 arg3
= (int)(SWIG_As_int(obj2
));
5303 if (SWIG_arg_fail(3)) SWIG_fail
;
5307 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5308 if (SWIG_arg_fail(4)) SWIG_fail
;
5312 arg5
= (int)(SWIG_As_int(obj4
));
5313 if (SWIG_arg_fail(5)) SWIG_fail
;
5318 arg6
= (int)(SWIG_As_int(obj5
));
5319 if (SWIG_arg_fail(6)) SWIG_fail
;
5323 if (!wxPyCheckForApp()) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_From_int((int)(result
));
5355 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
*resultobj
;
5357 wxString
*arg1
= 0 ;
5358 wxString
*arg2
= 0 ;
5359 wxString
*arg3
= 0 ;
5361 long arg5
= (long) 0 ;
5362 long arg6
= (long) 100 ;
5363 wxWindow
*arg7
= (wxWindow
*) NULL
;
5364 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5365 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5367 bool temp1
= false ;
5368 bool temp2
= false ;
5369 bool temp3
= false ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 PyObject
* obj2
= 0 ;
5374 PyObject
* obj3
= 0 ;
5375 PyObject
* obj4
= 0 ;
5376 PyObject
* obj5
= 0 ;
5377 PyObject
* obj6
= 0 ;
5378 PyObject
* obj7
= 0 ;
5380 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5385 arg1
= wxString_in_helper(obj0
);
5386 if (arg1
== NULL
) SWIG_fail
;
5390 arg2
= wxString_in_helper(obj1
);
5391 if (arg2
== NULL
) SWIG_fail
;
5395 arg3
= wxString_in_helper(obj2
);
5396 if (arg3
== NULL
) SWIG_fail
;
5400 arg4
= (long)(SWIG_As_long(obj3
));
5401 if (SWIG_arg_fail(4)) SWIG_fail
;
5405 arg5
= (long)(SWIG_As_long(obj4
));
5406 if (SWIG_arg_fail(5)) SWIG_fail
;
5411 arg6
= (long)(SWIG_As_long(obj5
));
5412 if (SWIG_arg_fail(6)) SWIG_fail
;
5416 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5417 if (SWIG_arg_fail(7)) SWIG_fail
;
5422 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5426 if (!wxPyCheckForApp()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_From_long((long)(result
));
5466 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5475 if (!wxPyCheckForApp()) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (bool)wxColourDisplay();
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5491 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5500 if (!wxPyCheckForApp()) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (int)wxDisplayDepth();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_From_int((int)(result
));
5516 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5525 if (!wxPyCheckForApp()) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 result
= (int)wxGetDisplayDepth();
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= SWIG_From_int((int)(result
));
5541 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 int *arg1
= (int *) 0 ;
5544 int *arg2
= (int *) 0 ;
5553 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5554 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5557 if (!wxPyCheckForApp()) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 wxDisplaySize(arg1
,arg2
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 Py_INCREF(Py_None
); resultobj
= Py_None
;
5565 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5566 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5567 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5568 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5575 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5584 if (!wxPyCheckForApp()) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= wxGetDisplaySize();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5593 resultptr
= new wxSize((wxSize
&)(result
));
5594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5602 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 int *arg1
= (int *) 0 ;
5605 int *arg2
= (int *) 0 ;
5614 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5615 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5618 if (!wxPyCheckForApp()) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 wxDisplaySizeMM(arg1
,arg2
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5627 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5628 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5629 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5636 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5645 if (!wxPyCheckForApp()) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= wxGetDisplaySizeMM();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5654 resultptr
= new wxSize((wxSize
&)(result
));
5655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5663 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
;
5665 int *arg1
= (int *) 0 ;
5666 int *arg2
= (int *) 0 ;
5667 int *arg3
= (int *) 0 ;
5668 int *arg4
= (int *) 0 ;
5681 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5682 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5683 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5684 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5687 if (!wxPyCheckForApp()) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 Py_INCREF(Py_None
); resultobj
= Py_None
;
5695 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5696 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5697 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5698 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5699 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5700 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5701 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5702 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5709 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5718 if (!wxPyCheckForApp()) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= wxGetClientDisplayRect();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5727 resultptr
= new wxRect((wxRect
&)(result
));
5728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5736 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxCursor
*arg1
= 0 ;
5739 PyObject
* obj0
= 0 ;
5741 (char *) "cursor", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5747 if (SWIG_arg_fail(1)) SWIG_fail
;
5749 SWIG_null_ref("wxCursor");
5751 if (SWIG_arg_fail(1)) SWIG_fail
;
5754 if (!wxPyCheckForApp()) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 Py_INCREF(Py_None
); resultobj
= Py_None
;
5768 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5771 PyObject
* obj0
= 0 ;
5773 (char *) "cursor", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5779 if (SWIG_arg_fail(1)) SWIG_fail
;
5782 if (!wxPyCheckForApp()) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 wxBeginBusyCursor(arg1
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5805 if (!wxPyCheckForApp()) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= (wxWindow
*)wxGetActiveWindow();
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= wxPyMake_wxObject(result
, 0);
5821 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5826 PyObject
* obj0
= 0 ;
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5834 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5837 if (!wxPyCheckForApp()) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= wxPyMake_wxObject(result
, 0);
5853 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5858 PyObject
* obj0
= 0 ;
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5866 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5869 if (!wxPyCheckForApp()) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= wxPyMake_wxObject(result
, 0);
5885 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxWindow
*arg1
= (wxWindow
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5891 (char *) "win", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5896 if (SWIG_arg_fail(1)) SWIG_fail
;
5898 if (!wxPyCheckForApp()) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= wxPyMake_wxObject(result
, 0);
5914 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5918 PyObject
* obj0
= 0 ;
5920 (char *) "key", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5925 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5926 if (SWIG_arg_fail(1)) SWIG_fail
;
5929 if (!wxPyCheckForApp()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5945 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
5953 if (!wxPyCheckForApp()) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 wxWakeUpMainThread();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 Py_INCREF(Py_None
); resultobj
= Py_None
;
5967 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
5975 if (!wxPyCheckForApp()) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 Py_INCREF(Py_None
); resultobj
= Py_None
;
5989 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
5997 if (!wxPyCheckForApp()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 Py_INCREF(Py_None
); resultobj
= Py_None
;
6011 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxMutexGuiLocker
*result
;
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6020 if (!wxPyCheckForApp()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6034 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6044 if (SWIG_arg_fail(1)) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6062 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6064 return Py_BuildValue((char *)"");
6066 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (bool)wxThread_IsMain();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6090 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxString
*arg1
= 0 ;
6094 bool temp1
= false ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "tip", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6102 arg1
= wxString_in_helper(obj0
);
6103 if (arg1
== NULL
) SWIG_fail
;
6107 if (!wxPyCheckForApp()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= wxPyMake_wxObject(result
, 1);
6131 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6134 wxString
*arg2
= 0 ;
6135 bool temp2
= false ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "tip", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6144 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 arg2
= wxString_in_helper(obj1
);
6147 if (arg2
== NULL
) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 (arg1
)->SetTip((wxString
const &)*arg2
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 Py_INCREF(Py_None
); resultobj
= Py_None
;
6172 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6178 (char *) "self", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6183 if (SWIG_arg_fail(1)) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (arg1
)->GetTip();
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6204 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6210 (char *) "self", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (wxWindow
*)(arg1
)->GetWindow();
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= wxPyMake_wxObject(result
, 0);
6232 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6235 PyObject
* obj0
= 0 ;
6237 (char *) "flag", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6242 arg1
= (bool)(SWIG_As_bool(obj0
));
6243 if (SWIG_arg_fail(1)) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 wxToolTip::Enable(arg1
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6262 PyObject
* obj0
= 0 ;
6264 (char *) "milliseconds", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6269 arg1
= (long)(SWIG_As_long(obj0
));
6270 if (SWIG_arg_fail(1)) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 wxToolTip::SetDelay(arg1
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 Py_INCREF(Py_None
); resultobj
= Py_None
;
6286 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6289 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6291 return Py_BuildValue((char *)"");
6293 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxWindow
*arg1
= (wxWindow
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6302 (char *) "window",(char *) "size", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6307 if (SWIG_arg_fail(1)) SWIG_fail
;
6310 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6313 if (!wxPyCheckForApp()) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6327 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxCaret
*arg1
= (wxCaret
*) 0 ;
6330 PyObject
* obj0
= 0 ;
6332 (char *) "self", NULL
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
6336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6337 if (SWIG_arg_fail(1)) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 Py_INCREF(Py_None
); resultobj
= Py_None
;
6352 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxCaret
*arg1
= (wxCaret
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6358 (char *) "self", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6363 if (SWIG_arg_fail(1)) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 result
= (bool)(arg1
)->IsOk();
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6380 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
;
6382 wxCaret
*arg1
= (wxCaret
*) 0 ;
6384 PyObject
* obj0
= 0 ;
6386 (char *) "self", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)(arg1
)->IsVisible();
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6408 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxCaret
*arg1
= (wxCaret
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6414 (char *) "self", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6419 if (SWIG_arg_fail(1)) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (arg1
)->GetPosition();
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6428 wxPoint
* resultptr
;
6429 resultptr
= new wxPoint((wxPoint
&)(result
));
6430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6438 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxCaret
*arg1
= (wxCaret
*) 0 ;
6441 int *arg2
= (int *) 0 ;
6442 int *arg3
= (int *) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6453 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6456 if (SWIG_arg_fail(1)) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 (arg1
)->GetPosition(arg2
,arg3
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 Py_INCREF(Py_None
); resultobj
= Py_None
;
6465 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6466 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6467 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6468 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6475 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxCaret
*arg1
= (wxCaret
*) 0 ;
6479 PyObject
* obj0
= 0 ;
6481 (char *) "self", NULL
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6486 if (SWIG_arg_fail(1)) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 result
= (arg1
)->GetSize();
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6496 resultptr
= new wxSize((wxSize
&)(result
));
6497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6505 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxCaret
*arg1
= (wxCaret
*) 0 ;
6508 int *arg2
= (int *) 0 ;
6509 int *arg3
= (int *) 0 ;
6514 PyObject
* obj0
= 0 ;
6516 (char *) "self", NULL
6519 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6520 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6523 if (SWIG_arg_fail(1)) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 (arg1
)->GetSize(arg2
,arg3
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 Py_INCREF(Py_None
); resultobj
= Py_None
;
6532 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6533 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6534 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6535 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6542 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxCaret
*arg1
= (wxCaret
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6548 (char *) "self", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6553 if (SWIG_arg_fail(1)) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (wxWindow
*)(arg1
)->GetWindow();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= wxPyMake_wxObject(result
, 0);
6570 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxCaret
*arg1
= (wxCaret
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6579 (char *) "self",(char *) "x",(char *) "y", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6584 if (SWIG_arg_fail(1)) SWIG_fail
;
6586 arg2
= (int)(SWIG_As_int(obj1
));
6587 if (SWIG_arg_fail(2)) SWIG_fail
;
6590 arg3
= (int)(SWIG_As_int(obj2
));
6591 if (SWIG_arg_fail(3)) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 (arg1
)->Move(arg2
,arg3
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 Py_INCREF(Py_None
); resultobj
= Py_None
;
6607 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxCaret
*arg1
= (wxCaret
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6615 (char *) "self",(char *) "pt", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6620 if (SWIG_arg_fail(1)) SWIG_fail
;
6623 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->Move((wxPoint
const &)*arg2
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxCaret
*arg1
= (wxCaret
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6646 PyObject
* obj2
= 0 ;
6648 (char *) "self",(char *) "width",(char *) "height", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6653 if (SWIG_arg_fail(1)) SWIG_fail
;
6655 arg2
= (int)(SWIG_As_int(obj1
));
6656 if (SWIG_arg_fail(2)) SWIG_fail
;
6659 arg3
= (int)(SWIG_As_int(obj2
));
6660 if (SWIG_arg_fail(3)) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 (arg1
)->SetSize(arg2
,arg3
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 Py_INCREF(Py_None
); resultobj
= Py_None
;
6676 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxCaret
*arg1
= (wxCaret
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6684 (char *) "self",(char *) "size", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6689 if (SWIG_arg_fail(1)) SWIG_fail
;
6692 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 (arg1
)->SetSize((wxSize
const &)*arg2
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 Py_INCREF(Py_None
); resultobj
= Py_None
;
6708 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxCaret
*arg1
= (wxCaret
*) 0 ;
6711 int arg2
= (int) true ;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6715 (char *) "self",(char *) "show", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6720 if (SWIG_arg_fail(1)) SWIG_fail
;
6723 arg2
= (int)(SWIG_As_int(obj1
));
6724 if (SWIG_arg_fail(2)) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 Py_INCREF(Py_None
); resultobj
= Py_None
;
6741 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxCaret
*arg1
= (wxCaret
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "self", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6751 if (SWIG_arg_fail(1)) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 Py_INCREF(Py_None
); resultobj
= Py_None
;
6766 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6769 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6771 return Py_BuildValue((char *)"");
6773 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= (int)wxCaret_GetBlinkTime();
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_From_int((int)(result
));
6797 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6800 PyObject
* obj0
= 0 ;
6802 (char *) "milliseconds", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6807 arg1
= (int)(SWIG_As_int(obj0
));
6808 if (SWIG_arg_fail(1)) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 wxCaret_SetBlinkTime(arg1
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 Py_INCREF(Py_None
); resultobj
= Py_None
;
6824 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6827 wxBusyCursor
*result
;
6828 PyObject
* obj0
= 0 ;
6830 (char *) "cursor", NULL
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6836 if (SWIG_arg_fail(1)) SWIG_fail
;
6839 if (!wxPyCheckForApp()) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6853 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6856 PyObject
* obj0
= 0 ;
6858 (char *) "self", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6863 if (SWIG_arg_fail(1)) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6881 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6883 return Py_BuildValue((char *)"");
6885 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxWindow
*arg1
= (wxWindow
*) NULL
;
6888 wxWindowDisabler
*result
;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "winToSkip", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6897 if (SWIG_arg_fail(1)) SWIG_fail
;
6900 if (!wxPyCheckForApp()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6914 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6919 (char *) "self", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6924 if (SWIG_arg_fail(1)) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 Py_INCREF(Py_None
); resultobj
= Py_None
;
6939 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6942 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6944 return Py_BuildValue((char *)"");
6946 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxString
*arg1
= 0 ;
6950 bool temp1
= false ;
6951 PyObject
* obj0
= 0 ;
6953 (char *) "message", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
6958 arg1
= wxString_in_helper(obj0
);
6959 if (arg1
== NULL
) SWIG_fail
;
6963 if (!wxPyCheckForApp()) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
6985 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6990 (char *) "self", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
6994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
6995 if (SWIG_arg_fail(1)) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7013 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7015 return Py_BuildValue((char *)"");
7017 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxStopWatch
*result
;
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (wxStopWatch
*)new wxStopWatch();
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7039 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7042 long arg2
= (long) 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7046 (char *) "self",(char *) "t0", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7051 if (SWIG_arg_fail(1)) SWIG_fail
;
7054 arg2
= (long)(SWIG_As_long(obj1
));
7055 if (SWIG_arg_fail(2)) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 (arg1
)->Start(arg2
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 Py_INCREF(Py_None
); resultobj
= Py_None
;
7072 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7077 (char *) "self", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7082 if (SWIG_arg_fail(1)) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7107 if (SWIG_arg_fail(1)) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 Py_INCREF(Py_None
); resultobj
= Py_None
;
7122 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "self", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7133 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_long((long)(result
));
7150 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7153 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7155 return Py_BuildValue((char *)"");
7157 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 int arg1
= (int) 9 ;
7160 int arg2
= (int) wxID_FILE1
;
7161 wxFileHistory
*result
;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "maxFiles",(char *) "idBase", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7171 arg1
= (int)(SWIG_As_int(obj0
));
7172 if (SWIG_arg_fail(1)) SWIG_fail
;
7177 arg2
= (int)(SWIG_As_int(obj1
));
7178 if (SWIG_arg_fail(2)) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7195 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7200 (char *) "self", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7205 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7223 wxString
*arg2
= 0 ;
7224 bool temp2
= false ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7228 (char *) "self",(char *) "file", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7233 if (SWIG_arg_fail(1)) SWIG_fail
;
7235 arg2
= wxString_in_helper(obj1
);
7236 if (arg2
== NULL
) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7268 (char *) "self",(char *) "i", NULL
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7273 if (SWIG_arg_fail(1)) SWIG_fail
;
7275 arg2
= (int)(SWIG_As_int(obj1
));
7276 if (SWIG_arg_fail(2)) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 (arg1
)->RemoveFileFromHistory(arg2
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 Py_INCREF(Py_None
); resultobj
= Py_None
;
7292 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "self", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7303 if (SWIG_arg_fail(1)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_From_int((int)(result
));
7320 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7323 wxMenu
*arg2
= (wxMenu
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7325 PyObject
* obj1
= 0 ;
7327 (char *) "self",(char *) "menu", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7332 if (SWIG_arg_fail(1)) SWIG_fail
;
7333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7334 if (SWIG_arg_fail(2)) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 (arg1
)->UseMenu(arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7349 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7352 wxMenu
*arg2
= (wxMenu
*) 0 ;
7353 PyObject
* obj0
= 0 ;
7354 PyObject
* obj1
= 0 ;
7356 (char *) "self",(char *) "menu", NULL
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7361 if (SWIG_arg_fail(1)) SWIG_fail
;
7362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7363 if (SWIG_arg_fail(2)) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 (arg1
)->RemoveMenu(arg2
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 Py_INCREF(Py_None
); resultobj
= Py_None
;
7378 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7381 wxConfigBase
*arg2
= 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7385 (char *) "self",(char *) "config", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail
;
7392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7393 if (SWIG_arg_fail(2)) SWIG_fail
;
7395 SWIG_null_ref("wxConfigBase");
7397 if (SWIG_arg_fail(2)) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 (arg1
)->Load(*arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 Py_INCREF(Py_None
); resultobj
= Py_None
;
7413 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7416 wxConfigBase
*arg2
= 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7420 (char *) "self",(char *) "config", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7428 if (SWIG_arg_fail(2)) SWIG_fail
;
7430 SWIG_null_ref("wxConfigBase");
7432 if (SWIG_arg_fail(2)) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 (arg1
)->Save(*arg2
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 Py_INCREF(Py_None
); resultobj
= Py_None
;
7448 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7453 (char *) "self", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7458 if (SWIG_arg_fail(1)) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 (arg1
)->AddFilesToMenu();
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 Py_INCREF(Py_None
); resultobj
= Py_None
;
7473 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7476 wxMenu
*arg2
= (wxMenu
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj1
= 0 ;
7480 (char *) "self",(char *) "menu", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7485 if (SWIG_arg_fail(1)) SWIG_fail
;
7486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7487 if (SWIG_arg_fail(2)) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 (arg1
)->AddFilesToMenu(arg2
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7502 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7510 (char *) "self",(char *) "i", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7515 if (SWIG_arg_fail(1)) SWIG_fail
;
7517 arg2
= (int)(SWIG_As_int(obj1
));
7518 if (SWIG_arg_fail(2)) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7540 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7546 (char *) "self", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7551 if (SWIG_arg_fail(1)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_From_int((int)(result
));
7568 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7571 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7573 return Py_BuildValue((char *)"");
7575 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxString
*arg1
= 0 ;
7578 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7579 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7580 wxSingleInstanceChecker
*result
;
7581 bool temp1
= false ;
7582 bool temp2
= false ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7586 (char *) "name",(char *) "path", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7591 arg1
= wxString_in_helper(obj0
);
7592 if (arg1
== NULL
) SWIG_fail
;
7597 arg2
= wxString_in_helper(obj1
);
7598 if (arg2
== NULL
) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7632 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxSingleInstanceChecker
*result
;
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7654 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7659 (char *) "self", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7664 if (SWIG_arg_fail(1)) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 Py_INCREF(Py_None
); resultobj
= Py_None
;
7679 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7682 wxString
*arg2
= 0 ;
7683 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7686 bool temp2
= false ;
7687 bool temp3
= false ;
7688 PyObject
* obj0
= 0 ;
7689 PyObject
* obj1
= 0 ;
7690 PyObject
* obj2
= 0 ;
7692 (char *) "self",(char *) "name",(char *) "path", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7697 if (SWIG_arg_fail(1)) SWIG_fail
;
7699 arg2
= wxString_in_helper(obj1
);
7700 if (arg2
== NULL
) SWIG_fail
;
7705 arg3
= wxString_in_helper(obj2
);
7706 if (arg3
== NULL
) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7742 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7748 (char *) "self", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7753 if (SWIG_arg_fail(1)) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7770 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7773 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7775 return Py_BuildValue((char *)"");
7777 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxWindow
*arg1
= (wxWindow
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7784 PyObject
* obj2
= 0 ;
7786 (char *) "window",(char *) "dc",(char *) "method", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7791 if (SWIG_arg_fail(1)) SWIG_fail
;
7793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(2)) SWIG_fail
;
7796 SWIG_null_ref("wxDC");
7798 if (SWIG_arg_fail(2)) SWIG_fail
;
7801 arg3
= (int)(SWIG_As_int(obj2
));
7802 if (SWIG_arg_fail(3)) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7818 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7828 if (SWIG_arg_fail(1)) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 Py_INCREF(Py_None
); resultobj
= Py_None
;
7843 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7854 if (SWIG_arg_fail(1)) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (arg1
)->GetTip();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7875 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (size_t)(arg1
)->GetCurrentTip();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7903 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7906 wxString
*arg2
= 0 ;
7908 bool temp2
= false ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7912 (char *) "self",(char *) "tip", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail
;
7919 arg2
= wxString_in_helper(obj1
);
7920 if (arg2
== NULL
) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7951 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
7953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7954 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
7956 return Py_BuildValue((char *)"");
7958 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7961 wxPyTipProvider
*result
;
7962 PyObject
* obj0
= 0 ;
7964 (char *) "currentTip", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
7969 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
7970 if (SWIG_arg_fail(1)) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
7986 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
7989 PyObject
*arg2
= (PyObject
*) 0 ;
7990 PyObject
*arg3
= (PyObject
*) 0 ;
7991 PyObject
* obj0
= 0 ;
7992 PyObject
* obj1
= 0 ;
7993 PyObject
* obj2
= 0 ;
7995 (char *) "self",(char *) "self",(char *) "_class", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8000 if (SWIG_arg_fail(1)) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 Py_INCREF(Py_None
); resultobj
= Py_None
;
8017 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8020 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8022 return Py_BuildValue((char *)"");
8024 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxWindow
*arg1
= (wxWindow
*) 0 ;
8027 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8028 bool arg3
= (bool) true ;
8030 PyObject
* obj0
= 0 ;
8031 PyObject
* obj1
= 0 ;
8032 PyObject
* obj2
= 0 ;
8034 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8039 if (SWIG_arg_fail(1)) SWIG_fail
;
8040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8041 if (SWIG_arg_fail(2)) SWIG_fail
;
8044 arg3
= (bool)(SWIG_As_bool(obj2
));
8045 if (SWIG_arg_fail(3)) SWIG_fail
;
8049 if (!wxPyCheckForApp()) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8065 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxString
*arg1
= 0 ;
8069 wxTipProvider
*result
;
8070 bool temp1
= false ;
8071 PyObject
* obj0
= 0 ;
8072 PyObject
* obj1
= 0 ;
8074 (char *) "filename",(char *) "currentTip", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8079 arg1
= wxString_in_helper(obj0
);
8080 if (arg1
== NULL
) SWIG_fail
;
8084 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8085 if (SWIG_arg_fail(2)) SWIG_fail
;
8088 if (!wxPyCheckForApp()) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8110 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8113 int arg2
= (int) -1 ;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8118 (char *) "owner",(char *) "id", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8124 if (SWIG_arg_fail(1)) SWIG_fail
;
8128 arg2
= (int)(SWIG_As_int(obj1
));
8129 if (SWIG_arg_fail(2)) SWIG_fail
;
8133 if (!wxPyCheckForApp()) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8147 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8152 (char *) "self", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8157 if (SWIG_arg_fail(1)) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 Py_INCREF(Py_None
); resultobj
= Py_None
;
8172 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8175 PyObject
*arg2
= (PyObject
*) 0 ;
8176 PyObject
*arg3
= (PyObject
*) 0 ;
8177 int arg4
= (int) 1 ;
8178 PyObject
* obj0
= 0 ;
8179 PyObject
* obj1
= 0 ;
8180 PyObject
* obj2
= 0 ;
8181 PyObject
* obj3
= 0 ;
8183 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8188 if (SWIG_arg_fail(1)) SWIG_fail
;
8193 arg4
= (int)(SWIG_As_int(obj3
));
8194 if (SWIG_arg_fail(4)) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8214 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8215 int arg3
= (int) -1 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 PyObject
* obj2
= 0 ;
8220 (char *) "self",(char *) "owner",(char *) "id", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail
;
8226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8227 if (SWIG_arg_fail(2)) SWIG_fail
;
8230 arg3
= (int)(SWIG_As_int(obj2
));
8231 if (SWIG_arg_fail(3)) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 (arg1
)->SetOwner(arg2
,arg3
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 Py_INCREF(Py_None
); resultobj
= Py_None
;
8248 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8251 wxEvtHandler
*result
;
8252 PyObject
* obj0
= 0 ;
8254 (char *) "self", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8259 if (SWIG_arg_fail(1)) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= wxPyMake_wxObject(result
, 0);
8276 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8279 int arg2
= (int) -1 ;
8280 bool arg3
= (bool) false ;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8284 PyObject
* obj2
= 0 ;
8286 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8294 arg2
= (int)(SWIG_As_int(obj1
));
8295 if (SWIG_arg_fail(2)) SWIG_fail
;
8300 arg3
= (bool)(SWIG_As_bool(obj2
));
8301 if (SWIG_arg_fail(3)) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8320 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8325 (char *) "self", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8330 if (SWIG_arg_fail(1)) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8345 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8349 PyObject
* obj0
= 0 ;
8351 (char *) "self", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8356 if (SWIG_arg_fail(1)) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8373 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8384 if (SWIG_arg_fail(1)) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= SWIG_From_int((int)(result
));
8401 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8407 (char *) "self", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8412 if (SWIG_arg_fail(1)) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8429 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8435 (char *) "self", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8440 if (SWIG_arg_fail(1)) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_From_int((int)(result
));
8457 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8460 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8462 return Py_BuildValue((char *)"");
8464 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 int arg1
= (int) 0 ;
8467 int arg2
= (int) 0 ;
8468 wxTimerEvent
*result
;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8472 (char *) "timerid",(char *) "interval", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8478 arg1
= (int)(SWIG_As_int(obj0
));
8479 if (SWIG_arg_fail(1)) SWIG_fail
;
8484 arg2
= (int)(SWIG_As_int(obj1
));
8485 if (SWIG_arg_fail(2)) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8502 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8508 (char *) "self", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8513 if (SWIG_arg_fail(1)) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= SWIG_From_int((int)(result
));
8530 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8533 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8535 return Py_BuildValue((char *)"");
8537 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8538 PyObject
*resultobj
;
8540 wxTimerRunner
*result
;
8541 PyObject
* obj0
= 0 ;
8543 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8546 if (SWIG_arg_fail(1)) SWIG_fail
;
8548 SWIG_null_ref("wxTimer");
8550 if (SWIG_arg_fail(1)) SWIG_fail
;
8553 if (!wxPyCheckForApp()) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8567 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8568 PyObject
*resultobj
;
8571 bool arg3
= (bool) false ;
8572 wxTimerRunner
*result
;
8573 PyObject
* obj0
= 0 ;
8574 PyObject
* obj1
= 0 ;
8575 PyObject
* obj2
= 0 ;
8577 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8580 if (SWIG_arg_fail(1)) SWIG_fail
;
8582 SWIG_null_ref("wxTimer");
8584 if (SWIG_arg_fail(1)) SWIG_fail
;
8587 arg2
= (int)(SWIG_As_int(obj1
));
8588 if (SWIG_arg_fail(2)) SWIG_fail
;
8592 arg3
= (bool)(SWIG_As_bool(obj2
));
8593 if (SWIG_arg_fail(3)) SWIG_fail
;
8597 if (!wxPyCheckForApp()) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8611 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8616 argc
= PyObject_Length(args
);
8617 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8618 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8624 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8632 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8635 if ((argc
>= 2) && (argc
<= 3)) {
8639 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8647 _v
= SWIG_Check_int(argv
[1]);
8650 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8652 _v
= SWIG_Check_bool(argv
[2]);
8654 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8660 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8665 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8670 (char *) "self", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8675 if (SWIG_arg_fail(1)) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8694 bool arg3
= (bool) false ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 PyObject
* obj2
= 0 ;
8699 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8704 if (SWIG_arg_fail(1)) SWIG_fail
;
8706 arg2
= (int)(SWIG_As_int(obj1
));
8707 if (SWIG_arg_fail(2)) SWIG_fail
;
8711 arg3
= (bool)(SWIG_As_bool(obj2
));
8712 if (SWIG_arg_fail(3)) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->Start(arg2
,arg3
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8732 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8734 return Py_BuildValue((char *)"");
8736 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (wxLog
*)new wxLog();
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8758 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (bool)wxLog::IsEnabled();
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8782 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 bool arg1
= (bool) true ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "doIt", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8794 arg1
= (bool)(SWIG_As_bool(obj0
));
8795 if (SWIG_arg_fail(1)) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (bool)wxLog::EnableLogging(arg1
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8814 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8817 wxChar
*arg2
= (wxChar
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 PyObject
* obj2
= 0 ;
8823 (char *) "level",(char *) "szString",(char *) "t", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8828 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8829 if (SWIG_arg_fail(1)) SWIG_fail
;
8831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8832 if (SWIG_arg_fail(2)) SWIG_fail
;
8834 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8835 if (SWIG_arg_fail(3)) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxLog
*arg1
= (wxLog
*) 0 ;
8854 PyObject
* obj0
= 0 ;
8856 (char *) "self", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8861 if (SWIG_arg_fail(1)) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 wxLog::FlushActive();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 Py_INCREF(Py_None
); resultobj
= Py_None
;
8897 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (wxLog
*)wxLog::GetActiveTarget();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8919 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxLog
*arg1
= (wxLog
*) 0 ;
8923 PyObject
* obj0
= 0 ;
8925 (char *) "pLogger", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8945 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 Py_INCREF(Py_None
); resultobj
= Py_None
;
8966 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 Py_INCREF(Py_None
); resultobj
= Py_None
;
8987 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 bool arg1
= (bool) true ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "bVerbose", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
8998 arg1
= (bool)(SWIG_As_bool(obj0
));
8999 if (SWIG_arg_fail(1)) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 wxLog::SetVerbose(arg1
);
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 Py_INCREF(Py_None
); resultobj
= Py_None
;
9016 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "logLevel", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9026 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9027 if (SWIG_arg_fail(1)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxLog::SetLogLevel(arg1
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 wxLog::DontCreateOnDemand();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 Py_INCREF(Py_None
); resultobj
= Py_None
;
9064 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "ulMask", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9074 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9075 if (SWIG_arg_fail(1)) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 wxLog::SetTraceMask(arg1
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 Py_INCREF(Py_None
); resultobj
= Py_None
;
9091 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxString
*arg1
= 0 ;
9094 bool temp1
= false ;
9095 PyObject
* obj0
= 0 ;
9097 (char *) "str", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9102 arg1
= wxString_in_helper(obj0
);
9103 if (arg1
== NULL
) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 wxLog::AddTraceMask((wxString
const &)*arg1
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxString
*arg1
= 0 ;
9131 bool temp1
= false ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "str", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9139 arg1
= wxString_in_helper(obj0
);
9140 if (arg1
== NULL
) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 wxLog::ClearTraceMasks();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxArrayString
*result
;
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9198 result
= (wxArrayString
*) &_result_ref
;
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= wxArrayString2PyList_helper(*result
);
9213 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxChar
*arg1
= (wxChar
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 wxLog::SetTimestamp((wxChar
const *)arg1
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 Py_INCREF(Py_None
); resultobj
= Py_None
;
9238 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (bool)wxLog::GetVerbose();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9262 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (wxTraceMask
)wxLog::GetTraceMask();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9286 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxChar
*arg1
= (wxChar
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "mask", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9297 if (SWIG_arg_fail(1)) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9314 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxLogLevel
)wxLog::GetLogLevel();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9338 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (wxChar
*)wxLog::GetTimestamp();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9360 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= Log_TimeStamp();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9388 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxLog
*arg1
= (wxLog
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9398 if (SWIG_arg_fail(1)) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 wxLog_Destroy(arg1
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 Py_INCREF(Py_None
); resultobj
= Py_None
;
9413 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9416 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9418 return Py_BuildValue((char *)"");
9420 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxLogStderr
*result
;
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (wxLogStderr
*)new wxLogStderr();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9442 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9445 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9447 return Py_BuildValue((char *)"");
9449 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9452 wxLogTextCtrl
*result
;
9453 PyObject
* obj0
= 0 ;
9455 (char *) "pTextCtrl", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9460 if (SWIG_arg_fail(1)) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9475 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9478 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9480 return Py_BuildValue((char *)"");
9482 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (wxLogGui
*)new wxLogGui();
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9504 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9507 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9509 return Py_BuildValue((char *)"");
9511 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxFrame
*arg1
= (wxFrame
*) 0 ;
9514 wxString
*arg2
= 0 ;
9515 bool arg3
= (bool) true ;
9516 bool arg4
= (bool) true ;
9517 wxLogWindow
*result
;
9518 bool temp2
= false ;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9521 PyObject
* obj2
= 0 ;
9522 PyObject
* obj3
= 0 ;
9524 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9529 if (SWIG_arg_fail(1)) SWIG_fail
;
9531 arg2
= wxString_in_helper(obj1
);
9532 if (arg2
== NULL
) SWIG_fail
;
9537 arg3
= (bool)(SWIG_As_bool(obj2
));
9538 if (SWIG_arg_fail(3)) SWIG_fail
;
9543 arg4
= (bool)(SWIG_As_bool(obj3
));
9544 if (SWIG_arg_fail(4)) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9569 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9572 bool arg2
= (bool) true ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9576 (char *) "self",(char *) "bShow", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9581 if (SWIG_arg_fail(1)) SWIG_fail
;
9584 arg2
= (bool)(SWIG_As_bool(obj1
));
9585 if (SWIG_arg_fail(2)) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 Py_INCREF(Py_None
); resultobj
= Py_None
;
9602 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9608 (char *) "self", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9613 if (SWIG_arg_fail(1)) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= wxPyMake_wxObject(result
, 0);
9630 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9634 PyObject
* obj0
= 0 ;
9636 (char *) "self", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9641 if (SWIG_arg_fail(1)) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9656 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9662 (char *) "self", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9667 if (SWIG_arg_fail(1)) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9684 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9691 (char *) "self",(char *) "bDoPass", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9696 if (SWIG_arg_fail(1)) SWIG_fail
;
9698 arg2
= (bool)(SWIG_As_bool(obj1
));
9699 if (SWIG_arg_fail(2)) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 (arg1
)->PassMessages(arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 Py_INCREF(Py_None
); resultobj
= Py_None
;
9715 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9718 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9720 return Py_BuildValue((char *)"");
9722 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxLog
*arg1
= (wxLog
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9728 (char *) "logger", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9733 if (SWIG_arg_fail(1)) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxLogChain
*)new wxLogChain(arg1
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9748 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9751 wxLog
*arg2
= (wxLog
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9755 (char *) "self",(char *) "logger", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9760 if (SWIG_arg_fail(1)) SWIG_fail
;
9761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9762 if (SWIG_arg_fail(2)) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 (arg1
)->SetLog(arg2
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 Py_INCREF(Py_None
); resultobj
= Py_None
;
9777 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9784 (char *) "self",(char *) "bDoPass", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9789 if (SWIG_arg_fail(1)) SWIG_fail
;
9791 arg2
= (bool)(SWIG_As_bool(obj1
));
9792 if (SWIG_arg_fail(2)) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 (arg1
)->PassMessages(arg2
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 Py_INCREF(Py_None
); resultobj
= Py_None
;
9808 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9814 (char *) "self", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9819 if (SWIG_arg_fail(1)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (bool)(arg1
)->IsPassingMessages();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9836 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9838 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9842 (char *) "self", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9847 if (SWIG_arg_fail(1)) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (wxLog
*)(arg1
)->GetOldLog();
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9862 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9865 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9867 return Py_BuildValue((char *)"");
9869 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 unsigned long result
;
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 result
= (unsigned long)wxSysErrorCode();
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9893 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 unsigned long arg1
= (unsigned long) 0 ;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "nErrCode", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9905 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9906 if (SWIG_arg_fail(1)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= wxSysErrorMsg(arg1
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9929 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxString
*arg1
= 0 ;
9932 bool temp1
= false ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "msg", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9940 arg1
= wxString_in_helper(obj0
);
9941 if (arg1
== NULL
) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxPyLogFatalError((wxString
const &)*arg1
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 Py_INCREF(Py_None
); resultobj
= Py_None
;
9966 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxString
*arg1
= 0 ;
9969 bool temp1
= false ;
9970 PyObject
* obj0
= 0 ;
9972 (char *) "msg", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
9977 arg1
= wxString_in_helper(obj0
);
9978 if (arg1
== NULL
) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 wxPyLogError((wxString
const &)*arg1
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 Py_INCREF(Py_None
); resultobj
= Py_None
;
10003 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxString
*arg1
= 0 ;
10006 bool temp1
= false ;
10007 PyObject
* obj0
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "msg", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10014 arg1
= wxString_in_helper(obj0
);
10015 if (arg1
== NULL
) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 wxPyLogWarning((wxString
const &)*arg1
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 Py_INCREF(Py_None
); resultobj
= Py_None
;
10040 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxString
*arg1
= 0 ;
10043 bool temp1
= false ;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "msg", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10051 arg1
= wxString_in_helper(obj0
);
10052 if (arg1
== NULL
) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 wxPyLogMessage((wxString
const &)*arg1
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10077 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxString
*arg1
= 0 ;
10080 bool temp1
= false ;
10081 PyObject
* obj0
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "msg", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10088 arg1
= wxString_in_helper(obj0
);
10089 if (arg1
== NULL
) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 wxPyLogInfo((wxString
const &)*arg1
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 Py_INCREF(Py_None
); resultobj
= Py_None
;
10114 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxString
*arg1
= 0 ;
10117 bool temp1
= false ;
10118 PyObject
* obj0
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "msg", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10125 arg1
= wxString_in_helper(obj0
);
10126 if (arg1
== NULL
) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 wxPyLogDebug((wxString
const &)*arg1
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 Py_INCREF(Py_None
); resultobj
= Py_None
;
10151 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxString
*arg1
= 0 ;
10154 bool temp1
= false ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "msg", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10162 arg1
= wxString_in_helper(obj0
);
10163 if (arg1
== NULL
) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 wxPyLogVerbose((wxString
const &)*arg1
);
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxString
*arg1
= 0 ;
10191 bool temp1
= false ;
10192 PyObject
* obj0
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "msg", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10199 arg1
= wxString_in_helper(obj0
);
10200 if (arg1
== NULL
) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 wxPyLogStatus((wxString
const &)*arg1
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 Py_INCREF(Py_None
); resultobj
= Py_None
;
10225 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxFrame
*arg1
= (wxFrame
*) 0 ;
10228 wxString
*arg2
= 0 ;
10229 bool temp2
= false ;
10230 PyObject
* obj0
= 0 ;
10231 PyObject
* obj1
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "pFrame",(char *) "msg", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10238 if (SWIG_arg_fail(1)) SWIG_fail
;
10240 arg2
= wxString_in_helper(obj1
);
10241 if (arg2
== NULL
) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 Py_INCREF(Py_None
); resultobj
= Py_None
;
10266 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxString
*arg1
= 0 ;
10269 bool temp1
= false ;
10270 PyObject
* obj0
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "msg", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10277 arg1
= wxString_in_helper(obj0
);
10278 if (arg1
== NULL
) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 wxPyLogSysError((wxString
const &)*arg1
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 Py_INCREF(Py_None
); resultobj
= Py_None
;
10303 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 unsigned long arg1
;
10306 wxString
*arg2
= 0 ;
10307 bool temp2
= false ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "level",(char *) "msg", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10316 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10317 if (SWIG_arg_fail(1)) SWIG_fail
;
10320 arg2
= wxString_in_helper(obj1
);
10321 if (arg2
== NULL
) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10346 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10347 PyObject
*resultobj
;
10348 unsigned long arg1
;
10349 wxString
*arg2
= 0 ;
10350 bool temp2
= false ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10354 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10356 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10357 if (SWIG_arg_fail(1)) SWIG_fail
;
10360 arg2
= wxString_in_helper(obj1
);
10361 if (arg2
== NULL
) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 Py_INCREF(Py_None
); resultobj
= Py_None
;
10386 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10387 PyObject
*resultobj
;
10388 wxString
*arg1
= 0 ;
10389 wxString
*arg2
= 0 ;
10390 bool temp1
= false ;
10391 bool temp2
= false ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10395 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10397 arg1
= wxString_in_helper(obj0
);
10398 if (arg1
== NULL
) SWIG_fail
;
10402 arg2
= wxString_in_helper(obj1
);
10403 if (arg2
== NULL
) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 Py_INCREF(Py_None
); resultobj
= Py_None
;
10436 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10441 argc
= PyObject_Length(args
);
10442 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10443 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10448 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10452 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10455 return _wrap_LogTrace__SWIG_1(self
,args
);
10461 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10464 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10467 return _wrap_LogTrace__SWIG_0(self
,args
);
10472 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10477 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxString
*arg1
= 0 ;
10480 wxString
*arg2
= 0 ;
10481 bool temp1
= false ;
10482 bool temp2
= false ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "title",(char *) "text", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10491 arg1
= wxString_in_helper(obj0
);
10492 if (arg1
== NULL
) SWIG_fail
;
10496 arg2
= wxString_in_helper(obj1
);
10497 if (arg2
== NULL
) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 Py_INCREF(Py_None
); resultobj
= Py_None
;
10530 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10533 char *kwnames
[] = {
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (wxLogNull
*)new wxLogNull();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10552 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10562 if (SWIG_arg_fail(1)) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10580 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10582 return Py_BuildValue((char *)"");
10584 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10587 char *kwnames
[] = {
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (wxPyLog
*)new wxPyLog();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10606 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10609 PyObject
*arg2
= (PyObject
*) 0 ;
10610 PyObject
*arg3
= (PyObject
*) 0 ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 PyObject
* obj2
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self",(char *) "self",(char *) "_class", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10620 if (SWIG_arg_fail(1)) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10640 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10642 return Py_BuildValue((char *)"");
10644 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10647 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10648 int arg3
= (int) wxKILL_NOCHILDREN
;
10649 wxKillError result
;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 PyObject
* obj2
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10659 arg1
= (int)(SWIG_As_int(obj0
));
10660 if (SWIG_arg_fail(1)) SWIG_fail
;
10664 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10665 if (SWIG_arg_fail(2)) SWIG_fail
;
10670 arg3
= (int)(SWIG_As_int(obj2
));
10671 if (SWIG_arg_fail(3)) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= SWIG_From_int((result
));
10688 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10692 PyObject
* obj0
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "pid", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10699 arg1
= (int)(SWIG_As_int(obj0
));
10700 if (SWIG_arg_fail(1)) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (bool)wxPyProcess::Exists(arg1
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10718 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxString
*arg1
= 0 ;
10721 int arg2
= (int) wxEXEC_ASYNC
;
10722 wxPyProcess
*result
;
10723 bool temp1
= false ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "cmd",(char *) "flags", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10732 arg1
= wxString_in_helper(obj0
);
10733 if (arg1
== NULL
) SWIG_fail
;
10738 arg2
= (int)(SWIG_As_int(obj1
));
10739 if (SWIG_arg_fail(2)) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10764 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10767 int arg2
= (int) -1 ;
10768 wxPyProcess
*result
;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "parent",(char *) "id", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10778 if (SWIG_arg_fail(1)) SWIG_fail
;
10782 arg2
= (int)(SWIG_As_int(obj1
));
10783 if (SWIG_arg_fail(2)) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10800 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10803 PyObject
*arg2
= (PyObject
*) 0 ;
10804 PyObject
*arg3
= (PyObject
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 PyObject
* obj2
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "self",(char *) "_class", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10824 Py_INCREF(Py_None
); resultobj
= Py_None
;
10831 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 PyObject
* obj1
= 0 ;
10838 PyObject
* obj2
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self",(char *) "pid",(char *) "status", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10845 if (SWIG_arg_fail(1)) SWIG_fail
;
10847 arg2
= (int)(SWIG_As_int(obj1
));
10848 if (SWIG_arg_fail(2)) SWIG_fail
;
10851 arg3
= (int)(SWIG_As_int(obj2
));
10852 if (SWIG_arg_fail(3)) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 (arg1
)->base_OnTerminate(arg2
,arg3
);
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 Py_INCREF(Py_None
); resultobj
= Py_None
;
10868 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->Redirect();
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10904 if (SWIG_arg_fail(1)) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)(arg1
)->IsRedirected();
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10921 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10931 if (SWIG_arg_fail(1)) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10949 wxInputStream
*result
;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
10956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10957 if (SWIG_arg_fail(1)) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (wxInputStream
*)(arg1
)->GetInputStream();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 wxPyInputStream
* _ptr
= NULL
;
10969 _ptr
= new wxPyInputStream(result
);
10971 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10979 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10982 wxInputStream
*result
;
10983 PyObject
* obj0
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
10989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10990 if (SWIG_arg_fail(1)) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10999 wxPyInputStream
* _ptr
= NULL
;
11002 _ptr
= new wxPyInputStream(result
);
11004 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11012 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11015 wxOutputStream
*result
;
11016 PyObject
* obj0
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11038 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11048 if (SWIG_arg_fail(1)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 (arg1
)->CloseOutput();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11074 if (SWIG_arg_fail(1)) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11102 if (SWIG_arg_fail(1)) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11119 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "self", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11130 if (SWIG_arg_fail(1)) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11150 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11152 return Py_BuildValue((char *)"");
11154 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 int arg1
= (int) 0 ;
11157 int arg2
= (int) 0 ;
11158 int arg3
= (int) 0 ;
11159 wxProcessEvent
*result
;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 PyObject
* obj2
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11170 arg1
= (int)(SWIG_As_int(obj0
));
11171 if (SWIG_arg_fail(1)) SWIG_fail
;
11176 arg2
= (int)(SWIG_As_int(obj1
));
11177 if (SWIG_arg_fail(2)) SWIG_fail
;
11182 arg3
= (int)(SWIG_As_int(obj2
));
11183 if (SWIG_arg_fail(3)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11200 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (int)(arg1
)->GetPid();
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= SWIG_From_int((int)(result
));
11228 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11239 if (SWIG_arg_fail(1)) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 result
= (int)(arg1
)->GetExitCode();
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= SWIG_From_int((int)(result
));
11256 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "m_pid", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail
;
11270 arg2
= (int)(SWIG_As_int(obj1
));
11271 if (SWIG_arg_fail(2)) SWIG_fail
;
11273 if (arg1
) (arg1
)->m_pid
= arg2
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11282 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11293 if (SWIG_arg_fail(1)) SWIG_fail
;
11294 result
= (int) ((arg1
)->m_pid
);
11297 resultobj
= SWIG_From_int((int)(result
));
11305 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 PyObject
* obj1
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self",(char *) "m_exitcode", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11317 if (SWIG_arg_fail(1)) SWIG_fail
;
11319 arg2
= (int)(SWIG_As_int(obj1
));
11320 if (SWIG_arg_fail(2)) SWIG_fail
;
11322 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11342 if (SWIG_arg_fail(1)) SWIG_fail
;
11343 result
= (int) ((arg1
)->m_exitcode
);
11346 resultobj
= SWIG_From_int((int)(result
));
11354 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11357 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11359 return Py_BuildValue((char *)"");
11361 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxString
*arg1
= 0 ;
11364 int arg2
= (int) wxEXEC_ASYNC
;
11365 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11367 bool temp1
= false ;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "command",(char *) "flags",(char *) "process", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11377 arg1
= wxString_in_helper(obj0
);
11378 if (arg1
== NULL
) SWIG_fail
;
11383 arg2
= (int)(SWIG_As_int(obj1
));
11384 if (SWIG_arg_fail(2)) SWIG_fail
;
11388 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11389 if (SWIG_arg_fail(3)) SWIG_fail
;
11392 if (!wxPyCheckForApp()) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= SWIG_From_long((long)(result
));
11416 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
;
11419 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11420 wxKillError
*arg3
= (wxKillError
*) 0 ;
11421 int arg4
= (int) wxKILL_NOCHILDREN
;
11423 wxKillError temp3
;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 PyObject
* obj2
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11436 arg1
= (long)(SWIG_As_long(obj0
));
11437 if (SWIG_arg_fail(1)) SWIG_fail
;
11441 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11442 if (SWIG_arg_fail(2)) SWIG_fail
;
11447 arg4
= (int)(SWIG_As_int(obj2
));
11448 if (SWIG_arg_fail(4)) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_From_int((int)(result
));
11463 o
= PyInt_FromLong((long) (*arg3
));
11464 resultobj
= t_output_helper(resultobj
, o
);
11472 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 int arg1
= (int) wxJOYSTICK1
;
11475 wxJoystick
*result
;
11476 PyObject
* obj0
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "joystick", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11484 arg1
= (int)(SWIG_As_int(obj0
));
11485 if (SWIG_arg_fail(1)) SWIG_fail
;
11489 if (!wxPyCheckForApp()) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (wxJoystick
*)new wxJoystick(arg1
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11503 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11513 if (SWIG_arg_fail(1)) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 Py_INCREF(Py_None
); resultobj
= Py_None
;
11528 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11539 if (SWIG_arg_fail(1)) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (arg1
)->GetPosition();
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11548 wxPoint
* resultptr
;
11549 resultptr
= new wxPoint((wxPoint
&)(result
));
11550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11558 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11562 PyObject
* obj0
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11569 if (SWIG_arg_fail(1)) SWIG_fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 result
= (int)(arg1
)->GetZPosition();
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= SWIG_From_int((int)(result
));
11586 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11597 if (SWIG_arg_fail(1)) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (int)(arg1
)->GetButtonState();
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= SWIG_From_int((int)(result
));
11614 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11625 if (SWIG_arg_fail(1)) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (int)(arg1
)->GetPOVPosition();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= SWIG_From_int((int)(result
));
11642 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
;
11644 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11646 PyObject
* obj0
= 0 ;
11647 char *kwnames
[] = {
11648 (char *) "self", NULL
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11653 if (SWIG_arg_fail(1)) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (int)(arg1
)->GetPOVCTSPosition();
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11662 resultobj
= SWIG_From_int((int)(result
));
11670 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11681 if (SWIG_arg_fail(1)) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (int)(arg1
)->GetRudderPosition();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= SWIG_From_int((int)(result
));
11698 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11702 PyObject
* obj0
= 0 ;
11703 char *kwnames
[] = {
11704 (char *) "self", NULL
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11709 if (SWIG_arg_fail(1)) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (int)(arg1
)->GetUPosition();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_From_int((int)(result
));
11726 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11737 if (SWIG_arg_fail(1)) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (int)(arg1
)->GetVPosition();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_From_int((int)(result
));
11754 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (int)(arg1
)->GetMovementThreshold();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_From_int((int)(result
));
11782 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self",(char *) "threshold", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11794 if (SWIG_arg_fail(1)) SWIG_fail
;
11796 arg2
= (int)(SWIG_As_int(obj1
));
11797 if (SWIG_arg_fail(2)) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 (arg1
)->SetMovementThreshold(arg2
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 Py_INCREF(Py_None
); resultobj
= Py_None
;
11813 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11817 PyObject
* obj0
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11824 if (SWIG_arg_fail(1)) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (bool)(arg1
)->IsOk();
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11845 PyObject
* obj0
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11852 if (SWIG_arg_fail(1)) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (int)(arg1
)->GetNumberJoysticks();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= SWIG_From_int((int)(result
));
11869 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
;
11871 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11873 PyObject
* obj0
= 0 ;
11874 char *kwnames
[] = {
11875 (char *) "self", NULL
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11880 if (SWIG_arg_fail(1)) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (int)(arg1
)->GetManufacturerId();
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= SWIG_From_int((int)(result
));
11897 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11901 PyObject
* obj0
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11908 if (SWIG_arg_fail(1)) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (int)(arg1
)->GetProductId();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_From_int((int)(result
));
11925 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
*resultobj
;
11927 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11929 PyObject
* obj0
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "self", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11936 if (SWIG_arg_fail(1)) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (arg1
)->GetProductName();
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11957 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
11967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11968 if (SWIG_arg_fail(1)) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= (int)(arg1
)->GetXMin();
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= SWIG_From_int((int)(result
));
11985 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
11995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11996 if (SWIG_arg_fail(1)) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (int)(arg1
)->GetYMin();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= SWIG_From_int((int)(result
));
12013 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12024 if (SWIG_arg_fail(1)) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (int)(arg1
)->GetZMin();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_From_int((int)(result
));
12041 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12045 PyObject
* obj0
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (int)(arg1
)->GetXMax();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= SWIG_From_int((int)(result
));
12069 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12080 if (SWIG_arg_fail(1)) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (int)(arg1
)->GetYMax();
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_From_int((int)(result
));
12097 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12101 PyObject
* obj0
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12108 if (SWIG_arg_fail(1)) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (int)(arg1
)->GetZMax();
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= SWIG_From_int((int)(result
));
12125 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12129 PyObject
* obj0
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12136 if (SWIG_arg_fail(1)) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (int)(arg1
)->GetNumberButtons();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_From_int((int)(result
));
12153 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12164 if (SWIG_arg_fail(1)) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (int)(arg1
)->GetNumberAxes();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_From_int((int)(result
));
12181 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (int)(arg1
)->GetMaxButtons();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= SWIG_From_int((int)(result
));
12209 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 char *kwnames
[] = {
12215 (char *) "self", NULL
12218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12220 if (SWIG_arg_fail(1)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (int)(arg1
)->GetMaxAxes();
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_From_int((int)(result
));
12237 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12248 if (SWIG_arg_fail(1)) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (int)(arg1
)->GetPollingMin();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_From_int((int)(result
));
12265 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12276 if (SWIG_arg_fail(1)) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (int)(arg1
)->GetPollingMax();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_From_int((int)(result
));
12293 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (int)(arg1
)->GetRudderMin();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= SWIG_From_int((int)(result
));
12321 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12332 if (SWIG_arg_fail(1)) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (int)(arg1
)->GetRudderMax();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_From_int((int)(result
));
12349 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12360 if (SWIG_arg_fail(1)) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (int)(arg1
)->GetUMin();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_From_int((int)(result
));
12377 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12388 if (SWIG_arg_fail(1)) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (int)(arg1
)->GetUMax();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= SWIG_From_int((int)(result
));
12405 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12416 if (SWIG_arg_fail(1)) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (int)(arg1
)->GetVMin();
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= SWIG_From_int((int)(result
));
12433 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12444 if (SWIG_arg_fail(1)) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (int)(arg1
)->GetVMax();
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_From_int((int)(result
));
12461 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12472 if (SWIG_arg_fail(1)) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (bool)(arg1
)->HasRudder();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12489 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12500 if (SWIG_arg_fail(1)) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (bool)(arg1
)->HasZ();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12517 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12528 if (SWIG_arg_fail(1)) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (bool)(arg1
)->HasU();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12545 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12549 PyObject
* obj0
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12556 if (SWIG_arg_fail(1)) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (bool)(arg1
)->HasV();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12573 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12584 if (SWIG_arg_fail(1)) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (bool)(arg1
)->HasPOV();
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12601 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12612 if (SWIG_arg_fail(1)) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (bool)(arg1
)->HasPOV4Dir();
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12629 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12633 PyObject
* obj0
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12640 if (SWIG_arg_fail(1)) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (bool)(arg1
)->HasPOVCTS();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12657 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12660 wxWindow
*arg2
= (wxWindow
*) 0 ;
12661 int arg3
= (int) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 PyObject
* obj1
= 0 ;
12665 PyObject
* obj2
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12672 if (SWIG_arg_fail(1)) SWIG_fail
;
12673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12674 if (SWIG_arg_fail(2)) SWIG_fail
;
12677 arg3
= (int)(SWIG_As_int(obj2
));
12678 if (SWIG_arg_fail(3)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12697 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12708 if (SWIG_arg_fail(1)) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= (bool)(arg1
)->ReleaseCapture();
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12725 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12728 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12730 return Py_BuildValue((char *)"");
12732 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12735 wxPoint
*arg2
= (wxPoint
*) 0 ;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "m_pos", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail
;
12745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12746 if (SWIG_arg_fail(2)) SWIG_fail
;
12747 if (arg1
) (arg1
)->m_pos
= *arg2
;
12749 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
12766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail
;
12768 result
= (wxPoint
*)& ((arg1
)->m_pos
);
12770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
12777 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "m_zPosition", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail
;
12791 arg2
= (int)(SWIG_As_int(obj1
));
12792 if (SWIG_arg_fail(2)) SWIG_fail
;
12794 if (arg1
) (arg1
)->m_zPosition
= arg2
;
12796 Py_INCREF(Py_None
); resultobj
= Py_None
;
12803 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
12813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12814 if (SWIG_arg_fail(1)) SWIG_fail
;
12815 result
= (int) ((arg1
)->m_zPosition
);
12818 resultobj
= SWIG_From_int((int)(result
));
12826 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self",(char *) "m_buttonChange", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12838 if (SWIG_arg_fail(1)) SWIG_fail
;
12840 arg2
= (int)(SWIG_As_int(obj1
));
12841 if (SWIG_arg_fail(2)) SWIG_fail
;
12843 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12852 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12856 PyObject
* obj0
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
12862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12863 if (SWIG_arg_fail(1)) SWIG_fail
;
12864 result
= (int) ((arg1
)->m_buttonChange
);
12867 resultobj
= SWIG_From_int((int)(result
));
12875 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self",(char *) "m_buttonState", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12887 if (SWIG_arg_fail(1)) SWIG_fail
;
12889 arg2
= (int)(SWIG_As_int(obj1
));
12890 if (SWIG_arg_fail(2)) SWIG_fail
;
12892 if (arg1
) (arg1
)->m_buttonState
= arg2
;
12894 Py_INCREF(Py_None
); resultobj
= Py_None
;
12901 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
12911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail
;
12913 result
= (int) ((arg1
)->m_buttonState
);
12916 resultobj
= SWIG_From_int((int)(result
));
12924 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12928 PyObject
* obj0
= 0 ;
12929 PyObject
* obj1
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self",(char *) "m_joyStick", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12936 if (SWIG_arg_fail(1)) SWIG_fail
;
12938 arg2
= (int)(SWIG_As_int(obj1
));
12939 if (SWIG_arg_fail(2)) SWIG_fail
;
12941 if (arg1
) (arg1
)->m_joyStick
= arg2
;
12943 Py_INCREF(Py_None
); resultobj
= Py_None
;
12950 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12954 PyObject
* obj0
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
12960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12961 if (SWIG_arg_fail(1)) SWIG_fail
;
12962 result
= (int) ((arg1
)->m_joyStick
);
12965 resultobj
= SWIG_From_int((int)(result
));
12973 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12976 int arg2
= (int) 0 ;
12977 int arg3
= (int) wxJOYSTICK1
;
12978 int arg4
= (int) 0 ;
12979 wxJoystickEvent
*result
;
12980 PyObject
* obj0
= 0 ;
12981 PyObject
* obj1
= 0 ;
12982 PyObject
* obj2
= 0 ;
12983 PyObject
* obj3
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12991 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12992 if (SWIG_arg_fail(1)) SWIG_fail
;
12997 arg2
= (int)(SWIG_As_int(obj1
));
12998 if (SWIG_arg_fail(2)) SWIG_fail
;
13003 arg3
= (int)(SWIG_As_int(obj2
));
13004 if (SWIG_arg_fail(3)) SWIG_fail
;
13009 arg4
= (int)(SWIG_As_int(obj3
));
13010 if (SWIG_arg_fail(4)) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13027 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 wxPoint
* resultptr
;
13048 resultptr
= new wxPoint((wxPoint
&)(result
));
13049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13057 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= SWIG_From_int((int)(result
));
13085 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_From_int((int)(result
));
13113 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13124 if (SWIG_arg_fail(1)) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_From_int((int)(result
));
13141 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= SWIG_From_int((int)(result
));
13169 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self",(char *) "stick", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13181 if (SWIG_arg_fail(1)) SWIG_fail
;
13183 arg2
= (int)(SWIG_As_int(obj1
));
13184 if (SWIG_arg_fail(2)) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 (arg1
)->SetJoystick(arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 PyObject
* obj1
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self",(char *) "state", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail
;
13214 arg2
= (int)(SWIG_As_int(obj1
));
13215 if (SWIG_arg_fail(2)) SWIG_fail
;
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 (arg1
)->SetButtonState(arg2
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 Py_INCREF(Py_None
); resultobj
= Py_None
;
13231 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self",(char *) "change", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13243 if (SWIG_arg_fail(1)) SWIG_fail
;
13245 arg2
= (int)(SWIG_As_int(obj1
));
13246 if (SWIG_arg_fail(2)) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 (arg1
)->SetButtonChange(arg2
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 Py_INCREF(Py_None
); resultobj
= Py_None
;
13262 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13265 wxPoint
*arg2
= 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "pos", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail
;
13278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13294 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self",(char *) "zPos", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13306 if (SWIG_arg_fail(1)) SWIG_fail
;
13308 arg2
= (int)(SWIG_As_int(obj1
));
13309 if (SWIG_arg_fail(2)) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 (arg1
)->SetZPosition(arg2
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 Py_INCREF(Py_None
); resultobj
= Py_None
;
13325 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13353 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13357 PyObject
* obj0
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13364 if (SWIG_arg_fail(1)) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13381 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13392 if (SWIG_arg_fail(1)) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13409 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13412 int arg2
= (int) wxJOY_BUTTON_ANY
;
13414 PyObject
* obj0
= 0 ;
13415 PyObject
* obj1
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self",(char *) "but", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13422 if (SWIG_arg_fail(1)) SWIG_fail
;
13425 arg2
= (int)(SWIG_As_int(obj1
));
13426 if (SWIG_arg_fail(2)) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13445 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13448 int arg2
= (int) wxJOY_BUTTON_ANY
;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "but", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13458 if (SWIG_arg_fail(1)) SWIG_fail
;
13461 arg2
= (int)(SWIG_As_int(obj1
));
13462 if (SWIG_arg_fail(2)) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13484 int arg2
= (int) wxJOY_BUTTON_ANY
;
13486 PyObject
* obj0
= 0 ;
13487 PyObject
* obj1
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self",(char *) "but", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13494 if (SWIG_arg_fail(1)) SWIG_fail
;
13497 arg2
= (int)(SWIG_As_int(obj1
));
13498 if (SWIG_arg_fail(2)) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13517 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13520 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13522 return Py_BuildValue((char *)"");
13524 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13527 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13529 bool temp1
= false ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "fileName", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13538 arg1
= wxString_in_helper(obj0
);
13539 if (arg1
== NULL
) SWIG_fail
;
13544 if (!wxPyCheckForApp()) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13566 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 PyObject
*arg1
= (PyObject
*) 0 ;
13570 PyObject
* obj0
= 0 ;
13571 char *kwnames
[] = {
13572 (char *) "data", NULL
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13578 if (!wxPyCheckForApp()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxSound
*)new_wxSound(arg1
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13592 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxSound
*arg1
= (wxSound
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13602 if (SWIG_arg_fail(1)) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 Py_INCREF(Py_None
); resultobj
= Py_None
;
13617 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxSound
*arg1
= (wxSound
*) 0 ;
13620 wxString
*arg2
= 0 ;
13622 bool temp2
= false ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "fileName", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13631 if (SWIG_arg_fail(1)) SWIG_fail
;
13633 arg2
= wxString_in_helper(obj1
);
13634 if (arg2
== NULL
) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13661 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
;
13663 wxSound
*arg1
= (wxSound
*) 0 ;
13664 PyObject
*arg2
= (PyObject
*) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self",(char *) "data", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13674 if (SWIG_arg_fail(1)) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13692 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxSound
*arg1
= (wxSound
*) 0 ;
13696 PyObject
* obj0
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "self", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13703 if (SWIG_arg_fail(1)) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= (bool)(arg1
)->IsOk();
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13720 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxSound
*arg1
= (wxSound
*) 0 ;
13723 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self",(char *) "flags", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13733 if (SWIG_arg_fail(1)) SWIG_fail
;
13736 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13737 if (SWIG_arg_fail(2)) SWIG_fail
;
13741 if (!wxPyCheckForApp()) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13757 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxString
*arg1
= 0 ;
13760 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13762 bool temp1
= false ;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "filename",(char *) "flags", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13771 arg1
= wxString_in_helper(obj0
);
13772 if (arg1
== NULL
) SWIG_fail
;
13777 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13778 if (SWIG_arg_fail(2)) SWIG_fail
;
13782 if (!wxPyCheckForApp()) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13806 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 char *kwnames
[] = {
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13814 if (!wxPyCheckForApp()) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 Py_INCREF(Py_None
); resultobj
= Py_None
;
13828 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13831 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13833 return Py_BuildValue((char *)"");
13835 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxString
*arg1
= 0 ;
13838 wxString
*arg2
= 0 ;
13839 wxString
*arg3
= 0 ;
13840 wxString
*arg4
= 0 ;
13841 wxFileTypeInfo
*result
;
13842 bool temp1
= false ;
13843 bool temp2
= false ;
13844 bool temp3
= false ;
13845 bool temp4
= false ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 PyObject
* obj2
= 0 ;
13849 PyObject
* obj3
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13856 arg1
= wxString_in_helper(obj0
);
13857 if (arg1
== NULL
) SWIG_fail
;
13861 arg2
= wxString_in_helper(obj1
);
13862 if (arg2
== NULL
) SWIG_fail
;
13866 arg3
= wxString_in_helper(obj2
);
13867 if (arg3
== NULL
) SWIG_fail
;
13871 arg4
= wxString_in_helper(obj3
);
13872 if (arg4
== NULL
) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13921 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxArrayString
*arg1
= 0 ;
13924 wxFileTypeInfo
*result
;
13925 bool temp1
= false ;
13926 PyObject
* obj0
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "sArray", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13933 if (! PySequence_Check(obj0
)) {
13934 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13937 arg1
= new wxArrayString
;
13939 int i
, len
=PySequence_Length(obj0
);
13940 for (i
=0; i
<len
; i
++) {
13941 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13943 PyObject
* str
= PyObject_Unicode(item
);
13945 PyObject
* str
= PyObject_Str(item
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13948 arg1
->Add(Py2wxString(str
));
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13962 if (temp1
) delete arg1
;
13967 if (temp1
) delete arg1
;
13973 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxFileTypeInfo
*result
;
13976 char *kwnames
[] = {
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13995 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14006 if (SWIG_arg_fail(1)) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14023 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14026 wxString
*arg2
= 0 ;
14027 int arg3
= (int) 0 ;
14028 bool temp2
= false ;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 PyObject
* obj2
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14038 if (SWIG_arg_fail(1)) SWIG_fail
;
14040 arg2
= wxString_in_helper(obj1
);
14041 if (arg2
== NULL
) SWIG_fail
;
14046 arg3
= (int)(SWIG_As_int(obj2
));
14047 if (SWIG_arg_fail(3)) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 Py_INCREF(Py_None
); resultobj
= Py_None
;
14072 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14075 wxString
*arg2
= 0 ;
14076 bool temp2
= false ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self",(char *) "shortDesc", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14085 if (SWIG_arg_fail(1)) SWIG_fail
;
14087 arg2
= wxString_in_helper(obj1
);
14088 if (arg2
== NULL
) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 Py_INCREF(Py_None
); resultobj
= Py_None
;
14113 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14117 PyObject
* obj0
= 0 ;
14118 char *kwnames
[] = {
14119 (char *) "self", NULL
14122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14124 if (SWIG_arg_fail(1)) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14129 result
= (wxString
*) &_result_ref
;
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14139 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14148 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14164 result
= (wxString
*) &_result_ref
;
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14174 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14183 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14194 if (SWIG_arg_fail(1)) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14199 result
= (wxString
*) &_result_ref
;
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14209 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14218 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14234 result
= (wxString
*) &_result_ref
;
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14244 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14253 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14264 if (SWIG_arg_fail(1)) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14269 result
= (wxString
*) &_result_ref
;
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14277 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14279 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14288 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14291 wxArrayString
*result
;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14304 result
= (wxArrayString
*) &_result_ref
;
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= wxArrayString2PyList_helper(*result
);
14319 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_From_int((int)(result
));
14347 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14358 if (SWIG_arg_fail(1)) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14363 result
= (wxString
*) &_result_ref
;
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14373 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14382 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14393 if (SWIG_arg_fail(1)) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_From_int((int)(result
));
14410 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14413 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14415 return Py_BuildValue((char *)"");
14417 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxFileTypeInfo
*arg1
= 0 ;
14420 wxFileType
*result
;
14421 PyObject
* obj0
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "ftInfo", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail
;
14430 if (arg1
== NULL
) {
14431 SWIG_null_ref("wxFileTypeInfo");
14433 if (SWIG_arg_fail(1)) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14449 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxFileType
*arg1
= (wxFileType
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 Py_INCREF(Py_None
); resultobj
= Py_None
;
14474 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxFileType
*arg1
= (wxFileType
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14485 if (SWIG_arg_fail(1)) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= result
;
14500 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
;
14502 wxFileType
*arg1
= (wxFileType
*) 0 ;
14504 PyObject
* obj0
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14511 if (SWIG_arg_fail(1)) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= result
;
14526 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxFileType
*arg1
= (wxFileType
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14537 if (SWIG_arg_fail(1)) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= result
;
14552 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxFileType
*arg1
= (wxFileType
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14578 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxFileType
*arg1
= (wxFileType
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14589 if (SWIG_arg_fail(1)) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= result
;
14604 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxFileType
*arg1
= (wxFileType
*) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14615 if (SWIG_arg_fail(1)) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= result
;
14630 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxFileType
*arg1
= (wxFileType
*) 0 ;
14633 wxString
*arg2
= 0 ;
14634 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14635 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14637 bool temp2
= false ;
14638 bool temp3
= false ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 PyObject
* obj2
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14648 if (SWIG_arg_fail(1)) SWIG_fail
;
14650 arg2
= wxString_in_helper(obj1
);
14651 if (arg2
== NULL
) SWIG_fail
;
14656 arg3
= wxString_in_helper(obj2
);
14657 if (arg3
== NULL
) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
;
14691 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxFileType
*arg1
= (wxFileType
*) 0 ;
14694 wxString
*arg2
= 0 ;
14695 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14696 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14698 bool temp2
= false ;
14699 bool temp3
= false ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",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
;
14711 arg2
= wxString_in_helper(obj1
);
14712 if (arg2
== NULL
) SWIG_fail
;
14717 arg3
= wxString_in_helper(obj2
);
14718 if (arg3
== NULL
) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= result
;
14752 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxFileType
*arg1
= (wxFileType
*) 0 ;
14755 wxString
*arg2
= 0 ;
14756 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14757 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14759 bool temp2
= false ;
14760 bool temp3
= false ;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 PyObject
* obj2
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14770 if (SWIG_arg_fail(1)) SWIG_fail
;
14772 arg2
= wxString_in_helper(obj1
);
14773 if (arg2
== NULL
) SWIG_fail
;
14778 arg3
= wxString_in_helper(obj2
);
14779 if (arg3
== NULL
) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= result
;
14813 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxFileType
*arg1
= (wxFileType
*) 0 ;
14816 wxString
*arg2
= 0 ;
14817 wxString
*arg3
= 0 ;
14818 bool arg4
= (bool) true ;
14820 bool temp2
= false ;
14821 bool temp3
= false ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj1
= 0 ;
14824 PyObject
* obj2
= 0 ;
14825 PyObject
* obj3
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14832 if (SWIG_arg_fail(1)) SWIG_fail
;
14834 arg2
= wxString_in_helper(obj1
);
14835 if (arg2
== NULL
) SWIG_fail
;
14839 arg3
= wxString_in_helper(obj2
);
14840 if (arg3
== NULL
) SWIG_fail
;
14845 arg4
= (bool)(SWIG_As_bool(obj3
));
14846 if (SWIG_arg_fail(4)) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14881 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxFileType
*arg1
= (wxFileType
*) 0 ;
14884 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14885 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14886 int arg3
= (int) 0 ;
14888 bool temp2
= false ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 PyObject
* obj2
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "cmd",(char *) "index", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14898 if (SWIG_arg_fail(1)) SWIG_fail
;
14901 arg2
= wxString_in_helper(obj1
);
14902 if (arg2
== NULL
) SWIG_fail
;
14908 arg3
= (int)(SWIG_As_int(obj2
));
14909 if (SWIG_arg_fail(3)) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14936 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxFileType
*arg1
= (wxFileType
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)(arg1
)->Unassociate();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxString
*arg1
= 0 ;
14967 wxString
*arg2
= 0 ;
14968 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14969 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14971 bool temp1
= false ;
14972 bool temp2
= false ;
14973 bool temp3
= false ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 PyObject
* obj2
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14983 arg1
= wxString_in_helper(obj0
);
14984 if (arg1
== NULL
) SWIG_fail
;
14988 arg2
= wxString_in_helper(obj1
);
14989 if (arg2
== NULL
) SWIG_fail
;
14994 arg3
= wxString_in_helper(obj2
);
14995 if (arg3
== NULL
) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15043 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15046 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15048 return Py_BuildValue((char *)"");
15050 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15051 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15056 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15059 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15064 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxString
*arg1
= 0 ;
15067 wxString
*arg2
= 0 ;
15069 bool temp1
= false ;
15070 bool temp2
= false ;
15071 PyObject
* obj0
= 0 ;
15072 PyObject
* obj1
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "mimeType",(char *) "wildcard", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15079 arg1
= wxString_in_helper(obj0
);
15080 if (arg1
== NULL
) SWIG_fail
;
15084 arg2
= wxString_in_helper(obj1
);
15085 if (arg2
== NULL
) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15120 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxMimeTypesManager
*result
;
15123 char *kwnames
[] = {
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15142 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15145 int arg2
= (int) wxMAILCAP_ALL
;
15146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15148 bool temp3
= false ;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 PyObject
* obj2
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15158 if (SWIG_arg_fail(1)) SWIG_fail
;
15161 arg2
= (int)(SWIG_As_int(obj1
));
15162 if (SWIG_arg_fail(2)) SWIG_fail
;
15167 arg3
= wxString_in_helper(obj2
);
15168 if (arg3
== NULL
) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15194 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15204 if (SWIG_arg_fail(1)) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 (arg1
)->ClearData();
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 Py_INCREF(Py_None
); resultobj
= Py_None
;
15219 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15222 wxString
*arg2
= 0 ;
15223 wxFileType
*result
;
15224 bool temp2
= false ;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "ext", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15233 if (SWIG_arg_fail(1)) SWIG_fail
;
15235 arg2
= wxString_in_helper(obj1
);
15236 if (arg2
== NULL
) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15261 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15264 wxString
*arg2
= 0 ;
15265 wxFileType
*result
;
15266 bool temp2
= false ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self",(char *) "mimeType", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15275 if (SWIG_arg_fail(1)) SWIG_fail
;
15277 arg2
= wxString_in_helper(obj1
);
15278 if (arg2
== NULL
) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15303 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15306 wxString
*arg2
= 0 ;
15307 bool arg3
= (bool) false ;
15309 bool temp2
= false ;
15310 PyObject
* obj0
= 0 ;
15311 PyObject
* obj1
= 0 ;
15312 PyObject
* obj2
= 0 ;
15313 char *kwnames
[] = {
15314 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15319 if (SWIG_arg_fail(1)) SWIG_fail
;
15321 arg2
= wxString_in_helper(obj1
);
15322 if (arg2
== NULL
) SWIG_fail
;
15327 arg3
= (bool)(SWIG_As_bool(obj2
));
15328 if (SWIG_arg_fail(3)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15358 wxString
*arg2
= 0 ;
15360 bool temp2
= false ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self",(char *) "filename", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15369 if (SWIG_arg_fail(1)) SWIG_fail
;
15371 arg2
= wxString_in_helper(obj1
);
15372 if (arg2
== NULL
) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15399 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15410 if (SWIG_arg_fail(1)) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= result
;
15425 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15428 wxFileTypeInfo
*arg2
= 0 ;
15429 PyObject
* obj0
= 0 ;
15430 PyObject
* obj1
= 0 ;
15431 char *kwnames
[] = {
15432 (char *) "self",(char *) "ft", NULL
15435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15437 if (SWIG_arg_fail(1)) SWIG_fail
;
15439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15440 if (SWIG_arg_fail(2)) SWIG_fail
;
15441 if (arg2
== NULL
) {
15442 SWIG_null_ref("wxFileTypeInfo");
15444 if (SWIG_arg_fail(2)) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 Py_INCREF(Py_None
); resultobj
= Py_None
;
15460 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15463 wxFileTypeInfo
*arg2
= 0 ;
15464 wxFileType
*result
;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "ftInfo", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail
;
15475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15476 if (SWIG_arg_fail(2)) SWIG_fail
;
15477 if (arg2
== NULL
) {
15478 SWIG_null_ref("wxFileTypeInfo");
15480 if (SWIG_arg_fail(2)) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15496 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15499 wxFileType
*arg2
= (wxFileType
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self",(char *) "ft", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15509 if (SWIG_arg_fail(1)) SWIG_fail
;
15510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15511 if (SWIG_arg_fail(2)) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= (bool)(arg1
)->Unassociate(arg2
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15528 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15531 PyObject
* obj0
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15538 if (SWIG_arg_fail(1)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15556 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15558 return Py_BuildValue((char *)"");
15560 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15561 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15566 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15571 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15573 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15580 static int _wrap_ART_MENU_set(PyObject
*) {
15581 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15586 static PyObject
*_wrap_ART_MENU_get(void) {
15591 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15593 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15600 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15601 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15606 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15611 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15613 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15620 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15621 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15626 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15631 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15633 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15640 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15641 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15646 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15651 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15653 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15660 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15661 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15666 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15671 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15673 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15680 static int _wrap_ART_BUTTON_set(PyObject
*) {
15681 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15686 static PyObject
*_wrap_ART_BUTTON_get(void) {
15691 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15693 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15700 static int _wrap_ART_OTHER_set(PyObject
*) {
15701 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15706 static PyObject
*_wrap_ART_OTHER_get(void) {
15711 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15713 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15720 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15721 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15726 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15731 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15733 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15740 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15741 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15746 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15751 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15753 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15760 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15761 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15766 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15771 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15773 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15780 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15781 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15786 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15791 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15793 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15800 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15801 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15806 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15811 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15813 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15820 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15821 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15826 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15831 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15833 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15840 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15841 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15846 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15851 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15853 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15860 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15861 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15866 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15871 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15873 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15880 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15881 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15886 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15891 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15893 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15900 static int _wrap_ART_GO_UP_set(PyObject
*) {
15901 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15906 static PyObject
*_wrap_ART_GO_UP_get(void) {
15911 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15913 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15920 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15921 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15926 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15931 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15933 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15940 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15941 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15946 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15951 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15953 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15960 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15961 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15966 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15971 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15973 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15980 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15981 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15986 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15991 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15993 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16000 static int _wrap_ART_PRINT_set(PyObject
*) {
16001 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16006 static PyObject
*_wrap_ART_PRINT_get(void) {
16011 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16013 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16020 static int _wrap_ART_HELP_set(PyObject
*) {
16021 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16026 static PyObject
*_wrap_ART_HELP_get(void) {
16031 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16033 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16040 static int _wrap_ART_TIP_set(PyObject
*) {
16041 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16046 static PyObject
*_wrap_ART_TIP_get(void) {
16051 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16053 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16060 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16061 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16066 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16071 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16073 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16080 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16081 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16086 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16091 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16093 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16100 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16101 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16106 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16111 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16113 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16120 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16121 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16126 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16131 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16133 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16140 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16141 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16146 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16151 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16153 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16160 static int _wrap_ART_CDROM_set(PyObject
*) {
16161 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16166 static PyObject
*_wrap_ART_CDROM_get(void) {
16171 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16173 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16180 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16181 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16186 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16191 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16193 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16200 static int _wrap_ART_FOLDER_set(PyObject
*) {
16201 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16206 static PyObject
*_wrap_ART_FOLDER_get(void) {
16211 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16213 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16220 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16221 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16226 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16231 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16233 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16240 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16241 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16246 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16251 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16253 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16260 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16261 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16266 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16271 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16273 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16280 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16281 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16286 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16291 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16293 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16300 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16301 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16306 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16311 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16313 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16320 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16321 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16326 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16331 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16333 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16340 static int _wrap_ART_ERROR_set(PyObject
*) {
16341 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16346 static PyObject
*_wrap_ART_ERROR_get(void) {
16351 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16353 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16360 static int _wrap_ART_QUESTION_set(PyObject
*) {
16361 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16366 static PyObject
*_wrap_ART_QUESTION_get(void) {
16371 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16373 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16380 static int _wrap_ART_WARNING_set(PyObject
*) {
16381 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16386 static PyObject
*_wrap_ART_WARNING_get(void) {
16391 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16393 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16400 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16401 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16406 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16411 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16413 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16420 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16421 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16426 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16431 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16433 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16440 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxPyArtProvider
*result
;
16443 char *kwnames
[] = {
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16449 if (!wxPyCheckForApp()) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16463 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16466 PyObject
*arg2
= (PyObject
*) 0 ;
16467 PyObject
*arg3
= (PyObject
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 PyObject
* obj2
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self",(char *) "self",(char *) "_class", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16477 if (SWIG_arg_fail(1)) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 Py_INCREF(Py_None
); resultobj
= Py_None
;
16494 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "provider", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16504 if (SWIG_arg_fail(1)) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 wxPyArtProvider::PushProvider(arg1
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 Py_INCREF(Py_None
); resultobj
= Py_None
;
16519 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16522 char *kwnames
[] = {
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (bool)wxPyArtProvider::PopProvider();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16543 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "provider", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16554 if (SWIG_arg_fail(1)) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16571 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxString
*arg1
= 0 ;
16574 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16575 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16576 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16577 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16579 bool temp1
= false ;
16580 bool temp2
= false ;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 PyObject
* obj2
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "id",(char *) "client",(char *) "size", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16591 arg1
= wxString_in_helper(obj0
);
16592 if (arg1
== NULL
) SWIG_fail
;
16597 arg2
= wxString_in_helper(obj1
);
16598 if (arg2
== NULL
) SWIG_fail
;
16605 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16609 if (!wxPyCheckForApp()) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16617 wxBitmap
* resultptr
;
16618 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16643 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 wxString
*arg1
= 0 ;
16646 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16647 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16648 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16649 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16651 bool temp1
= false ;
16652 bool temp2
= false ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 PyObject
* obj2
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "id",(char *) "client",(char *) "size", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16663 arg1
= wxString_in_helper(obj0
);
16664 if (arg1
== NULL
) SWIG_fail
;
16669 arg2
= wxString_in_helper(obj1
);
16670 if (arg2
== NULL
) SWIG_fail
;
16677 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16681 if (!wxPyCheckForApp()) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16689 wxIcon
* resultptr
;
16690 resultptr
= new wxIcon((wxIcon
&)(result
));
16691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16715 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16725 if (SWIG_arg_fail(1)) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 wxPyArtProvider_Destroy(arg1
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 Py_INCREF(Py_None
); resultobj
= Py_None
;
16740 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16743 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16745 return Py_BuildValue((char *)"");
16747 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16757 if (SWIG_arg_fail(1)) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16775 wxConfigBase
*result
;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "config", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16783 if (SWIG_arg_fail(1)) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16798 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 bool arg1
= (bool) true ;
16801 wxConfigBase
*result
;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "createOnDemand", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16810 arg1
= (bool)(SWIG_As_bool(obj0
));
16811 if (SWIG_arg_fail(1)) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16828 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxConfigBase
*result
;
16831 char *kwnames
[] = {
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (wxConfigBase
*)wxConfigBase::Create();
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16850 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 char *kwnames
[] = {
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 wxConfigBase::DontCreateOnDemand();
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16864 Py_INCREF(Py_None
); resultobj
= Py_None
;
16871 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16874 wxString
*arg2
= 0 ;
16875 bool temp2
= false ;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self",(char *) "path", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16884 if (SWIG_arg_fail(1)) SWIG_fail
;
16886 arg2
= wxString_in_helper(obj1
);
16887 if (arg2
== NULL
) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 (arg1
)->SetPath((wxString
const &)*arg2
);
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16897 Py_INCREF(Py_None
); resultobj
= Py_None
;
16912 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16923 if (SWIG_arg_fail(1)) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16928 result
= (wxString
*) &_result_ref
;
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16938 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16947 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16949 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16951 PyObject
* obj0
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "self", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16958 if (SWIG_arg_fail(1)) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= result
;
16973 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self",(char *) "index", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16986 if (SWIG_arg_fail(1)) SWIG_fail
;
16988 arg2
= (long)(SWIG_As_long(obj1
));
16989 if (SWIG_arg_fail(2)) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= result
;
17005 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17009 PyObject
* obj0
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17016 if (SWIG_arg_fail(1)) SWIG_fail
;
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= result
;
17031 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self",(char *) "index", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17044 if (SWIG_arg_fail(1)) SWIG_fail
;
17046 arg2
= (long)(SWIG_As_long(obj1
));
17047 if (SWIG_arg_fail(2)) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= result
;
17063 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17066 bool arg2
= (bool) false ;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "recursive", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17076 if (SWIG_arg_fail(1)) SWIG_fail
;
17079 arg2
= (bool)(SWIG_As_bool(obj1
));
17080 if (SWIG_arg_fail(2)) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17099 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17102 bool arg2
= (bool) false ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self",(char *) "recursive", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17112 if (SWIG_arg_fail(1)) SWIG_fail
;
17115 arg2
= (bool)(SWIG_As_bool(obj1
));
17116 if (SWIG_arg_fail(2)) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17135 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17138 wxString
*arg2
= 0 ;
17140 bool temp2
= false ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "name", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail
;
17151 arg2
= wxString_in_helper(obj1
);
17152 if (arg2
== NULL
) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17179 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17182 wxString
*arg2
= 0 ;
17184 bool temp2
= false ;
17185 PyObject
* obj0
= 0 ;
17186 PyObject
* obj1
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self",(char *) "name", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",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
;
17195 arg2
= wxString_in_helper(obj1
);
17196 if (arg2
== NULL
) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17223 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17226 wxString
*arg2
= 0 ;
17228 bool temp2
= false ;
17229 PyObject
* obj0
= 0 ;
17230 PyObject
* obj1
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self",(char *) "name", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17237 if (SWIG_arg_fail(1)) SWIG_fail
;
17239 arg2
= wxString_in_helper(obj1
);
17240 if (arg2
== NULL
) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17267 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17270 wxString
*arg2
= 0 ;
17271 wxConfigBase::EntryType result
;
17272 bool temp2
= false ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self",(char *) "name", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17281 if (SWIG_arg_fail(1)) SWIG_fail
;
17283 arg2
= wxString_in_helper(obj1
);
17284 if (arg2
== NULL
) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= SWIG_From_int((result
));
17309 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17312 wxString
*arg2
= 0 ;
17313 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17314 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17316 bool temp2
= false ;
17317 bool temp3
= false ;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 PyObject
* obj2
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17327 if (SWIG_arg_fail(1)) SWIG_fail
;
17329 arg2
= wxString_in_helper(obj1
);
17330 if (arg2
== NULL
) SWIG_fail
;
17335 arg3
= wxString_in_helper(obj2
);
17336 if (arg3
== NULL
) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17376 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17379 wxString
*arg2
= 0 ;
17380 long arg3
= (long) 0 ;
17382 bool temp2
= false ;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 PyObject
* obj2
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17392 if (SWIG_arg_fail(1)) SWIG_fail
;
17394 arg2
= wxString_in_helper(obj1
);
17395 if (arg2
== NULL
) SWIG_fail
;
17400 arg3
= (long)(SWIG_As_long(obj2
));
17401 if (SWIG_arg_fail(3)) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= SWIG_From_long((long)(result
));
17428 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17431 wxString
*arg2
= 0 ;
17432 double arg3
= (double) 0.0 ;
17434 bool temp2
= false ;
17435 PyObject
* obj0
= 0 ;
17436 PyObject
* obj1
= 0 ;
17437 PyObject
* obj2
= 0 ;
17438 char *kwnames
[] = {
17439 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17444 if (SWIG_arg_fail(1)) SWIG_fail
;
17446 arg2
= wxString_in_helper(obj1
);
17447 if (arg2
== NULL
) SWIG_fail
;
17452 arg3
= (double)(SWIG_As_double(obj2
));
17453 if (SWIG_arg_fail(3)) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_From_double((double)(result
));
17480 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17483 wxString
*arg2
= 0 ;
17484 bool arg3
= (bool) false ;
17486 bool temp2
= false ;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 PyObject
* obj2
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 arg2
= wxString_in_helper(obj1
);
17499 if (arg2
== NULL
) SWIG_fail
;
17504 arg3
= (bool)(SWIG_As_bool(obj2
));
17505 if (SWIG_arg_fail(3)) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17532 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17535 wxString
*arg2
= 0 ;
17536 wxString
*arg3
= 0 ;
17538 bool temp2
= false ;
17539 bool temp3
= false ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 PyObject
* obj2
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self",(char *) "key",(char *) "value", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17549 if (SWIG_arg_fail(1)) SWIG_fail
;
17551 arg2
= wxString_in_helper(obj1
);
17552 if (arg2
== NULL
) SWIG_fail
;
17556 arg3
= wxString_in_helper(obj2
);
17557 if (arg3
== NULL
) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17592 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17595 wxString
*arg2
= 0 ;
17598 bool temp2
= false ;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 PyObject
* obj2
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "key",(char *) "value", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17608 if (SWIG_arg_fail(1)) SWIG_fail
;
17610 arg2
= wxString_in_helper(obj1
);
17611 if (arg2
== NULL
) SWIG_fail
;
17615 arg3
= (long)(SWIG_As_long(obj2
));
17616 if (SWIG_arg_fail(3)) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17642 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17645 wxString
*arg2
= 0 ;
17648 bool temp2
= false ;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 PyObject
* obj2
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "key",(char *) "value", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 arg2
= wxString_in_helper(obj1
);
17661 if (arg2
== NULL
) SWIG_fail
;
17665 arg3
= (double)(SWIG_As_double(obj2
));
17666 if (SWIG_arg_fail(3)) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17692 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17695 wxString
*arg2
= 0 ;
17698 bool temp2
= false ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "key",(char *) "value", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail
;
17710 arg2
= wxString_in_helper(obj1
);
17711 if (arg2
== NULL
) SWIG_fail
;
17715 arg3
= (bool)(SWIG_As_bool(obj2
));
17716 if (SWIG_arg_fail(3)) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17742 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17745 bool arg2
= (bool) false ;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self",(char *) "currentOnly", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17755 if (SWIG_arg_fail(1)) SWIG_fail
;
17758 arg2
= (bool)(SWIG_As_bool(obj1
));
17759 if (SWIG_arg_fail(2)) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (bool)(arg1
)->Flush(arg2
);
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17778 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17781 wxString
*arg2
= 0 ;
17782 wxString
*arg3
= 0 ;
17784 bool temp2
= false ;
17785 bool temp3
= false ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 PyObject
* obj2
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17795 if (SWIG_arg_fail(1)) SWIG_fail
;
17797 arg2
= wxString_in_helper(obj1
);
17798 if (arg2
== NULL
) SWIG_fail
;
17802 arg3
= wxString_in_helper(obj2
);
17803 if (arg3
== NULL
) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17838 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17841 wxString
*arg2
= 0 ;
17842 wxString
*arg3
= 0 ;
17844 bool temp2
= false ;
17845 bool temp3
= false ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 PyObject
* obj2
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17857 arg2
= wxString_in_helper(obj1
);
17858 if (arg2
== NULL
) SWIG_fail
;
17862 arg3
= wxString_in_helper(obj2
);
17863 if (arg3
== NULL
) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17898 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17901 wxString
*arg2
= 0 ;
17902 bool arg3
= (bool) true ;
17904 bool temp2
= false ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 PyObject
* obj2
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17914 if (SWIG_arg_fail(1)) SWIG_fail
;
17916 arg2
= wxString_in_helper(obj1
);
17917 if (arg2
== NULL
) SWIG_fail
;
17922 arg3
= (bool)(SWIG_As_bool(obj2
));
17923 if (SWIG_arg_fail(3)) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17950 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17953 wxString
*arg2
= 0 ;
17955 bool temp2
= false ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self",(char *) "key", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17964 if (SWIG_arg_fail(1)) SWIG_fail
;
17966 arg2
= wxString_in_helper(obj1
);
17967 if (arg2
== NULL
) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17994 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18005 if (SWIG_arg_fail(1)) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (bool)(arg1
)->DeleteAll();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18022 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18025 bool arg2
= (bool) true ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self",(char *) "doIt", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail
;
18037 arg2
= (bool)(SWIG_As_bool(obj1
));
18038 if (SWIG_arg_fail(2)) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 (arg1
)->SetExpandEnvVars(arg2
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 Py_INCREF(Py_None
); resultobj
= Py_None
;
18055 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18066 if (SWIG_arg_fail(1)) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18083 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18086 bool arg2
= (bool) true ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "doIt", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail
;
18098 arg2
= (bool)(SWIG_As_bool(obj1
));
18099 if (SWIG_arg_fail(2)) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 (arg1
)->SetRecordDefaults(arg2
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 Py_INCREF(Py_None
); resultobj
= Py_None
;
18116 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18144 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18147 wxString
*arg2
= 0 ;
18149 bool temp2
= false ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "str", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 arg2
= wxString_in_helper(obj1
);
18161 if (arg2
== NULL
) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18192 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18203 if (SWIG_arg_fail(1)) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18224 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "self", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18235 if (SWIG_arg_fail(1)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18256 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18259 wxString
*arg2
= 0 ;
18260 bool temp2
= false ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "appName", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18269 if (SWIG_arg_fail(1)) SWIG_fail
;
18271 arg2
= wxString_in_helper(obj1
);
18272 if (arg2
== NULL
) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 (arg1
)->SetAppName((wxString
const &)*arg2
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 Py_INCREF(Py_None
); resultobj
= Py_None
;
18297 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18300 wxString
*arg2
= 0 ;
18301 bool temp2
= false ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self",(char *) "vendorName", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18310 if (SWIG_arg_fail(1)) SWIG_fail
;
18312 arg2
= wxString_in_helper(obj1
);
18313 if (arg2
== NULL
) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 Py_INCREF(Py_None
); resultobj
= Py_None
;
18338 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "style", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",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
= (long)(SWIG_As_long(obj1
));
18353 if (SWIG_arg_fail(2)) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 (arg1
)->SetStyle(arg2
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 Py_INCREF(Py_None
); resultobj
= Py_None
;
18369 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18380 if (SWIG_arg_fail(1)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_From_long((long)(result
));
18397 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18400 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18402 return Py_BuildValue((char *)"");
18404 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18407 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18408 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18409 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18410 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18411 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18412 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18413 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18414 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18416 bool temp1
= false ;
18417 bool temp2
= false ;
18418 bool temp3
= false ;
18419 bool temp4
= false ;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 PyObject
* obj2
= 0 ;
18423 PyObject
* obj3
= 0 ;
18424 PyObject
* obj4
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18432 arg1
= wxString_in_helper(obj0
);
18433 if (arg1
== NULL
) SWIG_fail
;
18439 arg2
= wxString_in_helper(obj1
);
18440 if (arg2
== NULL
) SWIG_fail
;
18446 arg3
= wxString_in_helper(obj2
);
18447 if (arg3
== NULL
) SWIG_fail
;
18453 arg4
= wxString_in_helper(obj3
);
18454 if (arg4
== NULL
) SWIG_fail
;
18460 arg5
= (long)(SWIG_As_long(obj4
));
18461 if (SWIG_arg_fail(5)) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18510 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxConfig
*arg1
= (wxConfig
*) 0 ;
18513 PyObject
* obj0
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18520 if (SWIG_arg_fail(1)) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 Py_INCREF(Py_None
); resultobj
= Py_None
;
18535 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18538 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18540 return Py_BuildValue((char *)"");
18542 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18545 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18546 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18547 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18548 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18549 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18550 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18551 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18552 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18553 wxFileConfig
*result
;
18554 bool temp1
= false ;
18555 bool temp2
= false ;
18556 bool temp3
= false ;
18557 bool temp4
= false ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 PyObject
* obj2
= 0 ;
18561 PyObject
* obj3
= 0 ;
18562 PyObject
* obj4
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18570 arg1
= wxString_in_helper(obj0
);
18571 if (arg1
== NULL
) SWIG_fail
;
18577 arg2
= wxString_in_helper(obj1
);
18578 if (arg2
== NULL
) SWIG_fail
;
18584 arg3
= wxString_in_helper(obj2
);
18585 if (arg3
== NULL
) SWIG_fail
;
18591 arg4
= wxString_in_helper(obj3
);
18592 if (arg4
== NULL
) SWIG_fail
;
18598 arg5
= (long)(SWIG_As_long(obj4
));
18599 if (SWIG_arg_fail(5)) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18648 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18658 if (SWIG_arg_fail(1)) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 Py_INCREF(Py_None
); resultobj
= Py_None
;
18673 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18676 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18678 return Py_BuildValue((char *)"");
18680 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18683 wxString
*arg2
= 0 ;
18684 wxConfigPathChanger
*result
;
18685 bool temp2
= false ;
18686 PyObject
* obj0
= 0 ;
18687 PyObject
* obj1
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "config",(char *) "entry", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18694 if (SWIG_arg_fail(1)) SWIG_fail
;
18696 arg2
= wxString_in_helper(obj1
);
18697 if (arg2
== NULL
) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18722 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18732 if (SWIG_arg_fail(1)) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 Py_INCREF(Py_None
); resultobj
= Py_None
;
18747 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18758 if (SWIG_arg_fail(1)) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18763 result
= (wxString
*) &_result_ref
;
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18773 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18782 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18785 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18787 return Py_BuildValue((char *)"");
18789 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxString
*arg1
= 0 ;
18793 bool temp1
= false ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "sz", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18801 arg1
= wxString_in_helper(obj0
);
18802 if (arg1
== NULL
) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18833 static int _wrap_DateFormatStr_set(PyObject
*) {
18834 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
18839 static PyObject
*_wrap_DateFormatStr_get(void) {
18844 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
18846 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
18853 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
18854 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
18859 static PyObject
*_wrap_TimeSpanFormatStr_get(void) {
18864 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
18866 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
18873 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxDateTime::Country arg1
;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "country", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18883 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18884 if (SWIG_arg_fail(1)) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 Py_INCREF(Py_None
); resultobj
= Py_None
;
18900 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxDateTime::Country result
;
18903 char *kwnames
[] = {
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_From_int((result
));
18922 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "country", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18934 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18935 if (SWIG_arg_fail(1)) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18954 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "cal", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18966 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18967 if (SWIG_arg_fail(1)) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= SWIG_From_int((int)(result
));
18986 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18990 PyObject
* obj0
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "year", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
18997 arg1
= (int)(SWIG_As_int(obj0
));
18998 if (SWIG_arg_fail(1)) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_From_int((int)(result
));
19016 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19019 wxDateTime::Month result
;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "cal", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19028 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19029 if (SWIG_arg_fail(1)) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 resultobj
= SWIG_From_int((result
));
19046 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 int arg1
= (int) wxDateTime::Inv_Year
;
19049 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "year",(char *) "cal", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19060 arg1
= (int)(SWIG_As_int(obj0
));
19061 if (SWIG_arg_fail(1)) SWIG_fail
;
19066 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19067 if (SWIG_arg_fail(2)) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19086 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 int arg1
= (int) wxDateTime::Inv_Year
;
19090 PyObject
* obj0
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "year", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19098 arg1
= (int)(SWIG_As_int(obj0
));
19099 if (SWIG_arg_fail(1)) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (int)wxDateTime::GetCentury(arg1
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_From_int((int)(result
));
19118 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19121 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19123 PyObject
* obj0
= 0 ;
19124 PyObject
* obj1
= 0 ;
19125 char *kwnames
[] = {
19126 (char *) "year",(char *) "cal", NULL
19129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19131 arg1
= (int)(SWIG_As_int(obj0
));
19132 if (SWIG_arg_fail(1)) SWIG_fail
;
19136 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19137 if (SWIG_arg_fail(2)) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= SWIG_From_int((int)(result
));
19156 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxDateTime::Month arg1
;
19159 int arg2
= (int) wxDateTime::Inv_Year
;
19160 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 PyObject
* obj2
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "month",(char *) "year",(char *) "cal", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19171 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19172 if (SWIG_arg_fail(1)) SWIG_fail
;
19176 arg2
= (int)(SWIG_As_int(obj1
));
19177 if (SWIG_arg_fail(2)) SWIG_fail
;
19182 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19183 if (SWIG_arg_fail(3)) SWIG_fail
;
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19194 resultobj
= SWIG_From_int((int)(result
));
19202 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxDateTime::Month arg1
;
19205 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "month",(char *) "flags", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19215 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19216 if (SWIG_arg_fail(1)) SWIG_fail
;
19220 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19221 if (SWIG_arg_fail(2)) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19244 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxDateTime::WeekDay arg1
;
19247 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "weekday",(char *) "flags", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19257 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19258 if (SWIG_arg_fail(1)) SWIG_fail
;
19262 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19263 if (SWIG_arg_fail(2)) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19286 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxString
*arg1
= (wxString
*) 0 ;
19289 wxString
*arg2
= (wxString
*) 0 ;
19290 bool temp1
= false ;
19291 bool temp2
= false ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "OUTPUT",(char *) "OUTPUT", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
19300 arg1
= wxString_in_helper(obj0
);
19301 if (arg1
== NULL
) SWIG_fail
;
19305 arg2
= wxString_in_helper(obj1
);
19306 if (arg2
== NULL
) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 wxDateTime::GetAmPmStrings(arg1
,arg2
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 Py_INCREF(Py_None
); resultobj
= Py_None
;
19339 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 int arg1
= (int) wxDateTime::Inv_Year
;
19342 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19344 PyObject
* obj0
= 0 ;
19345 PyObject
* obj1
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "year",(char *) "country", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19353 arg1
= (int)(SWIG_As_int(obj0
));
19354 if (SWIG_arg_fail(1)) SWIG_fail
;
19359 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19360 if (SWIG_arg_fail(2)) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 int arg1
= (int) wxDateTime::Inv_Year
;
19382 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "year",(char *) "country", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19393 arg1
= (int)(SWIG_As_int(obj0
));
19394 if (SWIG_arg_fail(1)) SWIG_fail
;
19399 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19400 if (SWIG_arg_fail(2)) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19411 wxDateTime
* resultptr
;
19412 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19421 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 int arg1
= (int) wxDateTime::Inv_Year
;
19424 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "year",(char *) "country", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19435 arg1
= (int)(SWIG_As_int(obj0
));
19436 if (SWIG_arg_fail(1)) SWIG_fail
;
19441 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19442 if (SWIG_arg_fail(2)) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19453 wxDateTime
* resultptr
;
19454 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19463 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19466 char *kwnames
[] = {
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 result
= wxDateTime::Now();
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19479 wxDateTime
* resultptr
;
19480 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19489 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19492 char *kwnames
[] = {
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 result
= wxDateTime::UNow();
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19505 wxDateTime
* resultptr
;
19506 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19515 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19518 char *kwnames
[] = {
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= wxDateTime::Today();
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19531 wxDateTime
* resultptr
;
19532 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19541 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxDateTime
*result
;
19544 char *kwnames
[] = {
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (wxDateTime
*)new wxDateTime();
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19563 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19566 wxDateTime
*result
;
19567 PyObject
* obj0
= 0 ;
19568 char *kwnames
[] = {
19569 (char *) "timet", NULL
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19574 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19575 if (SWIG_arg_fail(1)) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 result
= (wxDateTime
*)new wxDateTime(arg1
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19591 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19594 wxDateTime
*result
;
19595 PyObject
* obj0
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "jdn", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19602 arg1
= (double)(SWIG_As_double(obj0
));
19603 if (SWIG_arg_fail(1)) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 result
= (wxDateTime
*)new wxDateTime(arg1
);
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19619 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19622 int arg2
= (int) 0 ;
19623 int arg3
= (int) 0 ;
19624 int arg4
= (int) 0 ;
19625 wxDateTime
*result
;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 PyObject
* obj2
= 0 ;
19629 PyObject
* obj3
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19636 arg1
= (int)(SWIG_As_int(obj0
));
19637 if (SWIG_arg_fail(1)) SWIG_fail
;
19641 arg2
= (int)(SWIG_As_int(obj1
));
19642 if (SWIG_arg_fail(2)) SWIG_fail
;
19647 arg3
= (int)(SWIG_As_int(obj2
));
19648 if (SWIG_arg_fail(3)) SWIG_fail
;
19653 arg4
= (int)(SWIG_As_int(obj3
));
19654 if (SWIG_arg_fail(4)) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19671 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19674 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19675 int arg3
= (int) wxDateTime::Inv_Year
;
19676 int arg4
= (int) 0 ;
19677 int arg5
= (int) 0 ;
19678 int arg6
= (int) 0 ;
19679 int arg7
= (int) 0 ;
19680 wxDateTime
*result
;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 PyObject
* obj2
= 0 ;
19684 PyObject
* obj3
= 0 ;
19685 PyObject
* obj4
= 0 ;
19686 PyObject
* obj5
= 0 ;
19687 PyObject
* obj6
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19694 arg1
= (int)(SWIG_As_int(obj0
));
19695 if (SWIG_arg_fail(1)) SWIG_fail
;
19699 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19700 if (SWIG_arg_fail(2)) SWIG_fail
;
19705 arg3
= (int)(SWIG_As_int(obj2
));
19706 if (SWIG_arg_fail(3)) SWIG_fail
;
19711 arg4
= (int)(SWIG_As_int(obj3
));
19712 if (SWIG_arg_fail(4)) SWIG_fail
;
19717 arg5
= (int)(SWIG_As_int(obj4
));
19718 if (SWIG_arg_fail(5)) SWIG_fail
;
19723 arg6
= (int)(SWIG_As_int(obj5
));
19724 if (SWIG_arg_fail(6)) SWIG_fail
;
19729 arg7
= (int)(SWIG_As_int(obj6
));
19730 if (SWIG_arg_fail(7)) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19747 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
;
19749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19757 if (SWIG_arg_fail(1)) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 Py_INCREF(Py_None
); resultobj
= Py_None
;
19772 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19775 wxDateTime
*result
;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19783 if (SWIG_arg_fail(1)) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19788 result
= (wxDateTime
*) &_result_ref
;
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19801 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19805 wxDateTime
*result
;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self",(char *) "timet", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19814 if (SWIG_arg_fail(1)) SWIG_fail
;
19816 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19817 if (SWIG_arg_fail(2)) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19823 result
= (wxDateTime
*) &_result_ref
;
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19836 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19840 wxDateTime
*result
;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self",(char *) "jdn", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail
;
19851 arg2
= (double)(SWIG_As_double(obj1
));
19852 if (SWIG_arg_fail(2)) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19858 result
= (wxDateTime
*) &_result_ref
;
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19871 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
;
19873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19875 int arg3
= (int) 0 ;
19876 int arg4
= (int) 0 ;
19877 int arg5
= (int) 0 ;
19878 wxDateTime
*result
;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 PyObject
* obj2
= 0 ;
19882 PyObject
* obj3
= 0 ;
19883 PyObject
* obj4
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19890 if (SWIG_arg_fail(1)) SWIG_fail
;
19892 arg2
= (int)(SWIG_As_int(obj1
));
19893 if (SWIG_arg_fail(2)) SWIG_fail
;
19897 arg3
= (int)(SWIG_As_int(obj2
));
19898 if (SWIG_arg_fail(3)) SWIG_fail
;
19903 arg4
= (int)(SWIG_As_int(obj3
));
19904 if (SWIG_arg_fail(4)) SWIG_fail
;
19909 arg5
= (int)(SWIG_As_int(obj4
));
19910 if (SWIG_arg_fail(5)) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19917 result
= (wxDateTime
*) &_result_ref
;
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19930 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19934 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19935 int arg4
= (int) wxDateTime::Inv_Year
;
19936 int arg5
= (int) 0 ;
19937 int arg6
= (int) 0 ;
19938 int arg7
= (int) 0 ;
19939 int arg8
= (int) 0 ;
19940 wxDateTime
*result
;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 PyObject
* obj2
= 0 ;
19944 PyObject
* obj3
= 0 ;
19945 PyObject
* obj4
= 0 ;
19946 PyObject
* obj5
= 0 ;
19947 PyObject
* obj6
= 0 ;
19948 PyObject
* obj7
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19955 if (SWIG_arg_fail(1)) SWIG_fail
;
19957 arg2
= (int)(SWIG_As_int(obj1
));
19958 if (SWIG_arg_fail(2)) SWIG_fail
;
19962 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19963 if (SWIG_arg_fail(3)) SWIG_fail
;
19968 arg4
= (int)(SWIG_As_int(obj3
));
19969 if (SWIG_arg_fail(4)) SWIG_fail
;
19974 arg5
= (int)(SWIG_As_int(obj4
));
19975 if (SWIG_arg_fail(5)) SWIG_fail
;
19980 arg6
= (int)(SWIG_As_int(obj5
));
19981 if (SWIG_arg_fail(6)) SWIG_fail
;
19986 arg7
= (int)(SWIG_As_int(obj6
));
19987 if (SWIG_arg_fail(7)) SWIG_fail
;
19992 arg8
= (int)(SWIG_As_int(obj7
));
19993 if (SWIG_arg_fail(8)) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20000 result
= (wxDateTime
*) &_result_ref
;
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20013 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20016 wxDateTime
*result
;
20017 PyObject
* obj0
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20024 if (SWIG_arg_fail(1)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20029 result
= (wxDateTime
*) &_result_ref
;
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20042 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20046 wxDateTime
*result
;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self",(char *) "year", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail
;
20057 arg2
= (int)(SWIG_As_int(obj1
));
20058 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20064 result
= (wxDateTime
*) &_result_ref
;
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20077 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20080 wxDateTime::Month arg2
;
20081 wxDateTime
*result
;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "month", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20090 if (SWIG_arg_fail(1)) SWIG_fail
;
20092 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20093 if (SWIG_arg_fail(2)) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20099 result
= (wxDateTime
*) &_result_ref
;
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20112 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20116 wxDateTime
*result
;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "self",(char *) "day", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20125 if (SWIG_arg_fail(1)) SWIG_fail
;
20127 arg2
= (int)(SWIG_As_int(obj1
));
20128 if (SWIG_arg_fail(2)) SWIG_fail
;
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20134 result
= (wxDateTime
*) &_result_ref
;
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20147 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20151 wxDateTime
*result
;
20152 PyObject
* obj0
= 0 ;
20153 PyObject
* obj1
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self",(char *) "hour", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20160 if (SWIG_arg_fail(1)) SWIG_fail
;
20162 arg2
= (int)(SWIG_As_int(obj1
));
20163 if (SWIG_arg_fail(2)) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20169 result
= (wxDateTime
*) &_result_ref
;
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20182 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20186 wxDateTime
*result
;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self",(char *) "minute", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20195 if (SWIG_arg_fail(1)) SWIG_fail
;
20197 arg2
= (int)(SWIG_As_int(obj1
));
20198 if (SWIG_arg_fail(2)) SWIG_fail
;
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20204 result
= (wxDateTime
*) &_result_ref
;
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20217 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20221 wxDateTime
*result
;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "second", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20232 arg2
= (int)(SWIG_As_int(obj1
));
20233 if (SWIG_arg_fail(2)) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20239 result
= (wxDateTime
*) &_result_ref
;
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20252 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20256 wxDateTime
*result
;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "millisecond", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20267 arg2
= (int)(SWIG_As_int(obj1
));
20268 if (SWIG_arg_fail(2)) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20274 result
= (wxDateTime
*) &_result_ref
;
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20287 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20290 wxDateTime::WeekDay arg2
;
20291 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20292 wxDateTime
*result
;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 PyObject
* obj2
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail
;
20304 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20305 if (SWIG_arg_fail(2)) SWIG_fail
;
20309 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20310 if (SWIG_arg_fail(3)) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20317 result
= (wxDateTime
*) &_result_ref
;
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20330 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20333 wxDateTime::WeekDay arg2
;
20334 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20336 PyObject
* obj0
= 0 ;
20337 PyObject
* obj1
= 0 ;
20338 PyObject
* obj2
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20345 if (SWIG_arg_fail(1)) SWIG_fail
;
20347 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20348 if (SWIG_arg_fail(2)) SWIG_fail
;
20352 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20353 if (SWIG_arg_fail(3)) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 wxDateTime
* resultptr
;
20365 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20374 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20377 wxDateTime::WeekDay arg2
;
20378 wxDateTime
*result
;
20379 PyObject
* obj0
= 0 ;
20380 PyObject
* obj1
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self",(char *) "weekday", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20387 if (SWIG_arg_fail(1)) SWIG_fail
;
20389 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20390 if (SWIG_arg_fail(2)) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20396 result
= (wxDateTime
*) &_result_ref
;
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20409 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20412 wxDateTime::WeekDay arg2
;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "weekday", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail
;
20424 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20425 if (SWIG_arg_fail(2)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20435 wxDateTime
* resultptr
;
20436 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20445 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
;
20447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20448 wxDateTime::WeekDay arg2
;
20449 wxDateTime
*result
;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self",(char *) "weekday", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20458 if (SWIG_arg_fail(1)) SWIG_fail
;
20460 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20461 if (SWIG_arg_fail(2)) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20467 result
= (wxDateTime
*) &_result_ref
;
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20480 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20481 PyObject
*resultobj
;
20482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20483 wxDateTime::WeekDay arg2
;
20485 PyObject
* obj0
= 0 ;
20486 PyObject
* obj1
= 0 ;
20487 char *kwnames
[] = {
20488 (char *) "self",(char *) "weekday", NULL
20491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20493 if (SWIG_arg_fail(1)) SWIG_fail
;
20495 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20496 if (SWIG_arg_fail(2)) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 wxDateTime
* resultptr
;
20507 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20516 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20519 wxDateTime::WeekDay arg2
;
20520 int arg3
= (int) 1 ;
20521 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20522 int arg5
= (int) wxDateTime::Inv_Year
;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 PyObject
* obj2
= 0 ;
20527 PyObject
* obj3
= 0 ;
20528 PyObject
* obj4
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20535 if (SWIG_arg_fail(1)) SWIG_fail
;
20537 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20538 if (SWIG_arg_fail(2)) SWIG_fail
;
20542 arg3
= (int)(SWIG_As_int(obj2
));
20543 if (SWIG_arg_fail(3)) SWIG_fail
;
20548 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20549 if (SWIG_arg_fail(4)) SWIG_fail
;
20554 arg5
= (int)(SWIG_As_int(obj4
));
20555 if (SWIG_arg_fail(5)) SWIG_fail
;
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20574 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20577 wxDateTime::WeekDay arg2
;
20578 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20579 int arg4
= (int) wxDateTime::Inv_Year
;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 PyObject
* obj2
= 0 ;
20584 PyObject
* obj3
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20591 if (SWIG_arg_fail(1)) SWIG_fail
;
20593 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20594 if (SWIG_arg_fail(2)) SWIG_fail
;
20598 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20599 if (SWIG_arg_fail(3)) SWIG_fail
;
20604 arg4
= (int)(SWIG_As_int(obj3
));
20605 if (SWIG_arg_fail(4)) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20624 static PyObject
*_wrap_DateTime_GetLastWeekDay(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_GetLastWeekDay",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
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20666 wxDateTime
* resultptr
;
20667 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20676 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
;
20678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20680 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20681 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20683 PyObject
* obj0
= 0 ;
20684 PyObject
* obj1
= 0 ;
20685 PyObject
* obj2
= 0 ;
20686 PyObject
* obj3
= 0 ;
20687 char *kwnames
[] = {
20688 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20693 if (SWIG_arg_fail(1)) SWIG_fail
;
20695 arg2
= (int)(SWIG_As_int(obj1
));
20696 if (SWIG_arg_fail(2)) SWIG_fail
;
20700 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20701 if (SWIG_arg_fail(3)) SWIG_fail
;
20706 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20707 if (SWIG_arg_fail(4)) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20726 static PyObject
*_wrap_DateTime_GetWeek(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_GetWeek",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
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 wxDateTime
* resultptr
;
20769 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20778 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20782 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 PyObject
* obj2
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20793 arg1
= (int)(SWIG_As_int(obj0
));
20794 if (SWIG_arg_fail(1)) SWIG_fail
;
20797 arg2
= (int)(SWIG_As_int(obj1
));
20798 if (SWIG_arg_fail(2)) SWIG_fail
;
20802 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20803 if (SWIG_arg_fail(3)) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20814 wxDateTime
* resultptr
;
20815 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20824 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20827 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20828 int arg3
= (int) wxDateTime::Inv_Year
;
20829 wxDateTime
*result
;
20830 PyObject
* obj0
= 0 ;
20831 PyObject
* obj1
= 0 ;
20832 PyObject
* obj2
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self",(char *) "month",(char *) "year", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20839 if (SWIG_arg_fail(1)) SWIG_fail
;
20842 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20843 if (SWIG_arg_fail(2)) SWIG_fail
;
20848 arg3
= (int)(SWIG_As_int(obj2
));
20849 if (SWIG_arg_fail(3)) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20856 result
= (wxDateTime
*) &_result_ref
;
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20869 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20872 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20873 int arg3
= (int) wxDateTime::Inv_Year
;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 PyObject
* obj2
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self",(char *) "month",(char *) "year", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail
;
20887 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20888 if (SWIG_arg_fail(2)) SWIG_fail
;
20893 arg3
= (int)(SWIG_As_int(obj2
));
20894 if (SWIG_arg_fail(3)) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 wxDateTime
* resultptr
;
20906 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20915 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20919 wxDateTime
*result
;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self",(char *) "yday", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20928 if (SWIG_arg_fail(1)) SWIG_fail
;
20930 arg2
= (int)(SWIG_As_int(obj1
));
20931 if (SWIG_arg_fail(2)) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20937 result
= (wxDateTime
*) &_result_ref
;
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20950 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20955 PyObject
* obj0
= 0 ;
20956 PyObject
* obj1
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self",(char *) "yday", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20963 if (SWIG_arg_fail(1)) SWIG_fail
;
20965 arg2
= (int)(SWIG_As_int(obj1
));
20966 if (SWIG_arg_fail(2)) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (arg1
)->GetYearDay(arg2
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20976 wxDateTime
* resultptr
;
20977 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20986 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20997 if (SWIG_arg_fail(1)) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (double)(arg1
)->GetJulianDayNumber();
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= SWIG_From_double((double)(result
));
21014 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21025 if (SWIG_arg_fail(1)) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (double)(arg1
)->GetJDN();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= SWIG_From_double((double)(result
));
21042 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21053 if (SWIG_arg_fail(1)) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_From_double((double)(result
));
21070 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
;
21072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21074 PyObject
* obj0
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (double)(arg1
)->GetMJD();
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= SWIG_From_double((double)(result
));
21098 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
;
21100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21102 PyObject
* obj0
= 0 ;
21103 char *kwnames
[] = {
21104 (char *) "self", NULL
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21109 if (SWIG_arg_fail(1)) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (double)(arg1
)->GetRataDie();
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= SWIG_From_double((double)(result
));
21126 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21129 wxDateTime::TimeZone
*arg2
= 0 ;
21130 bool arg3
= (bool) false ;
21132 bool temp2
= false ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 PyObject
* obj2
= 0 ;
21136 char *kwnames
[] = {
21137 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21142 if (SWIG_arg_fail(1)) SWIG_fail
;
21144 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21149 arg3
= (bool)(SWIG_As_bool(obj2
));
21150 if (SWIG_arg_fail(3)) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 wxDateTime
* resultptr
;
21162 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21166 if (temp2
) delete arg2
;
21171 if (temp2
) delete arg2
;
21177 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21180 wxDateTime::TimeZone
*arg2
= 0 ;
21181 bool arg3
= (bool) false ;
21182 wxDateTime
*result
;
21183 bool temp2
= false ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 PyObject
* obj2
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21193 if (SWIG_arg_fail(1)) SWIG_fail
;
21195 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21200 arg3
= (bool)(SWIG_As_bool(obj2
));
21201 if (SWIG_arg_fail(3)) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21208 result
= (wxDateTime
*) &_result_ref
;
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21216 if (temp2
) delete arg2
;
21221 if (temp2
) delete arg2
;
21227 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21230 bool arg2
= (bool) false ;
21232 PyObject
* obj0
= 0 ;
21233 PyObject
* obj1
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "self",(char *) "noDST", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21240 if (SWIG_arg_fail(1)) SWIG_fail
;
21243 arg2
= (bool)(SWIG_As_bool(obj1
));
21244 if (SWIG_arg_fail(2)) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (arg1
)->ToGMT(arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21255 wxDateTime
* resultptr
;
21256 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21265 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21268 bool arg2
= (bool) false ;
21269 wxDateTime
*result
;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self",(char *) "noDST", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21278 if (SWIG_arg_fail(1)) SWIG_fail
;
21281 arg2
= (bool)(SWIG_As_bool(obj1
));
21282 if (SWIG_arg_fail(2)) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21289 result
= (wxDateTime
*) &_result_ref
;
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21302 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21305 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "country", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21315 if (SWIG_arg_fail(1)) SWIG_fail
;
21318 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21319 if (SWIG_arg_fail(2)) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_From_int((int)(result
));
21338 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21349 if (SWIG_arg_fail(1)) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21377 if (SWIG_arg_fail(1)) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21394 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21397 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21398 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21400 bool temp2
= false ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self",(char *) "tz", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21409 if (SWIG_arg_fail(1)) SWIG_fail
;
21412 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_From_int((int)(result
));
21427 if (temp2
) delete arg2
;
21432 if (temp2
) delete arg2
;
21438 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21441 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21442 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21443 wxDateTime::Month result
;
21444 bool temp2
= false ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "tz", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21456 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_From_int((result
));
21469 if (temp2
) delete arg2
;
21474 if (temp2
) delete arg2
;
21480 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21483 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21484 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21486 bool temp2
= false ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "tz", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21495 if (SWIG_arg_fail(1)) SWIG_fail
;
21498 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_From_int((int)(result
));
21513 if (temp2
) delete arg2
;
21518 if (temp2
) delete arg2
;
21524 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21527 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21528 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21529 wxDateTime::WeekDay result
;
21530 bool temp2
= false ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self",(char *) "tz", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21539 if (SWIG_arg_fail(1)) SWIG_fail
;
21542 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= SWIG_From_int((result
));
21555 if (temp2
) delete arg2
;
21560 if (temp2
) delete arg2
;
21566 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21569 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21570 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21572 bool temp2
= false ;
21573 PyObject
* obj0
= 0 ;
21574 PyObject
* obj1
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self",(char *) "tz", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21581 if (SWIG_arg_fail(1)) SWIG_fail
;
21584 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= SWIG_From_int((int)(result
));
21599 if (temp2
) delete arg2
;
21604 if (temp2
) delete arg2
;
21610 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21613 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21614 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21616 bool temp2
= false ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "tz", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21628 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= SWIG_From_int((int)(result
));
21643 if (temp2
) delete arg2
;
21648 if (temp2
) delete arg2
;
21654 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21657 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21658 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21660 bool temp2
= false ;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "tz", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail
;
21672 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= SWIG_From_int((int)(result
));
21687 if (temp2
) delete arg2
;
21692 if (temp2
) delete arg2
;
21698 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21701 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21702 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21704 bool temp2
= false ;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "tz", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21713 if (SWIG_arg_fail(1)) SWIG_fail
;
21716 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= SWIG_From_int((int)(result
));
21731 if (temp2
) delete arg2
;
21736 if (temp2
) delete arg2
;
21742 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21745 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21746 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21748 bool temp2
= false ;
21749 PyObject
* obj0
= 0 ;
21750 PyObject
* obj1
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self",(char *) "tz", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21757 if (SWIG_arg_fail(1)) SWIG_fail
;
21760 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_From_int((int)(result
));
21775 if (temp2
) delete arg2
;
21780 if (temp2
) delete arg2
;
21786 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21789 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21790 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21791 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21793 bool temp3
= false ;
21794 PyObject
* obj0
= 0 ;
21795 PyObject
* obj1
= 0 ;
21796 PyObject
* obj2
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self",(char *) "flags",(char *) "tz", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21803 if (SWIG_arg_fail(1)) SWIG_fail
;
21806 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21807 if (SWIG_arg_fail(2)) SWIG_fail
;
21812 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_From_int((int)(result
));
21827 if (temp3
) delete arg3
;
21832 if (temp3
) delete arg3
;
21838 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21841 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21842 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21843 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21845 bool temp3
= false ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 PyObject
* obj2
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self",(char *) "flags",(char *) "tz", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21855 if (SWIG_arg_fail(1)) SWIG_fail
;
21858 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21859 if (SWIG_arg_fail(2)) SWIG_fail
;
21864 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_From_int((int)(result
));
21879 if (temp3
) delete arg3
;
21884 if (temp3
) delete arg3
;
21890 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
;
21892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21893 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self",(char *) "country", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21903 if (SWIG_arg_fail(1)) SWIG_fail
;
21906 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21907 if (SWIG_arg_fail(2)) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21926 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21929 wxDateTime
*arg2
= 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 char *kwnames
[] = {
21934 (char *) "self",(char *) "datetime", NULL
21937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21939 if (SWIG_arg_fail(1)) SWIG_fail
;
21941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21942 if (SWIG_arg_fail(2)) SWIG_fail
;
21943 if (arg2
== NULL
) {
21944 SWIG_null_ref("wxDateTime");
21946 if (SWIG_arg_fail(2)) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21964 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21967 wxDateTime
*arg2
= 0 ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "datetime", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21977 if (SWIG_arg_fail(1)) SWIG_fail
;
21979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21980 if (SWIG_arg_fail(2)) SWIG_fail
;
21981 if (arg2
== NULL
) {
21982 SWIG_null_ref("wxDateTime");
21984 if (SWIG_arg_fail(2)) SWIG_fail
;
21987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22002 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22005 wxDateTime
*arg2
= 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "self",(char *) "datetime", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail
;
22017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22018 if (SWIG_arg_fail(2)) SWIG_fail
;
22019 if (arg2
== NULL
) {
22020 SWIG_null_ref("wxDateTime");
22022 if (SWIG_arg_fail(2)) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22040 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22043 wxDateTime
*arg2
= 0 ;
22044 wxDateTime
*arg3
= 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 PyObject
* obj2
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "t1",(char *) "t2", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail
;
22057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22058 if (SWIG_arg_fail(2)) SWIG_fail
;
22059 if (arg2
== NULL
) {
22060 SWIG_null_ref("wxDateTime");
22062 if (SWIG_arg_fail(2)) SWIG_fail
;
22065 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22066 if (SWIG_arg_fail(3)) SWIG_fail
;
22067 if (arg3
== NULL
) {
22068 SWIG_null_ref("wxDateTime");
22070 if (SWIG_arg_fail(3)) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22088 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
;
22090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22091 wxDateTime
*arg2
= 0 ;
22092 wxDateTime
*arg3
= 0 ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 PyObject
* obj2
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self",(char *) "t1",(char *) "t2", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22103 if (SWIG_arg_fail(1)) SWIG_fail
;
22105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22106 if (SWIG_arg_fail(2)) SWIG_fail
;
22107 if (arg2
== NULL
) {
22108 SWIG_null_ref("wxDateTime");
22110 if (SWIG_arg_fail(2)) SWIG_fail
;
22113 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22114 if (SWIG_arg_fail(3)) SWIG_fail
;
22115 if (arg3
== NULL
) {
22116 SWIG_null_ref("wxDateTime");
22118 if (SWIG_arg_fail(3)) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22136 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22139 wxDateTime
*arg2
= 0 ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self",(char *) "dt", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22149 if (SWIG_arg_fail(1)) SWIG_fail
;
22151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22152 if (SWIG_arg_fail(2)) SWIG_fail
;
22153 if (arg2
== NULL
) {
22154 SWIG_null_ref("wxDateTime");
22156 if (SWIG_arg_fail(2)) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22174 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22177 wxDateTime
*arg2
= 0 ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "dt", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22187 if (SWIG_arg_fail(1)) SWIG_fail
;
22189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22190 if (SWIG_arg_fail(2)) SWIG_fail
;
22191 if (arg2
== NULL
) {
22192 SWIG_null_ref("wxDateTime");
22194 if (SWIG_arg_fail(2)) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22212 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22215 wxDateTime
*arg2
= 0 ;
22216 wxTimeSpan
*arg3
= 0 ;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 PyObject
* obj2
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "self",(char *) "dt",(char *) "ts", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22227 if (SWIG_arg_fail(1)) SWIG_fail
;
22229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22230 if (SWIG_arg_fail(2)) SWIG_fail
;
22231 if (arg2
== NULL
) {
22232 SWIG_null_ref("wxDateTime");
22234 if (SWIG_arg_fail(2)) SWIG_fail
;
22237 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22238 if (SWIG_arg_fail(3)) SWIG_fail
;
22239 if (arg3
== NULL
) {
22240 SWIG_null_ref("wxTimeSpan");
22242 if (SWIG_arg_fail(3)) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22263 wxTimeSpan
*arg2
= 0 ;
22264 wxDateTime
*result
;
22265 PyObject
* obj0
= 0 ;
22266 PyObject
* obj1
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self",(char *) "diff", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22273 if (SWIG_arg_fail(1)) SWIG_fail
;
22275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22276 if (SWIG_arg_fail(2)) SWIG_fail
;
22277 if (arg2
== NULL
) {
22278 SWIG_null_ref("wxTimeSpan");
22280 if (SWIG_arg_fail(2)) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22286 result
= (wxDateTime
*) &_result_ref
;
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22299 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22302 wxDateSpan
*arg2
= 0 ;
22303 wxDateTime
*result
;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self",(char *) "diff", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22312 if (SWIG_arg_fail(1)) SWIG_fail
;
22314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(2)) SWIG_fail
;
22316 if (arg2
== NULL
) {
22317 SWIG_null_ref("wxDateSpan");
22319 if (SWIG_arg_fail(2)) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22325 result
= (wxDateTime
*) &_result_ref
;
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22338 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22341 wxTimeSpan
*arg2
= 0 ;
22342 wxDateTime
*result
;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "diff", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22351 if (SWIG_arg_fail(1)) SWIG_fail
;
22353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(2)) SWIG_fail
;
22355 if (arg2
== NULL
) {
22356 SWIG_null_ref("wxTimeSpan");
22358 if (SWIG_arg_fail(2)) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22364 result
= (wxDateTime
*) &_result_ref
;
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22377 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22378 PyObject
*resultobj
;
22379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22380 wxDateSpan
*arg2
= 0 ;
22381 wxDateTime
*result
;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self",(char *) "diff", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail
;
22392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22393 if (SWIG_arg_fail(2)) SWIG_fail
;
22394 if (arg2
== NULL
) {
22395 SWIG_null_ref("wxDateSpan");
22397 if (SWIG_arg_fail(2)) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22403 result
= (wxDateTime
*) &_result_ref
;
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22416 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22419 wxDateTime
*arg2
= 0 ;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 char *kwnames
[] = {
22424 (char *) "self",(char *) "dt", NULL
22427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22429 if (SWIG_arg_fail(1)) SWIG_fail
;
22431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22432 if (SWIG_arg_fail(2)) SWIG_fail
;
22433 if (arg2
== NULL
) {
22434 SWIG_null_ref("wxDateTime");
22436 if (SWIG_arg_fail(2)) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22446 wxTimeSpan
* resultptr
;
22447 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22456 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22457 PyObject
*resultobj
;
22458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22459 wxTimeSpan
*arg2
= 0 ;
22460 wxDateTime
*result
;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22464 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22466 if (SWIG_arg_fail(1)) SWIG_fail
;
22468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22469 if (SWIG_arg_fail(2)) SWIG_fail
;
22470 if (arg2
== NULL
) {
22471 SWIG_null_ref("wxTimeSpan");
22473 if (SWIG_arg_fail(2)) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22479 result
= (wxDateTime
*) &_result_ref
;
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22492 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22493 PyObject
*resultobj
;
22494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22495 wxDateSpan
*arg2
= 0 ;
22496 wxDateTime
*result
;
22497 PyObject
* obj0
= 0 ;
22498 PyObject
* obj1
= 0 ;
22500 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22502 if (SWIG_arg_fail(1)) SWIG_fail
;
22504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22505 if (SWIG_arg_fail(2)) SWIG_fail
;
22506 if (arg2
== NULL
) {
22507 SWIG_null_ref("wxDateSpan");
22509 if (SWIG_arg_fail(2)) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22515 result
= (wxDateTime
*) &_result_ref
;
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22528 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22533 argc
= PyObject_Length(args
);
22534 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22535 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22541 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22551 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22559 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22567 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22577 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22585 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22590 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22595 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22596 PyObject
*resultobj
;
22597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22598 wxTimeSpan
*arg2
= 0 ;
22599 wxDateTime
*result
;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22603 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22605 if (SWIG_arg_fail(1)) SWIG_fail
;
22607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22608 if (SWIG_arg_fail(2)) SWIG_fail
;
22609 if (arg2
== NULL
) {
22610 SWIG_null_ref("wxTimeSpan");
22612 if (SWIG_arg_fail(2)) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22618 result
= (wxDateTime
*) &_result_ref
;
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22631 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22632 PyObject
*resultobj
;
22633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22634 wxDateSpan
*arg2
= 0 ;
22635 wxDateTime
*result
;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22639 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22641 if (SWIG_arg_fail(1)) SWIG_fail
;
22643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22644 if (SWIG_arg_fail(2)) SWIG_fail
;
22645 if (arg2
== NULL
) {
22646 SWIG_null_ref("wxDateSpan");
22648 if (SWIG_arg_fail(2)) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22654 result
= (wxDateTime
*) &_result_ref
;
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22667 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22672 argc
= PyObject_Length(args
);
22673 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22674 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22680 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22690 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22698 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22716 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22724 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22729 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22734 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22735 PyObject
*resultobj
;
22736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22737 wxTimeSpan
*arg2
= 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22742 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22744 if (SWIG_arg_fail(1)) SWIG_fail
;
22746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22747 if (SWIG_arg_fail(2)) SWIG_fail
;
22748 if (arg2
== NULL
) {
22749 SWIG_null_ref("wxTimeSpan");
22751 if (SWIG_arg_fail(2)) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22761 wxDateTime
* resultptr
;
22762 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22771 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22772 PyObject
*resultobj
;
22773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22774 wxDateSpan
*arg2
= 0 ;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22779 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22781 if (SWIG_arg_fail(1)) SWIG_fail
;
22783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(2)) SWIG_fail
;
22785 if (arg2
== NULL
) {
22786 SWIG_null_ref("wxDateSpan");
22788 if (SWIG_arg_fail(2)) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22798 wxDateTime
* resultptr
;
22799 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22808 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22813 argc
= PyObject_Length(args
);
22814 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22815 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22831 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22839 return _wrap_DateTime___add____SWIG_0(self
,args
);
22847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22857 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22865 return _wrap_DateTime___add____SWIG_1(self
,args
);
22870 Py_INCREF(Py_NotImplemented
);
22871 return Py_NotImplemented
;
22875 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22876 PyObject
*resultobj
;
22877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22878 wxDateTime
*arg2
= 0 ;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22883 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22885 if (SWIG_arg_fail(1)) SWIG_fail
;
22887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22888 if (SWIG_arg_fail(2)) SWIG_fail
;
22889 if (arg2
== NULL
) {
22890 SWIG_null_ref("wxDateTime");
22892 if (SWIG_arg_fail(2)) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22902 wxTimeSpan
* resultptr
;
22903 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22912 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22913 PyObject
*resultobj
;
22914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22915 wxTimeSpan
*arg2
= 0 ;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22920 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22922 if (SWIG_arg_fail(1)) SWIG_fail
;
22924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22925 if (SWIG_arg_fail(2)) SWIG_fail
;
22926 if (arg2
== NULL
) {
22927 SWIG_null_ref("wxTimeSpan");
22929 if (SWIG_arg_fail(2)) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22939 wxDateTime
* resultptr
;
22940 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22949 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22950 PyObject
*resultobj
;
22951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22952 wxDateSpan
*arg2
= 0 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22957 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22962 if (SWIG_arg_fail(2)) SWIG_fail
;
22963 if (arg2
== NULL
) {
22964 SWIG_null_ref("wxDateSpan");
22966 if (SWIG_arg_fail(2)) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 wxDateTime
* resultptr
;
22977 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22986 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
22991 argc
= PyObject_Length(args
);
22992 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22993 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23009 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23017 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23025 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23035 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23043 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23051 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23061 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23069 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23074 Py_INCREF(Py_NotImplemented
);
23075 return Py_NotImplemented
;
23079 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
23080 PyObject
*resultobj
;
23081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23082 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23084 PyObject
* obj0
= 0 ;
23085 PyObject
* obj1
= 0 ;
23087 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
23088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23089 if (SWIG_arg_fail(1)) SWIG_fail
;
23090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23091 if (SWIG_arg_fail(2)) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23108 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
23109 PyObject
*resultobj
;
23110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23111 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23113 PyObject
* obj0
= 0 ;
23114 PyObject
* obj1
= 0 ;
23116 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
23117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23118 if (SWIG_arg_fail(1)) SWIG_fail
;
23119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23120 if (SWIG_arg_fail(2)) SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23137 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
23138 PyObject
*resultobj
;
23139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23140 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 PyObject
* obj1
= 0 ;
23145 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
23146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail
;
23148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23149 if (SWIG_arg_fail(2)) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23166 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
23167 PyObject
*resultobj
;
23168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23169 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23171 PyObject
* obj0
= 0 ;
23172 PyObject
* obj1
= 0 ;
23174 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
23175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail
;
23177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23178 if (SWIG_arg_fail(2)) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23195 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
23196 PyObject
*resultobj
;
23197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23198 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23200 PyObject
* obj0
= 0 ;
23201 PyObject
* obj1
= 0 ;
23203 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
23204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23205 if (SWIG_arg_fail(1)) SWIG_fail
;
23206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23207 if (SWIG_arg_fail(2)) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23224 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
23225 PyObject
*resultobj
;
23226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23227 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23232 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23236 if (SWIG_arg_fail(2)) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23253 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23256 wxString
*arg2
= 0 ;
23258 bool temp2
= false ;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 char *kwnames
[] = {
23262 (char *) "self",(char *) "date", NULL
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23267 if (SWIG_arg_fail(1)) SWIG_fail
;
23269 arg2
= wxString_in_helper(obj1
);
23270 if (arg2
== NULL
) SWIG_fail
;
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_From_int((int)(result
));
23297 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23300 wxString
*arg2
= 0 ;
23301 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
23302 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23303 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23304 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23306 bool temp2
= false ;
23307 bool temp3
= false ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 PyObject
* obj2
= 0 ;
23311 PyObject
* obj3
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail
;
23320 arg2
= wxString_in_helper(obj1
);
23321 if (arg2
== NULL
) SWIG_fail
;
23326 arg3
= wxString_in_helper(obj2
);
23327 if (arg3
== NULL
) SWIG_fail
;
23333 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23334 if (SWIG_arg_fail(4)) SWIG_fail
;
23335 if (arg4
== NULL
) {
23336 SWIG_null_ref("wxDateTime");
23338 if (SWIG_arg_fail(4)) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_From_int((int)(result
));
23373 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23376 wxString
*arg2
= 0 ;
23378 bool temp2
= false ;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self",(char *) "datetime", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23387 if (SWIG_arg_fail(1)) SWIG_fail
;
23389 arg2
= wxString_in_helper(obj1
);
23390 if (arg2
== NULL
) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= SWIG_From_int((int)(result
));
23417 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23420 wxString
*arg2
= 0 ;
23422 bool temp2
= false ;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self",(char *) "date", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23431 if (SWIG_arg_fail(1)) SWIG_fail
;
23433 arg2
= wxString_in_helper(obj1
);
23434 if (arg2
== NULL
) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23445 resultobj
= SWIG_From_int((int)(result
));
23461 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23464 wxString
*arg2
= 0 ;
23466 bool temp2
= false ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self",(char *) "time", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23475 if (SWIG_arg_fail(1)) SWIG_fail
;
23477 arg2
= wxString_in_helper(obj1
);
23478 if (arg2
== NULL
) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_From_int((int)(result
));
23505 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23508 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
23509 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23510 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23511 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23513 bool temp2
= false ;
23514 bool temp3
= false ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 PyObject
* obj2
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self",(char *) "format",(char *) "tz", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail
;
23527 arg2
= wxString_in_helper(obj1
);
23528 if (arg2
== NULL
) SWIG_fail
;
23534 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23557 if (temp3
) delete arg3
;
23566 if (temp3
) delete arg3
;
23572 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23576 PyObject
* obj0
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "self", NULL
23581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23583 if (SWIG_arg_fail(1)) SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23604 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23615 if (SWIG_arg_fail(1)) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23636 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23647 if (SWIG_arg_fail(1)) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23668 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23672 PyObject
* obj0
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23679 if (SWIG_arg_fail(1)) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23700 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23703 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23705 return Py_BuildValue((char *)"");
23707 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23711 PyObject
* obj0
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "sec", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23718 arg1
= (long)(SWIG_As_long(obj0
));
23719 if (SWIG_arg_fail(1)) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= wxTimeSpan::Seconds(arg1
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23729 wxTimeSpan
* resultptr
;
23730 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23739 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23742 char *kwnames
[] = {
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 result
= wxTimeSpan::Second();
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23755 wxTimeSpan
* resultptr
;
23756 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23765 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
;
23769 PyObject
* obj0
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "min", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23776 arg1
= (long)(SWIG_As_long(obj0
));
23777 if (SWIG_arg_fail(1)) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= wxTimeSpan::Minutes(arg1
);
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23787 wxTimeSpan
* resultptr
;
23788 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23797 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23800 char *kwnames
[] = {
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= wxTimeSpan::Minute();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23813 wxTimeSpan
* resultptr
;
23814 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23823 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "hours", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23834 arg1
= (long)(SWIG_As_long(obj0
));
23835 if (SWIG_arg_fail(1)) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= wxTimeSpan::Hours(arg1
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23845 wxTimeSpan
* resultptr
;
23846 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23855 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23858 char *kwnames
[] = {
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= wxTimeSpan::Hour();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23871 wxTimeSpan
* resultptr
;
23872 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23881 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23885 PyObject
* obj0
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "days", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23892 arg1
= (long)(SWIG_As_long(obj0
));
23893 if (SWIG_arg_fail(1)) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= wxTimeSpan::Days(arg1
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 wxTimeSpan
* resultptr
;
23904 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23913 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23916 char *kwnames
[] = {
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= wxTimeSpan::Day();
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 wxTimeSpan
* resultptr
;
23930 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23939 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23943 PyObject
* obj0
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "days", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23950 arg1
= (long)(SWIG_As_long(obj0
));
23951 if (SWIG_arg_fail(1)) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= wxTimeSpan::Weeks(arg1
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23961 wxTimeSpan
* resultptr
;
23962 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23971 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23974 char *kwnames
[] = {
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= wxTimeSpan::Week();
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23987 wxTimeSpan
* resultptr
;
23988 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23997 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 long arg1
= (long) 0 ;
24000 long arg2
= (long) 0 ;
24001 long arg3
= (long) 0 ;
24002 long arg4
= (long) 0 ;
24003 wxTimeSpan
*result
;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 PyObject
* obj2
= 0 ;
24007 PyObject
* obj3
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24015 arg1
= (long)(SWIG_As_long(obj0
));
24016 if (SWIG_arg_fail(1)) SWIG_fail
;
24021 arg2
= (long)(SWIG_As_long(obj1
));
24022 if (SWIG_arg_fail(2)) SWIG_fail
;
24027 arg3
= (long)(SWIG_As_long(obj2
));
24028 if (SWIG_arg_fail(3)) SWIG_fail
;
24033 arg4
= (long)(SWIG_As_long(obj3
));
24034 if (SWIG_arg_fail(4)) SWIG_fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24051 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24061 if (SWIG_arg_fail(1)) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 Py_INCREF(Py_None
); resultobj
= Py_None
;
24076 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24079 wxTimeSpan
*arg2
= 0 ;
24080 wxTimeSpan
*result
;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self",(char *) "diff", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24089 if (SWIG_arg_fail(1)) SWIG_fail
;
24091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24092 if (SWIG_arg_fail(2)) SWIG_fail
;
24093 if (arg2
== NULL
) {
24094 SWIG_null_ref("wxTimeSpan");
24096 if (SWIG_arg_fail(2)) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24102 result
= (wxTimeSpan
*) &_result_ref
;
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24115 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24118 wxTimeSpan
*arg2
= 0 ;
24119 wxTimeSpan
*result
;
24120 PyObject
* obj0
= 0 ;
24121 PyObject
* obj1
= 0 ;
24122 char *kwnames
[] = {
24123 (char *) "self",(char *) "diff", NULL
24126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24128 if (SWIG_arg_fail(1)) SWIG_fail
;
24130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24131 if (SWIG_arg_fail(2)) SWIG_fail
;
24132 if (arg2
== NULL
) {
24133 SWIG_null_ref("wxTimeSpan");
24135 if (SWIG_arg_fail(2)) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24141 result
= (wxTimeSpan
*) &_result_ref
;
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24154 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24158 wxTimeSpan
*result
;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self",(char *) "n", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24167 if (SWIG_arg_fail(1)) SWIG_fail
;
24169 arg2
= (int)(SWIG_As_int(obj1
));
24170 if (SWIG_arg_fail(2)) SWIG_fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24176 result
= (wxTimeSpan
*) &_result_ref
;
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24189 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24192 wxTimeSpan
*result
;
24193 PyObject
* obj0
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24200 if (SWIG_arg_fail(1)) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24205 result
= (wxTimeSpan
*) &_result_ref
;
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24218 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "self", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24229 if (SWIG_arg_fail(1)) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24238 wxTimeSpan
* resultptr
;
24239 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24248 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24251 wxTimeSpan
*arg2
= 0 ;
24252 wxTimeSpan
*result
;
24253 PyObject
* obj0
= 0 ;
24254 PyObject
* obj1
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self",(char *) "diff", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24261 if (SWIG_arg_fail(1)) SWIG_fail
;
24263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24264 if (SWIG_arg_fail(2)) SWIG_fail
;
24265 if (arg2
== NULL
) {
24266 SWIG_null_ref("wxTimeSpan");
24268 if (SWIG_arg_fail(2)) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24274 result
= (wxTimeSpan
*) &_result_ref
;
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24287 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24290 wxTimeSpan
*arg2
= 0 ;
24291 wxTimeSpan
*result
;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self",(char *) "diff", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24300 if (SWIG_arg_fail(1)) SWIG_fail
;
24302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24303 if (SWIG_arg_fail(2)) SWIG_fail
;
24304 if (arg2
== NULL
) {
24305 SWIG_null_ref("wxTimeSpan");
24307 if (SWIG_arg_fail(2)) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24313 result
= (wxTimeSpan
*) &_result_ref
;
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24326 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
;
24328 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24330 wxTimeSpan
*result
;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self",(char *) "n", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24339 if (SWIG_arg_fail(1)) SWIG_fail
;
24341 arg2
= (int)(SWIG_As_int(obj1
));
24342 if (SWIG_arg_fail(2)) SWIG_fail
;
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24348 result
= (wxTimeSpan
*) &_result_ref
;
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24361 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
;
24363 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24364 wxTimeSpan
*result
;
24365 PyObject
* obj0
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24377 result
= (wxTimeSpan
*) &_result_ref
;
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24390 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24393 wxTimeSpan
*arg2
= 0 ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self",(char *) "other", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24403 if (SWIG_arg_fail(1)) SWIG_fail
;
24405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24406 if (SWIG_arg_fail(2)) SWIG_fail
;
24407 if (arg2
== NULL
) {
24408 SWIG_null_ref("wxTimeSpan");
24410 if (SWIG_arg_fail(2)) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24420 wxTimeSpan
* resultptr
;
24421 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24430 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24433 wxTimeSpan
*arg2
= 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "other", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24443 if (SWIG_arg_fail(1)) SWIG_fail
;
24445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24446 if (SWIG_arg_fail(2)) SWIG_fail
;
24447 if (arg2
== NULL
) {
24448 SWIG_null_ref("wxTimeSpan");
24450 if (SWIG_arg_fail(2)) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 wxTimeSpan
* resultptr
;
24461 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24470 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self",(char *) "n", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24483 if (SWIG_arg_fail(1)) SWIG_fail
;
24485 arg2
= (int)(SWIG_As_int(obj1
));
24486 if (SWIG_arg_fail(2)) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= wxTimeSpan___mul__(arg1
,arg2
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24496 wxTimeSpan
* resultptr
;
24497 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24506 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self",(char *) "n", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24519 if (SWIG_arg_fail(1)) SWIG_fail
;
24521 arg2
= (int)(SWIG_As_int(obj1
));
24522 if (SWIG_arg_fail(2)) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 wxTimeSpan
* resultptr
;
24533 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24542 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24545 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self",(char *) "other", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24555 if (SWIG_arg_fail(1)) SWIG_fail
;
24556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24557 if (SWIG_arg_fail(2)) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24574 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24577 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "other", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",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
;
24588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24589 if (SWIG_arg_fail(2)) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24606 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24609 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self",(char *) "other", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24619 if (SWIG_arg_fail(1)) SWIG_fail
;
24620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24621 if (SWIG_arg_fail(2)) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24638 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24641 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self",(char *) "other", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24651 if (SWIG_arg_fail(1)) SWIG_fail
;
24652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24653 if (SWIG_arg_fail(2)) SWIG_fail
;
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24670 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24673 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self",(char *) "other", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24683 if (SWIG_arg_fail(1)) SWIG_fail
;
24684 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24685 if (SWIG_arg_fail(2)) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24702 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24705 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self",(char *) "other", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24715 if (SWIG_arg_fail(1)) SWIG_fail
;
24716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24717 if (SWIG_arg_fail(2)) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24734 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24745 if (SWIG_arg_fail(1)) SWIG_fail
;
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24762 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24773 if (SWIG_arg_fail(1)) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24790 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24801 if (SWIG_arg_fail(1)) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24818 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24821 wxTimeSpan
*arg2
= 0 ;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj1
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self",(char *) "ts", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24831 if (SWIG_arg_fail(1)) SWIG_fail
;
24833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24834 if (SWIG_arg_fail(2)) SWIG_fail
;
24835 if (arg2
== NULL
) {
24836 SWIG_null_ref("wxTimeSpan");
24838 if (SWIG_arg_fail(2)) SWIG_fail
;
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24856 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24859 wxTimeSpan
*arg2
= 0 ;
24861 PyObject
* obj0
= 0 ;
24862 PyObject
* obj1
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self",(char *) "ts", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(2)) SWIG_fail
;
24873 if (arg2
== NULL
) {
24874 SWIG_null_ref("wxTimeSpan");
24876 if (SWIG_arg_fail(2)) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24894 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24897 wxTimeSpan
*arg2
= 0 ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self",(char *) "t", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24907 if (SWIG_arg_fail(1)) SWIG_fail
;
24909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24910 if (SWIG_arg_fail(2)) SWIG_fail
;
24911 if (arg2
== NULL
) {
24912 SWIG_null_ref("wxTimeSpan");
24914 if (SWIG_arg_fail(2)) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24932 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "self", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
24942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24943 if (SWIG_arg_fail(1)) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_From_int((int)(result
));
24960 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24964 PyObject
* obj0
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "self", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
24970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24971 if (SWIG_arg_fail(1)) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24980 resultobj
= SWIG_From_int((int)(result
));
24988 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "self", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
24998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24999 if (SWIG_arg_fail(1)) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= SWIG_From_int((int)(result
));
25016 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
;
25018 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25020 PyObject
* obj0
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "self", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25027 if (SWIG_arg_fail(1)) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= SWIG_From_int((int)(result
));
25044 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25055 if (SWIG_arg_fail(1)) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25064 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25065 hi
= PyLong_FromLong( (&result
)->GetHi() );
25066 lo
= PyLong_FromLong( (&result
)->GetLo() );
25067 shifter
= PyLong_FromLong(32);
25068 shifted
= PyNumber_Lshift(hi
, shifter
);
25069 resultobj
= PyNumber_Or(shifted
, lo
);
25072 Py_DECREF(shifter
);
25073 Py_DECREF(shifted
);
25081 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25085 PyObject
* obj0
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "self", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25092 if (SWIG_arg_fail(1)) SWIG_fail
;
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25101 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25102 hi
= PyLong_FromLong( (&result
)->GetHi() );
25103 lo
= PyLong_FromLong( (&result
)->GetLo() );
25104 shifter
= PyLong_FromLong(32);
25105 shifted
= PyNumber_Lshift(hi
, shifter
);
25106 resultobj
= PyNumber_Or(shifted
, lo
);
25109 Py_DECREF(shifter
);
25110 Py_DECREF(shifted
);
25118 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25121 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
25122 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25124 bool temp2
= false ;
25125 PyObject
* obj0
= 0 ;
25126 PyObject
* obj1
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self",(char *) "format", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25133 if (SWIG_arg_fail(1)) SWIG_fail
;
25136 arg2
= wxString_in_helper(obj1
);
25137 if (arg2
== NULL
) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25169 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25172 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25174 return Py_BuildValue((char *)"");
25176 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 int arg1
= (int) 0 ;
25179 int arg2
= (int) 0 ;
25180 int arg3
= (int) 0 ;
25181 int arg4
= (int) 0 ;
25182 wxDateSpan
*result
;
25183 PyObject
* obj0
= 0 ;
25184 PyObject
* obj1
= 0 ;
25185 PyObject
* obj2
= 0 ;
25186 PyObject
* obj3
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25194 arg1
= (int)(SWIG_As_int(obj0
));
25195 if (SWIG_arg_fail(1)) SWIG_fail
;
25200 arg2
= (int)(SWIG_As_int(obj1
));
25201 if (SWIG_arg_fail(2)) SWIG_fail
;
25206 arg3
= (int)(SWIG_As_int(obj2
));
25207 if (SWIG_arg_fail(3)) SWIG_fail
;
25212 arg4
= (int)(SWIG_As_int(obj3
));
25213 if (SWIG_arg_fail(4)) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25230 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 Py_INCREF(Py_None
); resultobj
= Py_None
;
25255 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25259 PyObject
* obj0
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "days", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25266 arg1
= (int)(SWIG_As_int(obj0
));
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= wxDateSpan::Days(arg1
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25277 wxDateSpan
* resultptr
;
25278 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25287 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25290 char *kwnames
[] = {
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= wxDateSpan::Day();
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 wxDateSpan
* resultptr
;
25304 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25313 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "weeks", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25324 arg1
= (int)(SWIG_As_int(obj0
));
25325 if (SWIG_arg_fail(1)) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 result
= wxDateSpan::Weeks(arg1
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25335 wxDateSpan
* resultptr
;
25336 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25345 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25348 char *kwnames
[] = {
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= wxDateSpan::Week();
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25361 wxDateSpan
* resultptr
;
25362 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25371 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
;
25375 PyObject
* obj0
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "mon", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25382 arg1
= (int)(SWIG_As_int(obj0
));
25383 if (SWIG_arg_fail(1)) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= wxDateSpan::Months(arg1
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25393 wxDateSpan
* resultptr
;
25394 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25403 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
;
25406 char *kwnames
[] = {
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= wxDateSpan::Month();
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25419 wxDateSpan
* resultptr
;
25420 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25429 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25433 PyObject
* obj0
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "years", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25440 arg1
= (int)(SWIG_As_int(obj0
));
25441 if (SWIG_arg_fail(1)) SWIG_fail
;
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 result
= wxDateSpan::Years(arg1
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25451 wxDateSpan
* resultptr
;
25452 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25461 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25462 PyObject
*resultobj
;
25464 char *kwnames
[] = {
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 result
= wxDateSpan::Year();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25477 wxDateSpan
* resultptr
;
25478 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25487 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25491 wxDateSpan
*result
;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self",(char *) "n", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25500 if (SWIG_arg_fail(1)) SWIG_fail
;
25502 arg2
= (int)(SWIG_As_int(obj1
));
25503 if (SWIG_arg_fail(2)) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25509 result
= (wxDateSpan
*) &_result_ref
;
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25522 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25526 wxDateSpan
*result
;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "n", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25535 if (SWIG_arg_fail(1)) SWIG_fail
;
25537 arg2
= (int)(SWIG_As_int(obj1
));
25538 if (SWIG_arg_fail(2)) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25544 result
= (wxDateSpan
*) &_result_ref
;
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25557 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25561 wxDateSpan
*result
;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self",(char *) "n", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25570 if (SWIG_arg_fail(1)) SWIG_fail
;
25572 arg2
= (int)(SWIG_As_int(obj1
));
25573 if (SWIG_arg_fail(2)) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25579 result
= (wxDateSpan
*) &_result_ref
;
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25592 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25596 wxDateSpan
*result
;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 char *kwnames
[] = {
25600 (char *) "self",(char *) "n", NULL
25603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25605 if (SWIG_arg_fail(1)) SWIG_fail
;
25607 arg2
= (int)(SWIG_As_int(obj1
));
25608 if (SWIG_arg_fail(2)) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25614 result
= (wxDateSpan
*) &_result_ref
;
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25627 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25631 PyObject
* obj0
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_From_int((int)(result
));
25655 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25659 PyObject
* obj0
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25666 if (SWIG_arg_fail(1)) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_From_int((int)(result
));
25683 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25687 PyObject
* obj0
= 0 ;
25688 char *kwnames
[] = {
25689 (char *) "self", NULL
25692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25694 if (SWIG_arg_fail(1)) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= SWIG_From_int((int)(result
));
25711 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25715 PyObject
* obj0
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25722 if (SWIG_arg_fail(1)) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_From_int((int)(result
));
25739 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25743 PyObject
* obj0
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_From_int((int)(result
));
25767 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25770 wxDateSpan
*arg2
= 0 ;
25771 wxDateSpan
*result
;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "other", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail
;
25782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25783 if (SWIG_arg_fail(2)) SWIG_fail
;
25784 if (arg2
== NULL
) {
25785 SWIG_null_ref("wxDateSpan");
25787 if (SWIG_arg_fail(2)) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25793 result
= (wxDateSpan
*) &_result_ref
;
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25806 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25809 wxDateSpan
*arg2
= 0 ;
25810 wxDateSpan
*result
;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self",(char *) "other", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25819 if (SWIG_arg_fail(1)) SWIG_fail
;
25821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25822 if (SWIG_arg_fail(2)) SWIG_fail
;
25823 if (arg2
== NULL
) {
25824 SWIG_null_ref("wxDateSpan");
25826 if (SWIG_arg_fail(2)) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25832 result
= (wxDateSpan
*) &_result_ref
;
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25845 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25846 PyObject
*resultobj
;
25847 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25848 wxDateSpan
*result
;
25849 PyObject
* obj0
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "self", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25856 if (SWIG_arg_fail(1)) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 wxDateSpan
&_result_ref
= (arg1
)->Neg();
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_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
;
25876 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25878 wxDateSpan
*result
;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 char *kwnames
[] = {
25882 (char *) "self",(char *) "factor", NULL
25885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",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 arg2
= (int)(SWIG_As_int(obj1
));
25890 if (SWIG_arg_fail(2)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25896 result
= (wxDateSpan
*) &_result_ref
;
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25909 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
;
25911 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25912 wxDateSpan
*arg2
= 0 ;
25913 wxDateSpan
*result
;
25914 PyObject
* obj0
= 0 ;
25915 PyObject
* obj1
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self",(char *) "other", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25922 if (SWIG_arg_fail(1)) SWIG_fail
;
25924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25925 if (SWIG_arg_fail(2)) SWIG_fail
;
25926 if (arg2
== NULL
) {
25927 SWIG_null_ref("wxDateSpan");
25929 if (SWIG_arg_fail(2)) SWIG_fail
;
25932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25935 result
= (wxDateSpan
*) &_result_ref
;
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25948 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
;
25950 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25951 wxDateSpan
*arg2
= 0 ;
25952 wxDateSpan
*result
;
25953 PyObject
* obj0
= 0 ;
25954 PyObject
* obj1
= 0 ;
25955 char *kwnames
[] = {
25956 (char *) "self",(char *) "other", NULL
25959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25961 if (SWIG_arg_fail(1)) SWIG_fail
;
25963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25964 if (SWIG_arg_fail(2)) SWIG_fail
;
25965 if (arg2
== NULL
) {
25966 SWIG_null_ref("wxDateSpan");
25968 if (SWIG_arg_fail(2)) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
25974 result
= (wxDateSpan
*) &_result_ref
;
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25987 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25990 wxDateSpan
*result
;
25991 PyObject
* obj0
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
25997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25998 if (SWIG_arg_fail(1)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26003 result
= (wxDateSpan
*) &_result_ref
;
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26016 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26020 wxDateSpan
*result
;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "factor", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",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 arg2
= (int)(SWIG_As_int(obj1
));
26032 if (SWIG_arg_fail(2)) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26038 result
= (wxDateSpan
*) &_result_ref
;
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26051 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
;
26053 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26054 wxDateSpan
*arg2
= 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self",(char *) "other", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26064 if (SWIG_arg_fail(1)) SWIG_fail
;
26066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26067 if (SWIG_arg_fail(2)) SWIG_fail
;
26068 if (arg2
== NULL
) {
26069 SWIG_null_ref("wxDateSpan");
26071 if (SWIG_arg_fail(2)) SWIG_fail
;
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26081 wxDateSpan
* resultptr
;
26082 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26091 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26094 wxDateSpan
*arg2
= 0 ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "other", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail
;
26106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26107 if (SWIG_arg_fail(2)) SWIG_fail
;
26108 if (arg2
== NULL
) {
26109 SWIG_null_ref("wxDateSpan");
26111 if (SWIG_arg_fail(2)) SWIG_fail
;
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26121 wxDateSpan
* resultptr
;
26122 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26131 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
;
26133 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char *kwnames
[] = {
26139 (char *) "self",(char *) "n", NULL
26142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26144 if (SWIG_arg_fail(1)) SWIG_fail
;
26146 arg2
= (int)(SWIG_As_int(obj1
));
26147 if (SWIG_arg_fail(2)) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 result
= wxDateSpan___mul__(arg1
,arg2
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 wxDateSpan
* resultptr
;
26158 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26167 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26172 PyObject
* obj0
= 0 ;
26173 PyObject
* obj1
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "self",(char *) "n", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26180 if (SWIG_arg_fail(1)) SWIG_fail
;
26182 arg2
= (int)(SWIG_As_int(obj1
));
26183 if (SWIG_arg_fail(2)) SWIG_fail
;
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 result
= wxDateSpan___rmul__(arg1
,arg2
);
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26193 wxDateSpan
* resultptr
;
26194 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26203 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26204 PyObject
*resultobj
;
26205 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26206 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 char *kwnames
[] = {
26211 (char *) "self",(char *) "other", NULL
26214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26216 if (SWIG_arg_fail(1)) SWIG_fail
;
26217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26218 if (SWIG_arg_fail(2)) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26235 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26238 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "other", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",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
;
26249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26250 if (SWIG_arg_fail(2)) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26267 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26270 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26272 return Py_BuildValue((char *)"");
26274 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26277 char *kwnames
[] = {
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (long)wxGetLocalTime();
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_From_long((long)(result
));
26298 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26301 char *kwnames
[] = {
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 result
= (long)wxGetUTCTime();
26310 wxPyEndAllowThreads(__tstate
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_From_long((long)(result
));
26322 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26323 PyObject
*resultobj
;
26325 char *kwnames
[] = {
26329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (long)wxGetCurrentTime();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_From_long((long)(result
));
26346 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26349 char *kwnames
[] = {
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= wxGetLocalTimeMillis();
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26362 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26363 hi
= PyLong_FromLong( (&result
)->GetHi() );
26364 lo
= PyLong_FromLong( (&result
)->GetLo() );
26365 shifter
= PyLong_FromLong(32);
26366 shifted
= PyNumber_Lshift(hi
, shifter
);
26367 resultobj
= PyNumber_Or(shifted
, lo
);
26370 Py_DECREF(shifter
);
26371 Py_DECREF(shifted
);
26379 static int _wrap_DefaultDateTime_set(PyObject
*) {
26380 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26385 static PyObject
*_wrap_DefaultDateTime_get(void) {
26388 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26393 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxDataFormatId arg1
;
26396 wxDataFormat
*result
;
26397 PyObject
* obj0
= 0 ;
26398 char *kwnames
[] = {
26399 (char *) "type", NULL
26402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26404 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26405 if (SWIG_arg_fail(1)) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26421 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxString
*arg1
= 0 ;
26424 wxDataFormat
*result
;
26425 bool temp1
= false ;
26426 PyObject
* obj0
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "format", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26433 arg1
= wxString_in_helper(obj0
);
26434 if (arg1
== NULL
) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26459 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26469 if (SWIG_arg_fail(1)) SWIG_fail
;
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 Py_INCREF(Py_None
); resultobj
= Py_None
;
26484 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26485 PyObject
*resultobj
;
26486 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26487 wxDataFormatId arg2
;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26492 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26494 if (SWIG_arg_fail(1)) SWIG_fail
;
26496 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26497 if (SWIG_arg_fail(2)) SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26515 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26516 PyObject
*resultobj
;
26517 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26518 wxDataFormatId arg2
;
26520 PyObject
* obj0
= 0 ;
26521 PyObject
* obj1
= 0 ;
26523 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26525 if (SWIG_arg_fail(1)) SWIG_fail
;
26527 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26528 if (SWIG_arg_fail(2)) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26546 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26547 PyObject
*resultobj
;
26548 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26549 wxDataFormat
*arg2
= 0 ;
26551 PyObject
* obj0
= 0 ;
26552 PyObject
* obj1
= 0 ;
26554 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26556 if (SWIG_arg_fail(1)) SWIG_fail
;
26558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26559 if (SWIG_arg_fail(2)) SWIG_fail
;
26560 if (arg2
== NULL
) {
26561 SWIG_null_ref("wxDataFormat");
26563 if (SWIG_arg_fail(2)) SWIG_fail
;
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26581 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26586 argc
= PyObject_Length(args
);
26587 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26588 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26594 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26604 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26612 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26620 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26628 _v
= SWIG_Check_int(argv
[1]);
26630 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26635 Py_INCREF(Py_NotImplemented
);
26636 return Py_NotImplemented
;
26640 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26641 PyObject
*resultobj
;
26642 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26643 wxDataFormat
*arg2
= 0 ;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26648 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26650 if (SWIG_arg_fail(1)) SWIG_fail
;
26652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26653 if (SWIG_arg_fail(2)) SWIG_fail
;
26654 if (arg2
== NULL
) {
26655 SWIG_null_ref("wxDataFormat");
26657 if (SWIG_arg_fail(2)) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26675 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26680 argc
= PyObject_Length(args
);
26681 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26682 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26688 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26698 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26706 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26714 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26722 _v
= SWIG_Check_int(argv
[1]);
26724 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26729 Py_INCREF(Py_NotImplemented
);
26730 return Py_NotImplemented
;
26734 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26735 PyObject
*resultobj
;
26736 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26737 wxDataFormatId arg2
;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self",(char *) "format", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail
;
26748 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26749 if (SWIG_arg_fail(2)) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 (arg1
)->SetType((wxDataFormatId
)arg2
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 Py_INCREF(Py_None
); resultobj
= Py_None
;
26765 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26768 wxDataFormatId result
;
26769 PyObject
* obj0
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26776 if (SWIG_arg_fail(1)) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= SWIG_From_int((result
));
26791 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26793 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26802 if (SWIG_arg_fail(1)) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= ((wxDataFormat
const *)arg1
)->GetId();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26823 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26826 wxString
*arg2
= 0 ;
26827 bool temp2
= false ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 char *kwnames
[] = {
26831 (char *) "self",(char *) "format", NULL
26834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26836 if (SWIG_arg_fail(1)) SWIG_fail
;
26838 arg2
= wxString_in_helper(obj1
);
26839 if (arg2
== NULL
) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 (arg1
)->SetId((wxString
const &)*arg2
);
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 Py_INCREF(Py_None
); resultobj
= Py_None
;
26864 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26867 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26869 return Py_BuildValue((char *)"");
26871 static int _wrap_FormatInvalid_set(PyObject
*) {
26872 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26877 static PyObject
*_wrap_FormatInvalid_get(void) {
26880 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26885 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
;
26887 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26888 PyObject
* obj0
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26895 if (SWIG_arg_fail(1)) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 Py_INCREF(Py_None
); resultobj
= Py_None
;
26910 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
;
26912 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26913 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26914 SwigValueWrapper
<wxDataFormat
> result
;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "self",(char *) "dir", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail
;
26926 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26927 if (SWIG_arg_fail(2)) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 wxDataFormat
* resultptr
;
26939 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26948 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
;
26950 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26951 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj1
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self",(char *) "dir", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26961 if (SWIG_arg_fail(1)) SWIG_fail
;
26964 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26965 if (SWIG_arg_fail(2)) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26984 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26987 wxDataFormat
*arg2
= 0 ;
26988 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 PyObject
* obj2
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "format",(char *) "dir", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26999 if (SWIG_arg_fail(1)) SWIG_fail
;
27001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27002 if (SWIG_arg_fail(2)) SWIG_fail
;
27003 if (arg2
== NULL
) {
27004 SWIG_null_ref("wxDataFormat");
27006 if (SWIG_arg_fail(2)) SWIG_fail
;
27010 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27011 if (SWIG_arg_fail(3)) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27030 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
;
27032 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27033 wxDataFormat
*arg2
= 0 ;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj1
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "format", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27043 if (SWIG_arg_fail(1)) SWIG_fail
;
27045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27046 if (SWIG_arg_fail(2)) SWIG_fail
;
27047 if (arg2
== NULL
) {
27048 SWIG_null_ref("wxDataFormat");
27050 if (SWIG_arg_fail(2)) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27068 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27071 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "dir", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27081 if (SWIG_arg_fail(1)) SWIG_fail
;
27084 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27085 if (SWIG_arg_fail(2)) SWIG_fail
;
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= result
;
27102 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27105 wxDataFormat
*arg2
= 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 char *kwnames
[] = {
27110 (char *) "self",(char *) "format", NULL
27113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27115 if (SWIG_arg_fail(1)) SWIG_fail
;
27117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(2)) SWIG_fail
;
27119 if (arg2
== NULL
) {
27120 SWIG_null_ref("wxDataFormat");
27122 if (SWIG_arg_fail(2)) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= result
;
27138 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27141 wxDataFormat
*arg2
= 0 ;
27142 PyObject
*arg3
= (PyObject
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 PyObject
* obj2
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "format",(char *) "data", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27153 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27156 if (SWIG_arg_fail(2)) SWIG_fail
;
27157 if (arg2
== NULL
) {
27158 SWIG_null_ref("wxDataFormat");
27160 if (SWIG_arg_fail(2)) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27179 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27182 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27184 return Py_BuildValue((char *)"");
27186 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27189 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27190 wxDataObjectSimple
*result
;
27191 PyObject
* obj0
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "format", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27200 if (SWIG_arg_fail(1)) SWIG_fail
;
27201 if (arg1
== NULL
) {
27202 SWIG_null_ref("wxDataFormat");
27204 if (SWIG_arg_fail(1)) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27221 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
;
27223 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27224 wxDataFormat
*result
;
27225 PyObject
* obj0
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27232 if (SWIG_arg_fail(1)) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27237 result
= (wxDataFormat
*) &_result_ref
;
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27250 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
;
27252 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27253 wxDataFormat
*arg2
= 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self",(char *) "format", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27262 if (SWIG_arg_fail(1)) SWIG_fail
;
27264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27265 if (SWIG_arg_fail(2)) SWIG_fail
;
27266 if (arg2
== NULL
) {
27267 SWIG_null_ref("wxDataFormat");
27269 if (SWIG_arg_fail(2)) SWIG_fail
;
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 Py_INCREF(Py_None
); resultobj
= Py_None
;
27285 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27289 PyObject
* obj0
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27296 if (SWIG_arg_fail(1)) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27313 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27317 PyObject
* obj0
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27324 if (SWIG_arg_fail(1)) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27332 resultobj
= result
;
27339 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
;
27341 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27342 PyObject
*arg2
= (PyObject
*) 0 ;
27344 PyObject
* obj0
= 0 ;
27345 PyObject
* obj1
= 0 ;
27346 char *kwnames
[] = {
27347 (char *) "self",(char *) "data", NULL
27350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27352 if (SWIG_arg_fail(1)) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27370 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27373 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27375 return Py_BuildValue((char *)"");
27377 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27378 PyObject
*resultobj
;
27379 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27380 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27381 wxPyDataObjectSimple
*result
;
27382 PyObject
* obj0
= 0 ;
27383 char *kwnames
[] = {
27384 (char *) "format", NULL
27387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27391 if (SWIG_arg_fail(1)) SWIG_fail
;
27392 if (arg1
== NULL
) {
27393 SWIG_null_ref("wxDataFormat");
27395 if (SWIG_arg_fail(1)) SWIG_fail
;
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27412 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
;
27414 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27415 PyObject
*arg2
= (PyObject
*) 0 ;
27416 PyObject
*arg3
= (PyObject
*) 0 ;
27417 PyObject
* obj0
= 0 ;
27418 PyObject
* obj1
= 0 ;
27419 PyObject
* obj2
= 0 ;
27420 char *kwnames
[] = {
27421 (char *) "self",(char *) "self",(char *) "_class", NULL
27424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27426 if (SWIG_arg_fail(1)) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27436 Py_INCREF(Py_None
); resultobj
= Py_None
;
27443 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27446 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27448 return Py_BuildValue((char *)"");
27450 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
;
27452 wxDataObjectComposite
*result
;
27453 char *kwnames
[] = {
27457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27472 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27475 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27476 bool arg3
= (bool) false ;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27479 PyObject
* obj2
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27486 if (SWIG_arg_fail(1)) SWIG_fail
;
27487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27488 if (SWIG_arg_fail(2)) SWIG_fail
;
27491 arg3
= (bool)(SWIG_As_bool(obj2
));
27492 if (SWIG_arg_fail(3)) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 (arg1
)->Add(arg2
,arg3
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 Py_INCREF(Py_None
); resultobj
= Py_None
;
27509 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27512 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27514 return Py_BuildValue((char *)"");
27516 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27519 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27520 wxTextDataObject
*result
;
27521 bool temp1
= false ;
27522 PyObject
* obj0
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "text", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27530 arg1
= wxString_in_helper(obj0
);
27531 if (arg1
== NULL
) SWIG_fail
;
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27557 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
;
27559 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27561 PyObject
* obj0
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27568 if (SWIG_arg_fail(1)) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (size_t)(arg1
)->GetTextLength();
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27585 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27589 PyObject
* obj0
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (arg1
)->GetText();
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27617 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
;
27619 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27620 wxString
*arg2
= 0 ;
27621 bool temp2
= false ;
27622 PyObject
* obj0
= 0 ;
27623 PyObject
* obj1
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self",(char *) "text", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27630 if (SWIG_arg_fail(1)) SWIG_fail
;
27632 arg2
= wxString_in_helper(obj1
);
27633 if (arg2
== NULL
) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 (arg1
)->SetText((wxString
const &)*arg2
);
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 Py_INCREF(Py_None
); resultobj
= Py_None
;
27658 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27661 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27663 return Py_BuildValue((char *)"");
27665 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
;
27667 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27668 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27669 wxPyTextDataObject
*result
;
27670 bool temp1
= false ;
27671 PyObject
* obj0
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "text", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27679 arg1
= wxString_in_helper(obj0
);
27680 if (arg1
== NULL
) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27706 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27709 PyObject
*arg2
= (PyObject
*) 0 ;
27710 PyObject
*arg3
= (PyObject
*) 0 ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 PyObject
* obj2
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self",(char *) "self",(char *) "_class", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail
;
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 Py_INCREF(Py_None
); resultobj
= Py_None
;
27737 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27740 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27742 return Py_BuildValue((char *)"");
27744 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27746 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27747 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27748 wxBitmapDataObject
*result
;
27749 PyObject
* obj0
= 0 ;
27750 char *kwnames
[] = {
27751 (char *) "bitmap", NULL
27754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27758 if (SWIG_arg_fail(1)) SWIG_fail
;
27759 if (arg1
== NULL
) {
27760 SWIG_null_ref("wxBitmap");
27762 if (SWIG_arg_fail(1)) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27779 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27790 if (SWIG_arg_fail(1)) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27799 wxBitmap
* resultptr
;
27800 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27809 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27812 wxBitmap
*arg2
= 0 ;
27813 PyObject
* obj0
= 0 ;
27814 PyObject
* obj1
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self",(char *) "bitmap", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27821 if (SWIG_arg_fail(1)) SWIG_fail
;
27823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27824 if (SWIG_arg_fail(2)) SWIG_fail
;
27825 if (arg2
== NULL
) {
27826 SWIG_null_ref("wxBitmap");
27828 if (SWIG_arg_fail(2)) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 Py_INCREF(Py_None
); resultobj
= Py_None
;
27844 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27847 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27849 return Py_BuildValue((char *)"");
27851 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27854 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27855 wxPyBitmapDataObject
*result
;
27856 PyObject
* obj0
= 0 ;
27857 char *kwnames
[] = {
27858 (char *) "bitmap", NULL
27861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27865 if (SWIG_arg_fail(1)) SWIG_fail
;
27866 if (arg1
== NULL
) {
27867 SWIG_null_ref("wxBitmap");
27869 if (SWIG_arg_fail(1)) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27886 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27889 PyObject
*arg2
= (PyObject
*) 0 ;
27890 PyObject
*arg3
= (PyObject
*) 0 ;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 PyObject
* obj2
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self",(char *) "self",(char *) "_class", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27900 if (SWIG_arg_fail(1)) SWIG_fail
;
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27910 Py_INCREF(Py_None
); resultobj
= Py_None
;
27917 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27920 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27922 return Py_BuildValue((char *)"");
27924 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
;
27926 wxFileDataObject
*result
;
27927 char *kwnames
[] = {
27931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 result
= (wxFileDataObject
*)new wxFileDataObject();
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27946 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27949 wxArrayString
*result
;
27950 PyObject
* obj0
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "self", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27957 if (SWIG_arg_fail(1)) SWIG_fail
;
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
27962 result
= (wxArrayString
*) &_result_ref
;
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= wxArrayString2PyList_helper(*result
);
27977 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27980 wxString
*arg2
= 0 ;
27981 bool temp2
= false ;
27982 PyObject
* obj0
= 0 ;
27983 PyObject
* obj1
= 0 ;
27984 char *kwnames
[] = {
27985 (char *) "self",(char *) "filename", NULL
27988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
27989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27990 if (SWIG_arg_fail(1)) SWIG_fail
;
27992 arg2
= wxString_in_helper(obj1
);
27993 if (arg2
== NULL
) SWIG_fail
;
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 (arg1
)->AddFile((wxString
const &)*arg2
);
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 Py_INCREF(Py_None
); resultobj
= Py_None
;
28018 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28021 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28023 return Py_BuildValue((char *)"");
28025 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
;
28027 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28028 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28029 wxCustomDataObject
*result
;
28030 PyObject
* obj0
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "format", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
28038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28039 if (SWIG_arg_fail(1)) SWIG_fail
;
28040 if (arg1
== NULL
) {
28041 SWIG_null_ref("wxDataFormat");
28043 if (SWIG_arg_fail(1)) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28060 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28063 PyObject
*arg2
= (PyObject
*) 0 ;
28065 PyObject
* obj0
= 0 ;
28066 PyObject
* obj1
= 0 ;
28067 char *kwnames
[] = {
28068 (char *) "self",(char *) "data", NULL
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28073 if (SWIG_arg_fail(1)) SWIG_fail
;
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28091 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 char *kwnames
[] = {
28097 (char *) "self", NULL
28100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28102 if (SWIG_arg_fail(1)) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (size_t)(arg1
)->GetSize();
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28119 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= result
;
28145 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28148 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28150 return Py_BuildValue((char *)"");
28152 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
;
28154 wxURLDataObject
*result
;
28155 char *kwnames
[] = {
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 result
= (wxURLDataObject
*)new wxURLDataObject();
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28174 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
;
28176 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28178 PyObject
* obj0
= 0 ;
28179 char *kwnames
[] = {
28180 (char *) "self", NULL
28183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28185 if (SWIG_arg_fail(1)) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (arg1
)->GetURL();
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28206 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28208 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28209 wxString
*arg2
= 0 ;
28210 bool temp2
= false ;
28211 PyObject
* obj0
= 0 ;
28212 PyObject
* obj1
= 0 ;
28213 char *kwnames
[] = {
28214 (char *) "self",(char *) "url", NULL
28217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28219 if (SWIG_arg_fail(1)) SWIG_fail
;
28221 arg2
= wxString_in_helper(obj1
);
28222 if (arg2
== NULL
) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 (arg1
)->SetURL((wxString
const &)*arg2
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 Py_INCREF(Py_None
); resultobj
= Py_None
;
28247 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28250 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28252 return Py_BuildValue((char *)"");
28254 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
;
28256 wxMetafileDataObject
*result
;
28257 char *kwnames
[] = {
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28276 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
;
28278 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28279 wxMetafile
*arg2
= 0 ;
28280 PyObject
* obj0
= 0 ;
28281 PyObject
* obj1
= 0 ;
28282 char *kwnames
[] = {
28283 (char *) "self",(char *) "metafile", NULL
28286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28288 if (SWIG_arg_fail(1)) SWIG_fail
;
28290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28291 if (SWIG_arg_fail(2)) SWIG_fail
;
28292 if (arg2
== NULL
) {
28293 SWIG_null_ref("wxMetafile");
28295 if (SWIG_arg_fail(2)) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 Py_INCREF(Py_None
); resultobj
= Py_None
;
28311 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28315 PyObject
* obj0
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28322 if (SWIG_arg_fail(1)) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28331 wxMetafile
* resultptr
;
28332 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28341 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28344 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28346 return Py_BuildValue((char *)"");
28348 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
;
28350 wxDragResult arg1
;
28352 PyObject
* obj0
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "res", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28359 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28360 if (SWIG_arg_fail(1)) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28378 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxWindow
*arg1
= (wxWindow
*) 0 ;
28381 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28382 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28383 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28384 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28385 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28386 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28387 wxPyDropSource
*result
;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 PyObject
* obj2
= 0 ;
28391 PyObject
* obj3
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28398 if (SWIG_arg_fail(1)) SWIG_fail
;
28401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28402 if (SWIG_arg_fail(2)) SWIG_fail
;
28403 if (arg2
== NULL
) {
28404 SWIG_null_ref("wxCursor");
28406 if (SWIG_arg_fail(2)) SWIG_fail
;
28411 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28412 if (SWIG_arg_fail(3)) SWIG_fail
;
28413 if (arg3
== NULL
) {
28414 SWIG_null_ref("wxCursor");
28416 if (SWIG_arg_fail(3)) SWIG_fail
;
28421 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28422 if (SWIG_arg_fail(4)) SWIG_fail
;
28423 if (arg4
== NULL
) {
28424 SWIG_null_ref("wxCursor");
28426 if (SWIG_arg_fail(4)) SWIG_fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28443 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28446 PyObject
*arg2
= (PyObject
*) 0 ;
28447 PyObject
*arg3
= (PyObject
*) 0 ;
28449 PyObject
* obj0
= 0 ;
28450 PyObject
* obj1
= 0 ;
28451 PyObject
* obj2
= 0 ;
28452 PyObject
* obj3
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28459 if (SWIG_arg_fail(1)) SWIG_fail
;
28463 arg4
= (int)(SWIG_As_int(obj3
));
28464 if (SWIG_arg_fail(4)) SWIG_fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 Py_INCREF(Py_None
); resultobj
= Py_None
;
28480 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28483 PyObject
* obj0
= 0 ;
28484 char *kwnames
[] = {
28485 (char *) "self", NULL
28488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28490 if (SWIG_arg_fail(1)) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 Py_INCREF(Py_None
); resultobj
= Py_None
;
28505 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
;
28507 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28508 wxDataObject
*arg2
= 0 ;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self",(char *) "data", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28517 if (SWIG_arg_fail(1)) SWIG_fail
;
28519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28520 if (SWIG_arg_fail(2)) SWIG_fail
;
28521 if (arg2
== NULL
) {
28522 SWIG_null_ref("wxDataObject");
28524 if (SWIG_arg_fail(2)) SWIG_fail
;
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->SetData(*arg2
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 Py_INCREF(Py_None
); resultobj
= Py_None
;
28540 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28543 wxDataObject
*result
;
28544 PyObject
* obj0
= 0 ;
28545 char *kwnames
[] = {
28546 (char *) "self", NULL
28549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28551 if (SWIG_arg_fail(1)) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28566 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
;
28568 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28569 wxDragResult arg2
;
28570 wxCursor
*arg3
= 0 ;
28571 PyObject
* obj0
= 0 ;
28572 PyObject
* obj1
= 0 ;
28573 PyObject
* obj2
= 0 ;
28574 char *kwnames
[] = {
28575 (char *) "self",(char *) "res",(char *) "cursor", NULL
28578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28580 if (SWIG_arg_fail(1)) SWIG_fail
;
28582 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28583 if (SWIG_arg_fail(2)) SWIG_fail
;
28586 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28587 if (SWIG_arg_fail(3)) SWIG_fail
;
28588 if (arg3
== NULL
) {
28589 SWIG_null_ref("wxCursor");
28591 if (SWIG_arg_fail(3)) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 Py_INCREF(Py_None
); resultobj
= Py_None
;
28607 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
;
28609 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28610 int arg2
= (int) wxDrag_CopyOnly
;
28611 wxDragResult result
;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "flags", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28620 if (SWIG_arg_fail(1)) SWIG_fail
;
28623 arg2
= (int)(SWIG_As_int(obj1
));
28624 if (SWIG_arg_fail(2)) SWIG_fail
;
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= SWIG_From_int((result
));
28641 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
;
28643 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28644 wxDragResult arg2
;
28646 PyObject
* obj0
= 0 ;
28647 PyObject
* obj1
= 0 ;
28648 char *kwnames
[] = {
28649 (char *) "self",(char *) "effect", NULL
28652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28654 if (SWIG_arg_fail(1)) SWIG_fail
;
28656 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28657 if (SWIG_arg_fail(2)) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28675 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28678 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28680 return Py_BuildValue((char *)"");
28682 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28684 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28685 wxPyDropTarget
*result
;
28686 PyObject
* obj0
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "dataObject", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28694 if (SWIG_arg_fail(1)) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28710 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28713 PyObject
*arg2
= (PyObject
*) 0 ;
28714 PyObject
*arg3
= (PyObject
*) 0 ;
28715 PyObject
* obj0
= 0 ;
28716 PyObject
* obj1
= 0 ;
28717 PyObject
* obj2
= 0 ;
28718 char *kwnames
[] = {
28719 (char *) "self",(char *) "self",(char *) "_class", NULL
28722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28724 if (SWIG_arg_fail(1)) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "self", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28751 if (SWIG_arg_fail(1)) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 Py_INCREF(Py_None
); resultobj
= Py_None
;
28766 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28769 wxDataObject
*result
;
28770 PyObject
* obj0
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28792 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28793 PyObject
*resultobj
;
28794 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28795 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28796 PyObject
* obj0
= 0 ;
28797 PyObject
* obj1
= 0 ;
28798 char *kwnames
[] = {
28799 (char *) "self",(char *) "dataObject", NULL
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28804 if (SWIG_arg_fail(1)) SWIG_fail
;
28805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28806 if (SWIG_arg_fail(2)) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->SetDataObject(arg2
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 Py_INCREF(Py_None
); resultobj
= Py_None
;
28821 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
;
28823 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28826 wxDragResult arg4
;
28827 wxDragResult result
;
28828 PyObject
* obj0
= 0 ;
28829 PyObject
* obj1
= 0 ;
28830 PyObject
* obj2
= 0 ;
28831 PyObject
* obj3
= 0 ;
28832 char *kwnames
[] = {
28833 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28838 if (SWIG_arg_fail(1)) SWIG_fail
;
28840 arg2
= (int)(SWIG_As_int(obj1
));
28841 if (SWIG_arg_fail(2)) SWIG_fail
;
28844 arg3
= (int)(SWIG_As_int(obj2
));
28845 if (SWIG_arg_fail(3)) SWIG_fail
;
28848 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28849 if (SWIG_arg_fail(4)) SWIG_fail
;
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28858 resultobj
= SWIG_From_int((result
));
28865 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28866 PyObject
*resultobj
;
28867 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28870 wxDragResult arg4
;
28871 wxDragResult result
;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 PyObject
* obj2
= 0 ;
28875 PyObject
* obj3
= 0 ;
28876 char *kwnames
[] = {
28877 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28882 if (SWIG_arg_fail(1)) SWIG_fail
;
28884 arg2
= (int)(SWIG_As_int(obj1
));
28885 if (SWIG_arg_fail(2)) SWIG_fail
;
28888 arg3
= (int)(SWIG_As_int(obj2
));
28889 if (SWIG_arg_fail(3)) SWIG_fail
;
28892 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28893 if (SWIG_arg_fail(4)) SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_From_int((result
));
28909 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28912 PyObject
* obj0
= 0 ;
28913 char *kwnames
[] = {
28914 (char *) "self", NULL
28917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28919 if (SWIG_arg_fail(1)) SWIG_fail
;
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 (arg1
)->base_OnLeave();
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 Py_INCREF(Py_None
); resultobj
= Py_None
;
28934 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
;
28936 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28940 PyObject
* obj0
= 0 ;
28941 PyObject
* obj1
= 0 ;
28942 PyObject
* obj2
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self",(char *) "x",(char *) "y", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28949 if (SWIG_arg_fail(1)) SWIG_fail
;
28951 arg2
= (int)(SWIG_As_int(obj1
));
28952 if (SWIG_arg_fail(2)) SWIG_fail
;
28955 arg3
= (int)(SWIG_As_int(obj2
));
28956 if (SWIG_arg_fail(3)) SWIG_fail
;
28959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28960 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28974 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28975 PyObject
*resultobj
;
28976 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28978 PyObject
* obj0
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (bool)(arg1
)->GetData();
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29002 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29005 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29007 return Py_BuildValue((char *)"");
29009 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
;
29011 wxPyTextDropTarget
*result
;
29012 char *kwnames
[] = {
29016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29021 wxPyEndAllowThreads(__tstate
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29031 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
;
29033 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29034 PyObject
*arg2
= (PyObject
*) 0 ;
29035 PyObject
*arg3
= (PyObject
*) 0 ;
29036 PyObject
* obj0
= 0 ;
29037 PyObject
* obj1
= 0 ;
29038 PyObject
* obj2
= 0 ;
29039 char *kwnames
[] = {
29040 (char *) "self",(char *) "self",(char *) "_class", NULL
29043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29045 if (SWIG_arg_fail(1)) SWIG_fail
;
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 Py_INCREF(Py_None
); resultobj
= Py_None
;
29062 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
;
29064 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29067 wxDragResult arg4
;
29068 wxDragResult result
;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 PyObject
* obj2
= 0 ;
29072 PyObject
* obj3
= 0 ;
29073 char *kwnames
[] = {
29074 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29079 if (SWIG_arg_fail(1)) SWIG_fail
;
29081 arg2
= (int)(SWIG_As_int(obj1
));
29082 if (SWIG_arg_fail(2)) SWIG_fail
;
29085 arg3
= (int)(SWIG_As_int(obj2
));
29086 if (SWIG_arg_fail(3)) SWIG_fail
;
29089 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29090 if (SWIG_arg_fail(4)) SWIG_fail
;
29093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29094 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= SWIG_From_int((result
));
29106 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
;
29108 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29111 wxDragResult arg4
;
29112 wxDragResult result
;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 PyObject
* obj2
= 0 ;
29116 PyObject
* obj3
= 0 ;
29117 char *kwnames
[] = {
29118 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29123 if (SWIG_arg_fail(1)) SWIG_fail
;
29125 arg2
= (int)(SWIG_As_int(obj1
));
29126 if (SWIG_arg_fail(2)) SWIG_fail
;
29129 arg3
= (int)(SWIG_As_int(obj2
));
29130 if (SWIG_arg_fail(3)) SWIG_fail
;
29133 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29134 if (SWIG_arg_fail(4)) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= SWIG_From_int((result
));
29150 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29151 PyObject
*resultobj
;
29152 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29153 PyObject
* obj0
= 0 ;
29154 char *kwnames
[] = {
29155 (char *) "self", NULL
29158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29160 if (SWIG_arg_fail(1)) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 (arg1
)->base_OnLeave();
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 Py_INCREF(Py_None
); resultobj
= Py_None
;
29175 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
;
29177 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29181 PyObject
* obj0
= 0 ;
29182 PyObject
* obj1
= 0 ;
29183 PyObject
* obj2
= 0 ;
29184 char *kwnames
[] = {
29185 (char *) "self",(char *) "x",(char *) "y", NULL
29188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29190 if (SWIG_arg_fail(1)) SWIG_fail
;
29192 arg2
= (int)(SWIG_As_int(obj1
));
29193 if (SWIG_arg_fail(2)) SWIG_fail
;
29196 arg3
= (int)(SWIG_As_int(obj2
));
29197 if (SWIG_arg_fail(3)) SWIG_fail
;
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29215 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29217 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29220 wxDragResult arg4
;
29221 wxDragResult result
;
29222 PyObject
* obj0
= 0 ;
29223 PyObject
* obj1
= 0 ;
29224 PyObject
* obj2
= 0 ;
29225 PyObject
* obj3
= 0 ;
29226 char *kwnames
[] = {
29227 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29232 if (SWIG_arg_fail(1)) SWIG_fail
;
29234 arg2
= (int)(SWIG_As_int(obj1
));
29235 if (SWIG_arg_fail(2)) SWIG_fail
;
29238 arg3
= (int)(SWIG_As_int(obj2
));
29239 if (SWIG_arg_fail(3)) SWIG_fail
;
29242 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29243 if (SWIG_arg_fail(4)) SWIG_fail
;
29246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29247 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29249 wxPyEndAllowThreads(__tstate
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= SWIG_From_int((result
));
29259 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29264 return Py_BuildValue((char *)"");
29266 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxPyFileDropTarget
*result
;
29269 char *kwnames
[] = {
29273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29288 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
;
29290 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29291 PyObject
*arg2
= (PyObject
*) 0 ;
29292 PyObject
*arg3
= (PyObject
*) 0 ;
29293 PyObject
* obj0
= 0 ;
29294 PyObject
* obj1
= 0 ;
29295 PyObject
* obj2
= 0 ;
29296 char *kwnames
[] = {
29297 (char *) "self",(char *) "self",(char *) "_class", NULL
29300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29302 if (SWIG_arg_fail(1)) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29307 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 Py_INCREF(Py_None
); resultobj
= Py_None
;
29319 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
;
29321 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29324 wxDragResult arg4
;
29325 wxDragResult result
;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 PyObject
* obj3
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29336 if (SWIG_arg_fail(1)) SWIG_fail
;
29338 arg2
= (int)(SWIG_As_int(obj1
));
29339 if (SWIG_arg_fail(2)) SWIG_fail
;
29342 arg3
= (int)(SWIG_As_int(obj2
));
29343 if (SWIG_arg_fail(3)) SWIG_fail
;
29346 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29347 if (SWIG_arg_fail(4)) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_From_int((result
));
29363 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29368 wxDragResult arg4
;
29369 wxDragResult result
;
29370 PyObject
* obj0
= 0 ;
29371 PyObject
* obj1
= 0 ;
29372 PyObject
* obj2
= 0 ;
29373 PyObject
* obj3
= 0 ;
29374 char *kwnames
[] = {
29375 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29380 if (SWIG_arg_fail(1)) SWIG_fail
;
29382 arg2
= (int)(SWIG_As_int(obj1
));
29383 if (SWIG_arg_fail(2)) SWIG_fail
;
29386 arg3
= (int)(SWIG_As_int(obj2
));
29387 if (SWIG_arg_fail(3)) SWIG_fail
;
29390 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29391 if (SWIG_arg_fail(4)) SWIG_fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_From_int((result
));
29407 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29417 if (SWIG_arg_fail(1)) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 (arg1
)->base_OnLeave();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 Py_INCREF(Py_None
); resultobj
= Py_None
;
29432 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 PyObject
* obj2
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self",(char *) "x",(char *) "y", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29472 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
;
29474 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29477 wxDragResult arg4
;
29478 wxDragResult result
;
29479 PyObject
* obj0
= 0 ;
29480 PyObject
* obj1
= 0 ;
29481 PyObject
* obj2
= 0 ;
29482 PyObject
* obj3
= 0 ;
29483 char *kwnames
[] = {
29484 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29489 if (SWIG_arg_fail(1)) SWIG_fail
;
29491 arg2
= (int)(SWIG_As_int(obj1
));
29492 if (SWIG_arg_fail(2)) SWIG_fail
;
29495 arg3
= (int)(SWIG_As_int(obj2
));
29496 if (SWIG_arg_fail(3)) SWIG_fail
;
29499 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29500 if (SWIG_arg_fail(4)) SWIG_fail
;
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29506 wxPyEndAllowThreads(__tstate
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= SWIG_From_int((result
));
29516 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29519 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29521 return Py_BuildValue((char *)"");
29523 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
;
29525 wxClipboard
*result
;
29526 char *kwnames
[] = {
29530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (wxClipboard
*)new wxClipboard();
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29545 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29548 PyObject
* obj0
= 0 ;
29549 char *kwnames
[] = {
29550 (char *) "self", NULL
29553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29555 if (SWIG_arg_fail(1)) SWIG_fail
;
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 Py_INCREF(Py_None
); resultobj
= Py_None
;
29570 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29571 PyObject
*resultobj
;
29572 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29574 PyObject
* obj0
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "self", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29581 if (SWIG_arg_fail(1)) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (bool)(arg1
)->Open();
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29598 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
;
29600 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29601 PyObject
* obj0
= 0 ;
29602 char *kwnames
[] = {
29603 (char *) "self", NULL
29606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29608 if (SWIG_arg_fail(1)) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 Py_INCREF(Py_None
); resultobj
= Py_None
;
29623 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
;
29625 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "self", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29634 if (SWIG_arg_fail(1)) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29651 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29654 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 char *kwnames
[] = {
29659 (char *) "self",(char *) "data", NULL
29662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29664 if (SWIG_arg_fail(1)) SWIG_fail
;
29665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29666 if (SWIG_arg_fail(2)) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= (bool)(arg1
)->AddData(arg2
);
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29683 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29686 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self",(char *) "data", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29696 if (SWIG_arg_fail(1)) SWIG_fail
;
29697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29698 if (SWIG_arg_fail(2)) SWIG_fail
;
29700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29701 result
= (bool)(arg1
)->SetData(arg2
);
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29715 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
;
29717 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29718 wxDataFormat
*arg2
= 0 ;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self",(char *) "format", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29728 if (SWIG_arg_fail(1)) SWIG_fail
;
29730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29731 if (SWIG_arg_fail(2)) SWIG_fail
;
29732 if (arg2
== NULL
) {
29733 SWIG_null_ref("wxDataFormat");
29735 if (SWIG_arg_fail(2)) SWIG_fail
;
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29753 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
;
29755 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29756 wxDataObject
*arg2
= 0 ;
29758 PyObject
* obj0
= 0 ;
29759 PyObject
* obj1
= 0 ;
29760 char *kwnames
[] = {
29761 (char *) "self",(char *) "data", NULL
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29766 if (SWIG_arg_fail(1)) SWIG_fail
;
29768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29769 if (SWIG_arg_fail(2)) SWIG_fail
;
29770 if (arg2
== NULL
) {
29771 SWIG_null_ref("wxDataObject");
29773 if (SWIG_arg_fail(2)) SWIG_fail
;
29776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29777 result
= (bool)(arg1
)->GetData(*arg2
);
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29791 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
;
29793 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29794 PyObject
* obj0
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "self", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29801 if (SWIG_arg_fail(1)) SWIG_fail
;
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 Py_INCREF(Py_None
); resultobj
= Py_None
;
29816 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29820 PyObject
* obj0
= 0 ;
29821 char *kwnames
[] = {
29822 (char *) "self", NULL
29825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29827 if (SWIG_arg_fail(1)) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= (bool)(arg1
)->Flush();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29844 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
;
29846 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29847 bool arg2
= (bool) true ;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 char *kwnames
[] = {
29851 (char *) "self",(char *) "primary", NULL
29854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29856 if (SWIG_arg_fail(1)) SWIG_fail
;
29859 arg2
= (bool)(SWIG_As_bool(obj1
));
29860 if (SWIG_arg_fail(2)) SWIG_fail
;
29864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29865 (arg1
)->UsePrimarySelection(arg2
);
29867 wxPyEndAllowThreads(__tstate
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29870 Py_INCREF(Py_None
); resultobj
= Py_None
;
29877 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
;
29879 wxClipboard
*result
;
29880 char *kwnames
[] = {
29884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= (wxClipboard
*)wxClipboard::Get();
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
29899 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
29901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29902 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
29904 return Py_BuildValue((char *)"");
29906 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
29909 wxClipboardLocker
*result
;
29910 PyObject
* obj0
= 0 ;
29911 char *kwnames
[] = {
29912 (char *) "clipboard", NULL
29915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29918 if (SWIG_arg_fail(1)) SWIG_fail
;
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
29934 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
;
29936 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29944 if (SWIG_arg_fail(1)) SWIG_fail
;
29946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 Py_INCREF(Py_None
); resultobj
= Py_None
;
29959 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 char *kwnames
[] = {
29965 (char *) "self", NULL
29968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
29969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29970 if (SWIG_arg_fail(1)) SWIG_fail
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29987 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
29989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29990 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
29992 return Py_BuildValue((char *)"");
29994 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
;
29996 int arg1
= (int) 0 ;
29997 int arg2
= (int) 0 ;
29998 int arg3
= (int) 0 ;
29999 int arg4
= (int) 0 ;
30000 wxVideoMode
*result
;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj1
= 0 ;
30003 PyObject
* obj2
= 0 ;
30004 PyObject
* obj3
= 0 ;
30005 char *kwnames
[] = {
30006 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30012 arg1
= (int)(SWIG_As_int(obj0
));
30013 if (SWIG_arg_fail(1)) SWIG_fail
;
30018 arg2
= (int)(SWIG_As_int(obj1
));
30019 if (SWIG_arg_fail(2)) SWIG_fail
;
30024 arg3
= (int)(SWIG_As_int(obj2
));
30025 if (SWIG_arg_fail(3)) SWIG_fail
;
30030 arg4
= (int)(SWIG_As_int(obj3
));
30031 if (SWIG_arg_fail(4)) SWIG_fail
;
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30048 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
;
30050 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30051 PyObject
* obj0
= 0 ;
30052 char *kwnames
[] = {
30053 (char *) "self", NULL
30056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30058 if (SWIG_arg_fail(1)) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 Py_INCREF(Py_None
); resultobj
= Py_None
;
30073 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
;
30075 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30076 wxVideoMode
*arg2
= 0 ;
30078 PyObject
* obj0
= 0 ;
30079 PyObject
* obj1
= 0 ;
30080 char *kwnames
[] = {
30081 (char *) "self",(char *) "other", NULL
30084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30086 if (SWIG_arg_fail(1)) SWIG_fail
;
30088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30089 if (SWIG_arg_fail(2)) SWIG_fail
;
30090 if (arg2
== NULL
) {
30091 SWIG_null_ref("wxVideoMode");
30093 if (SWIG_arg_fail(2)) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30111 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30115 PyObject
* obj0
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30122 if (SWIG_arg_fail(1)) SWIG_fail
;
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= SWIG_From_int((int)(result
));
30139 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(1)) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= SWIG_From_int((int)(result
));
30167 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30171 PyObject
* obj0
= 0 ;
30172 char *kwnames
[] = {
30173 (char *) "self", NULL
30176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30178 if (SWIG_arg_fail(1)) SWIG_fail
;
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30187 resultobj
= SWIG_From_int((int)(result
));
30195 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
;
30197 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30199 PyObject
* obj0
= 0 ;
30200 char *kwnames
[] = {
30201 (char *) "self", NULL
30204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30206 if (SWIG_arg_fail(1)) SWIG_fail
;
30208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30209 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30211 wxPyEndAllowThreads(__tstate
);
30212 if (PyErr_Occurred()) SWIG_fail
;
30215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30223 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30224 PyObject
*resultobj
;
30225 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30226 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 char *kwnames
[] = {
30231 (char *) "self",(char *) "other", NULL
30234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30236 if (SWIG_arg_fail(1)) SWIG_fail
;
30237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30238 if (SWIG_arg_fail(2)) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30255 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
;
30257 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30258 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 PyObject
* obj1
= 0 ;
30262 char *kwnames
[] = {
30263 (char *) "self",(char *) "other", NULL
30266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30268 if (SWIG_arg_fail(1)) SWIG_fail
;
30269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(2)) SWIG_fail
;
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30287 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self",(char *) "w", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail
;
30301 arg2
= (int)(SWIG_As_int(obj1
));
30302 if (SWIG_arg_fail(2)) SWIG_fail
;
30304 if (arg1
) (arg1
)->w
= arg2
;
30306 Py_INCREF(Py_None
); resultobj
= Py_None
;
30313 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
;
30315 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30317 PyObject
* obj0
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "self", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30324 if (SWIG_arg_fail(1)) SWIG_fail
;
30325 result
= (int) ((arg1
)->w
);
30328 resultobj
= SWIG_From_int((int)(result
));
30336 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
;
30338 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30340 PyObject
* obj0
= 0 ;
30341 PyObject
* obj1
= 0 ;
30342 char *kwnames
[] = {
30343 (char *) "self",(char *) "h", NULL
30346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30348 if (SWIG_arg_fail(1)) SWIG_fail
;
30350 arg2
= (int)(SWIG_As_int(obj1
));
30351 if (SWIG_arg_fail(2)) SWIG_fail
;
30353 if (arg1
) (arg1
)->h
= arg2
;
30355 Py_INCREF(Py_None
); resultobj
= Py_None
;
30362 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30366 PyObject
* obj0
= 0 ;
30367 char *kwnames
[] = {
30368 (char *) "self", NULL
30371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30373 if (SWIG_arg_fail(1)) SWIG_fail
;
30374 result
= (int) ((arg1
)->h
);
30377 resultobj
= SWIG_From_int((int)(result
));
30385 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
;
30387 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 char *kwnames
[] = {
30392 (char *) "self",(char *) "bpp", NULL
30395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30397 if (SWIG_arg_fail(1)) SWIG_fail
;
30399 arg2
= (int)(SWIG_As_int(obj1
));
30400 if (SWIG_arg_fail(2)) SWIG_fail
;
30402 if (arg1
) (arg1
)->bpp
= arg2
;
30404 Py_INCREF(Py_None
); resultobj
= Py_None
;
30411 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
;
30413 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30415 PyObject
* obj0
= 0 ;
30416 char *kwnames
[] = {
30417 (char *) "self", NULL
30420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30422 if (SWIG_arg_fail(1)) SWIG_fail
;
30423 result
= (int) ((arg1
)->bpp
);
30426 resultobj
= SWIG_From_int((int)(result
));
30434 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
;
30436 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "self",(char *) "refresh", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail
;
30448 arg2
= (int)(SWIG_As_int(obj1
));
30449 if (SWIG_arg_fail(2)) SWIG_fail
;
30451 if (arg1
) (arg1
)->refresh
= arg2
;
30453 Py_INCREF(Py_None
); resultobj
= Py_None
;
30460 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
;
30462 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30471 if (SWIG_arg_fail(1)) SWIG_fail
;
30472 result
= (int) ((arg1
)->refresh
);
30475 resultobj
= SWIG_From_int((int)(result
));
30483 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30486 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30488 return Py_BuildValue((char *)"");
30490 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30491 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30496 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30499 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30504 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 size_t arg1
= (size_t) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "index", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30516 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30517 if (SWIG_arg_fail(1)) SWIG_fail
;
30521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30522 result
= (wxDisplay
*)new wxDisplay(arg1
);
30524 wxPyEndAllowThreads(__tstate
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30534 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30535 PyObject
*resultobj
;
30536 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30537 PyObject
* obj0
= 0 ;
30538 char *kwnames
[] = {
30539 (char *) "self", NULL
30542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30544 if (SWIG_arg_fail(1)) SWIG_fail
;
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 Py_INCREF(Py_None
); resultobj
= Py_None
;
30559 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30560 PyObject
*resultobj
;
30562 char *kwnames
[] = {
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30569 result
= (size_t)wxDisplay::GetCount();
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30583 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
;
30585 wxPoint
*arg1
= 0 ;
30588 PyObject
* obj0
= 0 ;
30589 char *kwnames
[] = {
30590 (char *) "pt", NULL
30593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30596 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= SWIG_From_int((int)(result
));
30614 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
;
30616 wxWindow
*arg1
= (wxWindow
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "window", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30625 if (SWIG_arg_fail(1)) SWIG_fail
;
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 result
= (int)wxDisplay::GetFromWindow(arg1
);
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30634 resultobj
= SWIG_From_int((int)(result
));
30642 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
;
30644 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30646 PyObject
* obj0
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail
;
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30670 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
;
30672 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30674 PyObject
* obj0
= 0 ;
30675 char *kwnames
[] = {
30676 (char *) "self", NULL
30679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30681 if (SWIG_arg_fail(1)) SWIG_fail
;
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30690 wxRect
* resultptr
;
30691 resultptr
= new wxRect((wxRect
&)(result
));
30692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30700 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30704 PyObject
* obj0
= 0 ;
30705 char *kwnames
[] = {
30706 (char *) "self", NULL
30709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30711 if (SWIG_arg_fail(1)) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= ((wxDisplay
const *)arg1
)->GetName();
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30732 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30736 PyObject
* obj0
= 0 ;
30737 char *kwnames
[] = {
30738 (char *) "self", NULL
30741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30743 if (SWIG_arg_fail(1)) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30760 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30763 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30764 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30766 PyObject
* obj0
= 0 ;
30767 PyObject
* obj1
= 0 ;
30768 char *kwnames
[] = {
30769 (char *) "self",(char *) "mode", NULL
30772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30774 if (SWIG_arg_fail(1)) SWIG_fail
;
30777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30778 if (SWIG_arg_fail(2)) SWIG_fail
;
30779 if (arg2
== NULL
) {
30780 SWIG_null_ref("wxVideoMode");
30782 if (SWIG_arg_fail(2)) SWIG_fail
;
30786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30787 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30789 wxPyEndAllowThreads(__tstate
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= result
;
30799 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
;
30801 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30802 wxVideoMode result
;
30803 PyObject
* obj0
= 0 ;
30804 char *kwnames
[] = {
30805 (char *) "self", NULL
30808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30810 if (SWIG_arg_fail(1)) SWIG_fail
;
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30815 wxPyEndAllowThreads(__tstate
);
30816 if (PyErr_Occurred()) SWIG_fail
;
30819 wxVideoMode
* resultptr
;
30820 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30829 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
;
30831 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30832 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30833 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30835 PyObject
* obj0
= 0 ;
30836 PyObject
* obj1
= 0 ;
30837 char *kwnames
[] = {
30838 (char *) "self",(char *) "mode", NULL
30841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30843 if (SWIG_arg_fail(1)) SWIG_fail
;
30846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30847 if (SWIG_arg_fail(2)) SWIG_fail
;
30848 if (arg2
== NULL
) {
30849 SWIG_null_ref("wxVideoMode");
30851 if (SWIG_arg_fail(2)) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30870 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30871 PyObject
*resultobj
;
30872 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30873 PyObject
* obj0
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30880 if (SWIG_arg_fail(1)) SWIG_fail
;
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 (arg1
)->ResetMode();
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30888 Py_INCREF(Py_None
); resultobj
= Py_None
;
30895 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
30897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30898 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
30900 return Py_BuildValue((char *)"");
30902 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxStandardPaths
*result
;
30905 char *kwnames
[] = {
30909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30912 result
= (wxStandardPaths
*)StandardPaths_Get();
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
30924 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
;
30926 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30928 PyObject
* obj0
= 0 ;
30929 char *kwnames
[] = {
30930 (char *) "self", NULL
30933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
30934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30935 if (SWIG_arg_fail(1)) SWIG_fail
;
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30956 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30960 PyObject
* obj0
= 0 ;
30961 char *kwnames
[] = {
30962 (char *) "self", NULL
30965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
30966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30967 if (SWIG_arg_fail(1)) SWIG_fail
;
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30988 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30992 PyObject
* obj0
= 0 ;
30993 char *kwnames
[] = {
30994 (char *) "self", NULL
30997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
30998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30999 if (SWIG_arg_fail(1)) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31020 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
;
31022 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31024 PyObject
* obj0
= 0 ;
31025 char *kwnames
[] = {
31026 (char *) "self", NULL
31029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31031 if (SWIG_arg_fail(1)) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31052 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
;
31054 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31056 PyObject
* obj0
= 0 ;
31057 char *kwnames
[] = {
31058 (char *) "self", NULL
31061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31063 if (SWIG_arg_fail(1)) SWIG_fail
;
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31084 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
;
31086 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31088 PyObject
* obj0
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "self", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31095 if (SWIG_arg_fail(1)) SWIG_fail
;
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31116 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31117 PyObject
*resultobj
;
31118 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31120 PyObject
* obj0
= 0 ;
31121 char *kwnames
[] = {
31122 (char *) "self", NULL
31125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31127 if (SWIG_arg_fail(1)) SWIG_fail
;
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31148 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
;
31150 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31151 wxString
*arg2
= 0 ;
31152 bool temp2
= false ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 char *kwnames
[] = {
31156 (char *) "self",(char *) "prefix", NULL
31159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31161 if (SWIG_arg_fail(1)) SWIG_fail
;
31163 arg2
= wxString_in_helper(obj1
);
31164 if (arg2
== NULL
) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 Py_INCREF(Py_None
); resultobj
= Py_None
;
31189 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31190 PyObject
*resultobj
;
31191 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31193 PyObject
* obj0
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31200 if (SWIG_arg_fail(1)) SWIG_fail
;
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31221 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31224 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31226 return Py_BuildValue((char *)"");
31228 static PyMethodDef SwigMethods
[] = {
31229 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31236 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31243 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31307 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31315 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31331 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31336 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31339 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31342 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31348 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31362 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31368 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31374 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31377 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31391 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31394 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31395 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31398 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31425 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31427 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31429 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31431 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31438 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31444 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31458 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31462 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31465 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31482 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31490 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31537 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31565 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31575 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31591 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31607 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31621 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31630 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31676 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31679 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31683 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31776 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31777 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31778 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31779 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
31780 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
31781 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
31782 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
31783 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
31784 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
31785 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31796 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31875 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31883 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31884 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31889 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31898 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31905 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31908 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
31911 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
31916 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
31919 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31923 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31926 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
31930 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
31935 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
31939 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
31943 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
31953 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
31964 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
31972 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
31980 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
31994 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
31998 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32016 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32030 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32041 { NULL
, NULL
, 0, NULL
}
32045 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32047 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32050 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32051 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32053 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32054 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32056 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32057 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32059 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32060 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32062 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32063 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32065 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32066 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32068 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32069 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32071 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32074 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32075 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32077 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32078 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32080 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32081 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32083 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32084 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32086 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32087 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32089 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32090 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32092 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32093 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32095 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32096 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32098 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32099 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32101 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32102 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32104 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32105 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32107 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32108 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32110 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32111 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32113 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32114 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32116 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32117 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32119 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32120 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32122 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32123 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32125 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32126 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32128 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32129 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32131 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32132 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32134 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32137 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32138 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32140 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32141 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32143 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32144 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32146 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32147 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32149 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32150 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32152 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32153 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32155 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32156 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32158 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32159 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32161 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32162 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32164 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32165 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32167 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32168 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32170 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32171 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32173 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32174 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32176 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32177 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32179 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32180 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32182 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32183 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32185 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32186 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32188 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32189 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32191 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32192 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32194 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32195 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32197 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32198 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32200 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32201 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32203 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32204 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32206 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32207 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32209 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32210 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32212 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32213 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32215 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32216 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32218 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32219 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32221 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32222 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32224 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32225 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32227 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32228 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32230 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32231 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32233 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32234 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32236 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32237 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32239 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32242 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32243 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32245 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32246 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32248 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32249 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32251 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32252 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32254 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32255 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32257 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32258 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32260 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32261 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32263 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32264 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32266 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32269 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32272 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32275 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32278 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32281 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32284 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32287 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) ((wxSizer
*) x
));
32290 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32293 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32296 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32299 static void *_p_wxEventTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) ((wxEvent
*) x
));
32302 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32305 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32308 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32311 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32314 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32317 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32320 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32323 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32326 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32329 static void *_p_wxControlTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32332 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32335 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32338 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32341 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32344 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32347 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32350 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32353 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32356 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32359 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32362 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32365 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32368 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32371 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32374 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32377 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32380 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32383 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32386 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32389 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32392 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32395 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32398 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32401 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32404 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32407 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32410 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32413 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32416 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32419 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32422 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32425 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32428 static void *_p_wxImageTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) ((wxImage
*) x
));
32431 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32434 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32437 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32440 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32443 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32446 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32449 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32452 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32455 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32458 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32461 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32464 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32467 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32470 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32473 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32476 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32479 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32482 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32485 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32488 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32491 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32494 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32497 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32500 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32503 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32506 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32509 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32512 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32515 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32516 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32518 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32519 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32521 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32522 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32524 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32525 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32527 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32528 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32530 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32531 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32533 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32534 return (void *)((wxWindow
*) ((wxControl
*) x
));
32536 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32537 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32539 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32540 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32542 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32543 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32545 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32546 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32548 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}};
32549 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}};
32550 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}};
32551 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}};
32552 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}};
32553 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}};
32554 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_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}};
32555 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}};
32556 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}};
32557 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}};
32558 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}};
32559 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}};
32560 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}};
32561 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}};
32562 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}};
32563 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}};
32564 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}};
32565 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}};
32566 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}};
32567 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}};
32568 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}};
32569 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}};
32570 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}};
32571 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}};
32572 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}};
32573 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}};
32574 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}};
32575 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}};
32576 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}};
32577 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}};
32578 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}};
32579 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}};
32580 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}};
32581 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}};
32582 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}};
32583 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}};
32584 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}};
32585 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}};
32586 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}};
32587 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}};
32588 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}};
32589 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}};
32590 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}};
32591 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}};
32592 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}};
32593 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}};
32594 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}};
32595 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}};
32596 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}};
32597 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}};
32598 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}};
32599 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}};
32600 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}};
32601 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}};
32602 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}};
32603 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}};
32604 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}};
32605 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}};
32606 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}};
32607 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}};
32608 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}};
32609 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}};
32610 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}};
32611 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}};
32612 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}};
32613 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}};
32614 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}};
32615 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}};
32616 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}};
32617 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}};
32618 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}};
32619 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_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_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_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}};
32620 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}};
32621 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}};
32622 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}};
32623 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}};
32624 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}};
32625 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}};
32626 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}};
32627 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}};
32628 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}};
32629 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}};
32630 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}};
32631 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}};
32632 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}};
32633 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}};
32634 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}};
32635 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}};
32636 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}};
32637 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}};
32638 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}};
32639 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}};
32640 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}};
32641 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}};
32642 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}};
32643 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}};
32644 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}};
32646 static swig_type_info
*swig_types_initial
[] = {
32647 _swigt__p_wxLogChain
,
32648 _swigt__p_wxMutexGuiLocker
,
32649 _swigt__p_wxMetafile
,
32650 _swigt__p_wxFileHistory
,
32654 _swigt__p_wxDateTime__TimeZone
,
32655 _swigt__p_wxConfigBase
,
32656 _swigt__p_wxDisplay
,
32657 _swigt__p_wxFileType
,
32658 _swigt__p_wxLogGui
,
32660 _swigt__p_wxDataFormat
,
32661 _swigt__p_wxTimerEvent
,
32664 _swigt__std__ptrdiff_t
,
32667 _swigt__p_wxClipboard
,
32668 _swigt__p_wxStopWatch
,
32670 _swigt__p_wxClipboardLocker
,
32672 _swigt__p_wxLogStderr
,
32673 _swigt__p_wxLogTextCtrl
,
32674 _swigt__p_wxTextCtrl
,
32675 _swigt__p_wxBusyCursor
,
32676 _swigt__p_wxBitmapDataObject
,
32677 _swigt__p_wxTextDataObject
,
32678 _swigt__p_wxDataObject
,
32679 _swigt__p_wxPyTextDataObject
,
32680 _swigt__p_wxPyBitmapDataObject
,
32681 _swigt__p_wxFileDataObject
,
32682 _swigt__p_wxCustomDataObject
,
32683 _swigt__p_wxURLDataObject
,
32684 _swigt__p_wxMetafileDataObject
,
32686 _swigt__p_wxTimerRunner
,
32687 _swigt__p_wxLogWindow
,
32688 _swigt__p_wxTimeSpan
,
32689 _swigt__p_wxArrayString
,
32690 _swigt__p_wxWindowDisabler
,
32691 _swigt__p_form_ops_t
,
32692 _swigt__p_wxToolTip
,
32693 _swigt__p_wxDataObjectComposite
,
32694 _swigt__p_wxSystemSettings
,
32695 _swigt__p_wxFileConfig
,
32696 _swigt__p_wxVideoMode
,
32697 _swigt__p_wxDataObjectSimple
,
32698 _swigt__p_wxPyDataObjectSimple
,
32699 _swigt__p_wxDuplexMode
,
32700 _swigt__p_wxEvtHandler
,
32703 _swigt__p_wxSingleInstanceChecker
,
32704 _swigt__p_wxStandardPaths
,
32705 _swigt__p_wxFileTypeInfo
,
32708 _swigt__p_wxPaperSize
,
32709 _swigt__p_wxMimeTypesManager
,
32710 _swigt__p_wxPyArtProvider
,
32711 _swigt__p_wxPyTipProvider
,
32712 _swigt__p_wxTipProvider
,
32713 _swigt__p_wxJoystick
,
32714 _swigt__p_wxSystemOptions
,
32716 _swigt__p_wxJoystickEvent
,
32717 _swigt__p_wxCursor
,
32718 _swigt__p_wxObject
,
32719 _swigt__p_wxOutputStream
,
32720 _swigt__p_wxDateTime
,
32721 _swigt__p_wxPyDropSource
,
32722 _swigt__p_unsigned_long
,
32723 _swigt__p_wxKillError
,
32724 _swigt__p_wxWindow
,
32725 _swigt__p_wxString
,
32726 _swigt__p_wxPyProcess
,
32727 _swigt__p_wxBitmap
,
32728 _swigt__p_wxConfig
,
32729 _swigt__unsigned_int
,
32730 _swigt__p_unsigned_int
,
32731 _swigt__p_unsigned_char
,
32733 _swigt__p_wxBusyInfo
,
32734 _swigt__p_wxPyDropTarget
,
32735 _swigt__p_wxPyTextDropTarget
,
32736 _swigt__p_wxPyFileDropTarget
,
32737 _swigt__p_wxProcessEvent
,
32739 _swigt__p_wxLogNull
,
32740 _swigt__p_wxColour
,
32741 _swigt__p_wxPyTimer
,
32742 _swigt__p_wxConfigPathChanger
,
32743 _swigt__p_wxDateSpan
,
32748 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32750 static swig_const_info swig_const_table
[] = {
32751 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32752 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32753 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32754 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32755 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32756 {0, 0, 0, 0.0, 0, 0}};
32767 /* Python-specific SWIG API */
32768 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32769 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32770 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32772 /* -----------------------------------------------------------------------------
32773 * global variable support code.
32774 * ----------------------------------------------------------------------------- */
32776 typedef struct swig_globalvar
{
32777 char *name
; /* Name of global variable */
32778 PyObject
*(*get_attr
)(); /* Return the current value */
32779 int (*set_attr
)(PyObject
*); /* Set the value */
32780 struct swig_globalvar
*next
;
32783 typedef struct swig_varlinkobject
{
32785 swig_globalvar
*vars
;
32786 } swig_varlinkobject
;
32789 swig_varlink_repr(swig_varlinkobject
*v
) {
32791 return PyString_FromString("<Swig global variables>");
32795 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32796 swig_globalvar
*var
;
32798 fprintf(fp
,"Swig global variables { ");
32799 for (var
= v
->vars
; var
; var
=var
->next
) {
32800 fprintf(fp
,"%s", var
->name
);
32801 if (var
->next
) fprintf(fp
,", ");
32803 fprintf(fp
," }\n");
32808 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32809 swig_globalvar
*var
= v
->vars
;
32811 if (strcmp(var
->name
,n
) == 0) {
32812 return (*var
->get_attr
)();
32816 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32821 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32822 swig_globalvar
*var
= v
->vars
;
32824 if (strcmp(var
->name
,n
) == 0) {
32825 return (*var
->set_attr
)(p
);
32829 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32833 static PyTypeObject varlinktype
= {
32834 PyObject_HEAD_INIT(0)
32835 0, /* Number of items in variable part (ob_size) */
32836 (char *)"swigvarlink", /* Type name (tp_name) */
32837 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32838 0, /* Itemsize (tp_itemsize) */
32839 0, /* Deallocator (tp_dealloc) */
32840 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32841 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32842 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32843 0, /* tp_compare */
32844 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32845 0, /* tp_as_number */
32846 0, /* tp_as_sequence */
32847 0, /* tp_as_mapping */
32851 0, /* tp_getattro */
32852 0, /* tp_setattro */
32853 0, /* tp_as_buffer */
32856 #if PY_VERSION_HEX >= 0x02000000
32857 0, /* tp_traverse */
32860 #if PY_VERSION_HEX >= 0x02010000
32861 0, /* tp_richcompare */
32862 0, /* tp_weaklistoffset */
32864 #if PY_VERSION_HEX >= 0x02020000
32865 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32867 #if PY_VERSION_HEX >= 0x02030000
32870 #ifdef COUNT_ALLOCS
32871 0,0,0,0 /* tp_alloc -> tp_next */
32875 /* Create a variable linking object for use later */
32877 SWIG_Python_newvarlink(void) {
32878 swig_varlinkobject
*result
= 0;
32879 result
= PyMem_NEW(swig_varlinkobject
,1);
32880 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32881 result
->ob_type
= &varlinktype
;
32883 result
->ob_refcnt
= 0;
32884 Py_XINCREF((PyObject
*) result
);
32885 return ((PyObject
*) result
);
32889 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32890 swig_varlinkobject
*v
;
32891 swig_globalvar
*gv
;
32892 v
= (swig_varlinkobject
*) p
;
32893 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32894 gv
->name
= (char *) malloc(strlen(name
)+1);
32895 strcpy(gv
->name
,name
);
32896 gv
->get_attr
= get_attr
;
32897 gv
->set_attr
= set_attr
;
32898 gv
->next
= v
->vars
;
32902 /* -----------------------------------------------------------------------------
32903 * constants/methods manipulation
32904 * ----------------------------------------------------------------------------- */
32906 /* Install Constants */
32908 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32911 for (i
= 0; constants
[i
].type
; i
++) {
32912 switch(constants
[i
].type
) {
32914 obj
= PyInt_FromLong(constants
[i
].lvalue
);
32916 case SWIG_PY_FLOAT
:
32917 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
32919 case SWIG_PY_STRING
:
32920 if (constants
[i
].pvalue
) {
32921 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
32923 Py_INCREF(Py_None
);
32927 case SWIG_PY_POINTER
:
32928 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32930 case SWIG_PY_BINARY
:
32931 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32938 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
32944 /* -----------------------------------------------------------------------------*/
32945 /* Fix SwigMethods to carry the callback ptrs when needed */
32946 /* -----------------------------------------------------------------------------*/
32949 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32950 swig_const_info
*const_table
,
32951 swig_type_info
**types
,
32952 swig_type_info
**types_initial
) {
32954 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32955 char *c
= methods
[i
].ml_doc
;
32956 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32958 swig_const_info
*ci
= 0;
32959 char *name
= c
+ 10;
32960 for (j
= 0; const_table
[j
].type
; j
++) {
32961 if (strncmp(const_table
[j
].name
, name
,
32962 strlen(const_table
[j
].name
)) == 0) {
32963 ci
= &(const_table
[j
]);
32968 size_t shift
= (ci
->ptype
) - types
;
32969 swig_type_info
*ty
= types_initial
[shift
];
32970 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32971 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32972 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32974 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
32975 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32977 strncpy(buff
, "swig_ptr: ", 10);
32979 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32980 methods
[i
].ml_doc
= ndoc
;
32986 /* -----------------------------------------------------------------------------*
32987 * Initialize type list
32988 * -----------------------------------------------------------------------------*/
32990 #if PY_MAJOR_VERSION < 2
32991 /* PyModule_AddObject function was introduced in Python 2.0. The following function
32992 is copied out of Python/modsupport.c in python version 2.3.4 */
32994 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
32997 if (!PyModule_Check(m
)) {
32998 PyErr_SetString(PyExc_TypeError
,
32999 "PyModule_AddObject() needs module as first arg");
33003 PyErr_SetString(PyExc_TypeError
,
33004 "PyModule_AddObject() needs non-NULL value");
33008 dict
= PyModule_GetDict(m
);
33009 if (dict
== NULL
) {
33010 /* Internal error -- modules must have a dict! */
33011 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33012 PyModule_GetName(m
));
33015 if (PyDict_SetItemString(dict
, name
, o
))
33022 static swig_type_info
**
33023 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33024 static PyMethodDef swig_empty_runtime_method_table
[] = {
33026 NULL
, NULL
, 0, NULL
33030 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33031 swig_empty_runtime_method_table
);
33032 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33033 if (pointer
&& module) {
33034 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33036 return type_list_handle
;
33039 static swig_type_info
**
33040 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33041 swig_type_info
**type_pointer
;
33043 /* first check if module already created */
33044 type_pointer
= SWIG_Python_GetTypeListHandle();
33045 if (type_pointer
) {
33046 return type_pointer
;
33048 /* create a new module and variable */
33049 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33057 /* -----------------------------------------------------------------------------*
33058 * Partial Init method
33059 * -----------------------------------------------------------------------------*/
33061 #ifdef SWIG_LINK_RUNTIME
33065 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33071 SWIGEXPORT(void) SWIG_init(void) {
33072 static PyObject
*SWIG_globals
= 0;
33073 static int typeinit
= 0;
33076 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33078 /* Fix SwigMethods to carry the callback ptrs when needed */
33079 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33081 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33082 d
= PyModule_GetDict(m
);
33085 #ifdef SWIG_LINK_RUNTIME
33086 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33088 # ifndef SWIG_STATIC_RUNTIME
33089 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33092 for (i
= 0; swig_types_initial
[i
]; i
++) {
33093 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33097 SWIG_InstallConstants(d
,swig_const_table
);
33100 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33103 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33106 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33109 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33112 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33115 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33118 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33121 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33124 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33127 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33130 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33133 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33136 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33139 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33142 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33145 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33148 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33151 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33154 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33157 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33160 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33163 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33166 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33169 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33172 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33175 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33178 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33181 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33184 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33187 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33190 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33193 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33196 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33199 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33202 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33205 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33208 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33211 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33214 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33217 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33220 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33223 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33226 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33229 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33232 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33235 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33238 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33241 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33244 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33247 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33250 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33253 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33256 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33259 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33262 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33265 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33268 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33271 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33274 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33277 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33280 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33283 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33286 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33289 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33292 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33295 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33298 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33301 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33304 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33307 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33310 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33313 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33316 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33319 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33322 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33325 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33328 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33331 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33334 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33337 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33340 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33343 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33346 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33349 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33352 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33355 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33358 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33361 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33364 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33367 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33370 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33372 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33373 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33374 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33375 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33376 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33378 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33381 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33384 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33387 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33389 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33391 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33394 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33397 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33400 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33403 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33406 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33409 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33412 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33415 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33418 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33421 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33424 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33426 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33427 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33428 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33429 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33430 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33432 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33435 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33438 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33441 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33444 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33447 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33450 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33453 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33456 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33459 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33462 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33465 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33468 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33471 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33474 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33477 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33480 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33483 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33486 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33489 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33492 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33495 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33498 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33501 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33504 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33507 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33510 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33513 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33516 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33519 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33522 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33524 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33526 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33529 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33532 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33535 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33538 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33541 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33544 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33547 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33550 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33553 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33556 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33559 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33562 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33564 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33565 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33566 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33567 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33569 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33572 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33575 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33578 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33581 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33584 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33587 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33590 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33592 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33593 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33594 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33595 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33596 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33597 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33598 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33599 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33600 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33601 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33602 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33603 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33604 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33605 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33606 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33607 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33608 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33609 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33610 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33611 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33612 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33613 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33614 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33615 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33616 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33617 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33618 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33619 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33620 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33621 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33622 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33623 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33624 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33625 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33626 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33627 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33628 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33629 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33630 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33631 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33632 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33633 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33634 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33635 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33636 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33638 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33641 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33644 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33647 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33650 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33653 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33656 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33659 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33662 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33665 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33667 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
33668 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
33670 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33673 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33676 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33679 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33682 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33685 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33688 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33691 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33694 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33697 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33700 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33703 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33706 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33709 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33712 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33715 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33718 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33721 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33724 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33727 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33730 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33733 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33736 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33739 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33742 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33745 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33748 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33751 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33754 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33757 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33760 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33763 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33766 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33769 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33772 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33775 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33778 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33781 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33784 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33787 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33790 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33793 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33796 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33799 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33802 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33805 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33808 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33811 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33814 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33817 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33820 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33823 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33826 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33829 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33832 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33835 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33838 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33841 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33844 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33847 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33850 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33853 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33856 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33859 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33862 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33865 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33868 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33871 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33874 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33877 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33880 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33883 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33886 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
33889 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
33892 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
33895 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
33898 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
33901 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
33904 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
33907 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
33910 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
33913 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
33916 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
33919 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
33922 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
33925 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
33928 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
33931 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
33934 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
33937 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
33940 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
33943 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
33946 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
33949 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
33952 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
33955 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
33958 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
33961 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
33964 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
33967 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
33970 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
33973 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
33976 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
33979 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
33982 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
33985 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
33988 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
33991 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
33994 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
33997 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34000 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34003 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34006 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34009 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34012 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34015 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34018 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34021 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34024 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34027 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34030 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34033 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34036 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34039 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34042 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34045 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34048 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34051 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34054 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34057 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34060 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34063 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34066 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34069 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34072 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34075 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34078 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34081 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34084 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34087 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34090 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34093 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34096 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34099 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34102 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34105 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34108 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34111 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34114 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34117 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34120 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34123 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34126 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34129 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34132 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34134 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34136 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34139 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34142 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34145 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34148 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34151 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34154 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34157 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34160 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34163 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34166 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34169 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34172 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34175 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34178 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34181 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34184 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34187 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34190 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34193 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34195 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34197 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34200 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34203 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34206 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34209 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34212 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34215 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34218 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34221 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34224 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34227 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34230 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34233 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34234 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34235 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34236 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34238 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);