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 /*@/opt/swig/share/swig/1.3.24/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 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1562 #define SWIG_From_long PyInt_FromLong
1566 SWIGINTERNSHORT
long
1567 SWIG_As_long(PyObject
* obj
)
1570 if (!SWIG_AsVal_long(obj
, &v
)) {
1572 this is needed to make valgrind/purify happier.
1574 memset((void*)&v
, 0, sizeof(long));
1581 SWIG_Check_long(PyObject
* obj
)
1583 return SWIG_AsVal_long(obj
, (long*)0);
1588 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1590 if (obj
== Py_True
) {
1591 if (val
) *val
= true;
1594 if (obj
== Py_False
) {
1595 if (val
) *val
= false;
1599 if (SWIG_AsVal_int(obj
, &res
)) {
1600 if (val
) *val
= res
? true : false;
1606 SWIG_type_error("bool", obj
);
1612 SWIGINTERNSHORT
bool
1613 SWIG_As_bool(PyObject
* obj
)
1616 if (!SWIG_AsVal_bool(obj
, &v
)) {
1618 this is needed to make valgrind/purify happier.
1620 memset((void*)&v
, 0, sizeof(bool));
1627 SWIG_Check_bool(PyObject
* obj
)
1629 return SWIG_AsVal_bool(obj
, (bool*)0);
1633 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1639 } else if (target
== Py_None
) {
1643 if (!PyTuple_Check(target
)) {
1645 target
= PyTuple_New(1);
1646 PyTuple_SetItem(target
, 0, o2
);
1648 o3
= PyTuple_New(1);
1649 PyTuple_SetItem(o3
, 0, o
);
1652 target
= PySequence_Concat(o2
, o3
);
1662 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1665 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1666 SWIG_type_error("unsigned number", obj
);
1669 *val
= (unsigned long)v
;
1674 SWIGINTERNSHORT
unsigned long
1675 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1678 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1680 this is needed to make valgrind/purify happier.
1682 memset((void*)&v
, 0, sizeof(unsigned long));
1689 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1691 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1695 SWIGINTERNSHORT PyObject
*
1696 SWIG_From_unsigned_SS_long(unsigned long value
)
1698 return (value
> LONG_MAX
) ?
1699 PyLong_FromUnsignedLong(value
)
1700 : PyInt_FromLong((long)(value
));
1704 bool wxThread_IsMain() {
1705 #ifdef WXP_WITH_THREAD
1706 return wxThread::IsMain();
1712 static void wxCaret_Destroy(wxCaret
*self
){
1716 #include <wx/snglinst.h>
1720 #include <wx/msw/private.h>
1721 #include <wx/dynload.h>
1726 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1737 // This one only partially works. Appears to be an undocumented
1738 // "standard" convention that not all widgets adhear to. For
1739 // example, for some widgets backgrounds or non-client areas may
1741 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1746 // This one works much better, nearly all widgets and their
1747 // children are captured correctly[**]. Prior to the big
1748 // background erase changes that Vadim did in 2004-2005 this
1749 // method failed badly on XP with Themes activated, most native
1750 // widgets draw only partially, if at all. Without themes it
1751 // worked just like on Win2k. After those changes this method
1754 // ** For example the radio buttons in a wxRadioBox are not its
1755 // children by default, but you can capture it via the panel
1756 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1757 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1758 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1759 PRF_ERASEBKGND
| PRF_OWNED
);
1765 // This one is only defined in the latest SDK and is only
1766 // available on XP. MSDN says it is similar to sending WM_PRINT
1767 // so I expect that it will work similar to the above. Since it
1768 // is avaialble only on XP, it can't be compiled like this and
1769 // will have to be loaded dynamically.
1770 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1775 // Use PrintWindow if available, or fallback to WM_PRINT
1776 // otherwise. Unfortunately using PrintWindow is even worse than
1777 // WM_PRINT. For most native widgets nothing is drawn to the dc
1778 // at all, with or without Themes.
1779 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1780 static bool s_triedToLoad
= false;
1781 static PrintWindow_t pfnPrintWindow
= NULL
;
1782 if ( !s_triedToLoad
)
1785 s_triedToLoad
= true;
1786 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1787 if ( dllUser32
.IsLoaded() )
1789 wxLogNull nolog
; // Don't report errors here
1790 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1795 //printf("Using PrintWindow\n");
1796 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1800 //printf("Using WM_PRINT\n");
1801 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1802 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1803 PRF_ERASEBKGND
| PRF_OWNED
);
1814 #include <wx/tipdlg.h>
1817 class wxPyTipProvider
: public wxTipProvider
{
1819 wxPyTipProvider(size_t currentTip
)
1820 : wxTipProvider(currentTip
) {}
1822 DEC_PYCALLBACK_STRING__pure(GetTip
);
1823 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1827 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1828 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1831 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1833 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1835 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1836 : wxTimer(owner
, id
)
1838 if (owner
== NULL
) SetOwner(this);
1842 void wxPyTimer::Notify() {
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1846 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1847 wxPyEndBlockThreads(blocked
);
1851 void wxPyTimer::base_Notify() {
1857 SWIGINTERN PyObject
*
1858 SWIG_FromCharPtr(const char* cptr
)
1861 size_t size
= strlen(cptr
);
1862 if (size
> INT_MAX
) {
1863 return SWIG_NewPointerObj((char*)(cptr
),
1864 SWIG_TypeQuery("char *"), 0);
1867 return PyString_FromStringAndSize(cptr
, size
);
1869 return PyString_FromString(cptr
);
1879 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1880 unsigned long max_value
,
1883 if (value
> max_value
) {
1885 PyErr_Format(PyExc_OverflowError
,
1886 "value %lu is greater than '%s' minimum %lu",
1887 value
, errmsg
, max_value
);
1895 #if UINT_MAX != ULONG_MAX
1897 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1899 const char* errmsg
= val
? "unsigned int" : (char*)0;
1901 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1902 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1903 if (val
) *val
= (unsigned int)(v
);
1910 SWIG_type_error(errmsg
, obj
);
1915 SWIGINTERNSHORT
unsigned int
1916 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1918 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1923 SWIGINTERNSHORT
unsigned int
1924 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1927 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1929 this is needed to make valgrind/purify happier.
1931 memset((void*)&v
, 0, sizeof(unsigned int));
1938 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1940 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1943 static wxString
Log_TimeStamp(){
1945 wxLog::TimeStamp(&msg
);
1948 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1949 // Make somce wrappers that double any % signs so they are 'escaped'
1950 void wxPyLogFatalError(const wxString
& msg
)
1953 m
.Replace(wxT("%"), wxT("%%"));
1957 void wxPyLogError(const wxString
& msg
)
1960 m
.Replace(wxT("%"), wxT("%%"));
1964 void wxPyLogWarning(const wxString
& msg
)
1967 m
.Replace(wxT("%"), wxT("%%"));
1971 void wxPyLogMessage(const wxString
& msg
)
1974 m
.Replace(wxT("%"), wxT("%%"));
1978 void wxPyLogInfo(const wxString
& msg
)
1981 m
.Replace(wxT("%"), wxT("%%"));
1985 void wxPyLogDebug(const wxString
& msg
)
1988 m
.Replace(wxT("%"), wxT("%%"));
1992 void wxPyLogVerbose(const wxString
& msg
)
1995 m
.Replace(wxT("%"), wxT("%%"));
1999 void wxPyLogStatus(const wxString
& msg
)
2002 m
.Replace(wxT("%"), wxT("%%"));
2006 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2009 m
.Replace(wxT("%"), wxT("%%"));
2010 wxLogStatus(pFrame
, m
);
2013 void wxPyLogSysError(const wxString
& msg
)
2016 m
.Replace(wxT("%"), wxT("%%"));
2020 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2023 m
.Replace(wxT("%"), wxT("%%"));
2024 wxLogGeneric(level
, m
);
2027 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2030 m
.Replace(wxT("%"), wxT("%%"));
2031 wxLogTrace(mask
, m
);
2034 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2037 m
.Replace(wxT("%"), wxT("%%"));
2038 wxLogTrace(mask
, m
);
2043 // A wxLog class that can be derived from in wxPython
2044 class wxPyLog
: public wxLog
{
2046 wxPyLog() : wxLog() {}
2048 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2050 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2051 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2052 PyObject
* s
= wx2PyString(szString
);
2053 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2056 wxPyEndBlockThreads(blocked
);
2058 wxLog::DoLog(level
, szString
, t
);
2061 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2064 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2065 PyObject
* s
= wx2PyString(szString
);
2066 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2069 wxPyEndBlockThreads(blocked
);
2071 wxLog::DoLogString(szString
, t
);
2080 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2083 #include <wx/joystick.h>
2086 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2087 // A C++ stub class for wxJoystick for platforms that don't have it.
2088 class wxJoystick
: public wxObject
{
2090 wxJoystick(int joystick
= wxJOYSTICK1
) {
2091 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2092 PyErr_SetString(PyExc_NotImplementedError
,
2093 "wxJoystick is not available on this platform.");
2094 wxPyEndBlockThreads(blocked
);
2096 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2097 int GetZPosition() { return -1; }
2098 int GetButtonState() { return -1; }
2099 int GetPOVPosition() { return -1; }
2100 int GetPOVCTSPosition() { return -1; }
2101 int GetRudderPosition() { return -1; }
2102 int GetUPosition() { return -1; }
2103 int GetVPosition() { return -1; }
2104 int GetMovementThreshold() { return -1; }
2105 void SetMovementThreshold(int threshold
) {}
2107 bool IsOk(void) { return false; }
2108 int GetNumberJoysticks() { return -1; }
2109 int GetManufacturerId() { return -1; }
2110 int GetProductId() { return -1; }
2111 wxString
GetProductName() { return wxEmptyString
; }
2112 int GetXMin() { return -1; }
2113 int GetYMin() { return -1; }
2114 int GetZMin() { return -1; }
2115 int GetXMax() { return -1; }
2116 int GetYMax() { return -1; }
2117 int GetZMax() { return -1; }
2118 int GetNumberButtons() { return -1; }
2119 int GetNumberAxes() { return -1; }
2120 int GetMaxButtons() { return -1; }
2121 int GetMaxAxes() { return -1; }
2122 int GetPollingMin() { return -1; }
2123 int GetPollingMax() { return -1; }
2124 int GetRudderMin() { return -1; }
2125 int GetRudderMax() { return -1; }
2126 int GetUMin() { return -1; }
2127 int GetUMax() { return -1; }
2128 int GetVMin() { return -1; }
2129 int GetVMax() { return -1; }
2131 bool HasRudder() { return false; }
2132 bool HasZ() { return false; }
2133 bool HasU() { return false; }
2134 bool HasV() { return false; }
2135 bool HasPOV() { return false; }
2136 bool HasPOV4Dir() { return false; }
2137 bool HasPOVCTS() { return false; }
2139 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2140 bool ReleaseCapture() { return false; }
2145 #include <wx/sound.h>
2149 // A C++ stub class for wxWave for platforms that don't have it.
2150 class wxSound
: public wxObject
2154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2155 PyErr_SetString(PyExc_NotImplementedError
,
2156 "wxSound is not available on this platform.");
2157 wxPyEndBlockThreads(blocked
);
2159 wxSound(const wxString
&/*, bool*/) {
2160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError
,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked
);
2165 wxSound(int, const wxByte
*) {
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2174 bool Create(const wxString
&/*, bool*/) { return false; }
2175 bool Create(int, const wxByte
*) { return false; };
2176 bool IsOk() { return false; };
2177 bool Play(unsigned) const { return false; }
2178 static bool Play(const wxString
&, unsigned) { return false; }
2179 static void Stop() {}
2184 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2185 if (fileName
.Length() == 0)
2188 return new wxSound(fileName
);
2190 static wxSound
*new_wxSound(PyObject
*data
){
2191 unsigned char* buffer
; int size
;
2192 wxSound
*sound
= NULL
;
2194 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2195 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2197 sound
= new wxSound(size
, buffer
);
2199 wxPyEndBlockThreads(blocked
);
2202 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2204 unsigned char* buffer
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2211 rv
= self
->Create(size
, buffer
);
2213 wxPyEndBlockThreads(blocked
);
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 PyErr_SetString(PyExc_NotImplementedError
,
2218 "Create from data is not available on this platform.");
2219 wxPyEndBlockThreads(blocked
);
2224 #include <wx/mimetype.h>
2226 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2228 if (self
->GetMimeType(&str
))
2229 return wx2PyString(str
);
2233 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2235 if (self
->GetMimeTypes(arr
))
2236 return wxArrayString2PyList_helper(arr
);
2240 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2242 if (self
->GetExtensions(arr
))
2243 return wxArrayString2PyList_helper(arr
);
2247 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2249 if (self
->GetIcon(&loc
))
2250 return new wxIcon(loc
);
2254 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2256 if (self
->GetIcon(&loc
)) {
2257 wxString iconFile
= loc
.GetFileName();
2262 // Make a tuple and put the values in it
2263 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2264 PyObject
* tuple
= PyTuple_New(3);
2265 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2266 wxT("wxIcon"), true));
2267 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2268 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2269 wxPyEndBlockThreads(blocked
);
2275 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2277 if (self
->GetDescription(&str
))
2278 return wx2PyString(str
);
2282 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2284 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2285 return wx2PyString(str
);
2289 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2291 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2292 return wx2PyString(str
);
2296 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2297 wxArrayString verbs
;
2298 wxArrayString commands
;
2299 if (self
->GetAllCommands(&verbs
, &commands
,
2300 wxFileType::MessageParameters(filename
, mimetype
))) {
2301 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2302 PyObject
* tuple
= PyTuple_New(2);
2303 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2304 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2305 wxPyEndBlockThreads(blocked
);
2311 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2312 return wxFileType::ExpandCommand(command
,
2313 wxFileType::MessageParameters(filename
, mimetype
));
2315 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2317 self
->EnumAllFileTypes(arr
);
2318 return wxArrayString2PyList_helper(arr
);
2321 #include <wx/artprov.h>
2323 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2324 static const wxString
wxPyART_MENU(wxART_MENU
);
2325 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2326 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2327 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2328 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2329 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2330 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2331 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2332 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2333 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2334 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2335 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2336 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2337 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2338 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2339 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2340 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2341 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2342 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2343 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2344 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2345 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2346 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2347 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2348 static const wxString
wxPyART_HELP(wxART_HELP
);
2349 static const wxString
wxPyART_TIP(wxART_TIP
);
2350 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2351 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2352 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2353 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2354 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2355 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2356 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2357 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2358 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2359 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2360 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2361 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2362 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2363 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2364 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2365 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2366 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2367 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2368 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2369 static const wxString
wxPyART_COPY(wxART_COPY
);
2370 static const wxString
wxPyART_CUT(wxART_CUT
);
2371 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2372 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2373 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2374 static const wxString
wxPyART_REDO(wxART_REDO
);
2375 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2376 static const wxString
wxPyART_FIND(wxART_FIND
);
2377 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2378 // Python aware wxArtProvider
2379 class wxPyArtProvider
: public wxArtProvider
{
2382 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2383 const wxArtClient
& client
,
2384 const wxSize
& size
) {
2385 wxBitmap rval
= wxNullBitmap
;
2386 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2387 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2388 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2392 s1
= wx2PyString(id
);
2393 s2
= wx2PyString(client
);
2394 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2399 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2404 wxPyEndBlockThreads(blocked
);
2411 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2415 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2416 PyObject
* ret
= PyTuple_New(3);
2418 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2419 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2420 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2425 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2430 cont
= self
->GetFirstGroup(value
, index
);
2431 return __EnumerationHelper(cont
, value
, index
);
2433 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2437 cont
= self
->GetNextGroup(value
, index
);
2438 return __EnumerationHelper(cont
, value
, index
);
2440 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2445 cont
= self
->GetFirstEntry(value
, index
);
2446 return __EnumerationHelper(cont
, value
, index
);
2448 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2452 cont
= self
->GetNextEntry(value
, index
);
2453 return __EnumerationHelper(cont
, value
, index
);
2455 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2457 self
->Read(key
, &rv
, defaultVal
);
2462 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2464 if (PyNumber_Check(obj
)) {
2465 if (val
) *val
= PyFloat_AsDouble(obj
);
2469 SWIG_type_error("number", obj
);
2475 SWIGINTERNSHORT
double
2476 SWIG_As_double(PyObject
* obj
)
2479 if (!SWIG_AsVal_double(obj
, &v
)) {
2481 this is needed to make valgrind/purify happier.
2483 memset((void*)&v
, 0, sizeof(double));
2490 SWIG_Check_double(PyObject
* obj
)
2492 return SWIG_AsVal_double(obj
, (double*)0);
2495 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2497 self
->Read(key
, &rv
, defaultVal
);
2501 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2502 #define SWIG_From_double PyFloat_FromDouble
2505 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2507 self
->Read(key
, &rv
, defaultVal
);
2511 #include <wx/datetime.h>
2513 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2514 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2516 #define LOCAL_TZ wxDateTime::Local
2518 static PyObject
*DateTime_GetAmPmStrings(){
2521 wxDateTime::GetAmPmStrings(&am
, &pm
);
2522 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2523 PyObject
* tup
= PyTuple_New(2);
2524 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2525 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2526 wxPyEndBlockThreads(blocked
);
2530 #if UINT_MAX < LONG_MAX
2531 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2532 #define SWIG_From_unsigned_SS_int SWIG_From_long
2535 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2536 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2540 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2541 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2542 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2543 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2544 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2545 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2546 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2547 return (*self
< *other
);
2549 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2550 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2551 return (*self
<= *other
);
2553 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2554 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2555 return (*self
> *other
);
2557 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2558 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2559 return (*self
>= *other
);
2561 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2562 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2563 return (*self
== *other
);
2565 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2566 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2567 return (*self
!= *other
);
2569 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2571 const wxChar
* _date
= date
;
2572 rv
= self
->ParseRfc822Date(_date
);
2573 if (rv
== NULL
) return -1;
2576 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2578 const wxChar
* _date
= date
;
2579 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2580 if (rv
== NULL
) return -1;
2583 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2585 const wxChar
* _datetime
= datetime
;
2586 rv
= self
->ParseDateTime(_datetime
);
2587 if (rv
== NULL
) return -1;
2588 return rv
- _datetime
;
2590 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2592 const wxChar
* _date
= date
;
2593 rv
= self
->ParseDate(_date
);
2594 if (rv
== NULL
) return -1;
2597 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2599 const wxChar
* _time
= time
;
2600 rv
= self
->ParseTime(_time
);
2601 if (rv
== NULL
) return -1;
2604 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2605 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2606 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2607 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2608 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2609 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2610 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2611 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2612 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2613 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2614 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2615 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2616 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2617 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2618 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2619 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2621 #include <wx/dataobj.h>
2623 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2624 size_t count
= self
->GetFormatCount(dir
);
2625 wxDataFormat
* formats
= new wxDataFormat
[count
];
2626 self
->GetAllFormats(formats
, dir
);
2628 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2629 PyObject
* list
= PyList_New(count
);
2630 for (size_t i
=0; i
<count
; i
++) {
2631 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2632 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2633 PyList_Append(list
, obj
);
2636 wxPyEndBlockThreads(blocked
);
2640 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2641 PyObject
* rval
= NULL
;
2642 size_t size
= self
->GetDataSize(format
);
2643 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2645 char* buf
= new char[size
];
2646 if (self
->GetDataHere(format
, buf
))
2647 rval
= PyString_FromStringAndSize(buf
, size
);
2654 wxPyEndBlockThreads(blocked
);
2657 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2659 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2660 if (PyString_Check(data
)) {
2661 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2664 // raise a TypeError if not a string
2665 PyErr_SetString(PyExc_TypeError
, "String expected.");
2668 wxPyEndBlockThreads(blocked
);
2671 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2672 PyObject
* rval
= NULL
;
2673 size_t size
= self
->GetDataSize();
2674 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2676 char* buf
= new char[size
];
2677 if (self
->GetDataHere(buf
))
2678 rval
= PyString_FromStringAndSize(buf
, size
);
2685 wxPyEndBlockThreads(blocked
);
2688 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2690 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2691 if (PyString_Check(data
)) {
2692 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2695 // raise a TypeError if not a string
2696 PyErr_SetString(PyExc_TypeError
, "String expected.");
2699 wxPyEndBlockThreads(blocked
);
2702 // Create a new class for wxPython to use
2703 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2705 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2706 : wxDataObjectSimple(format
) {}
2708 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2709 bool GetDataHere(void *buf
) const;
2710 bool SetData(size_t len
, const void *buf
) const;
2714 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2716 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2717 // We need to get the data for this object and write it to buf. I think
2718 // the best way to do this for wxPython is to have the Python method
2719 // return either a string or None and then act appropriately with the
2723 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2724 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2726 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2728 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2730 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2734 wxPyEndBlockThreads(blocked
);
2738 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2739 // For this one we simply need to make a string from buf and len
2740 // and send it to the Python method.
2742 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2743 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2744 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2745 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2748 wxPyEndBlockThreads(blocked
);
2752 // Create a new class for wxPython to use
2753 class wxPyTextDataObject
: public wxTextDataObject
{
2755 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2756 : wxTextDataObject(text
) {}
2758 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2759 DEC_PYCALLBACK_STRING__const(GetText
);
2760 DEC_PYCALLBACK__STRING(SetText
);
2764 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2765 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2766 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2769 // Create a new class for wxPython to use
2770 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2772 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2773 : wxBitmapDataObject(bitmap
) {}
2775 wxBitmap
GetBitmap() const;
2776 void SetBitmap(const wxBitmap
& bitmap
);
2780 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2781 wxBitmap
* rval
= &wxNullBitmap
;
2782 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2783 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2786 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2788 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2793 wxPyEndBlockThreads(blocked
);
2797 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2798 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2799 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2800 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2801 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2804 wxPyEndBlockThreads(blocked
);
2807 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2808 return new wxCustomDataObject(wxDataFormat(formatName
));
2810 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2812 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2813 if (PyString_Check(data
)) {
2814 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2817 // raise a TypeError if not a string
2818 PyErr_SetString(PyExc_TypeError
, "String expected.");
2821 wxPyEndBlockThreads(blocked
);
2824 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2826 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2827 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2828 wxPyEndBlockThreads(blocked
);
2832 #include <wx/metafile.h>
2835 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2838 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2839 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2840 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2841 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2842 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2845 class wxPyTextDropTarget
: public wxTextDropTarget
{
2847 wxPyTextDropTarget() {}
2849 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2851 DEC_PYCALLBACK__(OnLeave
);
2852 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2855 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2860 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2861 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2862 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2864 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2865 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2869 class wxPyFileDropTarget
: public wxFileDropTarget
{
2871 wxPyFileDropTarget() {}
2873 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2875 DEC_PYCALLBACK__(OnLeave
);
2876 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2879 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2884 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2885 const wxArrayString
& filenames
) {
2887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2888 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2889 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2890 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2893 wxPyEndBlockThreads(blocked
);
2899 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2900 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2901 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2902 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2903 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2908 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2910 #include <wx/display.h>
2912 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2913 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2915 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2917 #include <wx/dynarray.h>
2918 #include <wx/vidmode.h>
2920 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2921 #include "wx/arrimpl.cpp"
2922 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2923 const wxVideoMode wxDefaultVideoMode
;
2928 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2931 static size_t GetCount()
2932 { wxPyRaiseNotImplemented(); return 0; }
2934 static int GetFromPoint(const wxPoint
& pt
)
2935 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2936 static int GetFromWindow(wxWindow
*window
)
2937 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2939 virtual bool IsOk() const { return false; }
2940 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2941 virtual wxString
GetName() const { return wxEmptyString
; }
2942 bool IsPrimary() const { return false; }
2944 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2945 { wxArrayVideoModes a
; return a
; }
2947 virtual wxVideoMode
GetCurrentMode() const
2948 { return wxDefaultVideoMode
; }
2950 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2957 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2958 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2959 PyObject
* pyList
= NULL
;
2960 wxArrayVideoModes arr
= self
->GetModes(mode
);
2961 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2962 pyList
= PyList_New(0);
2963 for (int i
=0; i
< arr
.GetCount(); i
++) {
2964 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2965 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2966 PyList_Append(pyList
, pyObj
);
2969 wxPyEndBlockThreads(blocked
);
2973 #include <wx/stdpaths.h>
2975 static wxStandardPaths
*StandardPaths_Get(){
2976 return (wxStandardPaths
*) &wxStandardPaths::Get();
2978 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2979 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2983 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxSystemColour arg1
;
2987 PyObject
* obj0
= 0 ;
2989 (char *) "index", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2994 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 if (!wxPyCheckForApp()) SWIG_fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3006 wxColour
* resultptr
;
3007 resultptr
= new wxColour((wxColour
&)(result
));
3008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3016 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "index", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3027 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3028 if (SWIG_arg_fail(1)) SWIG_fail
;
3031 if (!wxPyCheckForApp()) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3040 resultptr
= new wxFont((wxFont
&)(result
));
3041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3049 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxSystemMetric arg1
;
3052 wxWindow
*arg2
= (wxWindow
*) NULL
;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3057 (char *) "index",(char *) "win", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3062 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3063 if (SWIG_arg_fail(1)) SWIG_fail
;
3066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3067 if (SWIG_arg_fail(2)) SWIG_fail
;
3070 if (!wxPyCheckForApp()) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3078 resultobj
= SWIG_From_int((int)(result
));
3086 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxSystemFeature arg1
;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "index", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3097 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3098 if (SWIG_arg_fail(1)) SWIG_fail
;
3101 if (!wxPyCheckForApp()) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3117 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxSystemScreenType result
;
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3126 if (!wxPyCheckForApp()) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= SWIG_From_int((result
));
3140 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 wxSystemScreenType arg1
;
3143 PyObject
* obj0
= 0 ;
3145 (char *) "screen", NULL
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3150 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3151 if (SWIG_arg_fail(1)) SWIG_fail
;
3154 if (!wxPyCheckForApp()) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3161 Py_INCREF(Py_None
); resultobj
= Py_None
;
3168 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3171 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3173 return Py_BuildValue((char *)"");
3175 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3176 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3181 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3186 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3188 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3195 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxSystemOptions
*result
;
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 result
= (wxSystemOptions
*)new wxSystemOptions();
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3217 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxString
*arg1
= 0 ;
3220 wxString
*arg2
= 0 ;
3221 bool temp1
= false ;
3222 bool temp2
= false ;
3223 PyObject
* obj0
= 0 ;
3224 PyObject
* obj1
= 0 ;
3226 (char *) "name",(char *) "value", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3231 arg1
= wxString_in_helper(obj0
);
3232 if (arg1
== NULL
) SWIG_fail
;
3236 arg2
= wxString_in_helper(obj1
);
3237 if (arg2
== NULL
) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxString
*arg1
= 0 ;
3274 bool temp1
= false ;
3275 PyObject
* obj0
= 0 ;
3276 PyObject
* obj1
= 0 ;
3278 (char *) "name",(char *) "value", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3283 arg1
= wxString_in_helper(obj0
);
3284 if (arg1
== NULL
) SWIG_fail
;
3288 arg2
= (int)(SWIG_As_int(obj1
));
3289 if (SWIG_arg_fail(2)) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxString
*arg1
= 0 ;
3317 bool temp1
= false ;
3318 PyObject
* obj0
= 0 ;
3320 (char *) "name", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3325 arg1
= wxString_in_helper(obj0
);
3326 if (arg1
== NULL
) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3357 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxString
*arg1
= 0 ;
3361 bool temp1
= false ;
3362 PyObject
* obj0
= 0 ;
3364 (char *) "name", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3369 arg1
= wxString_in_helper(obj0
);
3370 if (arg1
== NULL
) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 resultobj
= SWIG_From_int((int)(result
));
3397 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxString
*arg1
= 0 ;
3401 bool temp1
= false ;
3402 PyObject
* obj0
= 0 ;
3404 (char *) "name", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3409 arg1
= wxString_in_helper(obj0
);
3410 if (arg1
== NULL
) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3437 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3440 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3442 return Py_BuildValue((char *)"");
3444 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3445 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3450 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3455 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3457 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3464 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3465 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3470 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3475 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3477 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3484 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3485 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3490 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3495 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3497 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3504 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (long)wxNewId();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_From_long((long)(result
));
3528 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3531 PyObject
* obj0
= 0 ;
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3538 arg1
= (long)(SWIG_As_long(obj0
));
3539 if (SWIG_arg_fail(1)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (long)wxGetCurrentId();
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3571 resultobj
= SWIG_From_long((long)(result
));
3579 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3583 PyObject
* obj0
= 0 ;
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3590 arg1
= (int)(SWIG_As_int(obj0
));
3591 if (SWIG_arg_fail(1)) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (bool)wxIsStockID(arg1
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3609 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3612 wxString
*arg2
= 0 ;
3614 bool temp2
= false ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "id",(char *) "label", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3623 arg1
= (int)(SWIG_As_int(obj0
));
3624 if (SWIG_arg_fail(1)) SWIG_fail
;
3627 arg2
= wxString_in_helper(obj1
);
3628 if (arg2
== NULL
) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3655 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3658 bool arg2
= (bool) true ;
3659 wxString arg3
= (wxString
) wxPyEmptyString
;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3663 PyObject
* obj2
= 0 ;
3665 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3670 arg1
= (int)(SWIG_As_int(obj0
));
3671 if (SWIG_arg_fail(1)) SWIG_fail
;
3675 arg2
= (bool)(SWIG_As_bool(obj1
));
3676 if (SWIG_arg_fail(2)) SWIG_fail
;
3681 wxString
* sptr
= wxString_in_helper(obj2
);
3682 if (sptr
== NULL
) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3707 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3715 if (!wxPyCheckForApp()) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3737 if (!wxPyCheckForApp()) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 Py_INCREF(Py_None
); resultobj
= Py_None
;
3751 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 bool arg1
= (bool) true ;
3755 PyObject
* obj0
= 0 ;
3757 (char *) "resetTimer", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3763 arg1
= (bool)(SWIG_As_bool(obj0
));
3764 if (SWIG_arg_fail(1)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (long)wxGetElapsedTime(arg1
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= SWIG_From_long((long)(result
));
3783 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 int *arg1
= (int *) 0 ;
3786 int *arg2
= (int *) 0 ;
3795 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3796 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3799 if (!wxPyCheckForApp()) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 wxGetMousePosition(arg1
,arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3807 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3808 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3809 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3810 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3817 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (bool)wxIsBusy();
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3841 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3869 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3872 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3874 bool temp1
= false ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "command", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3883 arg1
= wxString_in_helper(obj0
);
3884 if (arg1
== NULL
) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 result
= (bool)wxShell((wxString
const &)*arg1
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3912 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3926 Py_INCREF(Py_None
); resultobj
= Py_None
;
3933 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 int *arg1
= (int *) 0 ;
3936 int *arg2
= (int *) 0 ;
3946 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3947 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (int)wxGetOsVersion(arg1
,arg2
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= SWIG_From_int((int)(result
));
3959 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3960 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3961 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3962 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3969 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= wxGetOsDescription();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3997 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (long)wxGetFreeMemory();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_From_long((long)(result
));
4021 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxShutdownFlags arg1
;
4025 PyObject
* obj0
= 0 ;
4027 (char *) "wFlags", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4032 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4033 if (SWIG_arg_fail(1)) SWIG_fail
;
4036 if (!wxPyCheckForApp()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4052 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "secs", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4062 arg1
= (int)(SWIG_As_int(obj0
));
4063 if (SWIG_arg_fail(1)) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 unsigned long arg1
;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "milliseconds", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4089 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4090 if (SWIG_arg_fail(1)) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 unsigned long arg1
;
4109 PyObject
* obj0
= 0 ;
4111 (char *) "microseconds", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4116 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4117 if (SWIG_arg_fail(1)) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4136 PyObject
* obj0
= 0 ;
4138 (char *) "enable", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4143 arg1
= (bool)(SWIG_As_bool(obj0
));
4144 if (SWIG_arg_fail(1)) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 wxEnableTopLevelWindows(arg1
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4160 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxString
*arg1
= 0 ;
4164 bool temp1
= false ;
4165 PyObject
* obj0
= 0 ;
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4172 arg1
= wxString_in_helper(obj0
);
4173 if (arg1
== NULL
) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4204 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= wxGetEmailAddress();
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_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= wxGetHostName();
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_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= wxGetFullHostName();
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_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= wxGetUserId();
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_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= wxGetUserName();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4344 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= wxGetHomeDir();
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4372 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4375 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4377 bool temp1
= false ;
4378 PyObject
* obj0
= 0 ;
4380 (char *) "user", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4386 arg1
= wxString_in_helper(obj0
);
4387 if (arg1
== NULL
) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 result
= wxGetUserHome((wxString
const &)*arg1
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4419 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 unsigned long result
;
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 result
= (unsigned long)wxGetProcessId();
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4443 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4464 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4467 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4468 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4469 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4470 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4471 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4472 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4473 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4474 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4475 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4476 int arg6
= (int) 0 ;
4477 wxWindow
*arg7
= (wxWindow
*) NULL
;
4478 int arg8
= (int) -1 ;
4479 int arg9
= (int) -1 ;
4481 bool temp1
= false ;
4482 bool temp2
= false ;
4483 bool temp3
= false ;
4484 bool temp4
= false ;
4485 bool temp5
= false ;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4488 PyObject
* obj2
= 0 ;
4489 PyObject
* obj3
= 0 ;
4490 PyObject
* obj4
= 0 ;
4491 PyObject
* obj5
= 0 ;
4492 PyObject
* obj6
= 0 ;
4493 PyObject
* obj7
= 0 ;
4494 PyObject
* obj8
= 0 ;
4496 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4502 arg1
= wxString_in_helper(obj0
);
4503 if (arg1
== NULL
) SWIG_fail
;
4509 arg2
= wxString_in_helper(obj1
);
4510 if (arg2
== NULL
) SWIG_fail
;
4516 arg3
= wxString_in_helper(obj2
);
4517 if (arg3
== NULL
) SWIG_fail
;
4523 arg4
= wxString_in_helper(obj3
);
4524 if (arg4
== NULL
) SWIG_fail
;
4530 arg5
= wxString_in_helper(obj4
);
4531 if (arg5
== NULL
) SWIG_fail
;
4537 arg6
= (int)(SWIG_As_int(obj5
));
4538 if (SWIG_arg_fail(6)) SWIG_fail
;
4542 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4543 if (SWIG_arg_fail(7)) SWIG_fail
;
4547 arg8
= (int)(SWIG_As_int(obj7
));
4548 if (SWIG_arg_fail(8)) SWIG_fail
;
4553 arg9
= (int)(SWIG_As_int(obj8
));
4554 if (SWIG_arg_fail(9)) SWIG_fail
;
4558 if (!wxPyCheckForApp()) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4618 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
*resultobj
;
4620 wxString
*arg1
= 0 ;
4621 wxString
*arg2
= 0 ;
4622 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4623 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4624 wxWindow
*arg4
= (wxWindow
*) NULL
;
4626 bool temp1
= false ;
4627 bool temp2
= false ;
4628 bool temp3
= false ;
4629 PyObject
* obj0
= 0 ;
4630 PyObject
* obj1
= 0 ;
4631 PyObject
* obj2
= 0 ;
4632 PyObject
* obj3
= 0 ;
4634 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4639 arg1
= wxString_in_helper(obj0
);
4640 if (arg1
== NULL
) SWIG_fail
;
4644 arg2
= wxString_in_helper(obj1
);
4645 if (arg2
== NULL
) SWIG_fail
;
4650 arg3
= wxString_in_helper(obj2
);
4651 if (arg3
== NULL
) SWIG_fail
;
4656 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4657 if (SWIG_arg_fail(4)) SWIG_fail
;
4660 if (!wxPyCheckForApp()) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4704 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxString
*arg1
= 0 ;
4707 wxString
*arg2
= 0 ;
4708 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4709 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4710 wxWindow
*arg4
= (wxWindow
*) NULL
;
4712 bool temp1
= false ;
4713 bool temp2
= false ;
4714 bool temp3
= false ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4717 PyObject
* obj2
= 0 ;
4718 PyObject
* obj3
= 0 ;
4720 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4725 arg1
= wxString_in_helper(obj0
);
4726 if (arg1
== NULL
) SWIG_fail
;
4730 arg2
= wxString_in_helper(obj1
);
4731 if (arg2
== NULL
) SWIG_fail
;
4736 arg3
= wxString_in_helper(obj2
);
4737 if (arg3
== NULL
) SWIG_fail
;
4742 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4743 if (SWIG_arg_fail(4)) SWIG_fail
;
4746 if (!wxPyCheckForApp()) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4790 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4793 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4794 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4795 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4796 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4799 wxWindow
*arg5
= (wxWindow
*) NULL
;
4801 bool temp1
= false ;
4802 bool temp2
= false ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4806 PyObject
* obj2
= 0 ;
4807 PyObject
* obj3
= 0 ;
4808 PyObject
* obj4
= 0 ;
4810 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4816 arg1
= wxString_in_helper(obj0
);
4817 if (arg1
== NULL
) SWIG_fail
;
4823 arg2
= wxString_in_helper(obj1
);
4824 if (arg2
== NULL
) SWIG_fail
;
4830 arg3
= (long)(SWIG_As_long(obj2
));
4831 if (SWIG_arg_fail(3)) SWIG_fail
;
4837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4841 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4842 if (SWIG_arg_fail(5)) SWIG_fail
;
4845 if (!wxPyCheckForApp()) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4881 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxString
*arg1
= 0 ;
4884 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4885 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4886 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4887 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4888 wxWindow
*arg4
= (wxWindow
*) NULL
;
4889 int arg5
= (int) -1 ;
4890 int arg6
= (int) -1 ;
4891 bool arg7
= (bool) true ;
4893 bool temp1
= false ;
4894 bool temp2
= false ;
4895 bool temp3
= false ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4898 PyObject
* obj2
= 0 ;
4899 PyObject
* obj3
= 0 ;
4900 PyObject
* obj4
= 0 ;
4901 PyObject
* obj5
= 0 ;
4902 PyObject
* obj6
= 0 ;
4904 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4909 arg1
= wxString_in_helper(obj0
);
4910 if (arg1
== NULL
) SWIG_fail
;
4915 arg2
= wxString_in_helper(obj1
);
4916 if (arg2
== NULL
) SWIG_fail
;
4922 arg3
= wxString_in_helper(obj2
);
4923 if (arg3
== NULL
) SWIG_fail
;
4928 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4929 if (SWIG_arg_fail(4)) SWIG_fail
;
4933 arg5
= (int)(SWIG_As_int(obj4
));
4934 if (SWIG_arg_fail(5)) SWIG_fail
;
4939 arg6
= (int)(SWIG_As_int(obj5
));
4940 if (SWIG_arg_fail(6)) SWIG_fail
;
4945 arg7
= (bool)(SWIG_As_bool(obj6
));
4946 if (SWIG_arg_fail(7)) SWIG_fail
;
4950 if (!wxPyCheckForApp()) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4994 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxString
*arg1
= 0 ;
4997 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4998 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4999 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5000 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5001 wxWindow
*arg4
= (wxWindow
*) NULL
;
5003 bool temp1
= false ;
5004 bool temp2
= false ;
5005 bool temp3
= false ;
5006 PyObject
* obj0
= 0 ;
5007 PyObject
* obj1
= 0 ;
5008 PyObject
* obj2
= 0 ;
5009 PyObject
* obj3
= 0 ;
5011 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5016 arg1
= wxString_in_helper(obj0
);
5017 if (arg1
== NULL
) SWIG_fail
;
5022 arg2
= wxString_in_helper(obj1
);
5023 if (arg2
== NULL
) SWIG_fail
;
5029 arg3
= wxString_in_helper(obj2
);
5030 if (arg3
== NULL
) SWIG_fail
;
5035 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5036 if (SWIG_arg_fail(4)) SWIG_fail
;
5039 if (!wxPyCheckForApp()) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5083 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxString
*arg1
= 0 ;
5086 wxString
*arg2
= 0 ;
5088 wxString
*arg4
= (wxString
*) 0 ;
5089 wxWindow
*arg5
= (wxWindow
*) NULL
;
5090 int arg6
= (int) -1 ;
5091 int arg7
= (int) -1 ;
5092 bool arg8
= (bool) true ;
5093 int arg9
= (int) 150 ;
5094 int arg10
= (int) 200 ;
5096 bool temp1
= false ;
5097 bool temp2
= false ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5100 PyObject
* obj2
= 0 ;
5101 PyObject
* obj3
= 0 ;
5102 PyObject
* obj4
= 0 ;
5103 PyObject
* obj5
= 0 ;
5104 PyObject
* obj6
= 0 ;
5105 PyObject
* obj7
= 0 ;
5106 PyObject
* obj8
= 0 ;
5108 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5113 arg1
= wxString_in_helper(obj0
);
5114 if (arg1
== NULL
) SWIG_fail
;
5118 arg2
= wxString_in_helper(obj1
);
5119 if (arg2
== NULL
) SWIG_fail
;
5123 arg3
= PyList_Size(obj2
);
5124 arg4
= wxString_LIST_helper(obj2
);
5125 if (arg4
== NULL
) SWIG_fail
;
5128 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5129 if (SWIG_arg_fail(5)) SWIG_fail
;
5133 arg6
= (int)(SWIG_As_int(obj4
));
5134 if (SWIG_arg_fail(6)) SWIG_fail
;
5139 arg7
= (int)(SWIG_As_int(obj5
));
5140 if (SWIG_arg_fail(7)) SWIG_fail
;
5145 arg8
= (bool)(SWIG_As_bool(obj6
));
5146 if (SWIG_arg_fail(8)) SWIG_fail
;
5151 arg9
= (int)(SWIG_As_int(obj7
));
5152 if (SWIG_arg_fail(9)) SWIG_fail
;
5157 arg10
= (int)(SWIG_As_int(obj8
));
5158 if (SWIG_arg_fail(10)) SWIG_fail
;
5162 if (!wxPyCheckForApp()) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5185 if (arg4
) delete [] arg4
;
5198 if (arg4
) delete [] arg4
;
5204 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxString
*arg1
= 0 ;
5207 wxString
*arg2
= 0 ;
5209 wxString
*arg4
= (wxString
*) 0 ;
5210 wxWindow
*arg5
= (wxWindow
*) NULL
;
5211 int arg6
= (int) -1 ;
5212 int arg7
= (int) -1 ;
5213 bool arg8
= (bool) true ;
5214 int arg9
= (int) 150 ;
5215 int arg10
= (int) 200 ;
5217 bool temp1
= false ;
5218 bool temp2
= false ;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5221 PyObject
* obj2
= 0 ;
5222 PyObject
* obj3
= 0 ;
5223 PyObject
* obj4
= 0 ;
5224 PyObject
* obj5
= 0 ;
5225 PyObject
* obj6
= 0 ;
5226 PyObject
* obj7
= 0 ;
5227 PyObject
* obj8
= 0 ;
5229 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5234 arg1
= wxString_in_helper(obj0
);
5235 if (arg1
== NULL
) SWIG_fail
;
5239 arg2
= wxString_in_helper(obj1
);
5240 if (arg2
== NULL
) SWIG_fail
;
5244 arg3
= PyList_Size(obj2
);
5245 arg4
= wxString_LIST_helper(obj2
);
5246 if (arg4
== NULL
) SWIG_fail
;
5249 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5250 if (SWIG_arg_fail(5)) SWIG_fail
;
5254 arg6
= (int)(SWIG_As_int(obj4
));
5255 if (SWIG_arg_fail(6)) SWIG_fail
;
5260 arg7
= (int)(SWIG_As_int(obj5
));
5261 if (SWIG_arg_fail(7)) SWIG_fail
;
5266 arg8
= (bool)(SWIG_As_bool(obj6
));
5267 if (SWIG_arg_fail(8)) SWIG_fail
;
5272 arg9
= (int)(SWIG_As_int(obj7
));
5273 if (SWIG_arg_fail(9)) SWIG_fail
;
5278 arg10
= (int)(SWIG_As_int(obj8
));
5279 if (SWIG_arg_fail(10)) SWIG_fail
;
5283 if (!wxPyCheckForApp()) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_From_int((int)(result
));
5302 if (arg4
) delete [] arg4
;
5315 if (arg4
) delete [] arg4
;
5321 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxString
*arg1
= 0 ;
5324 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5325 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5326 int arg3
= (int) wxOK
|wxCENTRE
;
5327 wxWindow
*arg4
= (wxWindow
*) NULL
;
5328 int arg5
= (int) -1 ;
5329 int arg6
= (int) -1 ;
5331 bool temp1
= false ;
5332 bool temp2
= false ;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5335 PyObject
* obj2
= 0 ;
5336 PyObject
* obj3
= 0 ;
5337 PyObject
* obj4
= 0 ;
5338 PyObject
* obj5
= 0 ;
5340 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5345 arg1
= wxString_in_helper(obj0
);
5346 if (arg1
== NULL
) SWIG_fail
;
5351 arg2
= wxString_in_helper(obj1
);
5352 if (arg2
== NULL
) SWIG_fail
;
5358 arg3
= (int)(SWIG_As_int(obj2
));
5359 if (SWIG_arg_fail(3)) SWIG_fail
;
5363 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5364 if (SWIG_arg_fail(4)) SWIG_fail
;
5368 arg5
= (int)(SWIG_As_int(obj4
));
5369 if (SWIG_arg_fail(5)) SWIG_fail
;
5374 arg6
= (int)(SWIG_As_int(obj5
));
5375 if (SWIG_arg_fail(6)) SWIG_fail
;
5379 if (!wxPyCheckForApp()) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= SWIG_From_int((int)(result
));
5411 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxString
*arg1
= 0 ;
5414 wxString
*arg2
= 0 ;
5415 wxString
*arg3
= 0 ;
5417 long arg5
= (long) 0 ;
5418 long arg6
= (long) 100 ;
5419 wxWindow
*arg7
= (wxWindow
*) NULL
;
5420 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5421 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5423 bool temp1
= false ;
5424 bool temp2
= false ;
5425 bool temp3
= false ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5429 PyObject
* obj2
= 0 ;
5430 PyObject
* obj3
= 0 ;
5431 PyObject
* obj4
= 0 ;
5432 PyObject
* obj5
= 0 ;
5433 PyObject
* obj6
= 0 ;
5434 PyObject
* obj7
= 0 ;
5436 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5441 arg1
= wxString_in_helper(obj0
);
5442 if (arg1
== NULL
) SWIG_fail
;
5446 arg2
= wxString_in_helper(obj1
);
5447 if (arg2
== NULL
) SWIG_fail
;
5451 arg3
= wxString_in_helper(obj2
);
5452 if (arg3
== NULL
) SWIG_fail
;
5456 arg4
= (long)(SWIG_As_long(obj3
));
5457 if (SWIG_arg_fail(4)) SWIG_fail
;
5461 arg5
= (long)(SWIG_As_long(obj4
));
5462 if (SWIG_arg_fail(5)) SWIG_fail
;
5467 arg6
= (long)(SWIG_As_long(obj5
));
5468 if (SWIG_arg_fail(6)) SWIG_fail
;
5472 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5473 if (SWIG_arg_fail(7)) SWIG_fail
;
5478 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5482 if (!wxPyCheckForApp()) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= SWIG_From_long((long)(result
));
5522 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5531 if (!wxPyCheckForApp()) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (bool)wxColourDisplay();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5547 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5556 if (!wxPyCheckForApp()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (int)wxDisplayDepth();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_From_int((int)(result
));
5572 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5581 if (!wxPyCheckForApp()) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (int)wxGetDisplayDepth();
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= SWIG_From_int((int)(result
));
5597 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 int *arg1
= (int *) 0 ;
5600 int *arg2
= (int *) 0 ;
5609 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5610 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5613 if (!wxPyCheckForApp()) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 wxDisplaySize(arg1
,arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5622 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5623 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5624 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5631 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5640 if (!wxPyCheckForApp()) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= wxGetDisplaySize();
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5649 resultptr
= new wxSize((wxSize
&)(result
));
5650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5658 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 int *arg1
= (int *) 0 ;
5661 int *arg2
= (int *) 0 ;
5670 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5671 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5674 if (!wxPyCheckForApp()) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 wxDisplaySizeMM(arg1
,arg2
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5683 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5684 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5685 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5692 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5701 if (!wxPyCheckForApp()) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= wxGetDisplaySizeMM();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5710 resultptr
= new wxSize((wxSize
&)(result
));
5711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5719 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 int *arg1
= (int *) 0 ;
5722 int *arg2
= (int *) 0 ;
5723 int *arg3
= (int *) 0 ;
5724 int *arg4
= (int *) 0 ;
5737 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5738 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5739 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5740 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5743 if (!wxPyCheckForApp()) SWIG_fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 Py_INCREF(Py_None
); resultobj
= Py_None
;
5751 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5752 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5753 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5754 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5755 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5756 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5757 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5758 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5765 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5774 if (!wxPyCheckForApp()) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= wxGetClientDisplayRect();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5783 resultptr
= new wxRect((wxRect
&)(result
));
5784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5792 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxCursor
*arg1
= 0 ;
5795 PyObject
* obj0
= 0 ;
5797 (char *) "cursor", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5805 SWIG_null_ref("wxCursor");
5807 if (SWIG_arg_fail(1)) SWIG_fail
;
5810 if (!wxPyCheckForApp()) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 Py_INCREF(Py_None
); resultobj
= Py_None
;
5824 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5827 PyObject
* obj0
= 0 ;
5829 (char *) "cursor", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5835 if (SWIG_arg_fail(1)) SWIG_fail
;
5838 if (!wxPyCheckForApp()) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 wxBeginBusyCursor(arg1
);
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 Py_INCREF(Py_None
); resultobj
= Py_None
;
5852 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5861 if (!wxPyCheckForApp()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (wxWindow
*)wxGetActiveWindow();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= wxPyMake_wxObject(result
, 0);
5877 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5882 PyObject
* obj0
= 0 ;
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5890 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5893 if (!wxPyCheckForApp()) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= wxPyMake_wxObject(result
, 0);
5909 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5914 PyObject
* obj0
= 0 ;
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5922 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5925 if (!wxPyCheckForApp()) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= wxPyMake_wxObject(result
, 0);
5941 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxWindow
*arg1
= (wxWindow
*) 0 ;
5945 PyObject
* obj0
= 0 ;
5947 (char *) "win", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5952 if (SWIG_arg_fail(1)) SWIG_fail
;
5954 if (!wxPyCheckForApp()) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= wxPyMake_wxObject(result
, 0);
5970 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5974 PyObject
* obj0
= 0 ;
5976 (char *) "key", NULL
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5981 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5982 if (SWIG_arg_fail(1)) SWIG_fail
;
5985 if (!wxPyCheckForApp()) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6001 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6009 if (!wxPyCheckForApp()) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 wxWakeUpMainThread();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 Py_INCREF(Py_None
); resultobj
= Py_None
;
6023 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6031 if (!wxPyCheckForApp()) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 Py_INCREF(Py_None
); resultobj
= Py_None
;
6045 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6053 if (!wxPyCheckForApp()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 Py_INCREF(Py_None
); resultobj
= Py_None
;
6067 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxMutexGuiLocker
*result
;
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6076 if (!wxPyCheckForApp()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6090 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6095 (char *) "self", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6100 if (SWIG_arg_fail(1)) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 Py_INCREF(Py_None
); resultobj
= Py_None
;
6115 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6118 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6120 return Py_BuildValue((char *)"");
6122 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (bool)wxThread_IsMain();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6146 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxString
*arg1
= 0 ;
6150 bool temp1
= false ;
6151 PyObject
* obj0
= 0 ;
6153 (char *) "tip", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6158 arg1
= wxString_in_helper(obj0
);
6159 if (arg1
== NULL
) SWIG_fail
;
6163 if (!wxPyCheckForApp()) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= wxPyMake_wxObject(result
, 1);
6187 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6190 wxString
*arg2
= 0 ;
6191 bool temp2
= false ;
6192 PyObject
* obj0
= 0 ;
6193 PyObject
* obj1
= 0 ;
6195 (char *) "self",(char *) "tip", NULL
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6200 if (SWIG_arg_fail(1)) SWIG_fail
;
6202 arg2
= wxString_in_helper(obj1
);
6203 if (arg2
== NULL
) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 (arg1
)->SetTip((wxString
const &)*arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 Py_INCREF(Py_None
); resultobj
= Py_None
;
6228 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6234 (char *) "self", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6239 if (SWIG_arg_fail(1)) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (arg1
)->GetTip();
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6260 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6271 if (SWIG_arg_fail(1)) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (wxWindow
*)(arg1
)->GetWindow();
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= wxPyMake_wxObject(result
, 0);
6288 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6291 PyObject
* obj0
= 0 ;
6293 (char *) "flag", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6298 arg1
= (bool)(SWIG_As_bool(obj0
));
6299 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 wxToolTip::Enable(arg1
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 Py_INCREF(Py_None
); resultobj
= Py_None
;
6315 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "milliseconds", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6325 arg1
= (long)(SWIG_As_long(obj0
));
6326 if (SWIG_arg_fail(1)) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 wxToolTip::SetDelay(arg1
);
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 Py_INCREF(Py_None
); resultobj
= Py_None
;
6342 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6347 return Py_BuildValue((char *)"");
6349 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxWindow
*arg1
= (wxWindow
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6356 PyObject
* obj1
= 0 ;
6358 (char *) "window",(char *) "size", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6363 if (SWIG_arg_fail(1)) SWIG_fail
;
6366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6369 if (!wxPyCheckForApp()) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6383 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 wxCaret
*arg1
= (wxCaret
*) 0 ;
6386 PyObject
* obj0
= 0 ;
6388 (char *) "self", NULL
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6393 if (SWIG_arg_fail(1)) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 wxCaret_Destroy(arg1
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 Py_INCREF(Py_None
); resultobj
= Py_None
;
6408 static PyObject
*_wrap_Caret_IsOk(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_IsOk",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
= (bool)(arg1
)->IsOk();
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6436 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxCaret
*arg1
= (wxCaret
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6442 (char *) "self", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6447 if (SWIG_arg_fail(1)) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 result
= (bool)(arg1
)->IsVisible();
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6464 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxCaret
*arg1
= (wxCaret
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6475 if (SWIG_arg_fail(1)) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (arg1
)->GetPosition();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6484 wxPoint
* resultptr
;
6485 resultptr
= new wxPoint((wxPoint
&)(result
));
6486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6494 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxCaret
*arg1
= (wxCaret
*) 0 ;
6497 int *arg2
= (int *) 0 ;
6498 int *arg3
= (int *) 0 ;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "self", NULL
6508 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6509 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6512 if (SWIG_arg_fail(1)) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 (arg1
)->GetPosition(arg2
,arg3
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 Py_INCREF(Py_None
); resultobj
= Py_None
;
6521 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6522 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6523 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6524 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6531 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxCaret
*arg1
= (wxCaret
*) 0 ;
6535 PyObject
* obj0
= 0 ;
6537 (char *) "self", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6542 if (SWIG_arg_fail(1)) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (arg1
)->GetSize();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6552 resultptr
= new wxSize((wxSize
&)(result
));
6553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6561 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxCaret
*arg1
= (wxCaret
*) 0 ;
6564 int *arg2
= (int *) 0 ;
6565 int *arg3
= (int *) 0 ;
6570 PyObject
* obj0
= 0 ;
6572 (char *) "self", NULL
6575 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6576 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 (arg1
)->GetSize(arg2
,arg3
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6588 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6589 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6590 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6591 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6598 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxCaret
*arg1
= (wxCaret
*) 0 ;
6602 PyObject
* obj0
= 0 ;
6604 (char *) "self", NULL
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6609 if (SWIG_arg_fail(1)) SWIG_fail
;
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (wxWindow
*)(arg1
)->GetWindow();
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= wxPyMake_wxObject(result
, 0);
6626 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
;
6628 wxCaret
*arg1
= (wxCaret
*) 0 ;
6631 PyObject
* obj0
= 0 ;
6632 PyObject
* obj1
= 0 ;
6633 PyObject
* obj2
= 0 ;
6635 (char *) "self",(char *) "x",(char *) "y", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6640 if (SWIG_arg_fail(1)) SWIG_fail
;
6642 arg2
= (int)(SWIG_As_int(obj1
));
6643 if (SWIG_arg_fail(2)) SWIG_fail
;
6646 arg3
= (int)(SWIG_As_int(obj2
));
6647 if (SWIG_arg_fail(3)) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 (arg1
)->Move(arg2
,arg3
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 Py_INCREF(Py_None
); resultobj
= Py_None
;
6663 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxCaret
*arg1
= (wxCaret
*) 0 ;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6671 (char *) "self",(char *) "pt", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail
;
6679 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 (arg1
)->Move((wxPoint
const &)*arg2
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 Py_INCREF(Py_None
); resultobj
= Py_None
;
6695 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxCaret
*arg1
= (wxCaret
*) 0 ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 PyObject
* obj2
= 0 ;
6704 (char *) "self",(char *) "width",(char *) "height", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6709 if (SWIG_arg_fail(1)) SWIG_fail
;
6711 arg2
= (int)(SWIG_As_int(obj1
));
6712 if (SWIG_arg_fail(2)) SWIG_fail
;
6715 arg3
= (int)(SWIG_As_int(obj2
));
6716 if (SWIG_arg_fail(3)) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 (arg1
)->SetSize(arg2
,arg3
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 Py_INCREF(Py_None
); resultobj
= Py_None
;
6732 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxCaret
*arg1
= (wxCaret
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6738 PyObject
* obj1
= 0 ;
6740 (char *) "self",(char *) "size", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6745 if (SWIG_arg_fail(1)) SWIG_fail
;
6748 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 (arg1
)->SetSize((wxSize
const &)*arg2
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 Py_INCREF(Py_None
); resultobj
= Py_None
;
6764 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxCaret
*arg1
= (wxCaret
*) 0 ;
6767 int arg2
= (int) true ;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6771 (char *) "self",(char *) "show", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail
;
6779 arg2
= (int)(SWIG_As_int(obj1
));
6780 if (SWIG_arg_fail(2)) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxCaret
*arg1
= (wxCaret
*) 0 ;
6800 PyObject
* obj0
= 0 ;
6802 (char *) "self", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6807 if (SWIG_arg_fail(1)) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 Py_INCREF(Py_None
); resultobj
= Py_None
;
6822 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= (int)wxCaret::GetBlinkTime();
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_From_int((int)(result
));
6846 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6849 PyObject
* obj0
= 0 ;
6851 (char *) "milliseconds", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6856 arg1
= (int)(SWIG_As_int(obj0
));
6857 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 wxCaret::SetBlinkTime(arg1
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6873 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6876 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6878 return Py_BuildValue((char *)"");
6880 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6883 wxBusyCursor
*result
;
6884 PyObject
* obj0
= 0 ;
6886 (char *) "cursor", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail
;
6895 if (!wxPyCheckForApp()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6909 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6914 (char *) "self", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6919 if (SWIG_arg_fail(1)) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 Py_INCREF(Py_None
); resultobj
= Py_None
;
6934 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6937 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6939 return Py_BuildValue((char *)"");
6941 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxWindow
*arg1
= (wxWindow
*) NULL
;
6944 wxWindowDisabler
*result
;
6945 PyObject
* obj0
= 0 ;
6947 (char *) "winToSkip", NULL
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6953 if (SWIG_arg_fail(1)) SWIG_fail
;
6956 if (!wxPyCheckForApp()) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6970 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6980 if (SWIG_arg_fail(1)) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6998 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7000 return Py_BuildValue((char *)"");
7002 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxString
*arg1
= 0 ;
7006 bool temp1
= false ;
7007 PyObject
* obj0
= 0 ;
7009 (char *) "message", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7014 arg1
= wxString_in_helper(obj0
);
7015 if (arg1
== NULL
) SWIG_fail
;
7019 if (!wxPyCheckForApp()) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7041 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7044 PyObject
* obj0
= 0 ;
7046 (char *) "self", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7051 if (SWIG_arg_fail(1)) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 Py_INCREF(Py_None
); resultobj
= Py_None
;
7066 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7069 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7071 return Py_BuildValue((char *)"");
7073 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxStopWatch
*result
;
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (wxStopWatch
*)new wxStopWatch();
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7095 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7097 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7098 long arg2
= (long) 0 ;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7102 (char *) "self",(char *) "t0", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7107 if (SWIG_arg_fail(1)) SWIG_fail
;
7110 arg2
= (long)(SWIG_As_long(obj1
));
7111 if (SWIG_arg_fail(2)) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 (arg1
)->Start(arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 Py_INCREF(Py_None
); resultobj
= Py_None
;
7128 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "self", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7138 if (SWIG_arg_fail(1)) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 Py_INCREF(Py_None
); resultobj
= Py_None
;
7153 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7158 (char *) "self", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 Py_INCREF(Py_None
); resultobj
= Py_None
;
7178 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7182 PyObject
* obj0
= 0 ;
7184 (char *) "self", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7189 if (SWIG_arg_fail(1)) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= SWIG_From_long((long)(result
));
7206 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7209 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7211 return Py_BuildValue((char *)"");
7213 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 int arg1
= (int) 9 ;
7216 int arg2
= (int) wxID_FILE1
;
7217 wxFileHistory
*result
;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "maxFiles",(char *) "idBase", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7227 arg1
= (int)(SWIG_As_int(obj0
));
7228 if (SWIG_arg_fail(1)) SWIG_fail
;
7233 arg2
= (int)(SWIG_As_int(obj1
));
7234 if (SWIG_arg_fail(2)) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7251 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7254 PyObject
* obj0
= 0 ;
7256 (char *) "self", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7261 if (SWIG_arg_fail(1)) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 Py_INCREF(Py_None
); resultobj
= Py_None
;
7276 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7279 wxString
*arg2
= 0 ;
7280 bool temp2
= false ;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7284 (char *) "self",(char *) "file", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7289 if (SWIG_arg_fail(1)) SWIG_fail
;
7291 arg2
= wxString_in_helper(obj1
);
7292 if (arg2
== NULL
) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7324 (char *) "self",(char *) "i", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7329 if (SWIG_arg_fail(1)) SWIG_fail
;
7331 arg2
= (int)(SWIG_As_int(obj1
));
7332 if (SWIG_arg_fail(2)) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 (arg1
)->RemoveFileFromHistory(arg2
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 Py_INCREF(Py_None
); resultobj
= Py_None
;
7348 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7359 if (SWIG_arg_fail(1)) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= SWIG_From_int((int)(result
));
7376 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7379 wxMenu
*arg2
= (wxMenu
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7383 (char *) "self",(char *) "menu", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7388 if (SWIG_arg_fail(1)) SWIG_fail
;
7389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7390 if (SWIG_arg_fail(2)) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 (arg1
)->UseMenu(arg2
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 Py_INCREF(Py_None
); resultobj
= Py_None
;
7405 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7408 wxMenu
*arg2
= (wxMenu
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7412 (char *) "self",(char *) "menu", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7417 if (SWIG_arg_fail(1)) SWIG_fail
;
7418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(2)) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 (arg1
)->RemoveMenu(arg2
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7437 wxConfigBase
*arg2
= 0 ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7441 (char *) "self",(char *) "config", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7446 if (SWIG_arg_fail(1)) SWIG_fail
;
7448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7449 if (SWIG_arg_fail(2)) SWIG_fail
;
7451 SWIG_null_ref("wxConfigBase");
7453 if (SWIG_arg_fail(2)) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 (arg1
)->Load(*arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7472 wxConfigBase
*arg2
= 0 ;
7473 PyObject
* obj0
= 0 ;
7474 PyObject
* obj1
= 0 ;
7476 (char *) "self",(char *) "config", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail
;
7483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7484 if (SWIG_arg_fail(2)) SWIG_fail
;
7486 SWIG_null_ref("wxConfigBase");
7488 if (SWIG_arg_fail(2)) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 (arg1
)->Save(*arg2
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 Py_INCREF(Py_None
); resultobj
= Py_None
;
7504 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7509 (char *) "self", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7514 if (SWIG_arg_fail(1)) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 (arg1
)->AddFilesToMenu();
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 Py_INCREF(Py_None
); resultobj
= Py_None
;
7529 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7532 wxMenu
*arg2
= (wxMenu
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7536 (char *) "self",(char *) "menu", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7541 if (SWIG_arg_fail(1)) SWIG_fail
;
7542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7543 if (SWIG_arg_fail(2)) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 (arg1
)->AddFilesToMenu(arg2
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 Py_INCREF(Py_None
); resultobj
= Py_None
;
7558 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7566 (char *) "self",(char *) "i", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7571 if (SWIG_arg_fail(1)) SWIG_fail
;
7573 arg2
= (int)(SWIG_As_int(obj1
));
7574 if (SWIG_arg_fail(2)) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7596 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7602 (char *) "self", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7607 if (SWIG_arg_fail(1)) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_From_int((int)(result
));
7624 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7627 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7629 return Py_BuildValue((char *)"");
7631 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxString
*arg1
= 0 ;
7634 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7635 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7636 wxSingleInstanceChecker
*result
;
7637 bool temp1
= false ;
7638 bool temp2
= false ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7642 (char *) "name",(char *) "path", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7647 arg1
= wxString_in_helper(obj0
);
7648 if (arg1
== NULL
) SWIG_fail
;
7653 arg2
= wxString_in_helper(obj1
);
7654 if (arg2
== NULL
) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7688 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7690 wxSingleInstanceChecker
*result
;
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7710 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7713 PyObject
* obj0
= 0 ;
7715 (char *) "self", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7720 if (SWIG_arg_fail(1)) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 Py_INCREF(Py_None
); resultobj
= Py_None
;
7735 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7738 wxString
*arg2
= 0 ;
7739 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7740 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7742 bool temp2
= false ;
7743 bool temp3
= false ;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7746 PyObject
* obj2
= 0 ;
7748 (char *) "self",(char *) "name",(char *) "path", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= wxString_in_helper(obj1
);
7756 if (arg2
== NULL
) SWIG_fail
;
7761 arg3
= wxString_in_helper(obj2
);
7762 if (arg3
== NULL
) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7798 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7826 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7829 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7831 return Py_BuildValue((char *)"");
7833 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxWindow
*arg1
= (wxWindow
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7839 PyObject
* obj1
= 0 ;
7841 (char *) "window",(char *) "dc", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7846 if (SWIG_arg_fail(1)) SWIG_fail
;
7848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(2)) SWIG_fail
;
7851 SWIG_null_ref("wxDC");
7853 if (SWIG_arg_fail(2)) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7871 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7876 (char *) "self", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 Py_INCREF(Py_None
); resultobj
= Py_None
;
7896 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7902 (char *) "self", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7907 if (SWIG_arg_fail(1)) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 result
= (arg1
)->GetTip();
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7928 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (size_t)(arg1
)->GetCurrentTip();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7956 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7959 wxString
*arg2
= 0 ;
7961 bool temp2
= false ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7965 (char *) "self",(char *) "tip", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7970 if (SWIG_arg_fail(1)) SWIG_fail
;
7972 arg2
= wxString_in_helper(obj1
);
7973 if (arg2
== NULL
) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8004 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8007 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8009 return Py_BuildValue((char *)"");
8011 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8014 wxPyTipProvider
*result
;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "currentTip", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8022 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8023 if (SWIG_arg_fail(1)) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8039 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8042 PyObject
*arg2
= (PyObject
*) 0 ;
8043 PyObject
*arg3
= (PyObject
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8046 PyObject
* obj2
= 0 ;
8048 (char *) "self",(char *) "self",(char *) "_class", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8073 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8075 return Py_BuildValue((char *)"");
8077 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxWindow
*arg1
= (wxWindow
*) 0 ;
8080 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8081 bool arg3
= (bool) true ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8087 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail
;
8093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8094 if (SWIG_arg_fail(2)) SWIG_fail
;
8097 arg3
= (bool)(SWIG_As_bool(obj2
));
8098 if (SWIG_arg_fail(3)) SWIG_fail
;
8102 if (!wxPyCheckForApp()) SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8118 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxString
*arg1
= 0 ;
8122 wxTipProvider
*result
;
8123 bool temp1
= false ;
8124 PyObject
* obj0
= 0 ;
8125 PyObject
* obj1
= 0 ;
8127 (char *) "filename",(char *) "currentTip", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8132 arg1
= wxString_in_helper(obj0
);
8133 if (arg1
== NULL
) SWIG_fail
;
8137 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8138 if (SWIG_arg_fail(2)) SWIG_fail
;
8141 if (!wxPyCheckForApp()) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8163 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8166 int arg2
= (int) -1 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "owner",(char *) "id", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8177 if (SWIG_arg_fail(1)) SWIG_fail
;
8181 arg2
= (int)(SWIG_As_int(obj1
));
8182 if (SWIG_arg_fail(2)) SWIG_fail
;
8186 if (!wxPyCheckForApp()) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8200 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8203 PyObject
* obj0
= 0 ;
8205 (char *) "self", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8210 if (SWIG_arg_fail(1)) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8228 PyObject
*arg2
= (PyObject
*) 0 ;
8229 PyObject
*arg3
= (PyObject
*) 0 ;
8230 int arg4
= (int) 1 ;
8231 PyObject
* obj0
= 0 ;
8232 PyObject
* obj1
= 0 ;
8233 PyObject
* obj2
= 0 ;
8234 PyObject
* obj3
= 0 ;
8236 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail
;
8246 arg4
= (int)(SWIG_As_int(obj3
));
8247 if (SWIG_arg_fail(4)) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 Py_INCREF(Py_None
); resultobj
= Py_None
;
8264 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8267 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8268 int arg3
= (int) -1 ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8273 (char *) "self",(char *) "owner",(char *) "id", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8278 if (SWIG_arg_fail(1)) SWIG_fail
;
8279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8280 if (SWIG_arg_fail(2)) SWIG_fail
;
8283 arg3
= (int)(SWIG_As_int(obj2
));
8284 if (SWIG_arg_fail(3)) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 (arg1
)->SetOwner(arg2
,arg3
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 Py_INCREF(Py_None
); resultobj
= Py_None
;
8301 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8304 wxEvtHandler
*result
;
8305 PyObject
* obj0
= 0 ;
8307 (char *) "self", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8312 if (SWIG_arg_fail(1)) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= wxPyMake_wxObject(result
, 0);
8329 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8332 int arg2
= (int) -1 ;
8333 bool arg3
= (bool) false ;
8335 PyObject
* obj0
= 0 ;
8336 PyObject
* obj1
= 0 ;
8337 PyObject
* obj2
= 0 ;
8339 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8344 if (SWIG_arg_fail(1)) SWIG_fail
;
8347 arg2
= (int)(SWIG_As_int(obj1
));
8348 if (SWIG_arg_fail(2)) SWIG_fail
;
8353 arg3
= (bool)(SWIG_As_bool(obj2
));
8354 if (SWIG_arg_fail(3)) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8373 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8383 if (SWIG_arg_fail(1)) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 Py_INCREF(Py_None
); resultobj
= Py_None
;
8398 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8426 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
;
8428 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8430 PyObject
* obj0
= 0 ;
8432 (char *) "self", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_From_int((int)(result
));
8454 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8482 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8488 (char *) "self", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8493 if (SWIG_arg_fail(1)) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= SWIG_From_int((int)(result
));
8510 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8513 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8515 return Py_BuildValue((char *)"");
8517 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 int arg1
= (int) 0 ;
8520 int arg2
= (int) 0 ;
8521 wxTimerEvent
*result
;
8522 PyObject
* obj0
= 0 ;
8523 PyObject
* obj1
= 0 ;
8525 (char *) "timerid",(char *) "interval", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8531 arg1
= (int)(SWIG_As_int(obj0
));
8532 if (SWIG_arg_fail(1)) SWIG_fail
;
8537 arg2
= (int)(SWIG_As_int(obj1
));
8538 if (SWIG_arg_fail(2)) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8555 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8561 (char *) "self", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8566 if (SWIG_arg_fail(1)) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= SWIG_From_int((int)(result
));
8583 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8586 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8588 return Py_BuildValue((char *)"");
8590 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8591 PyObject
*resultobj
;
8593 wxTimerRunner
*result
;
8594 PyObject
* obj0
= 0 ;
8596 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8599 if (SWIG_arg_fail(1)) SWIG_fail
;
8601 SWIG_null_ref("wxTimer");
8603 if (SWIG_arg_fail(1)) SWIG_fail
;
8606 if (!wxPyCheckForApp()) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8620 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8621 PyObject
*resultobj
;
8624 bool arg3
= (bool) false ;
8625 wxTimerRunner
*result
;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8630 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8633 if (SWIG_arg_fail(1)) SWIG_fail
;
8635 SWIG_null_ref("wxTimer");
8637 if (SWIG_arg_fail(1)) SWIG_fail
;
8640 arg2
= (int)(SWIG_As_int(obj1
));
8641 if (SWIG_arg_fail(2)) SWIG_fail
;
8645 arg3
= (bool)(SWIG_As_bool(obj2
));
8646 if (SWIG_arg_fail(3)) SWIG_fail
;
8650 if (!wxPyCheckForApp()) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8664 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8669 argc
= PyObject_Length(args
);
8670 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8671 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8677 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8685 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8688 if ((argc
>= 2) && (argc
<= 3)) {
8692 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8700 _v
= SWIG_Check_int(argv
[1]);
8703 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8705 _v
= SWIG_Check_bool(argv
[2]);
8707 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8713 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8718 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8728 if (SWIG_arg_fail(1)) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8747 bool arg3
= (bool) false ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8752 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8757 if (SWIG_arg_fail(1)) SWIG_fail
;
8759 arg2
= (int)(SWIG_As_int(obj1
));
8760 if (SWIG_arg_fail(2)) SWIG_fail
;
8764 arg3
= (bool)(SWIG_As_bool(obj2
));
8765 if (SWIG_arg_fail(3)) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->Start(arg2
,arg3
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8785 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8787 return Py_BuildValue((char *)"");
8789 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (wxLog
*)new wxLog();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8811 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= (bool)wxLog::IsEnabled();
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8835 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 bool arg1
= (bool) true ;
8839 PyObject
* obj0
= 0 ;
8841 (char *) "doIt", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8847 arg1
= (bool)(SWIG_As_bool(obj0
));
8848 if (SWIG_arg_fail(1)) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (bool)wxLog::EnableLogging(arg1
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8867 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8870 wxChar
*arg2
= (wxChar
*) 0 ;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8874 PyObject
* obj2
= 0 ;
8876 (char *) "level",(char *) "szString",(char *) "t", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8881 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8882 if (SWIG_arg_fail(1)) SWIG_fail
;
8884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8885 if (SWIG_arg_fail(2)) SWIG_fail
;
8887 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8888 if (SWIG_arg_fail(3)) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 Py_INCREF(Py_None
); resultobj
= Py_None
;
8904 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxLog
*arg1
= (wxLog
*) 0 ;
8907 PyObject
* obj0
= 0 ;
8909 (char *) "self", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 Py_INCREF(Py_None
); resultobj
= Py_None
;
8929 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 wxLog::FlushActive();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (wxLog
*)wxLog::GetActiveTarget();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8972 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxLog
*arg1
= (wxLog
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8978 (char *) "pLogger", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8983 if (SWIG_arg_fail(1)) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8998 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 bool arg1
= (bool) true ;
9043 PyObject
* obj0
= 0 ;
9045 (char *) "bVerbose", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9051 arg1
= (bool)(SWIG_As_bool(obj0
));
9052 if (SWIG_arg_fail(1)) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 wxLog::SetVerbose(arg1
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "logLevel", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9079 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9080 if (SWIG_arg_fail(1)) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 wxLog::SetLogLevel(arg1
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxLog::DontCreateOnDemand();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 Py_INCREF(Py_None
); resultobj
= Py_None
;
9117 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "ulMask", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9127 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9128 if (SWIG_arg_fail(1)) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxLog::SetTraceMask(arg1
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxString
*arg1
= 0 ;
9147 bool temp1
= false ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "str", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9155 arg1
= wxString_in_helper(obj0
);
9156 if (arg1
== NULL
) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 wxLog::AddTraceMask((wxString
const &)*arg1
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 Py_INCREF(Py_None
); resultobj
= Py_None
;
9181 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxString
*arg1
= 0 ;
9184 bool temp1
= false ;
9185 PyObject
* obj0
= 0 ;
9187 (char *) "str", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9192 arg1
= wxString_in_helper(obj0
);
9193 if (arg1
== NULL
) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 Py_INCREF(Py_None
); resultobj
= Py_None
;
9218 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 wxLog::ClearTraceMasks();
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 Py_INCREF(Py_None
); resultobj
= Py_None
;
9239 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxArrayString
*result
;
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9251 result
= (wxArrayString
*) &_result_ref
;
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= wxArrayString2PyList_helper(*result
);
9266 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxChar
*arg1
= (wxChar
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 wxLog::SetTimestamp((wxChar
const *)arg1
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9291 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (bool)wxLog::GetVerbose();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9315 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (wxTraceMask
)wxLog::GetTraceMask();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9339 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxChar
*arg1
= (wxChar
*) 0 ;
9343 PyObject
* obj0
= 0 ;
9345 (char *) "mask", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9350 if (SWIG_arg_fail(1)) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9367 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxLogLevel
)wxLog::GetLogLevel();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9391 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (wxChar
*)wxLog::GetTimestamp();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9413 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 result
= Log_TimeStamp();
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9441 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxLog
*arg1
= (wxLog
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9451 if (SWIG_arg_fail(1)) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 wxLog_Destroy(arg1
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9466 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9469 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9471 return Py_BuildValue((char *)"");
9473 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxLogStderr
*result
;
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (wxLogStderr
*)new wxLogStderr();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9495 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9498 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9500 return Py_BuildValue((char *)"");
9502 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
;
9504 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9505 wxLogTextCtrl
*result
;
9506 PyObject
* obj0
= 0 ;
9508 (char *) "pTextCtrl", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9528 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9531 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9533 return Py_BuildValue((char *)"");
9535 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 result
= (wxLogGui
*)new wxLogGui();
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9557 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9560 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9562 return Py_BuildValue((char *)"");
9564 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxFrame
*arg1
= (wxFrame
*) 0 ;
9567 wxString
*arg2
= 0 ;
9568 bool arg3
= (bool) true ;
9569 bool arg4
= (bool) true ;
9570 wxLogWindow
*result
;
9571 bool temp2
= false ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 PyObject
* obj2
= 0 ;
9575 PyObject
* obj3
= 0 ;
9577 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9582 if (SWIG_arg_fail(1)) SWIG_fail
;
9584 arg2
= wxString_in_helper(obj1
);
9585 if (arg2
== NULL
) SWIG_fail
;
9590 arg3
= (bool)(SWIG_As_bool(obj2
));
9591 if (SWIG_arg_fail(3)) SWIG_fail
;
9596 arg4
= (bool)(SWIG_As_bool(obj3
));
9597 if (SWIG_arg_fail(4)) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9622 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9625 bool arg2
= (bool) true ;
9626 PyObject
* obj0
= 0 ;
9627 PyObject
* obj1
= 0 ;
9629 (char *) "self",(char *) "bShow", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9634 if (SWIG_arg_fail(1)) SWIG_fail
;
9637 arg2
= (bool)(SWIG_As_bool(obj1
));
9638 if (SWIG_arg_fail(2)) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 Py_INCREF(Py_None
); resultobj
= Py_None
;
9655 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9661 (char *) "self", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9666 if (SWIG_arg_fail(1)) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= wxPyMake_wxObject(result
, 0);
9683 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9689 (char *) "self", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9694 if (SWIG_arg_fail(1)) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9709 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9720 if (SWIG_arg_fail(1)) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9737 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9744 (char *) "self",(char *) "bDoPass", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail
;
9751 arg2
= (bool)(SWIG_As_bool(obj1
));
9752 if (SWIG_arg_fail(2)) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 (arg1
)->PassMessages(arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 Py_INCREF(Py_None
); resultobj
= Py_None
;
9768 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9771 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9773 return Py_BuildValue((char *)"");
9775 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxLog
*arg1
= (wxLog
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9781 (char *) "logger", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9786 if (SWIG_arg_fail(1)) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (wxLogChain
*)new wxLogChain(arg1
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9801 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9804 wxLog
*arg2
= (wxLog
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9808 (char *) "self",(char *) "logger", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9813 if (SWIG_arg_fail(1)) SWIG_fail
;
9814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9815 if (SWIG_arg_fail(2)) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 (arg1
)->SetLog(arg2
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 Py_INCREF(Py_None
); resultobj
= Py_None
;
9830 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9835 PyObject
* obj1
= 0 ;
9837 (char *) "self",(char *) "bDoPass", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9842 if (SWIG_arg_fail(1)) SWIG_fail
;
9844 arg2
= (bool)(SWIG_As_bool(obj1
));
9845 if (SWIG_arg_fail(2)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 (arg1
)->PassMessages(arg2
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 Py_INCREF(Py_None
); resultobj
= Py_None
;
9861 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9865 PyObject
* obj0
= 0 ;
9867 (char *) "self", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9872 if (SWIG_arg_fail(1)) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 result
= (bool)(arg1
)->IsPassingMessages();
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9889 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (wxLog
*)(arg1
)->GetOldLog();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9915 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9918 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9920 return Py_BuildValue((char *)"");
9922 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 unsigned long result
;
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (unsigned long)wxSysErrorCode();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9946 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 unsigned long arg1
= (unsigned long) 0 ;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "nErrCode", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9958 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9959 if (SWIG_arg_fail(1)) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= wxSysErrorMsg(arg1
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9982 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxString
*arg1
= 0 ;
9985 bool temp1
= false ;
9986 PyObject
* obj0
= 0 ;
9988 (char *) "msg", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9993 arg1
= wxString_in_helper(obj0
);
9994 if (arg1
== NULL
) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 wxPyLogFatalError((wxString
const &)*arg1
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxString
*arg1
= 0 ;
10022 bool temp1
= false ;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "msg", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10030 arg1
= wxString_in_helper(obj0
);
10031 if (arg1
== NULL
) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 wxPyLogError((wxString
const &)*arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 Py_INCREF(Py_None
); resultobj
= Py_None
;
10056 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxString
*arg1
= 0 ;
10059 bool temp1
= false ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "msg", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10067 arg1
= wxString_in_helper(obj0
);
10068 if (arg1
== NULL
) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 wxPyLogWarning((wxString
const &)*arg1
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 Py_INCREF(Py_None
); resultobj
= Py_None
;
10093 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxString
*arg1
= 0 ;
10096 bool temp1
= false ;
10097 PyObject
* obj0
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "msg", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10104 arg1
= wxString_in_helper(obj0
);
10105 if (arg1
== NULL
) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 wxPyLogMessage((wxString
const &)*arg1
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 Py_INCREF(Py_None
); resultobj
= Py_None
;
10130 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxString
*arg1
= 0 ;
10133 bool temp1
= false ;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "msg", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10141 arg1
= wxString_in_helper(obj0
);
10142 if (arg1
== NULL
) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 wxPyLogInfo((wxString
const &)*arg1
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 Py_INCREF(Py_None
); resultobj
= Py_None
;
10167 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxString
*arg1
= 0 ;
10170 bool temp1
= false ;
10171 PyObject
* obj0
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "msg", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10178 arg1
= wxString_in_helper(obj0
);
10179 if (arg1
== NULL
) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 wxPyLogDebug((wxString
const &)*arg1
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 Py_INCREF(Py_None
); resultobj
= Py_None
;
10204 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxString
*arg1
= 0 ;
10207 bool temp1
= false ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "msg", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10215 arg1
= wxString_in_helper(obj0
);
10216 if (arg1
== NULL
) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 wxPyLogVerbose((wxString
const &)*arg1
);
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 Py_INCREF(Py_None
); resultobj
= Py_None
;
10241 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxString
*arg1
= 0 ;
10244 bool temp1
= false ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "msg", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10252 arg1
= wxString_in_helper(obj0
);
10253 if (arg1
== NULL
) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 wxPyLogStatus((wxString
const &)*arg1
);
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 Py_INCREF(Py_None
); resultobj
= Py_None
;
10278 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxFrame
*arg1
= (wxFrame
*) 0 ;
10281 wxString
*arg2
= 0 ;
10282 bool temp2
= false ;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "pFrame",(char *) "msg", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10291 if (SWIG_arg_fail(1)) SWIG_fail
;
10293 arg2
= wxString_in_helper(obj1
);
10294 if (arg2
== NULL
) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxString
*arg1
= 0 ;
10322 bool temp1
= false ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "msg", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10330 arg1
= wxString_in_helper(obj0
);
10331 if (arg1
== NULL
) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 wxPyLogSysError((wxString
const &)*arg1
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10356 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 unsigned long arg1
;
10359 wxString
*arg2
= 0 ;
10360 bool temp2
= false ;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "level",(char *) "msg", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10369 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10370 if (SWIG_arg_fail(1)) SWIG_fail
;
10373 arg2
= wxString_in_helper(obj1
);
10374 if (arg2
== NULL
) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10400 PyObject
*resultobj
;
10401 unsigned long arg1
;
10402 wxString
*arg2
= 0 ;
10403 bool temp2
= false ;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10407 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10409 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10410 if (SWIG_arg_fail(1)) SWIG_fail
;
10413 arg2
= wxString_in_helper(obj1
);
10414 if (arg2
== NULL
) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 Py_INCREF(Py_None
); resultobj
= Py_None
;
10439 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10440 PyObject
*resultobj
;
10441 wxString
*arg1
= 0 ;
10442 wxString
*arg2
= 0 ;
10443 bool temp1
= false ;
10444 bool temp2
= false ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10448 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10450 arg1
= wxString_in_helper(obj0
);
10451 if (arg1
== NULL
) SWIG_fail
;
10455 arg2
= wxString_in_helper(obj1
);
10456 if (arg2
== NULL
) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 Py_INCREF(Py_None
); resultobj
= Py_None
;
10489 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10494 argc
= PyObject_Length(args
);
10495 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10496 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10501 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10505 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10508 return _wrap_LogTrace__SWIG_1(self
,args
);
10514 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10517 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10520 return _wrap_LogTrace__SWIG_0(self
,args
);
10525 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10530 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxString
*arg1
= 0 ;
10533 wxString
*arg2
= 0 ;
10534 bool temp1
= false ;
10535 bool temp2
= false ;
10536 PyObject
* obj0
= 0 ;
10537 PyObject
* obj1
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "title",(char *) "text", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10544 arg1
= wxString_in_helper(obj0
);
10545 if (arg1
== NULL
) SWIG_fail
;
10549 arg2
= wxString_in_helper(obj1
);
10550 if (arg2
== NULL
) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 Py_INCREF(Py_None
); resultobj
= Py_None
;
10583 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10586 char *kwnames
[] = {
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (wxLogNull
*)new wxLogNull();
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10605 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10608 PyObject
* obj0
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10615 if (SWIG_arg_fail(1)) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 Py_INCREF(Py_None
); resultobj
= Py_None
;
10630 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10633 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10635 return Py_BuildValue((char *)"");
10637 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10640 char *kwnames
[] = {
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (wxPyLog
*)new wxPyLog();
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10659 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10662 PyObject
*arg2
= (PyObject
*) 0 ;
10663 PyObject
*arg3
= (PyObject
*) 0 ;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 PyObject
* obj2
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "self",(char *) "_class", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10693 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10695 return Py_BuildValue((char *)"");
10697 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10700 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10701 int arg3
= (int) wxKILL_NOCHILDREN
;
10702 wxKillError result
;
10703 PyObject
* obj0
= 0 ;
10704 PyObject
* obj1
= 0 ;
10705 PyObject
* obj2
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10712 arg1
= (int)(SWIG_As_int(obj0
));
10713 if (SWIG_arg_fail(1)) SWIG_fail
;
10717 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10718 if (SWIG_arg_fail(2)) SWIG_fail
;
10723 arg3
= (int)(SWIG_As_int(obj2
));
10724 if (SWIG_arg_fail(3)) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_From_int((result
));
10741 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10745 PyObject
* obj0
= 0 ;
10746 char *kwnames
[] = {
10747 (char *) "pid", NULL
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10752 arg1
= (int)(SWIG_As_int(obj0
));
10753 if (SWIG_arg_fail(1)) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (bool)wxPyProcess::Exists(arg1
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10771 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxString
*arg1
= 0 ;
10774 int arg2
= (int) wxEXEC_ASYNC
;
10775 wxPyProcess
*result
;
10776 bool temp1
= false ;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "cmd",(char *) "flags", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10785 arg1
= wxString_in_helper(obj0
);
10786 if (arg1
== NULL
) SWIG_fail
;
10791 arg2
= (int)(SWIG_As_int(obj1
));
10792 if (SWIG_arg_fail(2)) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10817 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10820 int arg2
= (int) -1 ;
10821 wxPyProcess
*result
;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "parent",(char *) "id", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail
;
10835 arg2
= (int)(SWIG_As_int(obj1
));
10836 if (SWIG_arg_fail(2)) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10853 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10856 PyObject
*arg2
= (PyObject
*) 0 ;
10857 PyObject
*arg3
= (PyObject
*) 0 ;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 PyObject
* obj2
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "self",(char *) "_class", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 Py_INCREF(Py_None
); resultobj
= Py_None
;
10884 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 PyObject
* obj1
= 0 ;
10891 PyObject
* obj2
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "pid",(char *) "status", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail
;
10900 arg2
= (int)(SWIG_As_int(obj1
));
10901 if (SWIG_arg_fail(2)) SWIG_fail
;
10904 arg3
= (int)(SWIG_As_int(obj2
));
10905 if (SWIG_arg_fail(3)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->base_OnTerminate(arg2
,arg3
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 Py_INCREF(Py_None
); resultobj
= Py_None
;
10921 static PyObject
*_wrap_Process_Redirect(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_Redirect",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();
10934 (arg1
)->Redirect();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",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
= (bool)(arg1
)->IsRedirected();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10974 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11002 wxInputStream
*result
;
11003 PyObject
* obj0
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11010 if (SWIG_arg_fail(1)) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 wxPyInputStream
* _ptr
= NULL
;
11022 _ptr
= new wxPyInputStream(result
);
11024 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11032 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11035 wxInputStream
*result
;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 wxPyInputStream
* _ptr
= NULL
;
11055 _ptr
= new wxPyInputStream(result
);
11057 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11065 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11068 wxOutputStream
*result
;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11076 if (SWIG_arg_fail(1)) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11091 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11101 if (SWIG_arg_fail(1)) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 (arg1
)->CloseOutput();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11127 if (SWIG_arg_fail(1)) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
;
11146 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11183 if (SWIG_arg_fail(1)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11200 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11203 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11205 return Py_BuildValue((char *)"");
11207 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 int arg1
= (int) 0 ;
11210 int arg2
= (int) 0 ;
11211 int arg3
= (int) 0 ;
11212 wxProcessEvent
*result
;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 PyObject
* obj2
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11223 arg1
= (int)(SWIG_As_int(obj0
));
11224 if (SWIG_arg_fail(1)) SWIG_fail
;
11229 arg2
= (int)(SWIG_As_int(obj1
));
11230 if (SWIG_arg_fail(2)) SWIG_fail
;
11235 arg3
= (int)(SWIG_As_int(obj2
));
11236 if (SWIG_arg_fail(3)) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11253 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (int)(arg1
)->GetPid();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_From_int((int)(result
));
11281 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (int)(arg1
)->GetExitCode();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_int((int)(result
));
11309 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self",(char *) "m_pid", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11321 if (SWIG_arg_fail(1)) SWIG_fail
;
11323 arg2
= (int)(SWIG_As_int(obj1
));
11324 if (SWIG_arg_fail(2)) SWIG_fail
;
11326 if (arg1
) (arg1
)->m_pid
= arg2
;
11328 Py_INCREF(Py_None
); resultobj
= Py_None
;
11335 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail
;
11347 result
= (int) ((arg1
)->m_pid
);
11350 resultobj
= SWIG_From_int((int)(result
));
11358 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self",(char *) "m_exitcode", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail
;
11372 arg2
= (int)(SWIG_As_int(obj1
));
11373 if (SWIG_arg_fail(2)) SWIG_fail
;
11375 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11377 Py_INCREF(Py_None
); resultobj
= Py_None
;
11384 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11395 if (SWIG_arg_fail(1)) SWIG_fail
;
11396 result
= (int) ((arg1
)->m_exitcode
);
11399 resultobj
= SWIG_From_int((int)(result
));
11407 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11410 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11412 return Py_BuildValue((char *)"");
11414 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxString
*arg1
= 0 ;
11417 int arg2
= (int) wxEXEC_ASYNC
;
11418 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11420 bool temp1
= false ;
11421 PyObject
* obj0
= 0 ;
11422 PyObject
* obj1
= 0 ;
11423 PyObject
* obj2
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "command",(char *) "flags",(char *) "process", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11430 arg1
= wxString_in_helper(obj0
);
11431 if (arg1
== NULL
) SWIG_fail
;
11436 arg2
= (int)(SWIG_As_int(obj1
));
11437 if (SWIG_arg_fail(2)) SWIG_fail
;
11441 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11442 if (SWIG_arg_fail(3)) SWIG_fail
;
11445 if (!wxPyCheckForApp()) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_From_long((long)(result
));
11469 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11472 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11473 wxKillError
*arg3
= (wxKillError
*) 0 ;
11474 int arg4
= (int) wxKILL_NOCHILDREN
;
11476 wxKillError temp3
;
11477 PyObject
* obj0
= 0 ;
11478 PyObject
* obj1
= 0 ;
11479 PyObject
* obj2
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11489 arg1
= (long)(SWIG_As_long(obj0
));
11490 if (SWIG_arg_fail(1)) SWIG_fail
;
11494 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11495 if (SWIG_arg_fail(2)) SWIG_fail
;
11500 arg4
= (int)(SWIG_As_int(obj2
));
11501 if (SWIG_arg_fail(4)) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= SWIG_From_int((int)(result
));
11516 o
= PyInt_FromLong((long) (*arg3
));
11517 resultobj
= t_output_helper(resultobj
, o
);
11525 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 int arg1
= (int) wxJOYSTICK1
;
11528 wxJoystick
*result
;
11529 PyObject
* obj0
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "joystick", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11537 arg1
= (int)(SWIG_As_int(obj0
));
11538 if (SWIG_arg_fail(1)) SWIG_fail
;
11542 if (!wxPyCheckForApp()) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (wxJoystick
*)new wxJoystick(arg1
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11556 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11566 if (SWIG_arg_fail(1)) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 Py_INCREF(Py_None
); resultobj
= Py_None
;
11581 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11585 PyObject
* obj0
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11592 if (SWIG_arg_fail(1)) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 result
= (arg1
)->GetPosition();
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 wxPoint
* resultptr
;
11602 resultptr
= new wxPoint((wxPoint
&)(result
));
11603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11611 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11622 if (SWIG_arg_fail(1)) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (int)(arg1
)->GetZPosition();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_From_int((int)(result
));
11639 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11650 if (SWIG_arg_fail(1)) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (int)(arg1
)->GetButtonState();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_From_int((int)(result
));
11667 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11678 if (SWIG_arg_fail(1)) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (int)(arg1
)->GetPOVPosition();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_From_int((int)(result
));
11695 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11706 if (SWIG_arg_fail(1)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (int)(arg1
)->GetPOVCTSPosition();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= SWIG_From_int((int)(result
));
11723 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11727 PyObject
* obj0
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11734 if (SWIG_arg_fail(1)) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (int)(arg1
)->GetRudderPosition();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_From_int((int)(result
));
11751 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11762 if (SWIG_arg_fail(1)) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (int)(arg1
)->GetUPosition();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_From_int((int)(result
));
11779 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11783 PyObject
* obj0
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "self", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11790 if (SWIG_arg_fail(1)) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (int)(arg1
)->GetVPosition();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_From_int((int)(result
));
11807 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11811 PyObject
* obj0
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11818 if (SWIG_arg_fail(1)) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (int)(arg1
)->GetMovementThreshold();
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_From_int((int)(result
));
11835 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11839 PyObject
* obj0
= 0 ;
11840 PyObject
* obj1
= 0 ;
11841 char *kwnames
[] = {
11842 (char *) "self",(char *) "threshold", NULL
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail
;
11849 arg2
= (int)(SWIG_As_int(obj1
));
11850 if (SWIG_arg_fail(2)) SWIG_fail
;
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 (arg1
)->SetMovementThreshold(arg2
);
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 Py_INCREF(Py_None
); resultobj
= Py_None
;
11866 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11870 PyObject
* obj0
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (bool)(arg1
)->IsOk();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11894 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "self", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11905 if (SWIG_arg_fail(1)) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (int)(arg1
)->GetNumberJoysticks();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_From_int((int)(result
));
11922 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 char *kwnames
[] = {
11928 (char *) "self", NULL
11931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11933 if (SWIG_arg_fail(1)) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (int)(arg1
)->GetManufacturerId();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_From_int((int)(result
));
11950 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
;
11952 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11961 if (SWIG_arg_fail(1)) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= (int)(arg1
)->GetProductId();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_From_int((int)(result
));
11978 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11982 PyObject
* obj0
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11989 if (SWIG_arg_fail(1)) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (arg1
)->GetProductName();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12010 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (int)(arg1
)->GetXMin();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_From_int((int)(result
));
12038 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12049 if (SWIG_arg_fail(1)) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (int)(arg1
)->GetYMin();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_From_int((int)(result
));
12066 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12077 if (SWIG_arg_fail(1)) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (int)(arg1
)->GetZMin();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_From_int((int)(result
));
12094 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (int)(arg1
)->GetXMax();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_From_int((int)(result
));
12122 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12133 if (SWIG_arg_fail(1)) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (int)(arg1
)->GetYMax();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_From_int((int)(result
));
12150 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12161 if (SWIG_arg_fail(1)) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (int)(arg1
)->GetZMax();
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_From_int((int)(result
));
12178 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12189 if (SWIG_arg_fail(1)) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (int)(arg1
)->GetNumberButtons();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_From_int((int)(result
));
12206 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12217 if (SWIG_arg_fail(1)) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (int)(arg1
)->GetNumberAxes();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_From_int((int)(result
));
12234 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12245 if (SWIG_arg_fail(1)) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (int)(arg1
)->GetMaxButtons();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_From_int((int)(result
));
12262 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (int)(arg1
)->GetMaxAxes();
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_From_int((int)(result
));
12290 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12301 if (SWIG_arg_fail(1)) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (int)(arg1
)->GetPollingMin();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_From_int((int)(result
));
12318 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12329 if (SWIG_arg_fail(1)) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (int)(arg1
)->GetPollingMax();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= SWIG_From_int((int)(result
));
12346 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12350 PyObject
* obj0
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12357 if (SWIG_arg_fail(1)) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 result
= (int)(arg1
)->GetRudderMin();
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= SWIG_From_int((int)(result
));
12374 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12385 if (SWIG_arg_fail(1)) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (int)(arg1
)->GetRudderMax();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= SWIG_From_int((int)(result
));
12402 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 char *kwnames
[] = {
12408 (char *) "self", NULL
12411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12413 if (SWIG_arg_fail(1)) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 result
= (int)(arg1
)->GetUMin();
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= SWIG_From_int((int)(result
));
12430 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12441 if (SWIG_arg_fail(1)) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (int)(arg1
)->GetUMax();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= SWIG_From_int((int)(result
));
12458 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12469 if (SWIG_arg_fail(1)) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (int)(arg1
)->GetVMin();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_From_int((int)(result
));
12486 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12497 if (SWIG_arg_fail(1)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (int)(arg1
)->GetVMax();
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_From_int((int)(result
));
12514 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12525 if (SWIG_arg_fail(1)) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (bool)(arg1
)->HasRudder();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12542 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12553 if (SWIG_arg_fail(1)) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (bool)(arg1
)->HasZ();
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12570 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (bool)(arg1
)->HasU();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12598 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (bool)(arg1
)->HasV();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12626 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12630 PyObject
* obj0
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "self", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12637 if (SWIG_arg_fail(1)) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (bool)(arg1
)->HasPOV();
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12654 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
;
12656 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12658 PyObject
* obj0
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12665 if (SWIG_arg_fail(1)) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (bool)(arg1
)->HasPOV4Dir();
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12682 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12693 if (SWIG_arg_fail(1)) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (bool)(arg1
)->HasPOVCTS();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12710 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12713 wxWindow
*arg2
= (wxWindow
*) 0 ;
12714 int arg3
= (int) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 PyObject
* obj1
= 0 ;
12718 PyObject
* obj2
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12725 if (SWIG_arg_fail(1)) SWIG_fail
;
12726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12727 if (SWIG_arg_fail(2)) SWIG_fail
;
12730 arg3
= (int)(SWIG_As_int(obj2
));
12731 if (SWIG_arg_fail(3)) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12750 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12761 if (SWIG_arg_fail(1)) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (bool)(arg1
)->ReleaseCapture();
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12778 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12781 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12783 return Py_BuildValue((char *)"");
12785 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12788 int arg2
= (int) 0 ;
12789 int arg3
= (int) wxJOYSTICK1
;
12790 int arg4
= (int) 0 ;
12791 wxJoystickEvent
*result
;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 PyObject
* obj2
= 0 ;
12795 PyObject
* obj3
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12803 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12804 if (SWIG_arg_fail(1)) SWIG_fail
;
12809 arg2
= (int)(SWIG_As_int(obj1
));
12810 if (SWIG_arg_fail(2)) SWIG_fail
;
12815 arg3
= (int)(SWIG_As_int(obj2
));
12816 if (SWIG_arg_fail(3)) SWIG_fail
;
12821 arg4
= (int)(SWIG_As_int(obj3
));
12822 if (SWIG_arg_fail(4)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12839 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12850 if (SWIG_arg_fail(1)) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12859 wxPoint
* resultptr
;
12860 resultptr
= new wxPoint((wxPoint
&)(result
));
12861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12869 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12880 if (SWIG_arg_fail(1)) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_From_int((int)(result
));
12897 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= SWIG_From_int((int)(result
));
12925 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12929 PyObject
* obj0
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= SWIG_From_int((int)(result
));
12953 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12957 PyObject
* obj0
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12964 if (SWIG_arg_fail(1)) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_From_int((int)(result
));
12981 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
;
12983 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12985 PyObject
* obj0
= 0 ;
12986 PyObject
* obj1
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self",(char *) "stick", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
12992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 arg2
= (int)(SWIG_As_int(obj1
));
12996 if (SWIG_arg_fail(2)) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 (arg1
)->SetJoystick(arg2
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 Py_INCREF(Py_None
); resultobj
= Py_None
;
13012 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self",(char *) "state", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13024 if (SWIG_arg_fail(1)) SWIG_fail
;
13026 arg2
= (int)(SWIG_As_int(obj1
));
13027 if (SWIG_arg_fail(2)) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 (arg1
)->SetButtonState(arg2
);
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 Py_INCREF(Py_None
); resultobj
= Py_None
;
13043 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self",(char *) "change", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail
;
13057 arg2
= (int)(SWIG_As_int(obj1
));
13058 if (SWIG_arg_fail(2)) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetButtonChange(arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13077 wxPoint
*arg2
= 0 ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self",(char *) "pos", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13087 if (SWIG_arg_fail(1)) SWIG_fail
;
13090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self",(char *) "zPos", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13118 if (SWIG_arg_fail(1)) SWIG_fail
;
13120 arg2
= (int)(SWIG_As_int(obj1
));
13121 if (SWIG_arg_fail(2)) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 (arg1
)->SetZPosition(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 Py_INCREF(Py_None
); resultobj
= Py_None
;
13137 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13148 if (SWIG_arg_fail(1)) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13165 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13176 if (SWIG_arg_fail(1)) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13193 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13204 if (SWIG_arg_fail(1)) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13221 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13224 int arg2
= (int) wxJOY_BUTTON_ANY
;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "but", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail
;
13237 arg2
= (int)(SWIG_As_int(obj1
));
13238 if (SWIG_arg_fail(2)) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13257 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13260 int arg2
= (int) wxJOY_BUTTON_ANY
;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "but", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13270 if (SWIG_arg_fail(1)) SWIG_fail
;
13273 arg2
= (int)(SWIG_As_int(obj1
));
13274 if (SWIG_arg_fail(2)) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13293 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
;
13295 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13296 int arg2
= (int) wxJOY_BUTTON_ANY
;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self",(char *) "but", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",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
;
13309 arg2
= (int)(SWIG_As_int(obj1
));
13310 if (SWIG_arg_fail(2)) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13329 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13332 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13334 return Py_BuildValue((char *)"");
13336 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13339 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13341 bool temp1
= false ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "fileName", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13350 arg1
= wxString_in_helper(obj0
);
13351 if (arg1
== NULL
) SWIG_fail
;
13356 if (!wxPyCheckForApp()) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13378 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 PyObject
*arg1
= (PyObject
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "data", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13390 if (!wxPyCheckForApp()) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= (wxSound
*)new_wxSound(arg1
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13404 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxSound
*arg1
= (wxSound
*) 0 ;
13407 PyObject
* obj0
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13414 if (SWIG_arg_fail(1)) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 Py_INCREF(Py_None
); resultobj
= Py_None
;
13429 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxSound
*arg1
= (wxSound
*) 0 ;
13432 wxString
*arg2
= 0 ;
13434 bool temp2
= false ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "fileName", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13443 if (SWIG_arg_fail(1)) SWIG_fail
;
13445 arg2
= wxString_in_helper(obj1
);
13446 if (arg2
== NULL
) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13473 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxSound
*arg1
= (wxSound
*) 0 ;
13476 PyObject
*arg2
= (PyObject
*) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "data", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13486 if (SWIG_arg_fail(1)) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxSound
*arg1
= (wxSound
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13515 if (SWIG_arg_fail(1)) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (bool)(arg1
)->IsOk();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13532 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxSound
*arg1
= (wxSound
*) 0 ;
13535 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self",(char *) "flags", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13545 if (SWIG_arg_fail(1)) SWIG_fail
;
13548 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13549 if (SWIG_arg_fail(2)) SWIG_fail
;
13553 if (!wxPyCheckForApp()) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13569 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxString
*arg1
= 0 ;
13572 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13574 bool temp1
= false ;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "filename",(char *) "flags", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13583 arg1
= wxString_in_helper(obj0
);
13584 if (arg1
== NULL
) SWIG_fail
;
13589 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13590 if (SWIG_arg_fail(2)) SWIG_fail
;
13594 if (!wxPyCheckForApp()) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13618 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 char *kwnames
[] = {
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13626 if (!wxPyCheckForApp()) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 Py_INCREF(Py_None
); resultobj
= Py_None
;
13640 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13643 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13645 return Py_BuildValue((char *)"");
13647 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
;
13649 wxString
*arg1
= 0 ;
13650 wxString
*arg2
= 0 ;
13651 wxString
*arg3
= 0 ;
13652 wxString
*arg4
= 0 ;
13653 wxFileTypeInfo
*result
;
13654 bool temp1
= false ;
13655 bool temp2
= false ;
13656 bool temp3
= false ;
13657 bool temp4
= false ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 PyObject
* obj2
= 0 ;
13661 PyObject
* obj3
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13668 arg1
= wxString_in_helper(obj0
);
13669 if (arg1
== NULL
) SWIG_fail
;
13673 arg2
= wxString_in_helper(obj1
);
13674 if (arg2
== NULL
) SWIG_fail
;
13678 arg3
= wxString_in_helper(obj2
);
13679 if (arg3
== NULL
) SWIG_fail
;
13683 arg4
= wxString_in_helper(obj3
);
13684 if (arg4
== NULL
) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13733 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxArrayString
*arg1
= 0 ;
13736 wxFileTypeInfo
*result
;
13737 bool temp1
= false ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "sArray", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13745 if (! PySequence_Check(obj0
)) {
13746 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13749 arg1
= new wxArrayString
;
13751 int i
, len
=PySequence_Length(obj0
);
13752 for (i
=0; i
<len
; i
++) {
13753 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13755 PyObject
* str
= PyObject_Unicode(item
);
13757 PyObject
* str
= PyObject_Str(item
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13760 arg1
->Add(Py2wxString(str
));
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13774 if (temp1
) delete arg1
;
13779 if (temp1
) delete arg1
;
13785 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxFileTypeInfo
*result
;
13788 char *kwnames
[] = {
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13807 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13811 PyObject
* obj0
= 0 ;
13812 char *kwnames
[] = {
13813 (char *) "self", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13818 if (SWIG_arg_fail(1)) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13835 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13838 wxString
*arg2
= 0 ;
13839 int arg3
= (int) 0 ;
13840 bool temp2
= false ;
13841 PyObject
* obj0
= 0 ;
13842 PyObject
* obj1
= 0 ;
13843 PyObject
* obj2
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13850 if (SWIG_arg_fail(1)) SWIG_fail
;
13852 arg2
= wxString_in_helper(obj1
);
13853 if (arg2
== NULL
) SWIG_fail
;
13858 arg3
= (int)(SWIG_As_int(obj2
));
13859 if (SWIG_arg_fail(3)) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 Py_INCREF(Py_None
); resultobj
= Py_None
;
13884 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13887 wxString
*arg2
= 0 ;
13888 bool temp2
= false ;
13889 PyObject
* obj0
= 0 ;
13890 PyObject
* obj1
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self",(char *) "shortDesc", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13897 if (SWIG_arg_fail(1)) SWIG_fail
;
13899 arg2
= wxString_in_helper(obj1
);
13900 if (arg2
== NULL
) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 Py_INCREF(Py_None
); resultobj
= Py_None
;
13925 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13936 if (SWIG_arg_fail(1)) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13941 result
= (wxString
*) &_result_ref
;
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13951 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13960 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13971 if (SWIG_arg_fail(1)) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13976 result
= (wxString
*) &_result_ref
;
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13995 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(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_GetPrintCommand",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();
14010 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14011 result
= (wxString
*) &_result_ref
;
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14030 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14041 if (SWIG_arg_fail(1)) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14046 result
= (wxString
*) &_result_ref
;
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14056 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14065 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
;
14067 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14069 PyObject
* obj0
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14076 if (SWIG_arg_fail(1)) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14081 result
= (wxString
*) &_result_ref
;
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14091 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14100 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14103 wxArrayString
*result
;
14104 PyObject
* obj0
= 0 ;
14105 char *kwnames
[] = {
14106 (char *) "self", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14111 if (SWIG_arg_fail(1)) SWIG_fail
;
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14116 result
= (wxArrayString
*) &_result_ref
;
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= wxArrayString2PyList_helper(*result
);
14131 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14135 PyObject
* obj0
= 0 ;
14136 char *kwnames
[] = {
14137 (char *) "self", NULL
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14142 if (SWIG_arg_fail(1)) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= SWIG_From_int((int)(result
));
14159 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14170 if (SWIG_arg_fail(1)) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14175 result
= (wxString
*) &_result_ref
;
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14185 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14194 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14205 if (SWIG_arg_fail(1)) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= SWIG_From_int((int)(result
));
14222 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14225 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14227 return Py_BuildValue((char *)"");
14229 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxFileTypeInfo
*arg1
= 0 ;
14232 wxFileType
*result
;
14233 PyObject
* obj0
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "ftInfo", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14241 if (SWIG_arg_fail(1)) SWIG_fail
;
14242 if (arg1
== NULL
) {
14243 SWIG_null_ref("wxFileTypeInfo");
14245 if (SWIG_arg_fail(1)) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14261 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxFileType
*arg1
= (wxFileType
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14271 if (SWIG_arg_fail(1)) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 Py_INCREF(Py_None
); resultobj
= Py_None
;
14286 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxFileType
*arg1
= (wxFileType
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= result
;
14312 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxFileType
*arg1
= (wxFileType
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14323 if (SWIG_arg_fail(1)) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= result
;
14338 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxFileType
*arg1
= (wxFileType
*) 0 ;
14342 PyObject
* obj0
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14349 if (SWIG_arg_fail(1)) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= result
;
14364 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxFileType
*arg1
= (wxFileType
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14375 if (SWIG_arg_fail(1)) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14390 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxFileType
*arg1
= (wxFileType
*) 0 ;
14394 PyObject
* obj0
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14401 if (SWIG_arg_fail(1)) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= result
;
14416 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxFileType
*arg1
= (wxFileType
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14427 if (SWIG_arg_fail(1)) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= result
;
14442 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxFileType
*arg1
= (wxFileType
*) 0 ;
14445 wxString
*arg2
= 0 ;
14446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14449 bool temp2
= false ;
14450 bool temp3
= false ;
14451 PyObject
* obj0
= 0 ;
14452 PyObject
* obj1
= 0 ;
14453 PyObject
* obj2
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14460 if (SWIG_arg_fail(1)) SWIG_fail
;
14462 arg2
= wxString_in_helper(obj1
);
14463 if (arg2
== NULL
) SWIG_fail
;
14468 arg3
= wxString_in_helper(obj2
);
14469 if (arg3
== NULL
) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= result
;
14503 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxFileType
*arg1
= (wxFileType
*) 0 ;
14506 wxString
*arg2
= 0 ;
14507 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14508 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14510 bool temp2
= false ;
14511 bool temp3
= false ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 PyObject
* obj2
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14521 if (SWIG_arg_fail(1)) SWIG_fail
;
14523 arg2
= wxString_in_helper(obj1
);
14524 if (arg2
== NULL
) SWIG_fail
;
14529 arg3
= wxString_in_helper(obj2
);
14530 if (arg3
== NULL
) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= result
;
14564 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxFileType
*arg1
= (wxFileType
*) 0 ;
14567 wxString
*arg2
= 0 ;
14568 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14569 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14571 bool temp2
= false ;
14572 bool temp3
= false ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 PyObject
* obj2
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14582 if (SWIG_arg_fail(1)) SWIG_fail
;
14584 arg2
= wxString_in_helper(obj1
);
14585 if (arg2
== NULL
) SWIG_fail
;
14590 arg3
= wxString_in_helper(obj2
);
14591 if (arg3
== NULL
) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
;
14625 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxFileType
*arg1
= (wxFileType
*) 0 ;
14628 wxString
*arg2
= 0 ;
14629 wxString
*arg3
= 0 ;
14630 bool arg4
= (bool) true ;
14632 bool temp2
= false ;
14633 bool temp3
= false ;
14634 PyObject
* obj0
= 0 ;
14635 PyObject
* obj1
= 0 ;
14636 PyObject
* obj2
= 0 ;
14637 PyObject
* obj3
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14644 if (SWIG_arg_fail(1)) SWIG_fail
;
14646 arg2
= wxString_in_helper(obj1
);
14647 if (arg2
== NULL
) SWIG_fail
;
14651 arg3
= wxString_in_helper(obj2
);
14652 if (arg3
== NULL
) SWIG_fail
;
14657 arg4
= (bool)(SWIG_As_bool(obj3
));
14658 if (SWIG_arg_fail(4)) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14693 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxFileType
*arg1
= (wxFileType
*) 0 ;
14696 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14697 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14698 int arg3
= (int) 0 ;
14700 bool temp2
= false ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 PyObject
* obj2
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "cmd",(char *) "index", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14710 if (SWIG_arg_fail(1)) SWIG_fail
;
14713 arg2
= wxString_in_helper(obj1
);
14714 if (arg2
== NULL
) SWIG_fail
;
14720 arg3
= (int)(SWIG_As_int(obj2
));
14721 if (SWIG_arg_fail(3)) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14748 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxFileType
*arg1
= (wxFileType
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14759 if (SWIG_arg_fail(1)) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (bool)(arg1
)->Unassociate();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14776 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxString
*arg1
= 0 ;
14779 wxString
*arg2
= 0 ;
14780 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14781 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14783 bool temp1
= false ;
14784 bool temp2
= false ;
14785 bool temp3
= false ;
14786 PyObject
* obj0
= 0 ;
14787 PyObject
* obj1
= 0 ;
14788 PyObject
* obj2
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14795 arg1
= wxString_in_helper(obj0
);
14796 if (arg1
== NULL
) SWIG_fail
;
14800 arg2
= wxString_in_helper(obj1
);
14801 if (arg2
== NULL
) SWIG_fail
;
14806 arg3
= wxString_in_helper(obj2
);
14807 if (arg3
== NULL
) SWIG_fail
;
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14855 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14858 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14860 return Py_BuildValue((char *)"");
14862 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14863 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14868 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14871 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14876 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxString
*arg1
= 0 ;
14879 wxString
*arg2
= 0 ;
14881 bool temp1
= false ;
14882 bool temp2
= false ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "mimeType",(char *) "wildcard", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14891 arg1
= wxString_in_helper(obj0
);
14892 if (arg1
== NULL
) SWIG_fail
;
14896 arg2
= wxString_in_helper(obj1
);
14897 if (arg2
== NULL
) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14932 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxMimeTypesManager
*result
;
14935 char *kwnames
[] = {
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14954 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14957 int arg2
= (int) wxMAILCAP_ALL
;
14958 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14959 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14960 bool temp3
= false ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 PyObject
* obj2
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14970 if (SWIG_arg_fail(1)) SWIG_fail
;
14973 arg2
= (int)(SWIG_As_int(obj1
));
14974 if (SWIG_arg_fail(2)) SWIG_fail
;
14979 arg3
= wxString_in_helper(obj2
);
14980 if (arg3
== NULL
) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 Py_INCREF(Py_None
); resultobj
= Py_None
;
15006 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15016 if (SWIG_arg_fail(1)) SWIG_fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 (arg1
)->ClearData();
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 Py_INCREF(Py_None
); resultobj
= Py_None
;
15031 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15034 wxString
*arg2
= 0 ;
15035 wxFileType
*result
;
15036 bool temp2
= false ;
15037 PyObject
* obj0
= 0 ;
15038 PyObject
* obj1
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self",(char *) "ext", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15045 if (SWIG_arg_fail(1)) SWIG_fail
;
15047 arg2
= wxString_in_helper(obj1
);
15048 if (arg2
== NULL
) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15073 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15076 wxString
*arg2
= 0 ;
15077 wxFileType
*result
;
15078 bool temp2
= false ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "mimeType", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15087 if (SWIG_arg_fail(1)) SWIG_fail
;
15089 arg2
= wxString_in_helper(obj1
);
15090 if (arg2
== NULL
) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15115 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15118 wxString
*arg2
= 0 ;
15119 bool arg3
= (bool) false ;
15121 bool temp2
= false ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 PyObject
* obj2
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail
;
15133 arg2
= wxString_in_helper(obj1
);
15134 if (arg2
== NULL
) SWIG_fail
;
15139 arg3
= (bool)(SWIG_As_bool(obj2
));
15140 if (SWIG_arg_fail(3)) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15167 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15170 wxString
*arg2
= 0 ;
15172 bool temp2
= false ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self",(char *) "filename", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail
;
15183 arg2
= wxString_in_helper(obj1
);
15184 if (arg2
== NULL
) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15211 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= result
;
15237 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15240 wxFileTypeInfo
*arg2
= 0 ;
15241 PyObject
* obj0
= 0 ;
15242 PyObject
* obj1
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "ft", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15249 if (SWIG_arg_fail(1)) SWIG_fail
;
15251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(2)) SWIG_fail
;
15253 if (arg2
== NULL
) {
15254 SWIG_null_ref("wxFileTypeInfo");
15256 if (SWIG_arg_fail(2)) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 Py_INCREF(Py_None
); resultobj
= Py_None
;
15272 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15275 wxFileTypeInfo
*arg2
= 0 ;
15276 wxFileType
*result
;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "ftInfo", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail
;
15287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15288 if (SWIG_arg_fail(2)) SWIG_fail
;
15289 if (arg2
== NULL
) {
15290 SWIG_null_ref("wxFileTypeInfo");
15292 if (SWIG_arg_fail(2)) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15308 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
;
15310 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15311 wxFileType
*arg2
= (wxFileType
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self",(char *) "ft", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail
;
15322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15323 if (SWIG_arg_fail(2)) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (bool)(arg1
)->Unassociate(arg2
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15340 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15350 if (SWIG_arg_fail(1)) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 Py_INCREF(Py_None
); resultobj
= Py_None
;
15365 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15368 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15370 return Py_BuildValue((char *)"");
15372 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15373 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15378 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15383 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15385 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15392 static int _wrap_ART_MENU_set(PyObject
*) {
15393 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15398 static PyObject
*_wrap_ART_MENU_get(void) {
15403 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15405 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15412 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15413 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15418 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15423 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15425 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15432 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15433 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15438 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15443 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15445 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15452 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15453 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15458 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15463 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15465 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15472 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15473 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15478 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15483 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15485 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15492 static int _wrap_ART_BUTTON_set(PyObject
*) {
15493 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15498 static PyObject
*_wrap_ART_BUTTON_get(void) {
15503 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15505 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15512 static int _wrap_ART_OTHER_set(PyObject
*) {
15513 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15518 static PyObject
*_wrap_ART_OTHER_get(void) {
15523 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15525 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15532 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15533 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15538 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15543 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15545 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15552 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15553 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15558 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15563 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15565 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15572 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15573 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15578 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15583 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15585 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15592 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15593 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15598 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15603 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15605 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15612 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15613 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15618 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15623 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15625 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15632 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15633 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15638 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15643 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15645 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15652 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15653 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15658 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15663 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15665 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15672 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15673 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15678 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15683 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15685 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15692 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15693 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15698 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15703 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15705 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15712 static int _wrap_ART_GO_UP_set(PyObject
*) {
15713 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15718 static PyObject
*_wrap_ART_GO_UP_get(void) {
15723 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15725 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15732 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15733 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15738 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15743 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15745 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15752 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15753 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15758 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15763 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15765 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15772 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15773 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15778 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15783 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15785 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15792 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15793 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15798 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15803 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15805 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15812 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15813 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15818 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15823 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15825 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15832 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15833 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15838 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15843 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15845 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15852 static int _wrap_ART_PRINT_set(PyObject
*) {
15853 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15858 static PyObject
*_wrap_ART_PRINT_get(void) {
15863 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15865 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15872 static int _wrap_ART_HELP_set(PyObject
*) {
15873 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15878 static PyObject
*_wrap_ART_HELP_get(void) {
15883 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15885 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15892 static int _wrap_ART_TIP_set(PyObject
*) {
15893 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15898 static PyObject
*_wrap_ART_TIP_get(void) {
15903 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15905 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15912 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15913 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15918 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15923 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15925 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15932 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15933 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15938 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15943 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15945 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15952 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15953 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15958 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15963 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15965 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15972 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15973 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15978 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15983 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15985 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15992 static int _wrap_ART_FLOPPY_set(PyObject
*) {
15993 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
15998 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16003 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16005 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16012 static int _wrap_ART_CDROM_set(PyObject
*) {
16013 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16018 static PyObject
*_wrap_ART_CDROM_get(void) {
16023 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16025 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16032 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16033 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16038 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16043 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16045 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16052 static int _wrap_ART_FOLDER_set(PyObject
*) {
16053 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16058 static PyObject
*_wrap_ART_FOLDER_get(void) {
16063 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16065 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16072 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16073 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16078 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16083 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16085 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16092 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16093 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16098 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16103 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16105 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16112 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16113 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16118 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16123 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16125 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16132 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16133 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16138 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16143 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16145 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16152 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16153 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16158 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16163 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16165 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16172 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16173 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16178 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16183 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16185 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16192 static int _wrap_ART_ERROR_set(PyObject
*) {
16193 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16198 static PyObject
*_wrap_ART_ERROR_get(void) {
16203 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16205 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16212 static int _wrap_ART_QUESTION_set(PyObject
*) {
16213 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16218 static PyObject
*_wrap_ART_QUESTION_get(void) {
16223 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16225 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16232 static int _wrap_ART_WARNING_set(PyObject
*) {
16233 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16238 static PyObject
*_wrap_ART_WARNING_get(void) {
16243 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16245 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16252 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16253 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16258 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16263 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16265 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16272 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16273 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16278 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16283 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16285 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16292 static int _wrap_ART_COPY_set(PyObject
*) {
16293 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16298 static PyObject
*_wrap_ART_COPY_get(void) {
16303 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16305 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16312 static int _wrap_ART_CUT_set(PyObject
*) {
16313 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16318 static PyObject
*_wrap_ART_CUT_get(void) {
16323 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16325 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16332 static int _wrap_ART_PASTE_set(PyObject
*) {
16333 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16338 static PyObject
*_wrap_ART_PASTE_get(void) {
16343 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16345 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16352 static int _wrap_ART_DELETE_set(PyObject
*) {
16353 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16358 static PyObject
*_wrap_ART_DELETE_get(void) {
16363 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16365 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16372 static int _wrap_ART_UNDO_set(PyObject
*) {
16373 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16378 static PyObject
*_wrap_ART_UNDO_get(void) {
16383 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16385 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16392 static int _wrap_ART_REDO_set(PyObject
*) {
16393 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16398 static PyObject
*_wrap_ART_REDO_get(void) {
16403 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16405 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16412 static int _wrap_ART_QUIT_set(PyObject
*) {
16413 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16418 static PyObject
*_wrap_ART_QUIT_get(void) {
16423 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16425 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16432 static int _wrap_ART_FIND_set(PyObject
*) {
16433 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16438 static PyObject
*_wrap_ART_FIND_get(void) {
16443 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16445 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16452 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16453 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16458 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16463 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16465 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16472 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxPyArtProvider
*result
;
16475 char *kwnames
[] = {
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16481 if (!wxPyCheckForApp()) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16495 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16498 PyObject
*arg2
= (PyObject
*) 0 ;
16499 PyObject
*arg3
= (PyObject
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 PyObject
* obj2
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self",(char *) "self",(char *) "_class", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16509 if (SWIG_arg_fail(1)) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 Py_INCREF(Py_None
); resultobj
= Py_None
;
16526 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "provider", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16536 if (SWIG_arg_fail(1)) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 wxPyArtProvider::PushProvider(arg1
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 Py_INCREF(Py_None
); resultobj
= Py_None
;
16551 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16554 char *kwnames
[] = {
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (bool)wxPyArtProvider::PopProvider();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "provider", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16603 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxString
*arg1
= 0 ;
16606 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16607 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16608 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16609 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16611 bool temp1
= false ;
16612 bool temp2
= false ;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 PyObject
* obj2
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "id",(char *) "client",(char *) "size", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16623 arg1
= wxString_in_helper(obj0
);
16624 if (arg1
== NULL
) SWIG_fail
;
16629 arg2
= wxString_in_helper(obj1
);
16630 if (arg2
== NULL
) SWIG_fail
;
16637 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16641 if (!wxPyCheckForApp()) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16649 wxBitmap
* resultptr
;
16650 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16675 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxString
*arg1
= 0 ;
16678 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16679 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16680 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16681 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16683 bool temp1
= false ;
16684 bool temp2
= false ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 PyObject
* obj2
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "id",(char *) "client",(char *) "size", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16695 arg1
= wxString_in_helper(obj0
);
16696 if (arg1
== NULL
) SWIG_fail
;
16701 arg2
= wxString_in_helper(obj1
);
16702 if (arg2
== NULL
) SWIG_fail
;
16709 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16713 if (!wxPyCheckForApp()) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16721 wxIcon
* resultptr
;
16722 resultptr
= new wxIcon((wxIcon
&)(result
));
16723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16747 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxString
*arg1
= 0 ;
16750 bool arg2
= (bool) false ;
16752 bool temp1
= false ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "client",(char *) "platform_dependent", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 arg1
= wxString_in_helper(obj0
);
16762 if (arg1
== NULL
) SWIG_fail
;
16767 arg2
= (bool)(SWIG_As_bool(obj1
));
16768 if (SWIG_arg_fail(2)) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 wxSize
* resultptr
;
16780 resultptr
= new wxSize((wxSize
&)(result
));
16781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16797 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16800 PyObject
* obj0
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "self", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16807 if (SWIG_arg_fail(1)) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 wxPyArtProvider_Destroy(arg1
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 Py_INCREF(Py_None
); resultobj
= Py_None
;
16822 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16825 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16827 return Py_BuildValue((char *)"");
16829 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16832 PyObject
* obj0
= 0 ;
16833 char *kwnames
[] = {
16834 (char *) "self", NULL
16837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16839 if (SWIG_arg_fail(1)) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 Py_INCREF(Py_None
); resultobj
= Py_None
;
16854 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16857 wxConfigBase
*result
;
16858 PyObject
* obj0
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "config", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16865 if (SWIG_arg_fail(1)) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16880 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 bool arg1
= (bool) true ;
16883 wxConfigBase
*result
;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "createOnDemand", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16892 arg1
= (bool)(SWIG_As_bool(obj0
));
16893 if (SWIG_arg_fail(1)) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16910 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxConfigBase
*result
;
16913 char *kwnames
[] = {
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (wxConfigBase
*)wxConfigBase::Create();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16932 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 char *kwnames
[] = {
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 wxConfigBase::DontCreateOnDemand();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16956 wxString
*arg2
= 0 ;
16957 bool temp2
= false ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "path", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16966 if (SWIG_arg_fail(1)) SWIG_fail
;
16968 arg2
= wxString_in_helper(obj1
);
16969 if (arg2
== NULL
) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 (arg1
)->SetPath((wxString
const &)*arg2
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 Py_INCREF(Py_None
); resultobj
= Py_None
;
16994 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17005 if (SWIG_arg_fail(1)) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17010 result
= (wxString
*) &_result_ref
;
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17020 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17029 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17033 PyObject
* obj0
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "self", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17040 if (SWIG_arg_fail(1)) SWIG_fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= result
;
17055 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self",(char *) "index", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17068 if (SWIG_arg_fail(1)) SWIG_fail
;
17070 arg2
= (long)(SWIG_As_long(obj1
));
17071 if (SWIG_arg_fail(2)) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= result
;
17087 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17091 PyObject
* obj0
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17098 if (SWIG_arg_fail(1)) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= result
;
17113 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self",(char *) "index", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17126 if (SWIG_arg_fail(1)) SWIG_fail
;
17128 arg2
= (long)(SWIG_As_long(obj1
));
17129 if (SWIG_arg_fail(2)) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= result
;
17145 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17148 bool arg2
= (bool) false ;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self",(char *) "recursive", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail
;
17161 arg2
= (bool)(SWIG_As_bool(obj1
));
17162 if (SWIG_arg_fail(2)) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17181 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17184 bool arg2
= (bool) false ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self",(char *) "recursive", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17194 if (SWIG_arg_fail(1)) SWIG_fail
;
17197 arg2
= (bool)(SWIG_As_bool(obj1
));
17198 if (SWIG_arg_fail(2)) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17217 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17220 wxString
*arg2
= 0 ;
17222 bool temp2
= false ;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "self",(char *) "name", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17231 if (SWIG_arg_fail(1)) SWIG_fail
;
17233 arg2
= wxString_in_helper(obj1
);
17234 if (arg2
== NULL
) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17261 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17264 wxString
*arg2
= 0 ;
17266 bool temp2
= false ;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self",(char *) "name", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17275 if (SWIG_arg_fail(1)) SWIG_fail
;
17277 arg2
= wxString_in_helper(obj1
);
17278 if (arg2
== NULL
) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17305 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17308 wxString
*arg2
= 0 ;
17310 bool temp2
= false ;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self",(char *) "name", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17319 if (SWIG_arg_fail(1)) SWIG_fail
;
17321 arg2
= wxString_in_helper(obj1
);
17322 if (arg2
== NULL
) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17349 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17352 wxString
*arg2
= 0 ;
17353 wxConfigBase::EntryType result
;
17354 bool temp2
= false ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "name", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17365 arg2
= wxString_in_helper(obj1
);
17366 if (arg2
== NULL
) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_From_int((result
));
17391 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17394 wxString
*arg2
= 0 ;
17395 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17396 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17398 bool temp2
= false ;
17399 bool temp3
= false ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 PyObject
* obj2
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17409 if (SWIG_arg_fail(1)) SWIG_fail
;
17411 arg2
= wxString_in_helper(obj1
);
17412 if (arg2
== NULL
) SWIG_fail
;
17417 arg3
= wxString_in_helper(obj2
);
17418 if (arg3
== NULL
) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17458 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17461 wxString
*arg2
= 0 ;
17462 long arg3
= (long) 0 ;
17464 bool temp2
= false ;
17465 PyObject
* obj0
= 0 ;
17466 PyObject
* obj1
= 0 ;
17467 PyObject
* obj2
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17474 if (SWIG_arg_fail(1)) SWIG_fail
;
17476 arg2
= wxString_in_helper(obj1
);
17477 if (arg2
== NULL
) SWIG_fail
;
17482 arg3
= (long)(SWIG_As_long(obj2
));
17483 if (SWIG_arg_fail(3)) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= SWIG_From_long((long)(result
));
17510 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17513 wxString
*arg2
= 0 ;
17514 double arg3
= (double) 0.0 ;
17516 bool temp2
= false ;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 PyObject
* obj2
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17526 if (SWIG_arg_fail(1)) SWIG_fail
;
17528 arg2
= wxString_in_helper(obj1
);
17529 if (arg2
== NULL
) SWIG_fail
;
17534 arg3
= (double)(SWIG_As_double(obj2
));
17535 if (SWIG_arg_fail(3)) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_From_double((double)(result
));
17562 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17565 wxString
*arg2
= 0 ;
17566 bool arg3
= (bool) false ;
17568 bool temp2
= false ;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 PyObject
* obj2
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17578 if (SWIG_arg_fail(1)) SWIG_fail
;
17580 arg2
= wxString_in_helper(obj1
);
17581 if (arg2
== NULL
) SWIG_fail
;
17586 arg3
= (bool)(SWIG_As_bool(obj2
));
17587 if (SWIG_arg_fail(3)) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17614 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
;
17616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17617 wxString
*arg2
= 0 ;
17618 wxString
*arg3
= 0 ;
17620 bool temp2
= false ;
17621 bool temp3
= false ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 PyObject
* obj2
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "key",(char *) "value", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17631 if (SWIG_arg_fail(1)) SWIG_fail
;
17633 arg2
= wxString_in_helper(obj1
);
17634 if (arg2
== NULL
) SWIG_fail
;
17638 arg3
= wxString_in_helper(obj2
);
17639 if (arg3
== NULL
) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17674 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17677 wxString
*arg2
= 0 ;
17680 bool temp2
= false ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 PyObject
* obj2
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "key",(char *) "value", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail
;
17692 arg2
= wxString_in_helper(obj1
);
17693 if (arg2
== NULL
) SWIG_fail
;
17697 arg3
= (long)(SWIG_As_long(obj2
));
17698 if (SWIG_arg_fail(3)) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17724 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17727 wxString
*arg2
= 0 ;
17730 bool temp2
= false ;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 PyObject
* obj2
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self",(char *) "key",(char *) "value", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17740 if (SWIG_arg_fail(1)) SWIG_fail
;
17742 arg2
= wxString_in_helper(obj1
);
17743 if (arg2
== NULL
) SWIG_fail
;
17747 arg3
= (double)(SWIG_As_double(obj2
));
17748 if (SWIG_arg_fail(3)) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17774 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17777 wxString
*arg2
= 0 ;
17780 bool temp2
= false ;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 PyObject
* obj2
= 0 ;
17784 char *kwnames
[] = {
17785 (char *) "self",(char *) "key",(char *) "value", NULL
17788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail
;
17792 arg2
= wxString_in_helper(obj1
);
17793 if (arg2
== NULL
) SWIG_fail
;
17797 arg3
= (bool)(SWIG_As_bool(obj2
));
17798 if (SWIG_arg_fail(3)) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17824 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17827 bool arg2
= (bool) false ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self",(char *) "currentOnly", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17837 if (SWIG_arg_fail(1)) SWIG_fail
;
17840 arg2
= (bool)(SWIG_As_bool(obj1
));
17841 if (SWIG_arg_fail(2)) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= (bool)(arg1
)->Flush(arg2
);
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17860 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17863 wxString
*arg2
= 0 ;
17864 wxString
*arg3
= 0 ;
17866 bool temp2
= false ;
17867 bool temp3
= false ;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 PyObject
* obj2
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17877 if (SWIG_arg_fail(1)) SWIG_fail
;
17879 arg2
= wxString_in_helper(obj1
);
17880 if (arg2
== NULL
) SWIG_fail
;
17884 arg3
= wxString_in_helper(obj2
);
17885 if (arg3
== NULL
) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17920 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17923 wxString
*arg2
= 0 ;
17924 wxString
*arg3
= 0 ;
17926 bool temp2
= false ;
17927 bool temp3
= false ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 PyObject
* obj2
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17937 if (SWIG_arg_fail(1)) SWIG_fail
;
17939 arg2
= wxString_in_helper(obj1
);
17940 if (arg2
== NULL
) SWIG_fail
;
17944 arg3
= wxString_in_helper(obj2
);
17945 if (arg3
== NULL
) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17980 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17983 wxString
*arg2
= 0 ;
17984 bool arg3
= (bool) true ;
17986 bool temp2
= false ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 PyObject
* obj2
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17996 if (SWIG_arg_fail(1)) SWIG_fail
;
17998 arg2
= wxString_in_helper(obj1
);
17999 if (arg2
== NULL
) SWIG_fail
;
18004 arg3
= (bool)(SWIG_As_bool(obj2
));
18005 if (SWIG_arg_fail(3)) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18032 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18035 wxString
*arg2
= 0 ;
18037 bool temp2
= false ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self",(char *) "key", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18046 if (SWIG_arg_fail(1)) SWIG_fail
;
18048 arg2
= wxString_in_helper(obj1
);
18049 if (arg2
== NULL
) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18076 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18087 if (SWIG_arg_fail(1)) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (bool)(arg1
)->DeleteAll();
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18104 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18107 bool arg2
= (bool) true ;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self",(char *) "doIt", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18116 if (SWIG_arg_fail(1)) SWIG_fail
;
18119 arg2
= (bool)(SWIG_As_bool(obj1
));
18120 if (SWIG_arg_fail(2)) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 (arg1
)->SetExpandEnvVars(arg2
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18148 if (SWIG_arg_fail(1)) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18165 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18168 bool arg2
= (bool) true ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "doIt", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18177 if (SWIG_arg_fail(1)) SWIG_fail
;
18180 arg2
= (bool)(SWIG_As_bool(obj1
));
18181 if (SWIG_arg_fail(2)) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->SetRecordDefaults(arg2
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 Py_INCREF(Py_None
); resultobj
= Py_None
;
18198 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self", NULL
18207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18209 if (SWIG_arg_fail(1)) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18226 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18229 wxString
*arg2
= 0 ;
18231 bool temp2
= false ;
18232 PyObject
* obj0
= 0 ;
18233 PyObject
* obj1
= 0 ;
18234 char *kwnames
[] = {
18235 (char *) "self",(char *) "str", NULL
18238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18240 if (SWIG_arg_fail(1)) SWIG_fail
;
18242 arg2
= wxString_in_helper(obj1
);
18243 if (arg2
== NULL
) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18274 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18278 PyObject
* obj0
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18285 if (SWIG_arg_fail(1)) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18306 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18310 PyObject
* obj0
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "self", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18317 if (SWIG_arg_fail(1)) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18338 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18341 wxString
*arg2
= 0 ;
18342 bool temp2
= false ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "appName", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18351 if (SWIG_arg_fail(1)) SWIG_fail
;
18353 arg2
= wxString_in_helper(obj1
);
18354 if (arg2
== NULL
) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->SetAppName((wxString
const &)*arg2
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 Py_INCREF(Py_None
); resultobj
= Py_None
;
18379 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18382 wxString
*arg2
= 0 ;
18383 bool temp2
= false ;
18384 PyObject
* obj0
= 0 ;
18385 PyObject
* obj1
= 0 ;
18386 char *kwnames
[] = {
18387 (char *) "self",(char *) "vendorName", NULL
18390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18392 if (SWIG_arg_fail(1)) SWIG_fail
;
18394 arg2
= wxString_in_helper(obj1
);
18395 if (arg2
== NULL
) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18405 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 char *kwnames
[] = {
18427 (char *) "self",(char *) "style", NULL
18430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18432 if (SWIG_arg_fail(1)) SWIG_fail
;
18434 arg2
= (long)(SWIG_As_long(obj1
));
18435 if (SWIG_arg_fail(2)) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 (arg1
)->SetStyle(arg2
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 Py_INCREF(Py_None
); resultobj
= Py_None
;
18451 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18462 if (SWIG_arg_fail(1)) SWIG_fail
;
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_From_long((long)(result
));
18479 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18482 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18484 return Py_BuildValue((char *)"");
18486 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18489 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18490 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18491 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18492 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18493 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18494 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18496 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18498 bool temp1
= false ;
18499 bool temp2
= false ;
18500 bool temp3
= false ;
18501 bool temp4
= false ;
18502 PyObject
* obj0
= 0 ;
18503 PyObject
* obj1
= 0 ;
18504 PyObject
* obj2
= 0 ;
18505 PyObject
* obj3
= 0 ;
18506 PyObject
* obj4
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18514 arg1
= wxString_in_helper(obj0
);
18515 if (arg1
== NULL
) SWIG_fail
;
18521 arg2
= wxString_in_helper(obj1
);
18522 if (arg2
== NULL
) SWIG_fail
;
18528 arg3
= wxString_in_helper(obj2
);
18529 if (arg3
== NULL
) SWIG_fail
;
18535 arg4
= wxString_in_helper(obj3
);
18536 if (arg4
== NULL
) SWIG_fail
;
18542 arg5
= (long)(SWIG_As_long(obj4
));
18543 if (SWIG_arg_fail(5)) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18592 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxConfig
*arg1
= (wxConfig
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 char *kwnames
[] = {
18597 (char *) "self", NULL
18600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18602 if (SWIG_arg_fail(1)) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 Py_INCREF(Py_None
); resultobj
= Py_None
;
18617 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18620 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18622 return Py_BuildValue((char *)"");
18624 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18627 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18628 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18629 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18630 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18631 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18632 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18633 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18634 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18635 wxFileConfig
*result
;
18636 bool temp1
= false ;
18637 bool temp2
= false ;
18638 bool temp3
= false ;
18639 bool temp4
= false ;
18640 PyObject
* obj0
= 0 ;
18641 PyObject
* obj1
= 0 ;
18642 PyObject
* obj2
= 0 ;
18643 PyObject
* obj3
= 0 ;
18644 PyObject
* obj4
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18652 arg1
= wxString_in_helper(obj0
);
18653 if (arg1
== NULL
) SWIG_fail
;
18659 arg2
= wxString_in_helper(obj1
);
18660 if (arg2
== NULL
) SWIG_fail
;
18666 arg3
= wxString_in_helper(obj2
);
18667 if (arg3
== NULL
) SWIG_fail
;
18673 arg4
= wxString_in_helper(obj3
);
18674 if (arg4
== NULL
) SWIG_fail
;
18680 arg5
= (long)(SWIG_As_long(obj4
));
18681 if (SWIG_arg_fail(5)) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18730 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18740 if (SWIG_arg_fail(1)) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 wxPyEndAllowThreads(__tstate
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18748 Py_INCREF(Py_None
); resultobj
= Py_None
;
18755 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18758 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18760 return Py_BuildValue((char *)"");
18762 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18765 wxString
*arg2
= 0 ;
18766 wxConfigPathChanger
*result
;
18767 bool temp2
= false ;
18768 PyObject
* obj0
= 0 ;
18769 PyObject
* obj1
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "config",(char *) "entry", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18776 if (SWIG_arg_fail(1)) SWIG_fail
;
18778 arg2
= wxString_in_helper(obj1
);
18779 if (arg2
== NULL
) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18804 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18814 if (SWIG_arg_fail(1)) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 Py_INCREF(Py_None
); resultobj
= Py_None
;
18829 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
;
18831 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18833 PyObject
* obj0
= 0 ;
18834 char *kwnames
[] = {
18835 (char *) "self", NULL
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18840 if (SWIG_arg_fail(1)) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18845 result
= (wxString
*) &_result_ref
;
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18855 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18864 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18867 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18869 return Py_BuildValue((char *)"");
18871 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxString
*arg1
= 0 ;
18875 bool temp1
= false ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "sz", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18883 arg1
= wxString_in_helper(obj0
);
18884 if (arg1
== NULL
) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18915 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18916 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18921 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18926 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18928 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18935 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18936 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18941 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18946 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18948 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18955 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxDateTime::Country arg1
;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "country", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18965 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18966 if (SWIG_arg_fail(1)) SWIG_fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 Py_INCREF(Py_None
); resultobj
= Py_None
;
18982 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxDateTime::Country result
;
18985 char *kwnames
[] = {
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= SWIG_From_int((result
));
19004 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19008 PyObject
* obj0
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "country", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19016 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19017 if (SWIG_arg_fail(1)) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19036 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19040 PyObject
* obj0
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "cal", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19048 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19049 if (SWIG_arg_fail(1)) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_From_int((int)(result
));
19068 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "year", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19079 arg1
= (int)(SWIG_As_int(obj0
));
19080 if (SWIG_arg_fail(1)) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= SWIG_From_int((int)(result
));
19098 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19101 wxDateTime::Month result
;
19102 PyObject
* obj0
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "cal", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19110 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19111 if (SWIG_arg_fail(1)) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= SWIG_From_int((result
));
19128 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 int arg1
= (int) wxDateTime::Inv_Year
;
19131 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "year",(char *) "cal", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 arg1
= (int)(SWIG_As_int(obj0
));
19143 if (SWIG_arg_fail(1)) SWIG_fail
;
19148 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19149 if (SWIG_arg_fail(2)) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19168 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 int arg1
= (int) wxDateTime::Inv_Year
;
19172 PyObject
* obj0
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "year", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19180 arg1
= (int)(SWIG_As_int(obj0
));
19181 if (SWIG_arg_fail(1)) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (int)wxDateTime::GetCentury(arg1
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_From_int((int)(result
));
19200 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19203 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "year",(char *) "cal", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 arg1
= (int)(SWIG_As_int(obj0
));
19214 if (SWIG_arg_fail(1)) SWIG_fail
;
19218 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19219 if (SWIG_arg_fail(2)) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_From_int((int)(result
));
19238 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxDateTime::Month arg1
;
19241 int arg2
= (int) wxDateTime::Inv_Year
;
19242 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 PyObject
* obj2
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "month",(char *) "year",(char *) "cal", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19253 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19254 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 arg2
= (int)(SWIG_As_int(obj1
));
19259 if (SWIG_arg_fail(2)) SWIG_fail
;
19264 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19265 if (SWIG_arg_fail(3)) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= SWIG_From_int((int)(result
));
19284 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxDateTime::Month arg1
;
19287 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "month",(char *) "flags", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19297 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19298 if (SWIG_arg_fail(1)) SWIG_fail
;
19302 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19303 if (SWIG_arg_fail(2)) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19326 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxDateTime::WeekDay arg1
;
19329 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19331 PyObject
* obj0
= 0 ;
19332 PyObject
* obj1
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "weekday",(char *) "flags", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19340 if (SWIG_arg_fail(1)) SWIG_fail
;
19344 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19345 if (SWIG_arg_fail(2)) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19368 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19371 char *kwnames
[] = {
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (PyObject
*)DateTime_GetAmPmStrings();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= result
;
19390 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 int arg1
= (int) wxDateTime::Inv_Year
;
19393 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "year",(char *) "country", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 arg1
= (int)(SWIG_As_int(obj0
));
19405 if (SWIG_arg_fail(1)) SWIG_fail
;
19410 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19411 if (SWIG_arg_fail(2)) SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19430 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 int arg1
= (int) wxDateTime::Inv_Year
;
19433 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "year",(char *) "country", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19444 arg1
= (int)(SWIG_As_int(obj0
));
19445 if (SWIG_arg_fail(1)) SWIG_fail
;
19450 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19451 if (SWIG_arg_fail(2)) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19462 wxDateTime
* resultptr
;
19463 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19472 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 int arg1
= (int) wxDateTime::Inv_Year
;
19475 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "year",(char *) "country", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19486 arg1
= (int)(SWIG_As_int(obj0
));
19487 if (SWIG_arg_fail(1)) SWIG_fail
;
19492 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19493 if (SWIG_arg_fail(2)) SWIG_fail
;
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19500 wxPyEndAllowThreads(__tstate
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19504 wxDateTime
* resultptr
;
19505 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19514 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19515 PyObject
*resultobj
;
19517 char *kwnames
[] = {
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= wxDateTime::Now();
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19530 wxDateTime
* resultptr
;
19531 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19540 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19543 char *kwnames
[] = {
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 result
= wxDateTime::UNow();
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19556 wxDateTime
* resultptr
;
19557 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19566 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19569 char *kwnames
[] = {
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 result
= wxDateTime::Today();
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19582 wxDateTime
* resultptr
;
19583 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19592 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxDateTime
*result
;
19595 char *kwnames
[] = {
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxDateTime
*)new wxDateTime();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19614 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19617 wxDateTime
*result
;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "timet", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19625 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19626 if (SWIG_arg_fail(1)) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (wxDateTime
*)new wxDateTime(arg1
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19642 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19645 wxDateTime
*result
;
19646 PyObject
* obj0
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "jdn", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19653 arg1
= (double)(SWIG_As_double(obj0
));
19654 if (SWIG_arg_fail(1)) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (wxDateTime
*)new wxDateTime(arg1
);
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19670 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
;
19673 int arg2
= (int) 0 ;
19674 int arg3
= (int) 0 ;
19675 int arg4
= (int) 0 ;
19676 wxDateTime
*result
;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 PyObject
* obj2
= 0 ;
19680 PyObject
* obj3
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19687 arg1
= (int)(SWIG_As_int(obj0
));
19688 if (SWIG_arg_fail(1)) SWIG_fail
;
19692 arg2
= (int)(SWIG_As_int(obj1
));
19693 if (SWIG_arg_fail(2)) SWIG_fail
;
19698 arg3
= (int)(SWIG_As_int(obj2
));
19699 if (SWIG_arg_fail(3)) SWIG_fail
;
19704 arg4
= (int)(SWIG_As_int(obj3
));
19705 if (SWIG_arg_fail(4)) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19722 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19725 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19726 int arg3
= (int) wxDateTime::Inv_Year
;
19727 int arg4
= (int) 0 ;
19728 int arg5
= (int) 0 ;
19729 int arg6
= (int) 0 ;
19730 int arg7
= (int) 0 ;
19731 wxDateTime
*result
;
19732 PyObject
* obj0
= 0 ;
19733 PyObject
* obj1
= 0 ;
19734 PyObject
* obj2
= 0 ;
19735 PyObject
* obj3
= 0 ;
19736 PyObject
* obj4
= 0 ;
19737 PyObject
* obj5
= 0 ;
19738 PyObject
* obj6
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19745 arg1
= (int)(SWIG_As_int(obj0
));
19746 if (SWIG_arg_fail(1)) SWIG_fail
;
19750 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19751 if (SWIG_arg_fail(2)) SWIG_fail
;
19756 arg3
= (int)(SWIG_As_int(obj2
));
19757 if (SWIG_arg_fail(3)) SWIG_fail
;
19762 arg4
= (int)(SWIG_As_int(obj3
));
19763 if (SWIG_arg_fail(4)) SWIG_fail
;
19768 arg5
= (int)(SWIG_As_int(obj4
));
19769 if (SWIG_arg_fail(5)) SWIG_fail
;
19774 arg6
= (int)(SWIG_As_int(obj5
));
19775 if (SWIG_arg_fail(6)) SWIG_fail
;
19780 arg7
= (int)(SWIG_As_int(obj6
));
19781 if (SWIG_arg_fail(7)) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19798 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19826 wxDateTime
*result
;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19834 if (SWIG_arg_fail(1)) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19839 result
= (wxDateTime
*) &_result_ref
;
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19852 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
;
19854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19856 wxDateTime
*result
;
19857 PyObject
* obj0
= 0 ;
19858 PyObject
* obj1
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self",(char *) "timet", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19865 if (SWIG_arg_fail(1)) SWIG_fail
;
19867 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19868 if (SWIG_arg_fail(2)) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19874 result
= (wxDateTime
*) &_result_ref
;
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19887 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19891 wxDateTime
*result
;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self",(char *) "jdn", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail
;
19902 arg2
= (double)(SWIG_As_double(obj1
));
19903 if (SWIG_arg_fail(2)) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19909 result
= (wxDateTime
*) &_result_ref
;
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19922 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19926 int arg3
= (int) 0 ;
19927 int arg4
= (int) 0 ;
19928 int arg5
= (int) 0 ;
19929 wxDateTime
*result
;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 PyObject
* obj2
= 0 ;
19933 PyObject
* obj3
= 0 ;
19934 PyObject
* obj4
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19941 if (SWIG_arg_fail(1)) SWIG_fail
;
19943 arg2
= (int)(SWIG_As_int(obj1
));
19944 if (SWIG_arg_fail(2)) SWIG_fail
;
19948 arg3
= (int)(SWIG_As_int(obj2
));
19949 if (SWIG_arg_fail(3)) SWIG_fail
;
19954 arg4
= (int)(SWIG_As_int(obj3
));
19955 if (SWIG_arg_fail(4)) SWIG_fail
;
19960 arg5
= (int)(SWIG_As_int(obj4
));
19961 if (SWIG_arg_fail(5)) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19968 result
= (wxDateTime
*) &_result_ref
;
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19981 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
;
19983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19985 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19986 int arg4
= (int) wxDateTime::Inv_Year
;
19987 int arg5
= (int) 0 ;
19988 int arg6
= (int) 0 ;
19989 int arg7
= (int) 0 ;
19990 int arg8
= (int) 0 ;
19991 wxDateTime
*result
;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 PyObject
* obj2
= 0 ;
19995 PyObject
* obj3
= 0 ;
19996 PyObject
* obj4
= 0 ;
19997 PyObject
* obj5
= 0 ;
19998 PyObject
* obj6
= 0 ;
19999 PyObject
* obj7
= 0 ;
20000 char *kwnames
[] = {
20001 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20006 if (SWIG_arg_fail(1)) SWIG_fail
;
20008 arg2
= (int)(SWIG_As_int(obj1
));
20009 if (SWIG_arg_fail(2)) SWIG_fail
;
20013 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20014 if (SWIG_arg_fail(3)) SWIG_fail
;
20019 arg4
= (int)(SWIG_As_int(obj3
));
20020 if (SWIG_arg_fail(4)) SWIG_fail
;
20025 arg5
= (int)(SWIG_As_int(obj4
));
20026 if (SWIG_arg_fail(5)) SWIG_fail
;
20031 arg6
= (int)(SWIG_As_int(obj5
));
20032 if (SWIG_arg_fail(6)) SWIG_fail
;
20037 arg7
= (int)(SWIG_As_int(obj6
));
20038 if (SWIG_arg_fail(7)) SWIG_fail
;
20043 arg8
= (int)(SWIG_As_int(obj7
));
20044 if (SWIG_arg_fail(8)) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20051 result
= (wxDateTime
*) &_result_ref
;
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20064 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20067 wxDateTime
*result
;
20068 PyObject
* obj0
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20075 if (SWIG_arg_fail(1)) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20080 result
= (wxDateTime
*) &_result_ref
;
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20093 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20097 wxDateTime
*result
;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self",(char *) "year", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20106 if (SWIG_arg_fail(1)) SWIG_fail
;
20108 arg2
= (int)(SWIG_As_int(obj1
));
20109 if (SWIG_arg_fail(2)) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20115 result
= (wxDateTime
*) &_result_ref
;
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20128 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20131 wxDateTime::Month arg2
;
20132 wxDateTime
*result
;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self",(char *) "month", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail
;
20143 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20144 if (SWIG_arg_fail(2)) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20150 result
= (wxDateTime
*) &_result_ref
;
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20163 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20167 wxDateTime
*result
;
20168 PyObject
* obj0
= 0 ;
20169 PyObject
* obj1
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self",(char *) "day", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20176 if (SWIG_arg_fail(1)) SWIG_fail
;
20178 arg2
= (int)(SWIG_As_int(obj1
));
20179 if (SWIG_arg_fail(2)) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20185 result
= (wxDateTime
*) &_result_ref
;
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20198 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20202 wxDateTime
*result
;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self",(char *) "hour", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail
;
20213 arg2
= (int)(SWIG_As_int(obj1
));
20214 if (SWIG_arg_fail(2)) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20220 result
= (wxDateTime
*) &_result_ref
;
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20233 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20237 wxDateTime
*result
;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self",(char *) "minute", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20246 if (SWIG_arg_fail(1)) SWIG_fail
;
20248 arg2
= (int)(SWIG_As_int(obj1
));
20249 if (SWIG_arg_fail(2)) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20255 result
= (wxDateTime
*) &_result_ref
;
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20268 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20272 wxDateTime
*result
;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self",(char *) "second", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20281 if (SWIG_arg_fail(1)) SWIG_fail
;
20283 arg2
= (int)(SWIG_As_int(obj1
));
20284 if (SWIG_arg_fail(2)) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20290 result
= (wxDateTime
*) &_result_ref
;
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20303 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20307 wxDateTime
*result
;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "millisecond", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20316 if (SWIG_arg_fail(1)) SWIG_fail
;
20318 arg2
= (int)(SWIG_As_int(obj1
));
20319 if (SWIG_arg_fail(2)) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20325 result
= (wxDateTime
*) &_result_ref
;
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20338 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20341 wxDateTime::WeekDay arg2
;
20342 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20343 wxDateTime
*result
;
20344 PyObject
* obj0
= 0 ;
20345 PyObject
* obj1
= 0 ;
20346 PyObject
* obj2
= 0 ;
20347 char *kwnames
[] = {
20348 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20353 if (SWIG_arg_fail(1)) SWIG_fail
;
20355 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20356 if (SWIG_arg_fail(2)) SWIG_fail
;
20360 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20361 if (SWIG_arg_fail(3)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20368 result
= (wxDateTime
*) &_result_ref
;
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20381 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20384 wxDateTime::WeekDay arg2
;
20385 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 PyObject
* obj2
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail
;
20398 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20399 if (SWIG_arg_fail(2)) SWIG_fail
;
20403 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20404 if (SWIG_arg_fail(3)) SWIG_fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 wxDateTime
* resultptr
;
20416 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20425 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20428 wxDateTime::WeekDay arg2
;
20429 wxDateTime
*result
;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self",(char *) "weekday", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20438 if (SWIG_arg_fail(1)) SWIG_fail
;
20440 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20441 if (SWIG_arg_fail(2)) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20447 result
= (wxDateTime
*) &_result_ref
;
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20460 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20463 wxDateTime::WeekDay arg2
;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self",(char *) "weekday", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail
;
20475 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20476 if (SWIG_arg_fail(2)) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20486 wxDateTime
* resultptr
;
20487 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20496 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20499 wxDateTime::WeekDay arg2
;
20500 wxDateTime
*result
;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "weekday", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20512 if (SWIG_arg_fail(2)) SWIG_fail
;
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20518 result
= (wxDateTime
*) &_result_ref
;
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20531 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20534 wxDateTime::WeekDay arg2
;
20536 PyObject
* obj0
= 0 ;
20537 PyObject
* obj1
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self",(char *) "weekday", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail
;
20546 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20547 if (SWIG_arg_fail(2)) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20557 wxDateTime
* resultptr
;
20558 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20567 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20570 wxDateTime::WeekDay arg2
;
20571 int arg3
= (int) 1 ;
20572 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20573 int arg5
= (int) wxDateTime::Inv_Year
;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 PyObject
* obj2
= 0 ;
20578 PyObject
* obj3
= 0 ;
20579 PyObject
* obj4
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20589 if (SWIG_arg_fail(2)) SWIG_fail
;
20593 arg3
= (int)(SWIG_As_int(obj2
));
20594 if (SWIG_arg_fail(3)) SWIG_fail
;
20599 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20600 if (SWIG_arg_fail(4)) SWIG_fail
;
20605 arg5
= (int)(SWIG_As_int(obj4
));
20606 if (SWIG_arg_fail(5)) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20625 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20628 wxDateTime::WeekDay arg2
;
20629 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20630 int arg4
= (int) wxDateTime::Inv_Year
;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 PyObject
* obj2
= 0 ;
20635 PyObject
* obj3
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20642 if (SWIG_arg_fail(1)) SWIG_fail
;
20644 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20645 if (SWIG_arg_fail(2)) SWIG_fail
;
20649 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20650 if (SWIG_arg_fail(3)) SWIG_fail
;
20655 arg4
= (int)(SWIG_As_int(obj3
));
20656 if (SWIG_arg_fail(4)) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20675 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20678 wxDateTime::WeekDay arg2
;
20679 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20680 int arg4
= (int) wxDateTime::Inv_Year
;
20682 PyObject
* obj0
= 0 ;
20683 PyObject
* obj1
= 0 ;
20684 PyObject
* obj2
= 0 ;
20685 PyObject
* obj3
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20692 if (SWIG_arg_fail(1)) SWIG_fail
;
20694 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20695 if (SWIG_arg_fail(2)) SWIG_fail
;
20699 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20700 if (SWIG_arg_fail(3)) SWIG_fail
;
20705 arg4
= (int)(SWIG_As_int(obj3
));
20706 if (SWIG_arg_fail(4)) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 wxDateTime
* resultptr
;
20718 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20727 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20731 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20732 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20734 PyObject
* obj0
= 0 ;
20735 PyObject
* obj1
= 0 ;
20736 PyObject
* obj2
= 0 ;
20737 PyObject
* obj3
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20744 if (SWIG_arg_fail(1)) SWIG_fail
;
20746 arg2
= (int)(SWIG_As_int(obj1
));
20747 if (SWIG_arg_fail(2)) SWIG_fail
;
20751 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20752 if (SWIG_arg_fail(3)) SWIG_fail
;
20757 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20758 if (SWIG_arg_fail(4)) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20777 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20781 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20782 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 PyObject
* obj2
= 0 ;
20787 PyObject
* obj3
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20794 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 arg2
= (int)(SWIG_As_int(obj1
));
20797 if (SWIG_arg_fail(2)) SWIG_fail
;
20801 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20802 if (SWIG_arg_fail(3)) SWIG_fail
;
20807 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20808 if (SWIG_arg_fail(4)) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20819 wxDateTime
* resultptr
;
20820 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20829 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20833 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 PyObject
* obj2
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20844 arg1
= (int)(SWIG_As_int(obj0
));
20845 if (SWIG_arg_fail(1)) SWIG_fail
;
20848 arg2
= (int)(SWIG_As_int(obj1
));
20849 if (SWIG_arg_fail(2)) SWIG_fail
;
20853 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20854 if (SWIG_arg_fail(3)) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 wxDateTime
* resultptr
;
20866 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20875 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20878 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20879 int arg3
= (int) wxDateTime::Inv_Year
;
20880 wxDateTime
*result
;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 PyObject
* obj2
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self",(char *) "month",(char *) "year", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20890 if (SWIG_arg_fail(1)) SWIG_fail
;
20893 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20894 if (SWIG_arg_fail(2)) SWIG_fail
;
20899 arg3
= (int)(SWIG_As_int(obj2
));
20900 if (SWIG_arg_fail(3)) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20907 result
= (wxDateTime
*) &_result_ref
;
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20920 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20923 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20924 int arg3
= (int) wxDateTime::Inv_Year
;
20926 PyObject
* obj0
= 0 ;
20927 PyObject
* obj1
= 0 ;
20928 PyObject
* obj2
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self",(char *) "month",(char *) "year", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20935 if (SWIG_arg_fail(1)) SWIG_fail
;
20938 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20939 if (SWIG_arg_fail(2)) SWIG_fail
;
20944 arg3
= (int)(SWIG_As_int(obj2
));
20945 if (SWIG_arg_fail(3)) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 wxDateTime
* resultptr
;
20957 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20966 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20970 wxDateTime
*result
;
20971 PyObject
* obj0
= 0 ;
20972 PyObject
* obj1
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "self",(char *) "yday", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20979 if (SWIG_arg_fail(1)) SWIG_fail
;
20981 arg2
= (int)(SWIG_As_int(obj1
));
20982 if (SWIG_arg_fail(2)) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20988 result
= (wxDateTime
*) &_result_ref
;
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21001 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 PyObject
* obj1
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self",(char *) "yday", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21014 if (SWIG_arg_fail(1)) SWIG_fail
;
21016 arg2
= (int)(SWIG_As_int(obj1
));
21017 if (SWIG_arg_fail(2)) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= (arg1
)->GetYearDay(arg2
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21027 wxDateTime
* resultptr
;
21028 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21037 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21041 PyObject
* obj0
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21048 if (SWIG_arg_fail(1)) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (double)(arg1
)->GetJulianDayNumber();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= SWIG_From_double((double)(result
));
21065 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21076 if (SWIG_arg_fail(1)) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (double)(arg1
)->GetJDN();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= SWIG_From_double((double)(result
));
21093 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
;
21095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21097 PyObject
* obj0
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21104 if (SWIG_arg_fail(1)) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_From_double((double)(result
));
21121 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21132 if (SWIG_arg_fail(1)) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (double)(arg1
)->GetMJD();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= SWIG_From_double((double)(result
));
21149 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21153 PyObject
* obj0
= 0 ;
21154 char *kwnames
[] = {
21155 (char *) "self", NULL
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21160 if (SWIG_arg_fail(1)) SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= (double)(arg1
)->GetRataDie();
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_From_double((double)(result
));
21177 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21180 wxDateTime::TimeZone
*arg2
= 0 ;
21181 bool arg3
= (bool) false ;
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_ToTimezone",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();
21206 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21212 wxDateTime
* resultptr
;
21213 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21217 if (temp2
) delete arg2
;
21222 if (temp2
) delete arg2
;
21228 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21231 wxDateTime::TimeZone
*arg2
= 0 ;
21232 bool arg3
= (bool) false ;
21233 wxDateTime
*result
;
21234 bool temp2
= false ;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 PyObject
* obj2
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21244 if (SWIG_arg_fail(1)) SWIG_fail
;
21246 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21251 arg3
= (bool)(SWIG_As_bool(obj2
));
21252 if (SWIG_arg_fail(3)) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21259 result
= (wxDateTime
*) &_result_ref
;
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21267 if (temp2
) delete arg2
;
21272 if (temp2
) delete arg2
;
21278 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21281 bool arg2
= (bool) false ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "noDST", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21291 if (SWIG_arg_fail(1)) SWIG_fail
;
21294 arg2
= (bool)(SWIG_As_bool(obj1
));
21295 if (SWIG_arg_fail(2)) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (arg1
)->ToGMT(arg2
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21306 wxDateTime
* resultptr
;
21307 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21316 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
;
21318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21319 bool arg2
= (bool) false ;
21320 wxDateTime
*result
;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "noDST", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21329 if (SWIG_arg_fail(1)) SWIG_fail
;
21332 arg2
= (bool)(SWIG_As_bool(obj1
));
21333 if (SWIG_arg_fail(2)) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21340 result
= (wxDateTime
*) &_result_ref
;
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21353 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21356 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self",(char *) "country", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21366 if (SWIG_arg_fail(1)) SWIG_fail
;
21369 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21370 if (SWIG_arg_fail(2)) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_From_int((int)(result
));
21389 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21417 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21445 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21448 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21449 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21451 bool temp2
= false ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "tz", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21460 if (SWIG_arg_fail(1)) SWIG_fail
;
21463 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= SWIG_From_int((int)(result
));
21478 if (temp2
) delete arg2
;
21483 if (temp2
) delete arg2
;
21489 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
;
21491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21492 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21493 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21494 wxDateTime::Month result
;
21495 bool temp2
= false ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self",(char *) "tz", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21504 if (SWIG_arg_fail(1)) SWIG_fail
;
21507 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= SWIG_From_int((result
));
21520 if (temp2
) delete arg2
;
21525 if (temp2
) delete arg2
;
21531 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21534 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21535 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21537 bool temp2
= false ;
21538 PyObject
* obj0
= 0 ;
21539 PyObject
* obj1
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self",(char *) "tz", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail
;
21549 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= SWIG_From_int((int)(result
));
21564 if (temp2
) delete arg2
;
21569 if (temp2
) delete arg2
;
21575 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
;
21577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21578 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21579 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21580 wxDateTime::WeekDay result
;
21581 bool temp2
= false ;
21582 PyObject
* obj0
= 0 ;
21583 PyObject
* obj1
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self",(char *) "tz", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21590 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_From_int((result
));
21606 if (temp2
) delete arg2
;
21611 if (temp2
) delete arg2
;
21617 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21620 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21621 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21623 bool temp2
= false ;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "tz", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail
;
21635 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= SWIG_From_int((int)(result
));
21650 if (temp2
) delete arg2
;
21655 if (temp2
) delete arg2
;
21661 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21664 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21665 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21667 bool temp2
= false ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "tz", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail
;
21679 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21691 resultobj
= SWIG_From_int((int)(result
));
21694 if (temp2
) delete arg2
;
21699 if (temp2
) delete arg2
;
21705 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21708 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21709 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21711 bool temp2
= false ;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self",(char *) "tz", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail
;
21723 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= SWIG_From_int((int)(result
));
21738 if (temp2
) delete arg2
;
21743 if (temp2
) delete arg2
;
21749 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21752 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21753 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21755 bool temp2
= false ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "tz", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21764 if (SWIG_arg_fail(1)) SWIG_fail
;
21767 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_From_int((int)(result
));
21782 if (temp2
) delete arg2
;
21787 if (temp2
) delete arg2
;
21793 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21796 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21797 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21799 bool temp2
= false ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "tz", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail
;
21811 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= SWIG_From_int((int)(result
));
21826 if (temp2
) delete arg2
;
21831 if (temp2
) delete arg2
;
21837 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21840 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21841 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21842 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21844 bool temp3
= false ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 PyObject
* obj2
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "flags",(char *) "tz", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21854 if (SWIG_arg_fail(1)) SWIG_fail
;
21857 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21858 if (SWIG_arg_fail(2)) SWIG_fail
;
21863 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= SWIG_From_int((int)(result
));
21878 if (temp3
) delete arg3
;
21883 if (temp3
) delete arg3
;
21889 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21892 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21893 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21894 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21896 bool temp3
= false ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 PyObject
* obj2
= 0 ;
21900 char *kwnames
[] = {
21901 (char *) "self",(char *) "flags",(char *) "tz", NULL
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21906 if (SWIG_arg_fail(1)) SWIG_fail
;
21909 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21910 if (SWIG_arg_fail(2)) SWIG_fail
;
21915 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= SWIG_From_int((int)(result
));
21930 if (temp3
) delete arg3
;
21935 if (temp3
) delete arg3
;
21941 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21944 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "country", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21957 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21958 if (SWIG_arg_fail(2)) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21977 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21980 wxDateTime
*arg2
= 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "datetime", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21990 if (SWIG_arg_fail(1)) SWIG_fail
;
21992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21993 if (SWIG_arg_fail(2)) SWIG_fail
;
21994 if (arg2
== NULL
) {
21995 SWIG_null_ref("wxDateTime");
21997 if (SWIG_arg_fail(2)) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22015 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22018 wxDateTime
*arg2
= 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self",(char *) "datetime", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22028 if (SWIG_arg_fail(1)) SWIG_fail
;
22030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22031 if (SWIG_arg_fail(2)) SWIG_fail
;
22032 if (arg2
== NULL
) {
22033 SWIG_null_ref("wxDateTime");
22035 if (SWIG_arg_fail(2)) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22056 wxDateTime
*arg2
= 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "datetime", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22066 if (SWIG_arg_fail(1)) SWIG_fail
;
22068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22069 if (SWIG_arg_fail(2)) SWIG_fail
;
22070 if (arg2
== NULL
) {
22071 SWIG_null_ref("wxDateTime");
22073 if (SWIG_arg_fail(2)) SWIG_fail
;
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22091 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22094 wxDateTime
*arg2
= 0 ;
22095 wxDateTime
*arg3
= 0 ;
22097 PyObject
* obj0
= 0 ;
22098 PyObject
* obj1
= 0 ;
22099 PyObject
* obj2
= 0 ;
22100 char *kwnames
[] = {
22101 (char *) "self",(char *) "t1",(char *) "t2", NULL
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22106 if (SWIG_arg_fail(1)) SWIG_fail
;
22108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22109 if (SWIG_arg_fail(2)) SWIG_fail
;
22110 if (arg2
== NULL
) {
22111 SWIG_null_ref("wxDateTime");
22113 if (SWIG_arg_fail(2)) SWIG_fail
;
22116 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22117 if (SWIG_arg_fail(3)) SWIG_fail
;
22118 if (arg3
== NULL
) {
22119 SWIG_null_ref("wxDateTime");
22121 if (SWIG_arg_fail(3)) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22139 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22142 wxDateTime
*arg2
= 0 ;
22143 wxDateTime
*arg3
= 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 PyObject
* obj2
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self",(char *) "t1",(char *) "t2", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22154 if (SWIG_arg_fail(1)) SWIG_fail
;
22156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22157 if (SWIG_arg_fail(2)) SWIG_fail
;
22158 if (arg2
== NULL
) {
22159 SWIG_null_ref("wxDateTime");
22161 if (SWIG_arg_fail(2)) SWIG_fail
;
22164 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22165 if (SWIG_arg_fail(3)) SWIG_fail
;
22166 if (arg3
== NULL
) {
22167 SWIG_null_ref("wxDateTime");
22169 if (SWIG_arg_fail(3)) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22187 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22190 wxDateTime
*arg2
= 0 ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 char *kwnames
[] = {
22195 (char *) "self",(char *) "dt", NULL
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22200 if (SWIG_arg_fail(1)) SWIG_fail
;
22202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22203 if (SWIG_arg_fail(2)) SWIG_fail
;
22204 if (arg2
== NULL
) {
22205 SWIG_null_ref("wxDateTime");
22207 if (SWIG_arg_fail(2)) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22225 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
;
22227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22228 wxDateTime
*arg2
= 0 ;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self",(char *) "dt", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22238 if (SWIG_arg_fail(1)) SWIG_fail
;
22240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22241 if (SWIG_arg_fail(2)) SWIG_fail
;
22242 if (arg2
== NULL
) {
22243 SWIG_null_ref("wxDateTime");
22245 if (SWIG_arg_fail(2)) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22263 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22266 wxDateTime
*arg2
= 0 ;
22267 wxTimeSpan
*arg3
= 0 ;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 PyObject
* obj2
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self",(char *) "dt",(char *) "ts", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22278 if (SWIG_arg_fail(1)) SWIG_fail
;
22280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22281 if (SWIG_arg_fail(2)) SWIG_fail
;
22282 if (arg2
== NULL
) {
22283 SWIG_null_ref("wxDateTime");
22285 if (SWIG_arg_fail(2)) SWIG_fail
;
22288 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22289 if (SWIG_arg_fail(3)) SWIG_fail
;
22290 if (arg3
== NULL
) {
22291 SWIG_null_ref("wxTimeSpan");
22293 if (SWIG_arg_fail(3)) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22311 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22314 wxTimeSpan
*arg2
= 0 ;
22315 wxDateTime
*result
;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self",(char *) "diff", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail
;
22326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(2)) SWIG_fail
;
22328 if (arg2
== NULL
) {
22329 SWIG_null_ref("wxTimeSpan");
22331 if (SWIG_arg_fail(2)) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22337 result
= (wxDateTime
*) &_result_ref
;
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22350 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22353 wxDateSpan
*arg2
= 0 ;
22354 wxDateTime
*result
;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self",(char *) "diff", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail
;
22365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22366 if (SWIG_arg_fail(2)) SWIG_fail
;
22367 if (arg2
== NULL
) {
22368 SWIG_null_ref("wxDateSpan");
22370 if (SWIG_arg_fail(2)) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22376 result
= (wxDateTime
*) &_result_ref
;
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22389 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22392 wxTimeSpan
*arg2
= 0 ;
22393 wxDateTime
*result
;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self",(char *) "diff", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22402 if (SWIG_arg_fail(1)) SWIG_fail
;
22404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22405 if (SWIG_arg_fail(2)) SWIG_fail
;
22406 if (arg2
== NULL
) {
22407 SWIG_null_ref("wxTimeSpan");
22409 if (SWIG_arg_fail(2)) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22415 result
= (wxDateTime
*) &_result_ref
;
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22428 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22431 wxDateSpan
*arg2
= 0 ;
22432 wxDateTime
*result
;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "diff", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22441 if (SWIG_arg_fail(1)) SWIG_fail
;
22443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(2)) SWIG_fail
;
22445 if (arg2
== NULL
) {
22446 SWIG_null_ref("wxDateSpan");
22448 if (SWIG_arg_fail(2)) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22454 result
= (wxDateTime
*) &_result_ref
;
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22467 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
;
22469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22470 wxDateTime
*arg2
= 0 ;
22472 PyObject
* obj0
= 0 ;
22473 PyObject
* obj1
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self",(char *) "dt", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22480 if (SWIG_arg_fail(1)) SWIG_fail
;
22482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22483 if (SWIG_arg_fail(2)) SWIG_fail
;
22484 if (arg2
== NULL
) {
22485 SWIG_null_ref("wxDateTime");
22487 if (SWIG_arg_fail(2)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22497 wxTimeSpan
* resultptr
;
22498 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22507 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22508 PyObject
*resultobj
;
22509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22510 wxTimeSpan
*arg2
= 0 ;
22511 wxDateTime
*result
;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22515 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22517 if (SWIG_arg_fail(1)) SWIG_fail
;
22519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22520 if (SWIG_arg_fail(2)) SWIG_fail
;
22521 if (arg2
== NULL
) {
22522 SWIG_null_ref("wxTimeSpan");
22524 if (SWIG_arg_fail(2)) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22530 result
= (wxDateTime
*) &_result_ref
;
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22543 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22544 PyObject
*resultobj
;
22545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22546 wxDateSpan
*arg2
= 0 ;
22547 wxDateTime
*result
;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22551 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22553 if (SWIG_arg_fail(1)) SWIG_fail
;
22555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22556 if (SWIG_arg_fail(2)) SWIG_fail
;
22557 if (arg2
== NULL
) {
22558 SWIG_null_ref("wxDateSpan");
22560 if (SWIG_arg_fail(2)) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22566 result
= (wxDateTime
*) &_result_ref
;
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22579 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22584 argc
= PyObject_Length(args
);
22585 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22586 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22592 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22602 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22610 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22618 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22628 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22636 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22641 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22646 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22647 PyObject
*resultobj
;
22648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22649 wxTimeSpan
*arg2
= 0 ;
22650 wxDateTime
*result
;
22651 PyObject
* obj0
= 0 ;
22652 PyObject
* obj1
= 0 ;
22654 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22656 if (SWIG_arg_fail(1)) SWIG_fail
;
22658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22659 if (SWIG_arg_fail(2)) SWIG_fail
;
22660 if (arg2
== NULL
) {
22661 SWIG_null_ref("wxTimeSpan");
22663 if (SWIG_arg_fail(2)) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22669 result
= (wxDateTime
*) &_result_ref
;
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22682 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22683 PyObject
*resultobj
;
22684 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22685 wxDateSpan
*arg2
= 0 ;
22686 wxDateTime
*result
;
22687 PyObject
* obj0
= 0 ;
22688 PyObject
* obj1
= 0 ;
22690 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22692 if (SWIG_arg_fail(1)) SWIG_fail
;
22694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22695 if (SWIG_arg_fail(2)) SWIG_fail
;
22696 if (arg2
== NULL
) {
22697 SWIG_null_ref("wxDateSpan");
22699 if (SWIG_arg_fail(2)) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22705 result
= (wxDateTime
*) &_result_ref
;
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22718 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22723 argc
= PyObject_Length(args
);
22724 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22725 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22731 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22741 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22749 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22757 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22767 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22775 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22780 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22785 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22786 PyObject
*resultobj
;
22787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22788 wxTimeSpan
*arg2
= 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22793 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22795 if (SWIG_arg_fail(1)) SWIG_fail
;
22797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22798 if (SWIG_arg_fail(2)) SWIG_fail
;
22799 if (arg2
== NULL
) {
22800 SWIG_null_ref("wxTimeSpan");
22802 if (SWIG_arg_fail(2)) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22812 wxDateTime
* resultptr
;
22813 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22822 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22823 PyObject
*resultobj
;
22824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22825 wxDateSpan
*arg2
= 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22830 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22832 if (SWIG_arg_fail(1)) SWIG_fail
;
22834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22835 if (SWIG_arg_fail(2)) SWIG_fail
;
22836 if (arg2
== NULL
) {
22837 SWIG_null_ref("wxDateSpan");
22839 if (SWIG_arg_fail(2)) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 wxDateTime
* resultptr
;
22850 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22859 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22864 argc
= PyObject_Length(args
);
22865 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22866 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22872 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22882 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22890 return _wrap_DateTime___add____SWIG_0(self
,args
);
22898 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22908 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22916 return _wrap_DateTime___add____SWIG_1(self
,args
);
22921 Py_INCREF(Py_NotImplemented
);
22922 return Py_NotImplemented
;
22926 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22927 PyObject
*resultobj
;
22928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22929 wxDateTime
*arg2
= 0 ;
22931 PyObject
* obj0
= 0 ;
22932 PyObject
* obj1
= 0 ;
22934 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22936 if (SWIG_arg_fail(1)) SWIG_fail
;
22938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22939 if (SWIG_arg_fail(2)) SWIG_fail
;
22940 if (arg2
== NULL
) {
22941 SWIG_null_ref("wxDateTime");
22943 if (SWIG_arg_fail(2)) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22953 wxTimeSpan
* resultptr
;
22954 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22963 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22964 PyObject
*resultobj
;
22965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22966 wxTimeSpan
*arg2
= 0 ;
22968 PyObject
* obj0
= 0 ;
22969 PyObject
* obj1
= 0 ;
22971 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22973 if (SWIG_arg_fail(1)) SWIG_fail
;
22975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22976 if (SWIG_arg_fail(2)) SWIG_fail
;
22977 if (arg2
== NULL
) {
22978 SWIG_null_ref("wxTimeSpan");
22980 if (SWIG_arg_fail(2)) SWIG_fail
;
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22986 wxPyEndAllowThreads(__tstate
);
22987 if (PyErr_Occurred()) SWIG_fail
;
22990 wxDateTime
* resultptr
;
22991 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23000 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23001 PyObject
*resultobj
;
23002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23003 wxDateSpan
*arg2
= 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23008 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23010 if (SWIG_arg_fail(1)) SWIG_fail
;
23012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23013 if (SWIG_arg_fail(2)) SWIG_fail
;
23014 if (arg2
== NULL
) {
23015 SWIG_null_ref("wxDateSpan");
23017 if (SWIG_arg_fail(2)) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 wxDateTime
* resultptr
;
23028 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23037 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23042 argc
= PyObject_Length(args
);
23043 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23044 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23050 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23060 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23068 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23076 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23086 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23094 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23102 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23112 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23120 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23125 Py_INCREF(Py_NotImplemented
);
23126 return Py_NotImplemented
;
23130 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23133 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 PyObject
* obj1
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self",(char *) "other", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23143 if (SWIG_arg_fail(1)) SWIG_fail
;
23144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23145 if (SWIG_arg_fail(2)) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23162 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23165 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23167 PyObject
* obj0
= 0 ;
23168 PyObject
* obj1
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self",(char *) "other", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23175 if (SWIG_arg_fail(1)) SWIG_fail
;
23176 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23177 if (SWIG_arg_fail(2)) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23194 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23197 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "other", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23207 if (SWIG_arg_fail(1)) SWIG_fail
;
23208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23209 if (SWIG_arg_fail(2)) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23226 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23229 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self",(char *) "other", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23239 if (SWIG_arg_fail(1)) SWIG_fail
;
23240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23241 if (SWIG_arg_fail(2)) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23258 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23261 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 char *kwnames
[] = {
23266 (char *) "self",(char *) "other", NULL
23269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23271 if (SWIG_arg_fail(1)) SWIG_fail
;
23272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23273 if (SWIG_arg_fail(2)) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23290 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23293 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self",(char *) "other", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23303 if (SWIG_arg_fail(1)) SWIG_fail
;
23304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23305 if (SWIG_arg_fail(2)) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23322 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23325 wxString
*arg2
= 0 ;
23327 bool temp2
= false ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "date", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23336 if (SWIG_arg_fail(1)) SWIG_fail
;
23338 arg2
= wxString_in_helper(obj1
);
23339 if (arg2
== NULL
) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_From_int((int)(result
));
23366 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23369 wxString
*arg2
= 0 ;
23370 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23371 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23372 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23373 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23375 bool temp2
= false ;
23376 bool temp3
= false ;
23377 PyObject
* obj0
= 0 ;
23378 PyObject
* obj1
= 0 ;
23379 PyObject
* obj2
= 0 ;
23380 PyObject
* obj3
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
23395 arg3
= wxString_in_helper(obj2
);
23396 if (arg3
== NULL
) SWIG_fail
;
23402 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23403 if (SWIG_arg_fail(4)) SWIG_fail
;
23404 if (arg4
== NULL
) {
23405 SWIG_null_ref("wxDateTime");
23407 if (SWIG_arg_fail(4)) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_From_int((int)(result
));
23442 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23445 wxString
*arg2
= 0 ;
23447 bool temp2
= false ;
23448 PyObject
* obj0
= 0 ;
23449 PyObject
* obj1
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self",(char *) "datetime", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23456 if (SWIG_arg_fail(1)) SWIG_fail
;
23458 arg2
= wxString_in_helper(obj1
);
23459 if (arg2
== NULL
) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_From_int((int)(result
));
23486 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
;
23488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23489 wxString
*arg2
= 0 ;
23491 bool temp2
= false ;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self",(char *) "date", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail
;
23502 arg2
= wxString_in_helper(obj1
);
23503 if (arg2
== NULL
) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= SWIG_From_int((int)(result
));
23530 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23533 wxString
*arg2
= 0 ;
23535 bool temp2
= false ;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self",(char *) "time", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23544 if (SWIG_arg_fail(1)) SWIG_fail
;
23546 arg2
= wxString_in_helper(obj1
);
23547 if (arg2
== NULL
) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_From_int((int)(result
));
23574 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
;
23576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23577 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23578 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23579 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23580 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23582 bool temp2
= false ;
23583 bool temp3
= false ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 PyObject
* obj2
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self",(char *) "format",(char *) "tz", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23593 if (SWIG_arg_fail(1)) SWIG_fail
;
23596 arg2
= wxString_in_helper(obj1
);
23597 if (arg2
== NULL
) SWIG_fail
;
23603 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23626 if (temp3
) delete arg3
;
23635 if (temp3
) delete arg3
;
23641 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23652 if (SWIG_arg_fail(1)) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23673 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23677 PyObject
* obj0
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23684 if (SWIG_arg_fail(1)) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23705 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23709 PyObject
* obj0
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23716 if (SWIG_arg_fail(1)) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23737 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23741 PyObject
* obj0
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23748 if (SWIG_arg_fail(1)) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23769 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23772 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23774 return Py_BuildValue((char *)"");
23776 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
;
23780 PyObject
* obj0
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "sec", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23787 arg1
= (long)(SWIG_As_long(obj0
));
23788 if (SWIG_arg_fail(1)) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= wxTimeSpan::Seconds(arg1
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23798 wxTimeSpan
* resultptr
;
23799 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23808 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23811 char *kwnames
[] = {
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= wxTimeSpan::Second();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 wxTimeSpan
* resultptr
;
23825 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23834 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
;
23838 PyObject
* obj0
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "min", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23845 arg1
= (long)(SWIG_As_long(obj0
));
23846 if (SWIG_arg_fail(1)) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= wxTimeSpan::Minutes(arg1
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23856 wxTimeSpan
* resultptr
;
23857 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23866 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
;
23869 char *kwnames
[] = {
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= wxTimeSpan::Minute();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23882 wxTimeSpan
* resultptr
;
23883 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23892 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23896 PyObject
* obj0
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "hours", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23903 arg1
= (long)(SWIG_As_long(obj0
));
23904 if (SWIG_arg_fail(1)) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= wxTimeSpan::Hours(arg1
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23914 wxTimeSpan
* resultptr
;
23915 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23924 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23927 char *kwnames
[] = {
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= wxTimeSpan::Hour();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 wxTimeSpan
* resultptr
;
23941 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23950 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
;
23954 PyObject
* obj0
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "days", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23961 arg1
= (long)(SWIG_As_long(obj0
));
23962 if (SWIG_arg_fail(1)) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= wxTimeSpan::Days(arg1
);
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23972 wxTimeSpan
* resultptr
;
23973 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23982 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23985 char *kwnames
[] = {
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= wxTimeSpan::Day();
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23998 wxTimeSpan
* resultptr
;
23999 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24008 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24012 PyObject
* obj0
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "days", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24019 arg1
= (long)(SWIG_As_long(obj0
));
24020 if (SWIG_arg_fail(1)) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= wxTimeSpan::Weeks(arg1
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 wxTimeSpan
* resultptr
;
24031 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24040 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24043 char *kwnames
[] = {
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= wxTimeSpan::Week();
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24056 wxTimeSpan
* resultptr
;
24057 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24066 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 long arg1
= (long) 0 ;
24069 long arg2
= (long) 0 ;
24070 long arg3
= (long) 0 ;
24071 long arg4
= (long) 0 ;
24072 wxTimeSpan
*result
;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 PyObject
* obj2
= 0 ;
24076 PyObject
* obj3
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24084 arg1
= (long)(SWIG_As_long(obj0
));
24085 if (SWIG_arg_fail(1)) SWIG_fail
;
24090 arg2
= (long)(SWIG_As_long(obj1
));
24091 if (SWIG_arg_fail(2)) SWIG_fail
;
24096 arg3
= (long)(SWIG_As_long(obj2
));
24097 if (SWIG_arg_fail(3)) SWIG_fail
;
24102 arg4
= (long)(SWIG_As_long(obj3
));
24103 if (SWIG_arg_fail(4)) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24120 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24130 if (SWIG_arg_fail(1)) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 Py_INCREF(Py_None
); resultobj
= Py_None
;
24145 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24147 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24148 wxTimeSpan
*arg2
= 0 ;
24149 wxTimeSpan
*result
;
24150 PyObject
* obj0
= 0 ;
24151 PyObject
* obj1
= 0 ;
24152 char *kwnames
[] = {
24153 (char *) "self",(char *) "diff", NULL
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24158 if (SWIG_arg_fail(1)) SWIG_fail
;
24160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24161 if (SWIG_arg_fail(2)) SWIG_fail
;
24162 if (arg2
== NULL
) {
24163 SWIG_null_ref("wxTimeSpan");
24165 if (SWIG_arg_fail(2)) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24171 result
= (wxTimeSpan
*) &_result_ref
;
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24184 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24187 wxTimeSpan
*arg2
= 0 ;
24188 wxTimeSpan
*result
;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self",(char *) "diff", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24197 if (SWIG_arg_fail(1)) SWIG_fail
;
24199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24200 if (SWIG_arg_fail(2)) SWIG_fail
;
24201 if (arg2
== NULL
) {
24202 SWIG_null_ref("wxTimeSpan");
24204 if (SWIG_arg_fail(2)) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24210 result
= (wxTimeSpan
*) &_result_ref
;
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24223 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24227 wxTimeSpan
*result
;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 char *kwnames
[] = {
24231 (char *) "self",(char *) "n", NULL
24234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24236 if (SWIG_arg_fail(1)) SWIG_fail
;
24238 arg2
= (int)(SWIG_As_int(obj1
));
24239 if (SWIG_arg_fail(2)) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24245 result
= (wxTimeSpan
*) &_result_ref
;
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24258 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
;
24260 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24261 wxTimeSpan
*result
;
24262 PyObject
* obj0
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24269 if (SWIG_arg_fail(1)) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24274 result
= (wxTimeSpan
*) &_result_ref
;
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24287 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24291 PyObject
* obj0
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24298 if (SWIG_arg_fail(1)) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24307 wxTimeSpan
* resultptr
;
24308 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24317 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
;
24319 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24320 wxTimeSpan
*arg2
= 0 ;
24321 wxTimeSpan
*result
;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self",(char *) "diff", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24330 if (SWIG_arg_fail(1)) SWIG_fail
;
24332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24333 if (SWIG_arg_fail(2)) SWIG_fail
;
24334 if (arg2
== NULL
) {
24335 SWIG_null_ref("wxTimeSpan");
24337 if (SWIG_arg_fail(2)) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24343 result
= (wxTimeSpan
*) &_result_ref
;
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24356 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24359 wxTimeSpan
*arg2
= 0 ;
24360 wxTimeSpan
*result
;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "diff", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24369 if (SWIG_arg_fail(1)) SWIG_fail
;
24371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24372 if (SWIG_arg_fail(2)) SWIG_fail
;
24373 if (arg2
== NULL
) {
24374 SWIG_null_ref("wxTimeSpan");
24376 if (SWIG_arg_fail(2)) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24382 result
= (wxTimeSpan
*) &_result_ref
;
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24395 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24399 wxTimeSpan
*result
;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self",(char *) "n", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24408 if (SWIG_arg_fail(1)) SWIG_fail
;
24410 arg2
= (int)(SWIG_As_int(obj1
));
24411 if (SWIG_arg_fail(2)) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24417 result
= (wxTimeSpan
*) &_result_ref
;
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24430 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24433 wxTimeSpan
*result
;
24434 PyObject
* obj0
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24441 if (SWIG_arg_fail(1)) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24446 result
= (wxTimeSpan
*) &_result_ref
;
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24459 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24462 wxTimeSpan
*arg2
= 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "other", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail
;
24474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24475 if (SWIG_arg_fail(2)) SWIG_fail
;
24476 if (arg2
== NULL
) {
24477 SWIG_null_ref("wxTimeSpan");
24479 if (SWIG_arg_fail(2)) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 wxTimeSpan
* resultptr
;
24490 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24499 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24502 wxTimeSpan
*arg2
= 0 ;
24504 PyObject
* obj0
= 0 ;
24505 PyObject
* obj1
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self",(char *) "other", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24512 if (SWIG_arg_fail(1)) SWIG_fail
;
24514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(2)) SWIG_fail
;
24516 if (arg2
== NULL
) {
24517 SWIG_null_ref("wxTimeSpan");
24519 if (SWIG_arg_fail(2)) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24529 wxTimeSpan
* resultptr
;
24530 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24539 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "n", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24552 if (SWIG_arg_fail(1)) SWIG_fail
;
24554 arg2
= (int)(SWIG_As_int(obj1
));
24555 if (SWIG_arg_fail(2)) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= wxTimeSpan___mul__(arg1
,arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24565 wxTimeSpan
* resultptr
;
24566 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24575 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "n", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail
;
24590 arg2
= (int)(SWIG_As_int(obj1
));
24591 if (SWIG_arg_fail(2)) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 wxTimeSpan
* resultptr
;
24602 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24611 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24613 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24614 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self",(char *) "other", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24624 if (SWIG_arg_fail(1)) SWIG_fail
;
24625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24626 if (SWIG_arg_fail(2)) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24643 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24646 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24648 PyObject
* obj0
= 0 ;
24649 PyObject
* obj1
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self",(char *) "other", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24656 if (SWIG_arg_fail(1)) SWIG_fail
;
24657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24658 if (SWIG_arg_fail(2)) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24675 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
;
24677 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24678 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24680 PyObject
* obj0
= 0 ;
24681 PyObject
* obj1
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "self",(char *) "other", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24688 if (SWIG_arg_fail(1)) SWIG_fail
;
24689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24690 if (SWIG_arg_fail(2)) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24707 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24710 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "other", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail
;
24721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24722 if (SWIG_arg_fail(2)) SWIG_fail
;
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24739 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24742 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "other", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24752 if (SWIG_arg_fail(1)) SWIG_fail
;
24753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24754 if (SWIG_arg_fail(2)) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24771 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24774 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self",(char *) "other", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24784 if (SWIG_arg_fail(1)) SWIG_fail
;
24785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24786 if (SWIG_arg_fail(2)) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24803 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24814 if (SWIG_arg_fail(1)) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24831 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24842 if (SWIG_arg_fail(1)) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24859 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24870 if (SWIG_arg_fail(1)) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24887 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24890 wxTimeSpan
*arg2
= 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "ts", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24900 if (SWIG_arg_fail(1)) SWIG_fail
;
24902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24903 if (SWIG_arg_fail(2)) SWIG_fail
;
24904 if (arg2
== NULL
) {
24905 SWIG_null_ref("wxTimeSpan");
24907 if (SWIG_arg_fail(2)) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24925 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24928 wxTimeSpan
*arg2
= 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "ts", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24938 if (SWIG_arg_fail(1)) SWIG_fail
;
24940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(2)) SWIG_fail
;
24942 if (arg2
== NULL
) {
24943 SWIG_null_ref("wxTimeSpan");
24945 if (SWIG_arg_fail(2)) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24963 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24966 wxTimeSpan
*arg2
= 0 ;
24968 PyObject
* obj0
= 0 ;
24969 PyObject
* obj1
= 0 ;
24970 char *kwnames
[] = {
24971 (char *) "self",(char *) "t", NULL
24974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24976 if (SWIG_arg_fail(1)) SWIG_fail
;
24978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24979 if (SWIG_arg_fail(2)) SWIG_fail
;
24980 if (arg2
== NULL
) {
24981 SWIG_null_ref("wxTimeSpan");
24983 if (SWIG_arg_fail(2)) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25001 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25005 PyObject
* obj0
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25012 if (SWIG_arg_fail(1)) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_From_int((int)(result
));
25029 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25033 PyObject
* obj0
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25040 if (SWIG_arg_fail(1)) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= SWIG_From_int((int)(result
));
25057 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= SWIG_From_int((int)(result
));
25085 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25096 if (SWIG_arg_fail(1)) SWIG_fail
;
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25105 resultobj
= SWIG_From_int((int)(result
));
25113 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25124 if (SWIG_arg_fail(1)) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25134 hi
= PyLong_FromLong( (&result
)->GetHi() );
25135 lo
= PyLong_FromLong( (&result
)->GetLo() );
25136 shifter
= PyLong_FromLong(32);
25137 shifted
= PyNumber_Lshift(hi
, shifter
);
25138 resultobj
= PyNumber_Or(shifted
, lo
);
25141 Py_DECREF(shifter
);
25142 Py_DECREF(shifted
);
25150 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25154 PyObject
* obj0
= 0 ;
25155 char *kwnames
[] = {
25156 (char *) "self", NULL
25159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25161 if (SWIG_arg_fail(1)) SWIG_fail
;
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25170 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25171 hi
= PyLong_FromLong( (&result
)->GetHi() );
25172 lo
= PyLong_FromLong( (&result
)->GetLo() );
25173 shifter
= PyLong_FromLong(32);
25174 shifted
= PyNumber_Lshift(hi
, shifter
);
25175 resultobj
= PyNumber_Or(shifted
, lo
);
25178 Py_DECREF(shifter
);
25179 Py_DECREF(shifted
);
25187 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
;
25189 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25190 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25191 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25193 bool temp2
= false ;
25194 PyObject
* obj0
= 0 ;
25195 PyObject
* obj1
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "self",(char *) "format", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25202 if (SWIG_arg_fail(1)) SWIG_fail
;
25205 arg2
= wxString_in_helper(obj1
);
25206 if (arg2
== NULL
) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25238 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25241 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25243 return Py_BuildValue((char *)"");
25245 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 int arg1
= (int) 0 ;
25248 int arg2
= (int) 0 ;
25249 int arg3
= (int) 0 ;
25250 int arg4
= (int) 0 ;
25251 wxDateSpan
*result
;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj2
= 0 ;
25255 PyObject
* obj3
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25263 arg1
= (int)(SWIG_As_int(obj0
));
25264 if (SWIG_arg_fail(1)) SWIG_fail
;
25269 arg2
= (int)(SWIG_As_int(obj1
));
25270 if (SWIG_arg_fail(2)) SWIG_fail
;
25275 arg3
= (int)(SWIG_As_int(obj2
));
25276 if (SWIG_arg_fail(3)) SWIG_fail
;
25281 arg4
= (int)(SWIG_As_int(obj3
));
25282 if (SWIG_arg_fail(4)) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25299 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
;
25301 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25302 PyObject
* obj0
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25309 if (SWIG_arg_fail(1)) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 Py_INCREF(Py_None
); resultobj
= Py_None
;
25324 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
;
25328 PyObject
* obj0
= 0 ;
25329 char *kwnames
[] = {
25330 (char *) "days", NULL
25333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25335 arg1
= (int)(SWIG_As_int(obj0
));
25336 if (SWIG_arg_fail(1)) SWIG_fail
;
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 result
= wxDateSpan::Days(arg1
);
25342 wxPyEndAllowThreads(__tstate
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25346 wxDateSpan
* resultptr
;
25347 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25356 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
;
25359 char *kwnames
[] = {
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 result
= wxDateSpan::Day();
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25372 wxDateSpan
* resultptr
;
25373 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25382 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "weeks", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25393 arg1
= (int)(SWIG_As_int(obj0
));
25394 if (SWIG_arg_fail(1)) SWIG_fail
;
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= wxDateSpan::Weeks(arg1
);
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25404 wxDateSpan
* resultptr
;
25405 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25414 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25415 PyObject
*resultobj
;
25417 char *kwnames
[] = {
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= wxDateSpan::Week();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 wxDateSpan
* resultptr
;
25431 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25440 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25444 PyObject
* obj0
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "mon", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25451 arg1
= (int)(SWIG_As_int(obj0
));
25452 if (SWIG_arg_fail(1)) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= wxDateSpan::Months(arg1
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25462 wxDateSpan
* resultptr
;
25463 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25472 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
;
25475 char *kwnames
[] = {
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= wxDateSpan::Month();
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25488 wxDateSpan
* resultptr
;
25489 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25498 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
;
25502 PyObject
* obj0
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "years", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25509 arg1
= (int)(SWIG_As_int(obj0
));
25510 if (SWIG_arg_fail(1)) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= wxDateSpan::Years(arg1
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25520 wxDateSpan
* resultptr
;
25521 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25530 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25533 char *kwnames
[] = {
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 result
= wxDateSpan::Year();
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25546 wxDateSpan
* resultptr
;
25547 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25556 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25560 wxDateSpan
*result
;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self",(char *) "n", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25569 if (SWIG_arg_fail(1)) SWIG_fail
;
25571 arg2
= (int)(SWIG_As_int(obj1
));
25572 if (SWIG_arg_fail(2)) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25578 result
= (wxDateSpan
*) &_result_ref
;
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25591 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
;
25593 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25595 wxDateSpan
*result
;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "n", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25604 if (SWIG_arg_fail(1)) SWIG_fail
;
25606 arg2
= (int)(SWIG_As_int(obj1
));
25607 if (SWIG_arg_fail(2)) SWIG_fail
;
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25613 result
= (wxDateSpan
*) &_result_ref
;
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25626 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25628 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25630 wxDateSpan
*result
;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "self",(char *) "n", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25639 if (SWIG_arg_fail(1)) SWIG_fail
;
25641 arg2
= (int)(SWIG_As_int(obj1
));
25642 if (SWIG_arg_fail(2)) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25648 result
= (wxDateSpan
*) &_result_ref
;
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25661 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25665 wxDateSpan
*result
;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self",(char *) "n", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25674 if (SWIG_arg_fail(1)) SWIG_fail
;
25676 arg2
= (int)(SWIG_As_int(obj1
));
25677 if (SWIG_arg_fail(2)) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25683 result
= (wxDateSpan
*) &_result_ref
;
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25696 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25700 PyObject
* obj0
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25707 if (SWIG_arg_fail(1)) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_From_int((int)(result
));
25724 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 char *kwnames
[] = {
25730 (char *) "self", NULL
25733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25735 if (SWIG_arg_fail(1)) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= SWIG_From_int((int)(result
));
25752 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= SWIG_From_int((int)(result
));
25780 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25784 PyObject
* obj0
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= SWIG_From_int((int)(result
));
25808 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
;
25810 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25812 PyObject
* obj0
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_From_int((int)(result
));
25836 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25839 wxDateSpan
*arg2
= 0 ;
25840 wxDateSpan
*result
;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "other", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25849 if (SWIG_arg_fail(1)) SWIG_fail
;
25851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25852 if (SWIG_arg_fail(2)) SWIG_fail
;
25853 if (arg2
== NULL
) {
25854 SWIG_null_ref("wxDateSpan");
25856 if (SWIG_arg_fail(2)) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25862 result
= (wxDateSpan
*) &_result_ref
;
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25875 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25878 wxDateSpan
*arg2
= 0 ;
25879 wxDateSpan
*result
;
25880 PyObject
* obj0
= 0 ;
25881 PyObject
* obj1
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self",(char *) "other", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25888 if (SWIG_arg_fail(1)) SWIG_fail
;
25890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25891 if (SWIG_arg_fail(2)) SWIG_fail
;
25892 if (arg2
== NULL
) {
25893 SWIG_null_ref("wxDateSpan");
25895 if (SWIG_arg_fail(2)) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25901 result
= (wxDateSpan
*) &_result_ref
;
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25914 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25917 wxDateSpan
*result
;
25918 PyObject
* obj0
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25925 if (SWIG_arg_fail(1)) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25930 result
= (wxDateSpan
*) &_result_ref
;
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25943 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25947 wxDateSpan
*result
;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj1
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self",(char *) "factor", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25956 if (SWIG_arg_fail(1)) SWIG_fail
;
25958 arg2
= (int)(SWIG_As_int(obj1
));
25959 if (SWIG_arg_fail(2)) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25965 result
= (wxDateSpan
*) &_result_ref
;
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25978 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25981 wxDateSpan
*arg2
= 0 ;
25982 wxDateSpan
*result
;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 char *kwnames
[] = {
25986 (char *) "self",(char *) "other", NULL
25989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25991 if (SWIG_arg_fail(1)) SWIG_fail
;
25993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25994 if (SWIG_arg_fail(2)) SWIG_fail
;
25995 if (arg2
== NULL
) {
25996 SWIG_null_ref("wxDateSpan");
25998 if (SWIG_arg_fail(2)) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26004 result
= (wxDateSpan
*) &_result_ref
;
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26017 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26018 PyObject
*resultobj
;
26019 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26020 wxDateSpan
*arg2
= 0 ;
26021 wxDateSpan
*result
;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 char *kwnames
[] = {
26025 (char *) "self",(char *) "other", NULL
26028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26030 if (SWIG_arg_fail(1)) SWIG_fail
;
26032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26033 if (SWIG_arg_fail(2)) SWIG_fail
;
26034 if (arg2
== NULL
) {
26035 SWIG_null_ref("wxDateSpan");
26037 if (SWIG_arg_fail(2)) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26043 result
= (wxDateSpan
*) &_result_ref
;
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26056 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
;
26058 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26059 wxDateSpan
*result
;
26060 PyObject
* obj0
= 0 ;
26061 char *kwnames
[] = {
26062 (char *) "self", NULL
26065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26067 if (SWIG_arg_fail(1)) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26072 result
= (wxDateSpan
*) &_result_ref
;
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26085 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
;
26087 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26089 wxDateSpan
*result
;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 char *kwnames
[] = {
26093 (char *) "self",(char *) "factor", NULL
26096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26098 if (SWIG_arg_fail(1)) SWIG_fail
;
26100 arg2
= (int)(SWIG_As_int(obj1
));
26101 if (SWIG_arg_fail(2)) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26107 result
= (wxDateSpan
*) &_result_ref
;
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26120 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26123 wxDateSpan
*arg2
= 0 ;
26125 PyObject
* obj0
= 0 ;
26126 PyObject
* obj1
= 0 ;
26127 char *kwnames
[] = {
26128 (char *) "self",(char *) "other", NULL
26131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26133 if (SWIG_arg_fail(1)) SWIG_fail
;
26135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26136 if (SWIG_arg_fail(2)) SWIG_fail
;
26137 if (arg2
== NULL
) {
26138 SWIG_null_ref("wxDateSpan");
26140 if (SWIG_arg_fail(2)) SWIG_fail
;
26143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26150 wxDateSpan
* resultptr
;
26151 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26160 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
;
26162 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26163 wxDateSpan
*arg2
= 0 ;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self",(char *) "other", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26173 if (SWIG_arg_fail(1)) SWIG_fail
;
26175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26176 if (SWIG_arg_fail(2)) SWIG_fail
;
26177 if (arg2
== NULL
) {
26178 SWIG_null_ref("wxDateSpan");
26180 if (SWIG_arg_fail(2)) SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26190 wxDateSpan
* resultptr
;
26191 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26200 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 PyObject
* obj1
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self",(char *) "n", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail
;
26215 arg2
= (int)(SWIG_As_int(obj1
));
26216 if (SWIG_arg_fail(2)) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 result
= wxDateSpan___mul__(arg1
,arg2
);
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 wxDateSpan
* resultptr
;
26227 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26236 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26241 PyObject
* obj0
= 0 ;
26242 PyObject
* obj1
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self",(char *) "n", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26249 if (SWIG_arg_fail(1)) SWIG_fail
;
26251 arg2
= (int)(SWIG_As_int(obj1
));
26252 if (SWIG_arg_fail(2)) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= wxDateSpan___rmul__(arg1
,arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 wxDateSpan
* resultptr
;
26263 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26272 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26275 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "other", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26287 if (SWIG_arg_fail(2)) SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26304 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26307 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "other", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail
;
26318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26319 if (SWIG_arg_fail(2)) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26336 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26339 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26341 return Py_BuildValue((char *)"");
26343 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26346 char *kwnames
[] = {
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (long)wxGetLocalTime();
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= SWIG_From_long((long)(result
));
26367 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26370 char *kwnames
[] = {
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (long)wxGetUTCTime();
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= SWIG_From_long((long)(result
));
26391 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26394 char *kwnames
[] = {
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= (long)wxGetCurrentTime();
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_From_long((long)(result
));
26415 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26418 char *kwnames
[] = {
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= wxGetLocalTimeMillis();
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26431 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26432 hi
= PyLong_FromLong( (&result
)->GetHi() );
26433 lo
= PyLong_FromLong( (&result
)->GetLo() );
26434 shifter
= PyLong_FromLong(32);
26435 shifted
= PyNumber_Lshift(hi
, shifter
);
26436 resultobj
= PyNumber_Or(shifted
, lo
);
26439 Py_DECREF(shifter
);
26440 Py_DECREF(shifted
);
26448 static int _wrap_DefaultDateTime_set(PyObject
*) {
26449 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26454 static PyObject
*_wrap_DefaultDateTime_get(void) {
26457 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26462 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
;
26464 wxDataFormatId arg1
;
26465 wxDataFormat
*result
;
26466 PyObject
* obj0
= 0 ;
26467 char *kwnames
[] = {
26468 (char *) "type", NULL
26471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26473 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26474 if (SWIG_arg_fail(1)) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26490 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
;
26492 wxString
*arg1
= 0 ;
26493 wxDataFormat
*result
;
26494 bool temp1
= false ;
26495 PyObject
* obj0
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "format", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26502 arg1
= wxString_in_helper(obj0
);
26503 if (arg1
== NULL
) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26528 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26531 PyObject
* obj0
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 Py_INCREF(Py_None
); resultobj
= Py_None
;
26553 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26554 PyObject
*resultobj
;
26555 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26556 wxDataFormatId arg2
;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26561 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26563 if (SWIG_arg_fail(1)) SWIG_fail
;
26565 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26566 if (SWIG_arg_fail(2)) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26584 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26585 PyObject
*resultobj
;
26586 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26587 wxDataFormatId arg2
;
26589 PyObject
* obj0
= 0 ;
26590 PyObject
* obj1
= 0 ;
26592 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26594 if (SWIG_arg_fail(1)) SWIG_fail
;
26596 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26597 if (SWIG_arg_fail(2)) SWIG_fail
;
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26615 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26616 PyObject
*resultobj
;
26617 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26618 wxDataFormat
*arg2
= 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26623 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26625 if (SWIG_arg_fail(1)) SWIG_fail
;
26627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26628 if (SWIG_arg_fail(2)) SWIG_fail
;
26629 if (arg2
== NULL
) {
26630 SWIG_null_ref("wxDataFormat");
26632 if (SWIG_arg_fail(2)) SWIG_fail
;
26635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26636 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26650 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26655 argc
= PyObject_Length(args
);
26656 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26657 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26663 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26673 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26681 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26689 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26697 _v
= SWIG_Check_int(argv
[1]);
26699 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26704 Py_INCREF(Py_NotImplemented
);
26705 return Py_NotImplemented
;
26709 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26710 PyObject
*resultobj
;
26711 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26712 wxDataFormat
*arg2
= 0 ;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26717 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26719 if (SWIG_arg_fail(1)) SWIG_fail
;
26721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26722 if (SWIG_arg_fail(2)) SWIG_fail
;
26723 if (arg2
== NULL
) {
26724 SWIG_null_ref("wxDataFormat");
26726 if (SWIG_arg_fail(2)) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26744 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26749 argc
= PyObject_Length(args
);
26750 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26751 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26757 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26767 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26775 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26783 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26791 _v
= SWIG_Check_int(argv
[1]);
26793 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26798 Py_INCREF(Py_NotImplemented
);
26799 return Py_NotImplemented
;
26803 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
;
26805 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26806 wxDataFormatId arg2
;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self",(char *) "format", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26817 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26818 if (SWIG_arg_fail(2)) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 (arg1
)->SetType((wxDataFormatId
)arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 Py_INCREF(Py_None
); resultobj
= Py_None
;
26834 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26837 wxDataFormatId result
;
26838 PyObject
* obj0
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26845 if (SWIG_arg_fail(1)) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_From_int((result
));
26860 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
;
26862 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26864 PyObject
* obj0
= 0 ;
26865 char *kwnames
[] = {
26866 (char *) "self", NULL
26869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26871 if (SWIG_arg_fail(1)) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= ((wxDataFormat
const *)arg1
)->GetId();
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26892 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26895 wxString
*arg2
= 0 ;
26896 bool temp2
= false ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self",(char *) "format", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26905 if (SWIG_arg_fail(1)) SWIG_fail
;
26907 arg2
= wxString_in_helper(obj1
);
26908 if (arg2
== NULL
) SWIG_fail
;
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 (arg1
)->SetId((wxString
const &)*arg2
);
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26918 Py_INCREF(Py_None
); resultobj
= Py_None
;
26933 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26936 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26938 return Py_BuildValue((char *)"");
26940 static int _wrap_FormatInvalid_set(PyObject
*) {
26941 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26946 static PyObject
*_wrap_FormatInvalid_get(void) {
26949 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26954 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
;
26956 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26972 Py_INCREF(Py_None
); resultobj
= Py_None
;
26979 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
;
26981 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26982 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26983 SwigValueWrapper
<wxDataFormat
> result
;
26984 PyObject
* obj0
= 0 ;
26985 PyObject
* obj1
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self",(char *) "dir", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26992 if (SWIG_arg_fail(1)) SWIG_fail
;
26995 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26996 if (SWIG_arg_fail(2)) SWIG_fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27007 wxDataFormat
* resultptr
;
27008 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27017 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27020 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self",(char *) "dir", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail
;
27033 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27034 if (SWIG_arg_fail(2)) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27053 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27056 wxDataFormat
*arg2
= 0 ;
27057 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27059 PyObject
* obj0
= 0 ;
27060 PyObject
* obj1
= 0 ;
27061 PyObject
* obj2
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self",(char *) "format",(char *) "dir", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27068 if (SWIG_arg_fail(1)) SWIG_fail
;
27070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(2)) SWIG_fail
;
27072 if (arg2
== NULL
) {
27073 SWIG_null_ref("wxDataFormat");
27075 if (SWIG_arg_fail(2)) SWIG_fail
;
27079 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27080 if (SWIG_arg_fail(3)) SWIG_fail
;
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27099 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27102 wxDataFormat
*arg2
= 0 ;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 char *kwnames
[] = {
27107 (char *) "self",(char *) "format", NULL
27110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27112 if (SWIG_arg_fail(1)) SWIG_fail
;
27114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27115 if (SWIG_arg_fail(2)) SWIG_fail
;
27116 if (arg2
== NULL
) {
27117 SWIG_null_ref("wxDataFormat");
27119 if (SWIG_arg_fail(2)) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27137 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27140 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "dir", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail
;
27153 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27154 if (SWIG_arg_fail(2)) SWIG_fail
;
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= result
;
27171 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
;
27173 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27174 wxDataFormat
*arg2
= 0 ;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj1
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "format", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27184 if (SWIG_arg_fail(1)) SWIG_fail
;
27186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27187 if (SWIG_arg_fail(2)) SWIG_fail
;
27188 if (arg2
== NULL
) {
27189 SWIG_null_ref("wxDataFormat");
27191 if (SWIG_arg_fail(2)) SWIG_fail
;
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= result
;
27207 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27210 wxDataFormat
*arg2
= 0 ;
27211 PyObject
*arg3
= (PyObject
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 PyObject
* obj2
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self",(char *) "format",(char *) "data", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail
;
27224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27225 if (SWIG_arg_fail(2)) SWIG_fail
;
27226 if (arg2
== NULL
) {
27227 SWIG_null_ref("wxDataFormat");
27229 if (SWIG_arg_fail(2)) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27248 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27251 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27253 return Py_BuildValue((char *)"");
27255 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27258 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27259 wxDataObjectSimple
*result
;
27260 PyObject
* obj0
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "format", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27269 if (SWIG_arg_fail(1)) SWIG_fail
;
27270 if (arg1
== NULL
) {
27271 SWIG_null_ref("wxDataFormat");
27273 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27290 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
;
27292 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27293 wxDataFormat
*result
;
27294 PyObject
* obj0
= 0 ;
27295 char *kwnames
[] = {
27296 (char *) "self", NULL
27299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27301 if (SWIG_arg_fail(1)) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27306 result
= (wxDataFormat
*) &_result_ref
;
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27319 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27322 wxDataFormat
*arg2
= 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "format", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail
;
27333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27334 if (SWIG_arg_fail(2)) SWIG_fail
;
27335 if (arg2
== NULL
) {
27336 SWIG_null_ref("wxDataFormat");
27338 if (SWIG_arg_fail(2)) SWIG_fail
;
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 Py_INCREF(Py_None
); resultobj
= Py_None
;
27354 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27358 PyObject
* obj0
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27365 if (SWIG_arg_fail(1)) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27382 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27386 PyObject
* obj0
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= result
;
27408 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27409 PyObject
*resultobj
;
27410 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27411 PyObject
*arg2
= (PyObject
*) 0 ;
27413 PyObject
* obj0
= 0 ;
27414 PyObject
* obj1
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self",(char *) "data", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27421 if (SWIG_arg_fail(1)) SWIG_fail
;
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27439 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27442 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27444 return Py_BuildValue((char *)"");
27446 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
;
27448 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27449 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27450 wxPyDataObjectSimple
*result
;
27451 PyObject
* obj0
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "format", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27460 if (SWIG_arg_fail(1)) SWIG_fail
;
27461 if (arg1
== NULL
) {
27462 SWIG_null_ref("wxDataFormat");
27464 if (SWIG_arg_fail(1)) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27481 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27484 PyObject
*arg2
= (PyObject
*) 0 ;
27485 PyObject
*arg3
= (PyObject
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 PyObject
* obj2
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "self",(char *) "_class", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27495 if (SWIG_arg_fail(1)) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 Py_INCREF(Py_None
); resultobj
= Py_None
;
27512 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27515 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27517 return Py_BuildValue((char *)"");
27519 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27521 wxDataObjectComposite
*result
;
27522 char *kwnames
[] = {
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27541 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27544 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27545 bool arg3
= (bool) false ;
27546 PyObject
* obj0
= 0 ;
27547 PyObject
* obj1
= 0 ;
27548 PyObject
* obj2
= 0 ;
27549 char *kwnames
[] = {
27550 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27555 if (SWIG_arg_fail(1)) SWIG_fail
;
27556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27557 if (SWIG_arg_fail(2)) SWIG_fail
;
27560 arg3
= (bool)(SWIG_As_bool(obj2
));
27561 if (SWIG_arg_fail(3)) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 (arg1
)->Add(arg2
,arg3
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 Py_INCREF(Py_None
); resultobj
= Py_None
;
27578 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27581 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27583 return Py_BuildValue((char *)"");
27585 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27588 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27589 wxTextDataObject
*result
;
27590 bool temp1
= false ;
27591 PyObject
* obj0
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "text", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27599 arg1
= wxString_in_helper(obj0
);
27600 if (arg1
== NULL
) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27626 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27637 if (SWIG_arg_fail(1)) SWIG_fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (size_t)(arg1
)->GetTextLength();
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27654 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 char *kwnames
[] = {
27660 (char *) "self", NULL
27663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27665 if (SWIG_arg_fail(1)) SWIG_fail
;
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 result
= (arg1
)->GetText();
27670 wxPyEndAllowThreads(__tstate
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27686 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
;
27688 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27689 wxString
*arg2
= 0 ;
27690 bool temp2
= false ;
27691 PyObject
* obj0
= 0 ;
27692 PyObject
* obj1
= 0 ;
27693 char *kwnames
[] = {
27694 (char *) "self",(char *) "text", NULL
27697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27699 if (SWIG_arg_fail(1)) SWIG_fail
;
27701 arg2
= wxString_in_helper(obj1
);
27702 if (arg2
== NULL
) SWIG_fail
;
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 (arg1
)->SetText((wxString
const &)*arg2
);
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 Py_INCREF(Py_None
); resultobj
= Py_None
;
27727 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27730 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27732 return Py_BuildValue((char *)"");
27734 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27737 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27738 wxPyTextDataObject
*result
;
27739 bool temp1
= false ;
27740 PyObject
* obj0
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "text", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27748 arg1
= wxString_in_helper(obj0
);
27749 if (arg1
== NULL
) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27775 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27778 PyObject
*arg2
= (PyObject
*) 0 ;
27779 PyObject
*arg3
= (PyObject
*) 0 ;
27780 PyObject
* obj0
= 0 ;
27781 PyObject
* obj1
= 0 ;
27782 PyObject
* obj2
= 0 ;
27783 char *kwnames
[] = {
27784 (char *) "self",(char *) "self",(char *) "_class", NULL
27787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27789 if (SWIG_arg_fail(1)) SWIG_fail
;
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27799 Py_INCREF(Py_None
); resultobj
= Py_None
;
27806 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27809 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27811 return Py_BuildValue((char *)"");
27813 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27816 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27817 wxBitmapDataObject
*result
;
27818 PyObject
* obj0
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "bitmap", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27827 if (SWIG_arg_fail(1)) SWIG_fail
;
27828 if (arg1
== NULL
) {
27829 SWIG_null_ref("wxBitmap");
27831 if (SWIG_arg_fail(1)) SWIG_fail
;
27835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27836 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27838 wxPyEndAllowThreads(__tstate
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27848 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27849 PyObject
*resultobj
;
27850 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27852 PyObject
* obj0
= 0 ;
27853 char *kwnames
[] = {
27854 (char *) "self", NULL
27857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27859 if (SWIG_arg_fail(1)) SWIG_fail
;
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27868 wxBitmap
* resultptr
;
27869 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27878 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
;
27880 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27881 wxBitmap
*arg2
= 0 ;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 char *kwnames
[] = {
27885 (char *) "self",(char *) "bitmap", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27890 if (SWIG_arg_fail(1)) SWIG_fail
;
27892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27893 if (SWIG_arg_fail(2)) SWIG_fail
;
27894 if (arg2
== NULL
) {
27895 SWIG_null_ref("wxBitmap");
27897 if (SWIG_arg_fail(2)) SWIG_fail
;
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 Py_INCREF(Py_None
); resultobj
= Py_None
;
27913 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27916 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27918 return Py_BuildValue((char *)"");
27920 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27923 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27924 wxPyBitmapDataObject
*result
;
27925 PyObject
* obj0
= 0 ;
27926 char *kwnames
[] = {
27927 (char *) "bitmap", NULL
27930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27934 if (SWIG_arg_fail(1)) SWIG_fail
;
27935 if (arg1
== NULL
) {
27936 SWIG_null_ref("wxBitmap");
27938 if (SWIG_arg_fail(1)) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27955 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27958 PyObject
*arg2
= (PyObject
*) 0 ;
27959 PyObject
*arg3
= (PyObject
*) 0 ;
27960 PyObject
* obj0
= 0 ;
27961 PyObject
* obj1
= 0 ;
27962 PyObject
* obj2
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "self",(char *) "self",(char *) "_class", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27969 if (SWIG_arg_fail(1)) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 Py_INCREF(Py_None
); resultobj
= Py_None
;
27986 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27989 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27991 return Py_BuildValue((char *)"");
27993 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxFileDataObject
*result
;
27996 char *kwnames
[] = {
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= (wxFileDataObject
*)new wxFileDataObject();
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28015 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28018 wxArrayString
*result
;
28019 PyObject
* obj0
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28026 if (SWIG_arg_fail(1)) SWIG_fail
;
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28031 result
= (wxArrayString
*) &_result_ref
;
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= wxArrayString2PyList_helper(*result
);
28046 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28049 wxString
*arg2
= 0 ;
28050 bool temp2
= false ;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "filename", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28059 if (SWIG_arg_fail(1)) SWIG_fail
;
28061 arg2
= wxString_in_helper(obj1
);
28062 if (arg2
== NULL
) SWIG_fail
;
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 (arg1
)->AddFile((wxString
const &)*arg2
);
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28072 Py_INCREF(Py_None
); resultobj
= Py_None
;
28087 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28090 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28092 return Py_BuildValue((char *)"");
28094 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28095 PyObject
*resultobj
;
28096 wxDataFormat
*arg1
= 0 ;
28097 wxCustomDataObject
*result
;
28098 PyObject
* obj0
= 0 ;
28100 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28103 if (SWIG_arg_fail(1)) SWIG_fail
;
28104 if (arg1
== NULL
) {
28105 SWIG_null_ref("wxDataFormat");
28107 if (SWIG_arg_fail(1)) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28123 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28124 PyObject
*resultobj
;
28125 wxString
*arg1
= 0 ;
28126 wxCustomDataObject
*result
;
28127 bool temp1
= false ;
28128 PyObject
* obj0
= 0 ;
28130 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28132 arg1
= wxString_in_helper(obj0
);
28133 if (arg1
== NULL
) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28158 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28159 PyObject
*resultobj
;
28160 wxCustomDataObject
*result
;
28162 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28177 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28182 argc
= PyObject_Length(args
);
28183 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28184 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28187 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28192 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28195 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28202 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28210 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28214 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28219 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28222 PyObject
*arg2
= (PyObject
*) 0 ;
28224 PyObject
* obj0
= 0 ;
28225 PyObject
* obj1
= 0 ;
28226 char *kwnames
[] = {
28227 (char *) "self",(char *) "data", NULL
28230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28232 if (SWIG_arg_fail(1)) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28250 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28254 PyObject
* obj0
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28261 if (SWIG_arg_fail(1)) SWIG_fail
;
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 result
= (size_t)(arg1
)->GetSize();
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28270 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28278 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
;
28280 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28282 PyObject
* obj0
= 0 ;
28283 char *kwnames
[] = {
28284 (char *) "self", NULL
28287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28289 if (SWIG_arg_fail(1)) SWIG_fail
;
28291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28292 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= result
;
28304 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28307 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28309 return Py_BuildValue((char *)"");
28311 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxURLDataObject
*result
;
28314 char *kwnames
[] = {
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 result
= (wxURLDataObject
*)new wxURLDataObject();
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28333 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
;
28335 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28337 PyObject
* obj0
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (arg1
)->GetURL();
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28365 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28368 wxString
*arg2
= 0 ;
28369 bool temp2
= false ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self",(char *) "url", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28378 if (SWIG_arg_fail(1)) SWIG_fail
;
28380 arg2
= wxString_in_helper(obj1
);
28381 if (arg2
== NULL
) SWIG_fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 (arg1
)->SetURL((wxString
const &)*arg2
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 Py_INCREF(Py_None
); resultobj
= Py_None
;
28406 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28409 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28411 return Py_BuildValue((char *)"");
28413 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
;
28415 wxMetafileDataObject
*result
;
28416 char *kwnames
[] = {
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28435 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28436 PyObject
*resultobj
;
28437 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28438 wxMetafile
*arg2
= 0 ;
28439 PyObject
* obj0
= 0 ;
28440 PyObject
* obj1
= 0 ;
28441 char *kwnames
[] = {
28442 (char *) "self",(char *) "metafile", NULL
28445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28447 if (SWIG_arg_fail(1)) SWIG_fail
;
28449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28450 if (SWIG_arg_fail(2)) SWIG_fail
;
28451 if (arg2
== NULL
) {
28452 SWIG_null_ref("wxMetafile");
28454 if (SWIG_arg_fail(2)) SWIG_fail
;
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28463 Py_INCREF(Py_None
); resultobj
= Py_None
;
28470 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28471 PyObject
*resultobj
;
28472 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28474 PyObject
* obj0
= 0 ;
28475 char *kwnames
[] = {
28476 (char *) "self", NULL
28479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28481 if (SWIG_arg_fail(1)) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28490 wxMetafile
* resultptr
;
28491 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28500 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28503 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28505 return Py_BuildValue((char *)"");
28507 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxDragResult arg1
;
28511 PyObject
* obj0
= 0 ;
28512 char *kwnames
[] = {
28513 (char *) "res", NULL
28516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28518 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28519 if (SWIG_arg_fail(1)) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28537 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
;
28539 wxWindow
*arg1
= (wxWindow
*) 0 ;
28540 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28541 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28542 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28543 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28544 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28545 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28546 wxPyDropSource
*result
;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 PyObject
* obj2
= 0 ;
28550 PyObject
* obj3
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail
;
28560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28561 if (SWIG_arg_fail(2)) SWIG_fail
;
28562 if (arg2
== NULL
) {
28563 SWIG_null_ref("wxCursor");
28565 if (SWIG_arg_fail(2)) SWIG_fail
;
28570 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28571 if (SWIG_arg_fail(3)) SWIG_fail
;
28572 if (arg3
== NULL
) {
28573 SWIG_null_ref("wxCursor");
28575 if (SWIG_arg_fail(3)) SWIG_fail
;
28580 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28581 if (SWIG_arg_fail(4)) SWIG_fail
;
28582 if (arg4
== NULL
) {
28583 SWIG_null_ref("wxCursor");
28585 if (SWIG_arg_fail(4)) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28602 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
;
28604 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28605 PyObject
*arg2
= (PyObject
*) 0 ;
28606 PyObject
*arg3
= (PyObject
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 PyObject
* obj2
= 0 ;
28611 PyObject
* obj3
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28618 if (SWIG_arg_fail(1)) SWIG_fail
;
28622 arg4
= (int)(SWIG_As_int(obj3
));
28623 if (SWIG_arg_fail(4)) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 Py_INCREF(Py_None
); resultobj
= Py_None
;
28639 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28642 PyObject
* obj0
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28649 if (SWIG_arg_fail(1)) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 Py_INCREF(Py_None
); resultobj
= Py_None
;
28664 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
;
28666 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28667 wxDataObject
*arg2
= 0 ;
28668 PyObject
* obj0
= 0 ;
28669 PyObject
* obj1
= 0 ;
28670 char *kwnames
[] = {
28671 (char *) "self",(char *) "data", NULL
28674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28676 if (SWIG_arg_fail(1)) SWIG_fail
;
28678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28679 if (SWIG_arg_fail(2)) SWIG_fail
;
28680 if (arg2
== NULL
) {
28681 SWIG_null_ref("wxDataObject");
28683 if (SWIG_arg_fail(2)) SWIG_fail
;
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 (arg1
)->SetData(*arg2
);
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 Py_INCREF(Py_None
); resultobj
= Py_None
;
28699 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28702 wxDataObject
*result
;
28703 PyObject
* obj0
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "self", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28710 if (SWIG_arg_fail(1)) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28725 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28727 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28728 wxDragResult arg2
;
28729 wxCursor
*arg3
= 0 ;
28730 PyObject
* obj0
= 0 ;
28731 PyObject
* obj1
= 0 ;
28732 PyObject
* obj2
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self",(char *) "res",(char *) "cursor", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28739 if (SWIG_arg_fail(1)) SWIG_fail
;
28741 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28742 if (SWIG_arg_fail(2)) SWIG_fail
;
28745 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28746 if (SWIG_arg_fail(3)) SWIG_fail
;
28747 if (arg3
== NULL
) {
28748 SWIG_null_ref("wxCursor");
28750 if (SWIG_arg_fail(3)) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 Py_INCREF(Py_None
); resultobj
= Py_None
;
28766 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28769 int arg2
= (int) wxDrag_CopyOnly
;
28770 wxDragResult result
;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 char *kwnames
[] = {
28774 (char *) "self",(char *) "flags", NULL
28777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28779 if (SWIG_arg_fail(1)) SWIG_fail
;
28782 arg2
= (int)(SWIG_As_int(obj1
));
28783 if (SWIG_arg_fail(2)) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 resultobj
= SWIG_From_int((result
));
28800 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28803 wxDragResult arg2
;
28805 PyObject
* obj0
= 0 ;
28806 PyObject
* obj1
= 0 ;
28807 char *kwnames
[] = {
28808 (char *) "self",(char *) "effect", NULL
28811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28813 if (SWIG_arg_fail(1)) SWIG_fail
;
28815 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28816 if (SWIG_arg_fail(2)) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28834 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28837 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28839 return Py_BuildValue((char *)"");
28841 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
;
28843 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28844 wxPyDropTarget
*result
;
28845 PyObject
* obj0
= 0 ;
28846 char *kwnames
[] = {
28847 (char *) "dataObject", NULL
28850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28853 if (SWIG_arg_fail(1)) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28869 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28872 PyObject
*arg2
= (PyObject
*) 0 ;
28873 PyObject
*arg3
= (PyObject
*) 0 ;
28874 PyObject
* obj0
= 0 ;
28875 PyObject
* obj1
= 0 ;
28876 PyObject
* obj2
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "self",(char *) "_class", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28883 if (SWIG_arg_fail(1)) SWIG_fail
;
28887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28890 wxPyEndAllowThreads(__tstate
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28893 Py_INCREF(Py_None
); resultobj
= Py_None
;
28900 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
;
28902 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28903 PyObject
* obj0
= 0 ;
28904 char *kwnames
[] = {
28905 (char *) "self", NULL
28908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28910 if (SWIG_arg_fail(1)) SWIG_fail
;
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 Py_INCREF(Py_None
); resultobj
= Py_None
;
28925 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
;
28927 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28928 wxDataObject
*result
;
28929 PyObject
* obj0
= 0 ;
28930 char *kwnames
[] = {
28931 (char *) "self", NULL
28934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28936 if (SWIG_arg_fail(1)) SWIG_fail
;
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28941 wxPyEndAllowThreads(__tstate
);
28942 if (PyErr_Occurred()) SWIG_fail
;
28944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28951 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
;
28953 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28954 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28955 PyObject
* obj0
= 0 ;
28956 PyObject
* obj1
= 0 ;
28957 char *kwnames
[] = {
28958 (char *) "self",(char *) "dataObject", NULL
28961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28963 if (SWIG_arg_fail(1)) SWIG_fail
;
28964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28965 if (SWIG_arg_fail(2)) SWIG_fail
;
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28968 (arg1
)->SetDataObject(arg2
);
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 Py_INCREF(Py_None
); resultobj
= Py_None
;
28980 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
;
28982 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28985 wxDragResult arg4
;
28986 wxDragResult result
;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 PyObject
* obj2
= 0 ;
28990 PyObject
* obj3
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28997 if (SWIG_arg_fail(1)) SWIG_fail
;
28999 arg2
= (int)(SWIG_As_int(obj1
));
29000 if (SWIG_arg_fail(2)) SWIG_fail
;
29003 arg3
= (int)(SWIG_As_int(obj2
));
29004 if (SWIG_arg_fail(3)) SWIG_fail
;
29007 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29008 if (SWIG_arg_fail(4)) SWIG_fail
;
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_From_int((result
));
29024 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
;
29026 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29029 wxDragResult arg4
;
29030 wxDragResult result
;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 PyObject
* obj2
= 0 ;
29034 PyObject
* obj3
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail
;
29043 arg2
= (int)(SWIG_As_int(obj1
));
29044 if (SWIG_arg_fail(2)) SWIG_fail
;
29047 arg3
= (int)(SWIG_As_int(obj2
));
29048 if (SWIG_arg_fail(3)) SWIG_fail
;
29051 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29052 if (SWIG_arg_fail(4)) SWIG_fail
;
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= SWIG_From_int((result
));
29068 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29069 PyObject
*resultobj
;
29070 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29071 PyObject
* obj0
= 0 ;
29072 char *kwnames
[] = {
29073 (char *) "self", NULL
29076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29078 if (SWIG_arg_fail(1)) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 (arg1
)->base_OnLeave();
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 Py_INCREF(Py_None
); resultobj
= Py_None
;
29093 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
;
29095 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 PyObject
* obj2
= 0 ;
29102 char *kwnames
[] = {
29103 (char *) "self",(char *) "x",(char *) "y", NULL
29106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29108 if (SWIG_arg_fail(1)) SWIG_fail
;
29110 arg2
= (int)(SWIG_As_int(obj1
));
29111 if (SWIG_arg_fail(2)) SWIG_fail
;
29114 arg3
= (int)(SWIG_As_int(obj2
));
29115 if (SWIG_arg_fail(3)) SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29133 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29137 PyObject
* obj0
= 0 ;
29138 char *kwnames
[] = {
29139 (char *) "self", NULL
29142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29144 if (SWIG_arg_fail(1)) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (bool)(arg1
)->GetData();
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29161 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
;
29163 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29164 wxDragResult arg2
;
29165 PyObject
* obj0
= 0 ;
29166 PyObject
* obj1
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "self",(char *) "action", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29173 if (SWIG_arg_fail(1)) SWIG_fail
;
29175 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29176 if (SWIG_arg_fail(2)) SWIG_fail
;
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 Py_INCREF(Py_None
); resultobj
= Py_None
;
29192 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29193 PyObject
*resultobj
;
29194 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29195 wxDragResult result
;
29196 PyObject
* obj0
= 0 ;
29197 char *kwnames
[] = {
29198 (char *) "self", NULL
29201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29203 if (SWIG_arg_fail(1)) SWIG_fail
;
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_From_int((result
));
29218 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29221 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29223 return Py_BuildValue((char *)"");
29225 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29226 PyObject
*resultobj
;
29227 wxPyTextDropTarget
*result
;
29228 char *kwnames
[] = {
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29247 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
;
29249 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29250 PyObject
*arg2
= (PyObject
*) 0 ;
29251 PyObject
*arg3
= (PyObject
*) 0 ;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 PyObject
* obj2
= 0 ;
29255 char *kwnames
[] = {
29256 (char *) "self",(char *) "self",(char *) "_class", NULL
29259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29261 if (SWIG_arg_fail(1)) SWIG_fail
;
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 Py_INCREF(Py_None
); resultobj
= Py_None
;
29278 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
;
29280 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29283 wxDragResult arg4
;
29284 wxDragResult result
;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 PyObject
* obj2
= 0 ;
29288 PyObject
* obj3
= 0 ;
29289 char *kwnames
[] = {
29290 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29295 if (SWIG_arg_fail(1)) SWIG_fail
;
29297 arg2
= (int)(SWIG_As_int(obj1
));
29298 if (SWIG_arg_fail(2)) SWIG_fail
;
29301 arg3
= (int)(SWIG_As_int(obj2
));
29302 if (SWIG_arg_fail(3)) SWIG_fail
;
29305 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29306 if (SWIG_arg_fail(4)) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= SWIG_From_int((result
));
29322 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
;
29324 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29327 wxDragResult arg4
;
29328 wxDragResult result
;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 PyObject
* obj2
= 0 ;
29332 PyObject
* obj3
= 0 ;
29333 char *kwnames
[] = {
29334 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29339 if (SWIG_arg_fail(1)) SWIG_fail
;
29341 arg2
= (int)(SWIG_As_int(obj1
));
29342 if (SWIG_arg_fail(2)) SWIG_fail
;
29345 arg3
= (int)(SWIG_As_int(obj2
));
29346 if (SWIG_arg_fail(3)) SWIG_fail
;
29349 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29350 if (SWIG_arg_fail(4)) SWIG_fail
;
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= SWIG_From_int((result
));
29366 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29367 PyObject
*resultobj
;
29368 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29369 PyObject
* obj0
= 0 ;
29370 char *kwnames
[] = {
29371 (char *) "self", NULL
29374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29376 if (SWIG_arg_fail(1)) SWIG_fail
;
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 (arg1
)->base_OnLeave();
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 Py_INCREF(Py_None
); resultobj
= Py_None
;
29391 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
;
29393 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29397 PyObject
* obj0
= 0 ;
29398 PyObject
* obj1
= 0 ;
29399 PyObject
* obj2
= 0 ;
29400 char *kwnames
[] = {
29401 (char *) "self",(char *) "x",(char *) "y", NULL
29404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29406 if (SWIG_arg_fail(1)) SWIG_fail
;
29408 arg2
= (int)(SWIG_As_int(obj1
));
29409 if (SWIG_arg_fail(2)) SWIG_fail
;
29412 arg3
= (int)(SWIG_As_int(obj2
));
29413 if (SWIG_arg_fail(3)) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29431 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29432 PyObject
*resultobj
;
29433 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29436 wxDragResult arg4
;
29437 wxDragResult result
;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 PyObject
* obj2
= 0 ;
29441 PyObject
* obj3
= 0 ;
29442 char *kwnames
[] = {
29443 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29448 if (SWIG_arg_fail(1)) SWIG_fail
;
29450 arg2
= (int)(SWIG_As_int(obj1
));
29451 if (SWIG_arg_fail(2)) SWIG_fail
;
29454 arg3
= (int)(SWIG_As_int(obj2
));
29455 if (SWIG_arg_fail(3)) SWIG_fail
;
29458 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29459 if (SWIG_arg_fail(4)) SWIG_fail
;
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_From_int((result
));
29475 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29478 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29480 return Py_BuildValue((char *)"");
29482 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxPyFileDropTarget
*result
;
29485 char *kwnames
[] = {
29489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29504 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
;
29506 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29507 PyObject
*arg2
= (PyObject
*) 0 ;
29508 PyObject
*arg3
= (PyObject
*) 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 PyObject
* obj2
= 0 ;
29512 char *kwnames
[] = {
29513 (char *) "self",(char *) "self",(char *) "_class", NULL
29516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29518 if (SWIG_arg_fail(1)) SWIG_fail
;
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29525 wxPyEndAllowThreads(__tstate
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29528 Py_INCREF(Py_None
); resultobj
= Py_None
;
29535 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29540 wxDragResult arg4
;
29541 wxDragResult result
;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 PyObject
* obj2
= 0 ;
29545 PyObject
* obj3
= 0 ;
29546 char *kwnames
[] = {
29547 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29552 if (SWIG_arg_fail(1)) SWIG_fail
;
29554 arg2
= (int)(SWIG_As_int(obj1
));
29555 if (SWIG_arg_fail(2)) SWIG_fail
;
29558 arg3
= (int)(SWIG_As_int(obj2
));
29559 if (SWIG_arg_fail(3)) SWIG_fail
;
29562 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29563 if (SWIG_arg_fail(4)) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= SWIG_From_int((result
));
29579 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29584 wxDragResult arg4
;
29585 wxDragResult result
;
29586 PyObject
* obj0
= 0 ;
29587 PyObject
* obj1
= 0 ;
29588 PyObject
* obj2
= 0 ;
29589 PyObject
* obj3
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail
;
29598 arg2
= (int)(SWIG_As_int(obj1
));
29599 if (SWIG_arg_fail(2)) SWIG_fail
;
29602 arg3
= (int)(SWIG_As_int(obj2
));
29603 if (SWIG_arg_fail(3)) SWIG_fail
;
29606 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29607 if (SWIG_arg_fail(4)) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 resultobj
= SWIG_From_int((result
));
29623 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
;
29625 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29626 PyObject
* obj0
= 0 ;
29627 char *kwnames
[] = {
29628 (char *) "self", NULL
29631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29633 if (SWIG_arg_fail(1)) SWIG_fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 (arg1
)->base_OnLeave();
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 Py_INCREF(Py_None
); resultobj
= Py_None
;
29648 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29654 PyObject
* obj0
= 0 ;
29655 PyObject
* obj1
= 0 ;
29656 PyObject
* obj2
= 0 ;
29657 char *kwnames
[] = {
29658 (char *) "self",(char *) "x",(char *) "y", NULL
29661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29663 if (SWIG_arg_fail(1)) SWIG_fail
;
29665 arg2
= (int)(SWIG_As_int(obj1
));
29666 if (SWIG_arg_fail(2)) SWIG_fail
;
29669 arg3
= (int)(SWIG_As_int(obj2
));
29670 if (SWIG_arg_fail(3)) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29688 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29693 wxDragResult arg4
;
29694 wxDragResult result
;
29695 PyObject
* obj0
= 0 ;
29696 PyObject
* obj1
= 0 ;
29697 PyObject
* obj2
= 0 ;
29698 PyObject
* obj3
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29705 if (SWIG_arg_fail(1)) SWIG_fail
;
29707 arg2
= (int)(SWIG_As_int(obj1
));
29708 if (SWIG_arg_fail(2)) SWIG_fail
;
29711 arg3
= (int)(SWIG_As_int(obj2
));
29712 if (SWIG_arg_fail(3)) SWIG_fail
;
29715 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29716 if (SWIG_arg_fail(4)) SWIG_fail
;
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29722 wxPyEndAllowThreads(__tstate
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29725 resultobj
= SWIG_From_int((result
));
29732 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29735 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29737 return Py_BuildValue((char *)"");
29739 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29740 PyObject
*resultobj
;
29741 wxClipboard
*result
;
29742 char *kwnames
[] = {
29746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 result
= (wxClipboard
*)new wxClipboard();
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29761 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29762 PyObject
*resultobj
;
29763 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29764 PyObject
* obj0
= 0 ;
29765 char *kwnames
[] = {
29766 (char *) "self", NULL
29769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29771 if (SWIG_arg_fail(1)) SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 Py_INCREF(Py_None
); resultobj
= Py_None
;
29786 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
;
29788 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29790 PyObject
* obj0
= 0 ;
29791 char *kwnames
[] = {
29792 (char *) "self", NULL
29795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29797 if (SWIG_arg_fail(1)) SWIG_fail
;
29799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 result
= (bool)(arg1
)->Open();
29802 wxPyEndAllowThreads(__tstate
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29814 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29817 PyObject
* obj0
= 0 ;
29818 char *kwnames
[] = {
29819 (char *) "self", NULL
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29824 if (SWIG_arg_fail(1)) SWIG_fail
;
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 Py_INCREF(Py_None
); resultobj
= Py_None
;
29839 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
;
29841 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29843 PyObject
* obj0
= 0 ;
29844 char *kwnames
[] = {
29845 (char *) "self", NULL
29848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29850 if (SWIG_arg_fail(1)) SWIG_fail
;
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29867 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
;
29869 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29870 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 char *kwnames
[] = {
29875 (char *) "self",(char *) "data", NULL
29878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29880 if (SWIG_arg_fail(1)) SWIG_fail
;
29881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29882 if (SWIG_arg_fail(2)) SWIG_fail
;
29884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 result
= (bool)(arg1
)->AddData(arg2
);
29887 wxPyEndAllowThreads(__tstate
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29899 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
;
29901 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29902 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29904 PyObject
* obj0
= 0 ;
29905 PyObject
* obj1
= 0 ;
29906 char *kwnames
[] = {
29907 (char *) "self",(char *) "data", NULL
29910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29912 if (SWIG_arg_fail(1)) SWIG_fail
;
29913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29914 if (SWIG_arg_fail(2)) SWIG_fail
;
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= (bool)(arg1
)->SetData(arg2
);
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29931 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
;
29933 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29934 wxDataFormat
*arg2
= 0 ;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self",(char *) "format", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29944 if (SWIG_arg_fail(1)) SWIG_fail
;
29946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29947 if (SWIG_arg_fail(2)) SWIG_fail
;
29948 if (arg2
== NULL
) {
29949 SWIG_null_ref("wxDataFormat");
29951 if (SWIG_arg_fail(2)) SWIG_fail
;
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29969 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
;
29971 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29972 wxDataObject
*arg2
= 0 ;
29974 PyObject
* obj0
= 0 ;
29975 PyObject
* obj1
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self",(char *) "data", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29982 if (SWIG_arg_fail(1)) SWIG_fail
;
29984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29985 if (SWIG_arg_fail(2)) SWIG_fail
;
29986 if (arg2
== NULL
) {
29987 SWIG_null_ref("wxDataObject");
29989 if (SWIG_arg_fail(2)) SWIG_fail
;
29992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29993 result
= (bool)(arg1
)->GetData(*arg2
);
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30007 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
;
30009 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30010 PyObject
* obj0
= 0 ;
30011 char *kwnames
[] = {
30012 (char *) "self", NULL
30015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30017 if (SWIG_arg_fail(1)) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 Py_INCREF(Py_None
); resultobj
= Py_None
;
30032 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30036 PyObject
* obj0
= 0 ;
30037 char *kwnames
[] = {
30038 (char *) "self", NULL
30041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30043 if (SWIG_arg_fail(1)) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (bool)(arg1
)->Flush();
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30060 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30063 bool arg2
= (bool) true ;
30064 PyObject
* obj0
= 0 ;
30065 PyObject
* obj1
= 0 ;
30066 char *kwnames
[] = {
30067 (char *) "self",(char *) "primary", NULL
30070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30072 if (SWIG_arg_fail(1)) SWIG_fail
;
30075 arg2
= (bool)(SWIG_As_bool(obj1
));
30076 if (SWIG_arg_fail(2)) SWIG_fail
;
30080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30081 (arg1
)->UsePrimarySelection(arg2
);
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 Py_INCREF(Py_None
); resultobj
= Py_None
;
30093 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
;
30095 wxClipboard
*result
;
30096 char *kwnames
[] = {
30100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 result
= (wxClipboard
*)wxClipboard::Get();
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30115 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30118 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30120 return Py_BuildValue((char *)"");
30122 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
;
30124 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30125 wxClipboardLocker
*result
;
30126 PyObject
* obj0
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "clipboard", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30134 if (SWIG_arg_fail(1)) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30150 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
;
30152 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30153 PyObject
* obj0
= 0 ;
30154 char *kwnames
[] = {
30155 (char *) "self", NULL
30158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30160 if (SWIG_arg_fail(1)) SWIG_fail
;
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 Py_INCREF(Py_None
); resultobj
= Py_None
;
30175 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
;
30177 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30179 PyObject
* obj0
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail
;
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30191 wxPyEndAllowThreads(__tstate
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30203 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30206 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30208 return Py_BuildValue((char *)"");
30210 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
;
30212 int arg1
= (int) 0 ;
30213 int arg2
= (int) 0 ;
30214 int arg3
= (int) 0 ;
30215 int arg4
= (int) 0 ;
30216 wxVideoMode
*result
;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 PyObject
* obj2
= 0 ;
30220 PyObject
* obj3
= 0 ;
30221 char *kwnames
[] = {
30222 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30228 arg1
= (int)(SWIG_As_int(obj0
));
30229 if (SWIG_arg_fail(1)) SWIG_fail
;
30234 arg2
= (int)(SWIG_As_int(obj1
));
30235 if (SWIG_arg_fail(2)) SWIG_fail
;
30240 arg3
= (int)(SWIG_As_int(obj2
));
30241 if (SWIG_arg_fail(3)) SWIG_fail
;
30246 arg4
= (int)(SWIG_As_int(obj3
));
30247 if (SWIG_arg_fail(4)) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30264 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
;
30266 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 char *kwnames
[] = {
30269 (char *) "self", NULL
30272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30274 if (SWIG_arg_fail(1)) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 Py_INCREF(Py_None
); resultobj
= Py_None
;
30289 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
;
30291 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30292 wxVideoMode
*arg2
= 0 ;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self",(char *) "other", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(1)) SWIG_fail
;
30304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30305 if (SWIG_arg_fail(2)) SWIG_fail
;
30306 if (arg2
== NULL
) {
30307 SWIG_null_ref("wxVideoMode");
30309 if (SWIG_arg_fail(2)) SWIG_fail
;
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30327 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30328 PyObject
*resultobj
;
30329 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30331 PyObject
* obj0
= 0 ;
30332 char *kwnames
[] = {
30333 (char *) "self", NULL
30336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30338 if (SWIG_arg_fail(1)) SWIG_fail
;
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= SWIG_From_int((int)(result
));
30355 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30356 PyObject
*resultobj
;
30357 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30359 PyObject
* obj0
= 0 ;
30360 char *kwnames
[] = {
30361 (char *) "self", NULL
30364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30366 if (SWIG_arg_fail(1)) SWIG_fail
;
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= SWIG_From_int((int)(result
));
30383 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30384 PyObject
*resultobj
;
30385 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30387 PyObject
* obj0
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30394 if (SWIG_arg_fail(1)) SWIG_fail
;
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= SWIG_From_int((int)(result
));
30411 static PyObject
*_wrap_VideoMode_IsOk(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_IsOk",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
;
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30439 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
;
30441 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30442 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 char *kwnames
[] = {
30447 (char *) "self",(char *) "other", NULL
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30452 if (SWIG_arg_fail(1)) SWIG_fail
;
30453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30454 if (SWIG_arg_fail(2)) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30471 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
;
30473 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30474 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30476 PyObject
* obj0
= 0 ;
30477 PyObject
* obj1
= 0 ;
30478 char *kwnames
[] = {
30479 (char *) "self",(char *) "other", NULL
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30484 if (SWIG_arg_fail(1)) SWIG_fail
;
30485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30486 if (SWIG_arg_fail(2)) SWIG_fail
;
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30503 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30504 PyObject
*resultobj
;
30505 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self",(char *) "w", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30515 if (SWIG_arg_fail(1)) SWIG_fail
;
30517 arg2
= (int)(SWIG_As_int(obj1
));
30518 if (SWIG_arg_fail(2)) SWIG_fail
;
30520 if (arg1
) (arg1
)->w
= arg2
;
30522 Py_INCREF(Py_None
); resultobj
= Py_None
;
30529 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30540 if (SWIG_arg_fail(1)) SWIG_fail
;
30541 result
= (int) ((arg1
)->w
);
30544 resultobj
= SWIG_From_int((int)(result
));
30552 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 char *kwnames
[] = {
30559 (char *) "self",(char *) "h", NULL
30562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30564 if (SWIG_arg_fail(1)) SWIG_fail
;
30566 arg2
= (int)(SWIG_As_int(obj1
));
30567 if (SWIG_arg_fail(2)) SWIG_fail
;
30569 if (arg1
) (arg1
)->h
= arg2
;
30571 Py_INCREF(Py_None
); resultobj
= Py_None
;
30578 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
;
30580 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30582 PyObject
* obj0
= 0 ;
30583 char *kwnames
[] = {
30584 (char *) "self", NULL
30587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30589 if (SWIG_arg_fail(1)) SWIG_fail
;
30590 result
= (int) ((arg1
)->h
);
30593 resultobj
= SWIG_From_int((int)(result
));
30601 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
;
30603 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 char *kwnames
[] = {
30608 (char *) "self",(char *) "bpp", NULL
30611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30613 if (SWIG_arg_fail(1)) SWIG_fail
;
30615 arg2
= (int)(SWIG_As_int(obj1
));
30616 if (SWIG_arg_fail(2)) SWIG_fail
;
30618 if (arg1
) (arg1
)->bpp
= arg2
;
30620 Py_INCREF(Py_None
); resultobj
= Py_None
;
30627 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30628 PyObject
*resultobj
;
30629 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30631 PyObject
* obj0
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30638 if (SWIG_arg_fail(1)) SWIG_fail
;
30639 result
= (int) ((arg1
)->bpp
);
30642 resultobj
= SWIG_From_int((int)(result
));
30650 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
;
30652 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self",(char *) "refresh", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30662 if (SWIG_arg_fail(1)) SWIG_fail
;
30664 arg2
= (int)(SWIG_As_int(obj1
));
30665 if (SWIG_arg_fail(2)) SWIG_fail
;
30667 if (arg1
) (arg1
)->refresh
= arg2
;
30669 Py_INCREF(Py_None
); resultobj
= Py_None
;
30676 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
;
30678 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30687 if (SWIG_arg_fail(1)) SWIG_fail
;
30688 result
= (int) ((arg1
)->refresh
);
30691 resultobj
= SWIG_From_int((int)(result
));
30699 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30702 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30704 return Py_BuildValue((char *)"");
30706 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30707 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30712 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30715 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30720 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 size_t arg1
= (size_t) 0 ;
30724 PyObject
* obj0
= 0 ;
30725 char *kwnames
[] = {
30726 (char *) "index", NULL
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30732 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30733 if (SWIG_arg_fail(1)) SWIG_fail
;
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= (wxDisplay
*)new wxDisplay(arg1
);
30740 wxPyEndAllowThreads(__tstate
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30750 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
;
30752 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30753 PyObject
* obj0
= 0 ;
30754 char *kwnames
[] = {
30755 (char *) "self", NULL
30758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30760 if (SWIG_arg_fail(1)) SWIG_fail
;
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 Py_INCREF(Py_None
); resultobj
= Py_None
;
30775 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30778 char *kwnames
[] = {
30782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30785 result
= (size_t)wxDisplay::GetCount();
30787 wxPyEndAllowThreads(__tstate
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30791 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30799 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
;
30801 wxPoint
*arg1
= 0 ;
30804 PyObject
* obj0
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "pt", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30812 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= SWIG_From_int((int)(result
));
30830 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
;
30832 wxWindow
*arg1
= (wxWindow
*) 0 ;
30834 PyObject
* obj0
= 0 ;
30835 char *kwnames
[] = {
30836 (char *) "window", NULL
30839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30841 if (SWIG_arg_fail(1)) SWIG_fail
;
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 result
= (int)Display_GetFromWindow(arg1
);
30846 wxPyEndAllowThreads(__tstate
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= SWIG_From_int((int)(result
));
30858 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30869 if (SWIG_arg_fail(1)) SWIG_fail
;
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30886 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
;
30888 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30890 PyObject
* obj0
= 0 ;
30891 char *kwnames
[] = {
30892 (char *) "self", NULL
30895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30897 if (SWIG_arg_fail(1)) SWIG_fail
;
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30906 wxRect
* resultptr
;
30907 resultptr
= new wxRect((wxRect
&)(result
));
30908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30916 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
;
30918 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30920 PyObject
* obj0
= 0 ;
30921 char *kwnames
[] = {
30922 (char *) "self", NULL
30925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30927 if (SWIG_arg_fail(1)) SWIG_fail
;
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 result
= ((wxDisplay
const *)arg1
)->GetName();
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30948 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30949 PyObject
*resultobj
;
30950 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 char *kwnames
[] = {
30954 (char *) "self", NULL
30957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30959 if (SWIG_arg_fail(1)) SWIG_fail
;
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30976 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
;
30978 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30979 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30980 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 char *kwnames
[] = {
30985 (char *) "self",(char *) "mode", NULL
30988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30990 if (SWIG_arg_fail(1)) SWIG_fail
;
30993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30994 if (SWIG_arg_fail(2)) SWIG_fail
;
30995 if (arg2
== NULL
) {
30996 SWIG_null_ref("wxVideoMode");
30998 if (SWIG_arg_fail(2)) SWIG_fail
;
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= result
;
31015 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
;
31017 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31018 wxVideoMode result
;
31019 PyObject
* obj0
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31026 if (SWIG_arg_fail(1)) SWIG_fail
;
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31035 wxVideoMode
* resultptr
;
31036 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31045 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31048 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31049 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31051 PyObject
* obj0
= 0 ;
31052 PyObject
* obj1
= 0 ;
31053 char *kwnames
[] = {
31054 (char *) "self",(char *) "mode", NULL
31057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31059 if (SWIG_arg_fail(1)) SWIG_fail
;
31062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31063 if (SWIG_arg_fail(2)) SWIG_fail
;
31064 if (arg2
== NULL
) {
31065 SWIG_null_ref("wxVideoMode");
31067 if (SWIG_arg_fail(2)) SWIG_fail
;
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31086 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31089 PyObject
* obj0
= 0 ;
31090 char *kwnames
[] = {
31091 (char *) "self", NULL
31094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31096 if (SWIG_arg_fail(1)) SWIG_fail
;
31098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 (arg1
)->ResetMode();
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31104 Py_INCREF(Py_None
); resultobj
= Py_None
;
31111 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31114 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31116 return Py_BuildValue((char *)"");
31118 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
;
31120 wxStandardPaths
*result
;
31121 char *kwnames
[] = {
31125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 result
= (wxStandardPaths
*)StandardPaths_Get();
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31140 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
;
31142 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31144 PyObject
* obj0
= 0 ;
31145 char *kwnames
[] = {
31146 (char *) "self", NULL
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31151 if (SWIG_arg_fail(1)) SWIG_fail
;
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31172 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31173 PyObject
*resultobj
;
31174 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31176 PyObject
* obj0
= 0 ;
31177 char *kwnames
[] = {
31178 (char *) "self", NULL
31181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31183 if (SWIG_arg_fail(1)) SWIG_fail
;
31185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31186 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31188 wxPyEndAllowThreads(__tstate
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31204 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
;
31206 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31208 PyObject
* obj0
= 0 ;
31209 char *kwnames
[] = {
31210 (char *) "self", NULL
31213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31215 if (SWIG_arg_fail(1)) SWIG_fail
;
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31236 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
;
31238 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31247 if (SWIG_arg_fail(1)) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31268 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
;
31270 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31272 PyObject
* obj0
= 0 ;
31273 char *kwnames
[] = {
31274 (char *) "self", NULL
31277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31279 if (SWIG_arg_fail(1)) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31300 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
;
31302 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31304 PyObject
* obj0
= 0 ;
31305 char *kwnames
[] = {
31306 (char *) "self", NULL
31309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31311 if (SWIG_arg_fail(1)) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31332 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31333 PyObject
*resultobj
;
31334 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31336 PyObject
* obj0
= 0 ;
31337 char *kwnames
[] = {
31338 (char *) "self", NULL
31341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31343 if (SWIG_arg_fail(1)) SWIG_fail
;
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31364 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31365 PyObject
*resultobj
;
31366 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31367 wxString
*arg2
= 0 ;
31368 bool temp2
= false ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 char *kwnames
[] = {
31372 (char *) "self",(char *) "prefix", NULL
31375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31377 if (SWIG_arg_fail(1)) SWIG_fail
;
31379 arg2
= wxString_in_helper(obj1
);
31380 if (arg2
== NULL
) SWIG_fail
;
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31390 Py_INCREF(Py_None
); resultobj
= Py_None
;
31405 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31406 PyObject
*resultobj
;
31407 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31409 PyObject
* obj0
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "self", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31416 if (SWIG_arg_fail(1)) SWIG_fail
;
31418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31419 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31421 wxPyEndAllowThreads(__tstate
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31437 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31440 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31442 return Py_BuildValue((char *)"");
31444 static PyMethodDef SwigMethods
[] = {
31445 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31452 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31459 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31523 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31531 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31549 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31552 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31555 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31558 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31564 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31578 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31584 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31590 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31593 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31607 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31610 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31611 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31614 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31641 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31643 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31645 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31647 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31654 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31660 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31674 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31678 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31681 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31698 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31706 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31753 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31771 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31781 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31797 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31813 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31827 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31837 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31880 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31883 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31886 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31890 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31983 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31984 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31985 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31986 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32003 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32082 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32090 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32091 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32096 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32105 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32112 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32115 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32118 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32123 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32126 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32130 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32133 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32138 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32142 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32146 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32150 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32160 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32173 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32181 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32189 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32203 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32207 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32225 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32239 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32250 { NULL
, NULL
, 0, NULL
}
32254 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32256 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32257 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32259 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32260 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32262 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32263 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32265 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32266 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32268 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32269 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32271 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32272 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32274 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32275 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32277 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32278 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32280 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32283 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32284 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32286 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32287 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32289 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32290 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32292 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32293 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32295 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32296 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32298 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32299 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32301 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32302 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32304 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32305 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32307 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32308 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32310 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32311 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32313 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32314 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32316 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32317 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32319 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32320 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32322 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32323 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32325 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32328 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32329 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32331 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32332 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32334 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32335 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32337 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32338 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32340 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32341 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32343 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32344 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32346 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32347 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32349 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32350 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32352 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32353 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32355 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32356 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32358 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32359 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32361 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32362 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32364 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32365 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32367 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32368 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32370 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32371 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32373 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32374 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32376 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32377 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32379 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32380 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32382 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32383 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32385 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32386 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32388 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32389 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32391 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32392 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32394 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32395 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32397 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32398 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32400 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32401 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32403 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32404 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32406 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32407 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32409 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32410 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32412 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32413 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32415 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32416 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32418 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32419 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32421 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32422 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32424 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32425 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32427 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32428 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32430 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32431 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32433 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32434 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32436 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32437 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32439 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32440 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32442 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32443 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32445 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32446 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32448 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32449 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32451 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32454 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32455 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32457 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32458 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32460 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32461 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32463 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32464 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32466 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32467 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32469 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32470 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32472 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32473 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32475 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32476 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32478 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32481 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32484 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32487 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32490 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32493 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32496 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32499 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) ((wxSizer
*) x
));
32502 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32505 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32508 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32511 static void *_p_wxEventTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) ((wxEvent
*) x
));
32514 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32517 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32520 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32523 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32526 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32529 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32532 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32535 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32538 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32541 static void *_p_wxControlTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32544 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32547 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32550 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32553 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32556 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32559 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32562 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32565 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32568 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32571 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32574 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32577 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32580 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32583 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32586 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32589 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32592 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32595 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32598 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32601 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32604 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32607 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32610 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32613 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32616 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32619 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32622 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32625 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32628 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32631 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32634 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32637 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32640 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32643 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32646 static void *_p_wxImageTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) ((wxImage
*) x
));
32649 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32652 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32655 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32658 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32661 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32664 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32667 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32670 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32673 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32676 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32679 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32682 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32685 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32688 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32691 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32694 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32697 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32700 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32703 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32706 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32709 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32712 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32715 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32718 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32721 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32724 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32727 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32730 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32733 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32734 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32736 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32737 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32739 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32740 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32742 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32743 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32745 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32746 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32748 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32749 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32751 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32752 return (void *)((wxWindow
*) ((wxControl
*) x
));
32754 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32755 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32757 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32758 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32760 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32761 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32763 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32764 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32766 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}};
32767 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}};
32768 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}};
32769 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}};
32770 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}};
32771 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}};
32772 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32773 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}};
32774 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}};
32775 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}};
32776 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}};
32777 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}};
32778 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}};
32779 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}};
32780 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}};
32781 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}};
32782 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}};
32783 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}};
32784 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}};
32785 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}};
32786 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}};
32787 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}};
32788 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}};
32789 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}};
32790 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}};
32791 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}};
32792 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}};
32793 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}};
32794 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}};
32795 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}};
32796 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}};
32797 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}};
32798 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}};
32799 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}};
32800 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}};
32801 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}};
32802 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}};
32803 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}};
32804 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}};
32805 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}};
32806 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}};
32807 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}};
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 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}};
32815 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}};
32816 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}};
32817 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}};
32818 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}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32824 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}};
32825 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}};
32826 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}};
32827 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}};
32828 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}};
32829 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}};
32830 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}};
32831 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}};
32832 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}};
32833 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}};
32834 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}};
32835 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}};
32836 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}};
32837 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32862 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}};
32864 static swig_type_info
*swig_types_initial
[] = {
32865 _swigt__p_wxLogChain
,
32866 _swigt__p_wxMutexGuiLocker
,
32867 _swigt__p_wxMetafile
,
32868 _swigt__p_wxFileHistory
,
32872 _swigt__p_wxDateTime__TimeZone
,
32873 _swigt__p_wxConfigBase
,
32874 _swigt__p_wxDisplay
,
32875 _swigt__p_wxFileType
,
32876 _swigt__p_wxLogGui
,
32878 _swigt__p_wxDataFormat
,
32879 _swigt__p_wxTimerEvent
,
32882 _swigt__std__ptrdiff_t
,
32885 _swigt__p_wxClipboard
,
32886 _swigt__p_wxStopWatch
,
32888 _swigt__p_wxClipboardLocker
,
32890 _swigt__p_wxLogStderr
,
32891 _swigt__p_wxLogTextCtrl
,
32892 _swigt__p_wxTextCtrl
,
32893 _swigt__p_wxBusyCursor
,
32894 _swigt__p_wxBitmapDataObject
,
32895 _swigt__p_wxTextDataObject
,
32896 _swigt__p_wxDataObject
,
32897 _swigt__p_wxPyTextDataObject
,
32898 _swigt__p_wxPyBitmapDataObject
,
32899 _swigt__p_wxFileDataObject
,
32900 _swigt__p_wxCustomDataObject
,
32901 _swigt__p_wxURLDataObject
,
32902 _swigt__p_wxMetafileDataObject
,
32904 _swigt__p_wxTimerRunner
,
32905 _swigt__p_wxLogWindow
,
32906 _swigt__p_wxTimeSpan
,
32907 _swigt__p_wxArrayString
,
32908 _swigt__p_wxWindowDisabler
,
32909 _swigt__p_form_ops_t
,
32910 _swigt__p_wxToolTip
,
32911 _swigt__p_wxDataObjectComposite
,
32912 _swigt__p_wxSystemSettings
,
32913 _swigt__p_wxFileConfig
,
32914 _swigt__p_wxVideoMode
,
32915 _swigt__p_wxDataObjectSimple
,
32916 _swigt__p_wxPyDataObjectSimple
,
32917 _swigt__p_wxDuplexMode
,
32918 _swigt__p_wxEvtHandler
,
32921 _swigt__p_wxSingleInstanceChecker
,
32922 _swigt__p_wxStandardPaths
,
32923 _swigt__p_wxFileTypeInfo
,
32926 _swigt__p_wxPaperSize
,
32927 _swigt__p_wxMimeTypesManager
,
32928 _swigt__p_wxPyArtProvider
,
32929 _swigt__p_wxPyTipProvider
,
32930 _swigt__p_wxTipProvider
,
32931 _swigt__p_wxJoystick
,
32932 _swigt__p_wxSystemOptions
,
32934 _swigt__p_wxJoystickEvent
,
32935 _swigt__p_wxCursor
,
32936 _swigt__p_wxObject
,
32937 _swigt__p_wxOutputStream
,
32938 _swigt__p_wxDateTime
,
32939 _swigt__p_wxPyDropSource
,
32940 _swigt__p_unsigned_long
,
32941 _swigt__p_wxKillError
,
32942 _swigt__p_wxWindow
,
32943 _swigt__p_wxString
,
32944 _swigt__p_wxPyProcess
,
32945 _swigt__p_wxBitmap
,
32946 _swigt__p_wxConfig
,
32947 _swigt__unsigned_int
,
32948 _swigt__p_unsigned_int
,
32949 _swigt__p_unsigned_char
,
32951 _swigt__p_wxBusyInfo
,
32952 _swigt__p_wxPyDropTarget
,
32953 _swigt__p_wxPyTextDropTarget
,
32954 _swigt__p_wxPyFileDropTarget
,
32955 _swigt__p_wxProcessEvent
,
32957 _swigt__p_wxLogNull
,
32958 _swigt__p_wxColour
,
32959 _swigt__p_wxPyTimer
,
32960 _swigt__p_wxConfigPathChanger
,
32961 _swigt__p_wxDateSpan
,
32966 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32968 static swig_const_info swig_const_table
[] = {
32969 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32970 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32971 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32972 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32973 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32974 {0, 0, 0, 0.0, 0, 0}};
32985 /* Python-specific SWIG API */
32986 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32987 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32988 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32990 /* -----------------------------------------------------------------------------
32991 * global variable support code.
32992 * ----------------------------------------------------------------------------- */
32994 typedef struct swig_globalvar
{
32995 char *name
; /* Name of global variable */
32996 PyObject
*(*get_attr
)(); /* Return the current value */
32997 int (*set_attr
)(PyObject
*); /* Set the value */
32998 struct swig_globalvar
*next
;
33001 typedef struct swig_varlinkobject
{
33003 swig_globalvar
*vars
;
33004 } swig_varlinkobject
;
33007 swig_varlink_repr(swig_varlinkobject
*v
) {
33009 return PyString_FromString("<Swig global variables>");
33013 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33014 swig_globalvar
*var
;
33016 fprintf(fp
,"Swig global variables { ");
33017 for (var
= v
->vars
; var
; var
=var
->next
) {
33018 fprintf(fp
,"%s", var
->name
);
33019 if (var
->next
) fprintf(fp
,", ");
33021 fprintf(fp
," }\n");
33026 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33027 swig_globalvar
*var
= v
->vars
;
33029 if (strcmp(var
->name
,n
) == 0) {
33030 return (*var
->get_attr
)();
33034 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33039 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33040 swig_globalvar
*var
= v
->vars
;
33042 if (strcmp(var
->name
,n
) == 0) {
33043 return (*var
->set_attr
)(p
);
33047 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33051 static PyTypeObject varlinktype
= {
33052 PyObject_HEAD_INIT(0)
33053 0, /* Number of items in variable part (ob_size) */
33054 (char *)"swigvarlink", /* Type name (tp_name) */
33055 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33056 0, /* Itemsize (tp_itemsize) */
33057 0, /* Deallocator (tp_dealloc) */
33058 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33059 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33060 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33061 0, /* tp_compare */
33062 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33063 0, /* tp_as_number */
33064 0, /* tp_as_sequence */
33065 0, /* tp_as_mapping */
33069 0, /* tp_getattro */
33070 0, /* tp_setattro */
33071 0, /* tp_as_buffer */
33074 #if PY_VERSION_HEX >= 0x02000000
33075 0, /* tp_traverse */
33078 #if PY_VERSION_HEX >= 0x02010000
33079 0, /* tp_richcompare */
33080 0, /* tp_weaklistoffset */
33082 #if PY_VERSION_HEX >= 0x02020000
33083 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33085 #if PY_VERSION_HEX >= 0x02030000
33088 #ifdef COUNT_ALLOCS
33089 0,0,0,0 /* tp_alloc -> tp_next */
33093 /* Create a variable linking object for use later */
33095 SWIG_Python_newvarlink(void) {
33096 swig_varlinkobject
*result
= 0;
33097 result
= PyMem_NEW(swig_varlinkobject
,1);
33098 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33099 result
->ob_type
= &varlinktype
;
33101 result
->ob_refcnt
= 0;
33102 Py_XINCREF((PyObject
*) result
);
33103 return ((PyObject
*) result
);
33107 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33108 swig_varlinkobject
*v
;
33109 swig_globalvar
*gv
;
33110 v
= (swig_varlinkobject
*) p
;
33111 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33112 gv
->name
= (char *) malloc(strlen(name
)+1);
33113 strcpy(gv
->name
,name
);
33114 gv
->get_attr
= get_attr
;
33115 gv
->set_attr
= set_attr
;
33116 gv
->next
= v
->vars
;
33120 /* -----------------------------------------------------------------------------
33121 * constants/methods manipulation
33122 * ----------------------------------------------------------------------------- */
33124 /* Install Constants */
33126 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33129 for (i
= 0; constants
[i
].type
; i
++) {
33130 switch(constants
[i
].type
) {
33132 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33134 case SWIG_PY_FLOAT
:
33135 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33137 case SWIG_PY_STRING
:
33138 if (constants
[i
].pvalue
) {
33139 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33141 Py_INCREF(Py_None
);
33145 case SWIG_PY_POINTER
:
33146 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33148 case SWIG_PY_BINARY
:
33149 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33156 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33162 /* -----------------------------------------------------------------------------*/
33163 /* Fix SwigMethods to carry the callback ptrs when needed */
33164 /* -----------------------------------------------------------------------------*/
33167 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33168 swig_const_info
*const_table
,
33169 swig_type_info
**types
,
33170 swig_type_info
**types_initial
) {
33172 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33173 char *c
= methods
[i
].ml_doc
;
33174 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33176 swig_const_info
*ci
= 0;
33177 char *name
= c
+ 10;
33178 for (j
= 0; const_table
[j
].type
; j
++) {
33179 if (strncmp(const_table
[j
].name
, name
,
33180 strlen(const_table
[j
].name
)) == 0) {
33181 ci
= &(const_table
[j
]);
33186 size_t shift
= (ci
->ptype
) - types
;
33187 swig_type_info
*ty
= types_initial
[shift
];
33188 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33189 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33190 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33192 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33193 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33195 strncpy(buff
, "swig_ptr: ", 10);
33197 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33198 methods
[i
].ml_doc
= ndoc
;
33204 /* -----------------------------------------------------------------------------*
33205 * Initialize type list
33206 * -----------------------------------------------------------------------------*/
33208 #if PY_MAJOR_VERSION < 2
33209 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33210 is copied out of Python/modsupport.c in python version 2.3.4 */
33212 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33215 if (!PyModule_Check(m
)) {
33216 PyErr_SetString(PyExc_TypeError
,
33217 "PyModule_AddObject() needs module as first arg");
33221 PyErr_SetString(PyExc_TypeError
,
33222 "PyModule_AddObject() needs non-NULL value");
33226 dict
= PyModule_GetDict(m
);
33227 if (dict
== NULL
) {
33228 /* Internal error -- modules must have a dict! */
33229 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33230 PyModule_GetName(m
));
33233 if (PyDict_SetItemString(dict
, name
, o
))
33240 static swig_type_info
**
33241 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33242 static PyMethodDef swig_empty_runtime_method_table
[] = {
33244 NULL
, NULL
, 0, NULL
33248 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33249 swig_empty_runtime_method_table
);
33250 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33251 if (pointer
&& module) {
33252 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33254 return type_list_handle
;
33257 static swig_type_info
**
33258 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33259 swig_type_info
**type_pointer
;
33261 /* first check if module already created */
33262 type_pointer
= SWIG_Python_GetTypeListHandle();
33263 if (type_pointer
) {
33264 return type_pointer
;
33266 /* create a new module and variable */
33267 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33275 /* -----------------------------------------------------------------------------*
33276 * Partial Init method
33277 * -----------------------------------------------------------------------------*/
33279 #ifdef SWIG_LINK_RUNTIME
33283 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33289 SWIGEXPORT(void) SWIG_init(void) {
33290 static PyObject
*SWIG_globals
= 0;
33291 static int typeinit
= 0;
33294 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33296 /* Fix SwigMethods to carry the callback ptrs when needed */
33297 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33299 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33300 d
= PyModule_GetDict(m
);
33303 #ifdef SWIG_LINK_RUNTIME
33304 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33306 # ifndef SWIG_STATIC_RUNTIME
33307 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33310 for (i
= 0; swig_types_initial
[i
]; i
++) {
33311 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33315 SWIG_InstallConstants(d
,swig_const_table
);
33318 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33321 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33324 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33327 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33330 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33333 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33336 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33339 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33342 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33345 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33348 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33351 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33354 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33357 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33360 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33363 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33366 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33369 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33372 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33375 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33378 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33381 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33384 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33387 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33390 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33393 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33396 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33399 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33402 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33405 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33408 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33411 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33414 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33417 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33420 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33423 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33426 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33429 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33432 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33435 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33438 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33441 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33444 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33447 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33450 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33453 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33456 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33459 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33462 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33465 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33468 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33471 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33474 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33477 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33480 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33483 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33486 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33489 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33492 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33495 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33498 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33501 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33504 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33507 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33510 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33513 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33516 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33519 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33522 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33525 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33528 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33531 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33534 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33537 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33540 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33543 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33546 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33549 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33552 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33555 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33558 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33561 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33564 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33567 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33570 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33573 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33576 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33579 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33582 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33585 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33588 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33590 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33591 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33592 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33593 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33594 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33596 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33599 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33602 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33605 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33607 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33609 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33612 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33615 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33618 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33621 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33624 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33627 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33630 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33633 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33636 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33639 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33642 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33644 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33645 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33646 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33647 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33648 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33650 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33653 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33656 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33659 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33662 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33665 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33668 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33671 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33674 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33677 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33680 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33683 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33686 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33689 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33692 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33695 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33698 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33701 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33704 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33707 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33710 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33713 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33716 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33719 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33722 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33725 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33728 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33731 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33734 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33737 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33740 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33742 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33744 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33747 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33750 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33753 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33756 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33759 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33762 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33765 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33768 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33771 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33774 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33777 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33780 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33782 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33783 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33784 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33785 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33787 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33790 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33793 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33796 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33799 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33802 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33805 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33808 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33810 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33811 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33812 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33813 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33814 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33815 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33816 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33817 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33818 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33819 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33820 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33821 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33822 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33823 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33824 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33825 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33826 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33827 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33828 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33829 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33830 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33831 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33865 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33867 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33870 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33873 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33876 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33879 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33882 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33885 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33888 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33891 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33894 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33896 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33897 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33899 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33902 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33905 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33908 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33911 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33914 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33917 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33920 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33923 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33926 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33929 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33932 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33935 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33938 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33941 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33944 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33947 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33950 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33953 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33956 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33959 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33962 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33965 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33968 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33971 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33974 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33977 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33980 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33983 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33986 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33989 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33992 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33995 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33998 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34001 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34004 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34007 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34010 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34013 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34016 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34019 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34022 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34025 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34028 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34031 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34034 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34037 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34040 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34043 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34046 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34049 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34052 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34055 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34058 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34061 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34064 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34067 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34070 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34073 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34076 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34079 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34082 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34085 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34088 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34091 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34094 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34097 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34100 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34103 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34106 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34109 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34112 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34115 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34118 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34121 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34124 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34127 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34130 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34133 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34136 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34139 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34142 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34145 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34148 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34151 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34154 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34157 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34160 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34163 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34166 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34169 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34172 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34175 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34178 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34181 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34184 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34187 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34190 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34193 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34196 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34199 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34202 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34205 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34208 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34211 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34214 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34217 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34220 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34223 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34226 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34229 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34232 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34235 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34238 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34241 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34244 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34247 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34250 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34253 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34256 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34259 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34262 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34265 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34268 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34271 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34274 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34277 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34280 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34283 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34286 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34289 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34292 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34295 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34298 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34301 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34304 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34307 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34310 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34313 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34316 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34319 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34322 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34325 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34328 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34331 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34334 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34337 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34340 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34343 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34346 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34349 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34352 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34355 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34358 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34361 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34363 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34365 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34368 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34371 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34374 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34377 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34380 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34383 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34386 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34389 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34392 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34395 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34398 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34401 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34404 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34407 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34410 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34413 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34416 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34419 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34422 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34424 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34426 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34429 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34432 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34435 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34438 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34441 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34444 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34447 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34450 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34453 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34456 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34459 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34462 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34463 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34464 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34465 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34467 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);