1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxFileHistory swig_types[2]
1344 #define SWIGTYPE_p_wxLog swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxEvent swig_types[5]
1347 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6]
1348 #define SWIGTYPE_p_wxConfigBase swig_types[7]
1349 #define SWIGTYPE_p_wxDisplay swig_types[8]
1350 #define SWIGTYPE_p_wxFileType swig_types[9]
1351 #define SWIGTYPE_p_wxLogGui swig_types[10]
1352 #define SWIGTYPE_p_wxFont swig_types[11]
1353 #define SWIGTYPE_p_wxDataFormat swig_types[12]
1354 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
1355 #define SWIGTYPE_p_wxCaret swig_types[14]
1356 #define SWIGTYPE_ptrdiff_t swig_types[15]
1357 #define SWIGTYPE_std__ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_p_int swig_types[17]
1359 #define SWIGTYPE_p_wxSize swig_types[18]
1360 #define SWIGTYPE_p_wxClipboard swig_types[19]
1361 #define SWIGTYPE_p_wxStopWatch swig_types[20]
1362 #define SWIGTYPE_p_wxDC swig_types[21]
1363 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxLogStderr swig_types[24]
1366 #define SWIGTYPE_p_wxLogTextCtrl swig_types[25]
1367 #define SWIGTYPE_p_wxTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxBusyCursor swig_types[27]
1369 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
1370 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxPyTextDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxFileDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxURLDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxMetafileDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxSound swig_types[37]
1379 #define SWIGTYPE_p_wxTimerRunner swig_types[38]
1380 #define SWIGTYPE_p_wxLogWindow swig_types[39]
1381 #define SWIGTYPE_p_wxTimeSpan swig_types[40]
1382 #define SWIGTYPE_p_wxArrayString swig_types[41]
1383 #define SWIGTYPE_p_wxWindowDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxToolTip swig_types[44]
1386 #define SWIGTYPE_p_wxDataObjectComposite swig_types[45]
1387 #define SWIGTYPE_p_wxSystemSettings swig_types[46]
1388 #define SWIGTYPE_p_wxFileConfig swig_types[47]
1389 #define SWIGTYPE_p_wxVideoMode swig_types[48]
1390 #define SWIGTYPE_p_wxDataObjectSimple swig_types[49]
1391 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
1393 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_char swig_types[54]
1396 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[55]
1397 #define SWIGTYPE_p_wxStandardPaths swig_types[56]
1398 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
1399 #define SWIGTYPE_p_wxFrame swig_types[58]
1400 #define SWIGTYPE_p_wxTimer swig_types[59]
1401 #define SWIGTYPE_p_wxPaperSize swig_types[60]
1402 #define SWIGTYPE_p_wxMimeTypesManager swig_types[61]
1403 #define SWIGTYPE_p_wxPyArtProvider swig_types[62]
1404 #define SWIGTYPE_p_wxPyTipProvider swig_types[63]
1405 #define SWIGTYPE_p_wxTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxJoystick swig_types[65]
1407 #define SWIGTYPE_p_wxSystemOptions swig_types[66]
1408 #define SWIGTYPE_p_wxPoint swig_types[67]
1409 #define SWIGTYPE_p_wxJoystickEvent swig_types[68]
1410 #define SWIGTYPE_p_wxCursor swig_types[69]
1411 #define SWIGTYPE_p_wxObject swig_types[70]
1412 #define SWIGTYPE_p_wxOutputStream swig_types[71]
1413 #define SWIGTYPE_p_wxDateTime swig_types[72]
1414 #define SWIGTYPE_p_wxPyDropSource swig_types[73]
1415 #define SWIGTYPE_p_unsigned_long swig_types[74]
1416 #define SWIGTYPE_p_wxKillError swig_types[75]
1417 #define SWIGTYPE_p_wxWindow swig_types[76]
1418 #define SWIGTYPE_p_wxString swig_types[77]
1419 #define SWIGTYPE_p_wxPyProcess swig_types[78]
1420 #define SWIGTYPE_p_wxBitmap swig_types[79]
1421 #define SWIGTYPE_p_wxConfig swig_types[80]
1422 #define SWIGTYPE_unsigned_int swig_types[81]
1423 #define SWIGTYPE_p_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_char swig_types[83]
1425 #define SWIGTYPE_p_wxChar swig_types[84]
1426 #define SWIGTYPE_p_wxBusyInfo swig_types[85]
1427 #define SWIGTYPE_p_wxPyDropTarget swig_types[86]
1428 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxProcessEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPyLog swig_types[90]
1432 #define SWIGTYPE_p_wxLogNull swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxPyTimer swig_types[93]
1435 #define SWIGTYPE_p_wxConfigPathChanger swig_types[94]
1436 #define SWIGTYPE_p_wxDateSpan swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _misc_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_misc_
1447 #define SWIG_name "_misc_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1451 #include "wx/wxPython/pyistream.h"
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1458 #define SWIG_From_int PyInt_FromLong
1466 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1469 if (value
< min_value
) {
1471 PyErr_Format(PyExc_OverflowError
,
1472 "value %ld is less than '%s' minimum %ld",
1473 value
, errmsg
, min_value
);
1476 } else if (value
> max_value
) {
1478 PyErr_Format(PyExc_OverflowError
,
1479 "value %ld is greater than '%s' maximum %ld",
1480 value
, errmsg
, max_value
);
1489 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1491 if (PyNumber_Check(obj
)) {
1492 if (val
) *val
= PyInt_AsLong(obj
);
1496 SWIG_type_error("number", obj
);
1502 #if INT_MAX != LONG_MAX
1504 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1506 const char* errmsg
= val
? "int" : (char*)0;
1508 if (SWIG_AsVal_long(obj
, &v
)) {
1509 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1510 if (val
) *val
= (int)(v
);
1519 SWIG_type_error(errmsg
, obj
);
1525 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1527 return SWIG_AsVal_long(obj
,(long*)val
);
1533 SWIG_As_int(PyObject
* obj
)
1536 if (!SWIG_AsVal_int(obj
, &v
)) {
1538 this is needed to make valgrind/purify happier.
1540 memset((void*)&v
, 0, sizeof(int));
1547 SWIG_Check_int(PyObject
* obj
)
1549 return SWIG_AsVal_int(obj
, (int*)0);
1552 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1554 #include <wx/stockitem.h>
1556 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1557 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1558 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1560 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1561 #define SWIG_From_long PyInt_FromLong
1565 SWIGINTERNSHORT
long
1566 SWIG_As_long(PyObject
* obj
)
1569 if (!SWIG_AsVal_long(obj
, &v
)) {
1571 this is needed to make valgrind/purify happier.
1573 memset((void*)&v
, 0, sizeof(long));
1580 SWIG_Check_long(PyObject
* obj
)
1582 return SWIG_AsVal_long(obj
, (long*)0);
1587 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1589 if (obj
== Py_True
) {
1590 if (val
) *val
= true;
1593 if (obj
== Py_False
) {
1594 if (val
) *val
= false;
1598 if (SWIG_AsVal_int(obj
, &res
)) {
1599 if (val
) *val
= res
? true : false;
1605 SWIG_type_error("bool", obj
);
1611 SWIGINTERNSHORT
bool
1612 SWIG_As_bool(PyObject
* obj
)
1615 if (!SWIG_AsVal_bool(obj
, &v
)) {
1617 this is needed to make valgrind/purify happier.
1619 memset((void*)&v
, 0, sizeof(bool));
1626 SWIG_Check_bool(PyObject
* obj
)
1628 return SWIG_AsVal_bool(obj
, (bool*)0);
1632 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1638 } else if (target
== Py_None
) {
1642 if (!PyTuple_Check(target
)) {
1644 target
= PyTuple_New(1);
1645 PyTuple_SetItem(target
, 0, o2
);
1647 o3
= PyTuple_New(1);
1648 PyTuple_SetItem(o3
, 0, o
);
1651 target
= PySequence_Concat(o2
, o3
);
1660 long wxGetFreeMemory()
1661 { wxPyRaiseNotImplemented(); return 0; }
1665 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1668 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1669 SWIG_type_error("unsigned number", obj
);
1672 *val
= (unsigned long)v
;
1677 SWIGINTERNSHORT
unsigned long
1678 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1681 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1683 this is needed to make valgrind/purify happier.
1685 memset((void*)&v
, 0, sizeof(unsigned long));
1692 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1694 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1698 SWIGINTERNSHORT PyObject
*
1699 SWIG_From_unsigned_SS_long(unsigned long value
)
1701 return (value
> LONG_MAX
) ?
1702 PyLong_FromUnsignedLong(value
)
1703 : PyInt_FromLong((long)(value
));
1707 void wxWakeUpMainThread() {}
1710 bool wxThread_IsMain() {
1711 #ifdef WXP_WITH_THREAD
1712 return wxThread::IsMain();
1718 static void wxCaret_Destroy(wxCaret
*self
){
1722 #include <wx/snglinst.h>
1726 #include <wx/msw/private.h>
1727 #include <wx/dynload.h>
1732 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1743 // This one only partially works. Appears to be an undocumented
1744 // "standard" convention that not all widgets adhear to. For
1745 // example, for some widgets backgrounds or non-client areas may
1747 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1752 // This one works much better, nearly all widgets and their
1753 // children are captured correctly[**]. Prior to the big
1754 // background erase changes that Vadim did in 2004-2005 this
1755 // method failed badly on XP with Themes activated, most native
1756 // widgets draw only partially, if at all. Without themes it
1757 // worked just like on Win2k. After those changes this method
1760 // ** For example the radio buttons in a wxRadioBox are not its
1761 // children by default, but you can capture it via the panel
1762 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1763 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1764 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1765 PRF_ERASEBKGND
| PRF_OWNED
);
1771 // This one is only defined in the latest SDK and is only
1772 // available on XP. MSDN says it is similar to sending WM_PRINT
1773 // so I expect that it will work similar to the above. Since it
1774 // is avaialble only on XP, it can't be compiled like this and
1775 // will have to be loaded dynamically.
1776 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1781 // Use PrintWindow if available, or fallback to WM_PRINT
1782 // otherwise. Unfortunately using PrintWindow is even worse than
1783 // WM_PRINT. For most native widgets nothing is drawn to the dc
1784 // at all, with or without Themes.
1785 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1786 static bool s_triedToLoad
= false;
1787 static PrintWindow_t pfnPrintWindow
= NULL
;
1788 if ( !s_triedToLoad
)
1791 s_triedToLoad
= true;
1792 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1793 if ( dllUser32
.IsLoaded() )
1795 wxLogNull nolog
; // Don't report errors here
1796 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1801 //printf("Using PrintWindow\n");
1802 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1806 //printf("Using WM_PRINT\n");
1807 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1808 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1809 PRF_ERASEBKGND
| PRF_OWNED
);
1820 #include <wx/tipdlg.h>
1823 class wxPyTipProvider
: public wxTipProvider
{
1825 wxPyTipProvider(size_t currentTip
)
1826 : wxTipProvider(currentTip
) {}
1828 DEC_PYCALLBACK_STRING__pure(GetTip
);
1829 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1833 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1834 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1837 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1839 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1841 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1842 : wxTimer(owner
, id
)
1844 if (owner
== NULL
) SetOwner(this);
1848 void wxPyTimer::Notify() {
1850 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1851 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1852 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1853 wxPyEndBlockThreads(blocked
);
1857 void wxPyTimer::base_Notify() {
1863 SWIGINTERN PyObject
*
1864 SWIG_FromCharPtr(const char* cptr
)
1867 size_t size
= strlen(cptr
);
1868 if (size
> INT_MAX
) {
1869 return SWIG_NewPointerObj((char*)(cptr
),
1870 SWIG_TypeQuery("char *"), 0);
1873 return PyString_FromStringAndSize(cptr
, size
);
1875 return PyString_FromString(cptr
);
1885 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1886 unsigned long max_value
,
1889 if (value
> max_value
) {
1891 PyErr_Format(PyExc_OverflowError
,
1892 "value %lu is greater than '%s' minimum %lu",
1893 value
, errmsg
, max_value
);
1901 #if UINT_MAX != ULONG_MAX
1903 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1905 const char* errmsg
= val
? "unsigned int" : (char*)0;
1907 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1908 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1909 if (val
) *val
= (unsigned int)(v
);
1916 SWIG_type_error(errmsg
, obj
);
1921 SWIGINTERNSHORT
unsigned int
1922 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1924 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1929 SWIGINTERNSHORT
unsigned int
1930 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1933 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1935 this is needed to make valgrind/purify happier.
1937 memset((void*)&v
, 0, sizeof(unsigned int));
1944 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1946 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1949 static wxString
Log_TimeStamp(){
1951 wxLog::TimeStamp(&msg
);
1954 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1955 // Make somce wrappers that double any % signs so they are 'escaped'
1956 void wxPyLogFatalError(const wxString
& msg
)
1959 m
.Replace(wxT("%"), wxT("%%"));
1963 void wxPyLogError(const wxString
& msg
)
1966 m
.Replace(wxT("%"), wxT("%%"));
1970 void wxPyLogWarning(const wxString
& msg
)
1973 m
.Replace(wxT("%"), wxT("%%"));
1977 void wxPyLogMessage(const wxString
& msg
)
1980 m
.Replace(wxT("%"), wxT("%%"));
1984 void wxPyLogInfo(const wxString
& msg
)
1987 m
.Replace(wxT("%"), wxT("%%"));
1991 void wxPyLogDebug(const wxString
& msg
)
1994 m
.Replace(wxT("%"), wxT("%%"));
1998 void wxPyLogVerbose(const wxString
& msg
)
2001 m
.Replace(wxT("%"), wxT("%%"));
2005 void wxPyLogStatus(const wxString
& msg
)
2008 m
.Replace(wxT("%"), wxT("%%"));
2012 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2015 m
.Replace(wxT("%"), wxT("%%"));
2016 wxLogStatus(pFrame
, m
);
2019 void wxPyLogSysError(const wxString
& msg
)
2022 m
.Replace(wxT("%"), wxT("%%"));
2026 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2029 m
.Replace(wxT("%"), wxT("%%"));
2030 wxLogGeneric(level
, m
);
2033 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2036 m
.Replace(wxT("%"), wxT("%%"));
2037 wxLogTrace(mask
, m
);
2040 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2043 m
.Replace(wxT("%"), wxT("%%"));
2044 wxLogTrace(mask
, m
);
2049 // A wxLog class that can be derived from in wxPython
2050 class wxPyLog
: public wxLog
{
2052 wxPyLog() : wxLog() {}
2054 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2057 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2058 PyObject
* s
= wx2PyString(szString
);
2059 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2062 wxPyEndBlockThreads(blocked
);
2064 wxLog::DoLog(level
, szString
, t
);
2067 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2070 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2071 PyObject
* s
= wx2PyString(szString
);
2072 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2075 wxPyEndBlockThreads(blocked
);
2077 wxLog::DoLogString(szString
, t
);
2086 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2089 #include <wx/joystick.h>
2092 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2093 // A C++ stub class for wxJoystick for platforms that don't have it.
2094 class wxJoystick
: public wxObject
{
2096 wxJoystick(int joystick
= wxJOYSTICK1
) {
2097 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2098 PyErr_SetString(PyExc_NotImplementedError
,
2099 "wxJoystick is not available on this platform.");
2100 wxPyEndBlockThreads(blocked
);
2102 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2103 int GetZPosition() { return -1; }
2104 int GetButtonState() { return -1; }
2105 int GetPOVPosition() { return -1; }
2106 int GetPOVCTSPosition() { return -1; }
2107 int GetRudderPosition() { return -1; }
2108 int GetUPosition() { return -1; }
2109 int GetVPosition() { return -1; }
2110 int GetMovementThreshold() { return -1; }
2111 void SetMovementThreshold(int threshold
) {}
2113 bool IsOk(void) { return false; }
2114 int GetNumberJoysticks() { return -1; }
2115 int GetManufacturerId() { return -1; }
2116 int GetProductId() { return -1; }
2117 wxString
GetProductName() { return wxEmptyString
; }
2118 int GetXMin() { return -1; }
2119 int GetYMin() { return -1; }
2120 int GetZMin() { return -1; }
2121 int GetXMax() { return -1; }
2122 int GetYMax() { return -1; }
2123 int GetZMax() { return -1; }
2124 int GetNumberButtons() { return -1; }
2125 int GetNumberAxes() { return -1; }
2126 int GetMaxButtons() { return -1; }
2127 int GetMaxAxes() { return -1; }
2128 int GetPollingMin() { return -1; }
2129 int GetPollingMax() { return -1; }
2130 int GetRudderMin() { return -1; }
2131 int GetRudderMax() { return -1; }
2132 int GetUMin() { return -1; }
2133 int GetUMax() { return -1; }
2134 int GetVMin() { return -1; }
2135 int GetVMax() { return -1; }
2137 bool HasRudder() { return false; }
2138 bool HasZ() { return false; }
2139 bool HasU() { return false; }
2140 bool HasV() { return false; }
2141 bool HasPOV() { return false; }
2142 bool HasPOV4Dir() { return false; }
2143 bool HasPOVCTS() { return false; }
2145 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2146 bool ReleaseCapture() { return false; }
2151 #include <wx/sound.h>
2155 // A C++ stub class for wxWave for platforms that don't have it.
2156 class wxSound
: public wxObject
2160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError
,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked
);
2165 wxSound(const wxString
&/*, bool*/) {
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2171 wxSound(int, const wxByte
*) {
2172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2173 PyErr_SetString(PyExc_NotImplementedError
,
2174 "wxSound is not available on this platform.");
2175 wxPyEndBlockThreads(blocked
);
2180 bool Create(const wxString
&/*, bool*/) { return false; }
2181 bool Create(int, const wxByte
*) { return false; };
2182 bool IsOk() { return false; };
2183 bool Play(unsigned) const { return false; }
2184 static bool Play(const wxString
&, unsigned) { return false; }
2185 static void Stop() {}
2190 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2191 if (fileName
.Length() == 0)
2194 return new wxSound(fileName
);
2196 static wxSound
*new_wxSound(PyObject
*data
){
2197 unsigned char* buffer
; int size
;
2198 wxSound
*sound
= NULL
;
2200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2201 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2203 sound
= new wxSound(size
, buffer
);
2205 wxPyEndBlockThreads(blocked
);
2208 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2210 unsigned char* buffer
;
2214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2215 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2217 rv
= self
->Create(size
, buffer
);
2219 wxPyEndBlockThreads(blocked
);
2222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2223 PyErr_SetString(PyExc_NotImplementedError
,
2224 "Create from data is not available on this platform.");
2225 wxPyEndBlockThreads(blocked
);
2230 #include <wx/mimetype.h>
2232 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2234 if (self
->GetMimeType(&str
))
2235 return wx2PyString(str
);
2239 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2241 if (self
->GetMimeTypes(arr
))
2242 return wxArrayString2PyList_helper(arr
);
2246 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2248 if (self
->GetExtensions(arr
))
2249 return wxArrayString2PyList_helper(arr
);
2253 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2255 if (self
->GetIcon(&loc
))
2256 return new wxIcon(loc
);
2260 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2262 if (self
->GetIcon(&loc
)) {
2263 wxString iconFile
= loc
.GetFileName();
2268 // Make a tuple and put the values in it
2269 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2270 PyObject
* tuple
= PyTuple_New(3);
2271 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2272 wxT("wxIcon"), true));
2273 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2274 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2275 wxPyEndBlockThreads(blocked
);
2281 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2283 if (self
->GetDescription(&str
))
2284 return wx2PyString(str
);
2288 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2290 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2291 return wx2PyString(str
);
2295 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2297 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2298 return wx2PyString(str
);
2302 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2303 wxArrayString verbs
;
2304 wxArrayString commands
;
2305 if (self
->GetAllCommands(&verbs
, &commands
,
2306 wxFileType::MessageParameters(filename
, mimetype
))) {
2307 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2308 PyObject
* tuple
= PyTuple_New(2);
2309 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2310 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2311 wxPyEndBlockThreads(blocked
);
2317 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2318 return wxFileType::ExpandCommand(command
,
2319 wxFileType::MessageParameters(filename
, mimetype
));
2321 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2323 self
->EnumAllFileTypes(arr
);
2324 return wxArrayString2PyList_helper(arr
);
2327 #include <wx/artprov.h>
2329 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2330 static const wxString
wxPyART_MENU(wxART_MENU
);
2331 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2332 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2333 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2334 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2335 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2336 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2337 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2338 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2339 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2340 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2341 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2342 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2343 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2344 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2345 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2346 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2347 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2348 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2349 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2350 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2351 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2352 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2353 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2354 static const wxString
wxPyART_HELP(wxART_HELP
);
2355 static const wxString
wxPyART_TIP(wxART_TIP
);
2356 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2357 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2358 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2359 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2360 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2361 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2362 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2363 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2364 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2365 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2366 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2367 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2368 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2369 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2370 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2371 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2372 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2373 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2374 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2375 static const wxString
wxPyART_COPY(wxART_COPY
);
2376 static const wxString
wxPyART_CUT(wxART_CUT
);
2377 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2378 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2379 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2380 static const wxString
wxPyART_REDO(wxART_REDO
);
2381 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2382 static const wxString
wxPyART_FIND(wxART_FIND
);
2383 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2384 // Python aware wxArtProvider
2385 class wxPyArtProvider
: public wxArtProvider
{
2388 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2389 const wxArtClient
& client
,
2390 const wxSize
& size
) {
2391 wxBitmap rval
= wxNullBitmap
;
2392 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2393 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2394 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2398 s1
= wx2PyString(id
);
2399 s2
= wx2PyString(client
);
2400 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2405 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2410 wxPyEndBlockThreads(blocked
);
2417 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2421 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2422 PyObject
* ret
= PyTuple_New(3);
2424 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2425 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2426 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2431 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2436 cont
= self
->GetFirstGroup(value
, index
);
2437 return __EnumerationHelper(cont
, value
, index
);
2439 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2443 cont
= self
->GetNextGroup(value
, index
);
2444 return __EnumerationHelper(cont
, value
, index
);
2446 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2451 cont
= self
->GetFirstEntry(value
, index
);
2452 return __EnumerationHelper(cont
, value
, index
);
2454 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2458 cont
= self
->GetNextEntry(value
, index
);
2459 return __EnumerationHelper(cont
, value
, index
);
2461 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2463 self
->Read(key
, &rv
, defaultVal
);
2468 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2470 if (PyNumber_Check(obj
)) {
2471 if (val
) *val
= PyFloat_AsDouble(obj
);
2475 SWIG_type_error("number", obj
);
2481 SWIGINTERNSHORT
double
2482 SWIG_As_double(PyObject
* obj
)
2485 if (!SWIG_AsVal_double(obj
, &v
)) {
2487 this is needed to make valgrind/purify happier.
2489 memset((void*)&v
, 0, sizeof(double));
2496 SWIG_Check_double(PyObject
* obj
)
2498 return SWIG_AsVal_double(obj
, (double*)0);
2501 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2503 self
->Read(key
, &rv
, defaultVal
);
2507 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2508 #define SWIG_From_double PyFloat_FromDouble
2511 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2513 self
->Read(key
, &rv
, defaultVal
);
2517 #include <wx/datetime.h>
2519 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2520 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2522 #define LOCAL_TZ wxDateTime::Local
2524 static PyObject
*DateTime_GetAmPmStrings(){
2527 wxDateTime::GetAmPmStrings(&am
, &pm
);
2528 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2529 PyObject
* tup
= PyTuple_New(2);
2530 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2531 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2532 wxPyEndBlockThreads(blocked
);
2536 #if UINT_MAX < LONG_MAX
2537 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2538 #define SWIG_From_unsigned_SS_int SWIG_From_long
2541 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2542 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2546 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2547 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2548 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2549 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2550 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2551 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2552 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2553 return (*self
< *other
);
2555 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2556 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2557 return (*self
<= *other
);
2559 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2560 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2561 return (*self
> *other
);
2563 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2564 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2565 return (*self
>= *other
);
2567 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2568 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2569 return (*self
== *other
);
2571 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2572 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2573 return (*self
!= *other
);
2575 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2577 const wxChar
* _date
= date
;
2578 rv
= self
->ParseRfc822Date(_date
);
2579 if (rv
== NULL
) return -1;
2582 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2584 const wxChar
* _date
= date
;
2585 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2586 if (rv
== NULL
) return -1;
2589 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2591 const wxChar
* _datetime
= datetime
;
2592 rv
= self
->ParseDateTime(_datetime
);
2593 if (rv
== NULL
) return -1;
2594 return rv
- _datetime
;
2596 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2598 const wxChar
* _date
= date
;
2599 rv
= self
->ParseDate(_date
);
2600 if (rv
== NULL
) return -1;
2603 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2605 const wxChar
* _time
= time
;
2606 rv
= self
->ParseTime(_time
);
2607 if (rv
== NULL
) return -1;
2610 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2611 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2612 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2613 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2614 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2615 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2616 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2617 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2618 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2619 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2620 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2621 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2622 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2623 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2624 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2625 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2627 #include <wx/dataobj.h>
2629 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2630 size_t count
= self
->GetFormatCount(dir
);
2631 wxDataFormat
* formats
= new wxDataFormat
[count
];
2632 self
->GetAllFormats(formats
, dir
);
2634 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2635 PyObject
* list
= PyList_New(count
);
2636 for (size_t i
=0; i
<count
; i
++) {
2637 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2638 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2639 PyList_Append(list
, obj
);
2642 wxPyEndBlockThreads(blocked
);
2646 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2647 PyObject
* rval
= NULL
;
2648 size_t size
= self
->GetDataSize(format
);
2649 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2651 char* buf
= new char[size
];
2652 if (self
->GetDataHere(format
, buf
))
2653 rval
= PyString_FromStringAndSize(buf
, size
);
2660 wxPyEndBlockThreads(blocked
);
2663 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2665 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2666 if (PyString_Check(data
)) {
2667 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2670 // raise a TypeError if not a string
2671 PyErr_SetString(PyExc_TypeError
, "String expected.");
2674 wxPyEndBlockThreads(blocked
);
2677 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2678 PyObject
* rval
= NULL
;
2679 size_t size
= self
->GetDataSize();
2680 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2682 char* buf
= new char[size
];
2683 if (self
->GetDataHere(buf
))
2684 rval
= PyString_FromStringAndSize(buf
, size
);
2691 wxPyEndBlockThreads(blocked
);
2694 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2696 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2697 if (PyString_Check(data
)) {
2698 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2701 // raise a TypeError if not a string
2702 PyErr_SetString(PyExc_TypeError
, "String expected.");
2705 wxPyEndBlockThreads(blocked
);
2708 // Create a new class for wxPython to use
2709 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2711 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2712 : wxDataObjectSimple(format
) {}
2714 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2715 bool GetDataHere(void *buf
) const;
2716 bool SetData(size_t len
, const void *buf
) const;
2720 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2722 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2723 // We need to get the data for this object and write it to buf. I think
2724 // the best way to do this for wxPython is to have the Python method
2725 // return either a string or None and then act appropriately with the
2729 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2730 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2732 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2734 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2736 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2740 wxPyEndBlockThreads(blocked
);
2744 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2745 // For this one we simply need to make a string from buf and len
2746 // and send it to the Python method.
2748 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2749 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2750 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2751 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2754 wxPyEndBlockThreads(blocked
);
2758 // Create a new class for wxPython to use
2759 class wxPyTextDataObject
: public wxTextDataObject
{
2761 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2762 : wxTextDataObject(text
) {}
2764 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2765 DEC_PYCALLBACK_STRING__const(GetText
);
2766 DEC_PYCALLBACK__STRING(SetText
);
2770 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2771 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2772 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2775 // Create a new class for wxPython to use
2776 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2778 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2779 : wxBitmapDataObject(bitmap
) {}
2781 wxBitmap
GetBitmap() const;
2782 void SetBitmap(const wxBitmap
& bitmap
);
2786 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2787 wxBitmap
* rval
= &wxNullBitmap
;
2788 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2789 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2792 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2794 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2799 wxPyEndBlockThreads(blocked
);
2803 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2804 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2805 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2806 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2807 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2810 wxPyEndBlockThreads(blocked
);
2813 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2814 return new wxCustomDataObject(wxDataFormat(formatName
));
2816 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2818 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2819 if (PyString_Check(data
)) {
2820 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2823 // raise a TypeError if not a string
2824 PyErr_SetString(PyExc_TypeError
, "String expected.");
2827 wxPyEndBlockThreads(blocked
);
2830 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2832 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2833 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2834 wxPyEndBlockThreads(blocked
);
2838 class wxMetafileDataObject
: public wxDataObjectSimple
2841 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2845 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2848 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2849 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2850 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2851 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2852 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2855 class wxPyTextDropTarget
: public wxTextDropTarget
{
2857 wxPyTextDropTarget() {}
2859 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2861 DEC_PYCALLBACK__(OnLeave
);
2862 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2863 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2864 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2865 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2870 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2871 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2872 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2873 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2874 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2875 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2879 class wxPyFileDropTarget
: public wxFileDropTarget
{
2881 wxPyFileDropTarget() {}
2883 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2885 DEC_PYCALLBACK__(OnLeave
);
2886 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2887 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2888 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2889 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2894 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2895 const wxArrayString
& filenames
) {
2897 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2898 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2899 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2900 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2903 wxPyEndBlockThreads(blocked
);
2909 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2910 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2911 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2912 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2913 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2918 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2920 #include <wx/display.h>
2922 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2923 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2925 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2927 #include <wx/dynarray.h>
2928 #include <wx/vidmode.h>
2930 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2931 #include "wx/arrimpl.cpp"
2932 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2933 const wxVideoMode wxDefaultVideoMode
;
2938 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2941 static size_t GetCount()
2942 { wxPyRaiseNotImplemented(); return 0; }
2944 static int GetFromPoint(const wxPoint
& pt
)
2945 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2946 static int GetFromWindow(wxWindow
*window
)
2947 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2949 virtual bool IsOk() const { return false; }
2950 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2951 virtual wxString
GetName() const { return wxEmptyString
; }
2952 bool IsPrimary() const { return false; }
2954 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2955 { wxArrayVideoModes a
; return a
; }
2957 virtual wxVideoMode
GetCurrentMode() const
2958 { return wxDefaultVideoMode
; }
2960 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2967 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2968 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2969 PyObject
* pyList
= NULL
;
2970 wxArrayVideoModes arr
= self
->GetModes(mode
);
2971 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2972 pyList
= PyList_New(0);
2973 for (int i
=0; i
< arr
.GetCount(); i
++) {
2974 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2975 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2976 PyList_Append(pyList
, pyObj
);
2979 wxPyEndBlockThreads(blocked
);
2983 #include <wx/stdpaths.h>
2985 static wxStandardPaths
*StandardPaths_Get(){
2986 return (wxStandardPaths
*) &wxStandardPaths::Get();
2991 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxSystemColour arg1
;
2995 PyObject
* obj0
= 0 ;
2997 (char *) "index", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3002 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3003 if (SWIG_arg_fail(1)) SWIG_fail
;
3006 if (!wxPyCheckForApp()) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 wxColour
* resultptr
;
3015 resultptr
= new wxColour((wxColour
&)(result
));
3016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3024 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3028 PyObject
* obj0
= 0 ;
3030 (char *) "index", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3035 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3036 if (SWIG_arg_fail(1)) SWIG_fail
;
3039 if (!wxPyCheckForApp()) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3048 resultptr
= new wxFont((wxFont
&)(result
));
3049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3057 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxSystemMetric arg1
;
3060 wxWindow
*arg2
= (wxWindow
*) NULL
;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "index",(char *) "win", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3070 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3071 if (SWIG_arg_fail(1)) SWIG_fail
;
3074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3075 if (SWIG_arg_fail(2)) SWIG_fail
;
3078 if (!wxPyCheckForApp()) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= SWIG_From_int((int)(result
));
3094 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxSystemFeature arg1
;
3098 PyObject
* obj0
= 0 ;
3100 (char *) "index", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3105 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3106 if (SWIG_arg_fail(1)) SWIG_fail
;
3109 if (!wxPyCheckForApp()) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3125 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxSystemScreenType result
;
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3134 if (!wxPyCheckForApp()) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 resultobj
= SWIG_From_int((result
));
3148 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxSystemScreenType arg1
;
3151 PyObject
* obj0
= 0 ;
3153 (char *) "screen", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3158 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3159 if (SWIG_arg_fail(1)) SWIG_fail
;
3162 if (!wxPyCheckForApp()) SWIG_fail
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3169 Py_INCREF(Py_None
); resultobj
= Py_None
;
3176 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3179 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3181 return Py_BuildValue((char *)"");
3183 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3184 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3189 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3194 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3196 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3203 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxSystemOptions
*result
;
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= (wxSystemOptions
*)new wxSystemOptions();
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3225 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 wxString
*arg1
= 0 ;
3228 wxString
*arg2
= 0 ;
3229 bool temp1
= false ;
3230 bool temp2
= false ;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3234 (char *) "name",(char *) "value", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3239 arg1
= wxString_in_helper(obj0
);
3240 if (arg1
== NULL
) SWIG_fail
;
3244 arg2
= wxString_in_helper(obj1
);
3245 if (arg2
== NULL
) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3278 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxString
*arg1
= 0 ;
3282 bool temp1
= false ;
3283 PyObject
* obj0
= 0 ;
3284 PyObject
* obj1
= 0 ;
3286 (char *) "name",(char *) "value", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3291 arg1
= wxString_in_helper(obj0
);
3292 if (arg1
== NULL
) SWIG_fail
;
3296 arg2
= (int)(SWIG_As_int(obj1
));
3297 if (SWIG_arg_fail(2)) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3321 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxString
*arg1
= 0 ;
3325 bool temp1
= false ;
3326 PyObject
* obj0
= 0 ;
3328 (char *) "name", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3333 arg1
= wxString_in_helper(obj0
);
3334 if (arg1
== NULL
) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3365 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxString
*arg1
= 0 ;
3369 bool temp1
= false ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "name", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3377 arg1
= wxString_in_helper(obj0
);
3378 if (arg1
== NULL
) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3389 resultobj
= SWIG_From_int((int)(result
));
3405 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxString
*arg1
= 0 ;
3409 bool temp1
= false ;
3410 PyObject
* obj0
= 0 ;
3412 (char *) "name", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3417 arg1
= wxString_in_helper(obj0
);
3418 if (arg1
== NULL
) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3445 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxString
*arg1
= 0 ;
3449 bool temp1
= false ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "name", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3457 arg1
= wxString_in_helper(obj0
);
3458 if (arg1
== NULL
) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3485 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3488 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3490 return Py_BuildValue((char *)"");
3492 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3493 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3498 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3503 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3505 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3512 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3513 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3518 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3523 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3525 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3532 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3533 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3538 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3543 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3545 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3552 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (long)wxNewId();
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 resultobj
= SWIG_From_long((long)(result
));
3576 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3579 PyObject
* obj0
= 0 ;
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3586 arg1
= (long)(SWIG_As_long(obj0
));
3587 if (SWIG_arg_fail(1)) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3596 Py_INCREF(Py_None
); resultobj
= Py_None
;
3603 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (long)wxGetCurrentId();
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= SWIG_From_long((long)(result
));
3627 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3631 PyObject
* obj0
= 0 ;
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3638 arg1
= (int)(SWIG_As_int(obj0
));
3639 if (SWIG_arg_fail(1)) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (bool)wxIsStockID(arg1
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3657 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3660 wxString
*arg2
= 0 ;
3662 bool temp2
= false ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3666 (char *) "id",(char *) "label", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3671 arg1
= (int)(SWIG_As_int(obj0
));
3672 if (SWIG_arg_fail(1)) SWIG_fail
;
3675 arg2
= wxString_in_helper(obj1
);
3676 if (arg2
== NULL
) SWIG_fail
;
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3703 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3706 bool arg2
= (bool) true ;
3707 wxString arg3
= (wxString
) wxPyEmptyString
;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3711 PyObject
* obj2
= 0 ;
3713 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3718 arg1
= (int)(SWIG_As_int(obj0
));
3719 if (SWIG_arg_fail(1)) SWIG_fail
;
3723 arg2
= (bool)(SWIG_As_bool(obj1
));
3724 if (SWIG_arg_fail(2)) SWIG_fail
;
3729 wxString
* sptr
= wxString_in_helper(obj2
);
3730 if (sptr
== NULL
) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3755 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3763 if (!wxPyCheckForApp()) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 Py_INCREF(Py_None
); resultobj
= Py_None
;
3777 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3785 if (!wxPyCheckForApp()) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3799 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 bool arg1
= (bool) true ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "resetTimer", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3811 arg1
= (bool)(SWIG_As_bool(obj0
));
3812 if (SWIG_arg_fail(1)) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (long)wxGetElapsedTime(arg1
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_From_long((long)(result
));
3831 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 int *arg1
= (int *) 0 ;
3834 int *arg2
= (int *) 0 ;
3843 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3844 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3847 if (!wxPyCheckForApp()) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 wxGetMousePosition(arg1
,arg2
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3856 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3857 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3858 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3865 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (bool)wxIsBusy();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3889 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3917 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3920 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3922 bool temp1
= false ;
3923 PyObject
* obj0
= 0 ;
3925 (char *) "command", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3931 arg1
= wxString_in_helper(obj0
);
3932 if (arg1
== NULL
) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (bool)wxShell((wxString
const &)*arg1
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3960 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 Py_INCREF(Py_None
); resultobj
= Py_None
;
3981 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 int *arg1
= (int *) 0 ;
3984 int *arg2
= (int *) 0 ;
3994 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3995 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 result
= (int)wxGetOsVersion(arg1
,arg2
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4005 resultobj
= SWIG_From_int((int)(result
));
4007 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4008 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4009 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4010 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4017 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= wxGetOsDescription();
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4045 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (long)wxGetFreeMemory();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_From_long((long)(result
));
4069 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4071 wxShutdownFlags arg1
;
4073 PyObject
* obj0
= 0 ;
4075 (char *) "wFlags", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4080 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4081 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 if (!wxPyCheckForApp()) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4100 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4103 PyObject
* obj0
= 0 ;
4105 (char *) "secs", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4110 arg1
= (int)(SWIG_As_int(obj0
));
4111 if (SWIG_arg_fail(1)) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 Py_INCREF(Py_None
); resultobj
= Py_None
;
4127 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 unsigned long arg1
;
4130 PyObject
* obj0
= 0 ;
4132 (char *) "milliseconds", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4137 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4138 if (SWIG_arg_fail(1)) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 Py_INCREF(Py_None
); resultobj
= Py_None
;
4154 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 unsigned long arg1
;
4157 PyObject
* obj0
= 0 ;
4159 (char *) "microseconds", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4164 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4165 if (SWIG_arg_fail(1)) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 Py_INCREF(Py_None
); resultobj
= Py_None
;
4181 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4184 PyObject
* obj0
= 0 ;
4186 (char *) "enable", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4191 arg1
= (bool)(SWIG_As_bool(obj0
));
4192 if (SWIG_arg_fail(1)) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 wxEnableTopLevelWindows(arg1
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 Py_INCREF(Py_None
); resultobj
= Py_None
;
4208 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxString
*arg1
= 0 ;
4212 bool temp1
= false ;
4213 PyObject
* obj0
= 0 ;
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4220 arg1
= wxString_in_helper(obj0
);
4221 if (arg1
== NULL
) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4252 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= wxGetEmailAddress();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4280 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= wxGetHostName();
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4308 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= wxGetFullHostName();
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4336 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= wxGetUserId();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4364 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= wxGetUserName();
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4392 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= wxGetHomeDir();
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4420 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4423 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4425 bool temp1
= false ;
4426 PyObject
* obj0
= 0 ;
4428 (char *) "user", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4434 arg1
= wxString_in_helper(obj0
);
4435 if (arg1
== NULL
) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= wxGetUserHome((wxString
const &)*arg1
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4467 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
;
4469 unsigned long result
;
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (unsigned long)wxGetProcessId();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4491 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4515 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4516 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4517 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4518 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4519 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4520 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4521 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4522 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4523 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4524 int arg6
= (int) 0 ;
4525 wxWindow
*arg7
= (wxWindow
*) NULL
;
4526 int arg8
= (int) -1 ;
4527 int arg9
= (int) -1 ;
4529 bool temp1
= false ;
4530 bool temp2
= false ;
4531 bool temp3
= false ;
4532 bool temp4
= false ;
4533 bool temp5
= false ;
4534 PyObject
* obj0
= 0 ;
4535 PyObject
* obj1
= 0 ;
4536 PyObject
* obj2
= 0 ;
4537 PyObject
* obj3
= 0 ;
4538 PyObject
* obj4
= 0 ;
4539 PyObject
* obj5
= 0 ;
4540 PyObject
* obj6
= 0 ;
4541 PyObject
* obj7
= 0 ;
4542 PyObject
* obj8
= 0 ;
4544 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4550 arg1
= wxString_in_helper(obj0
);
4551 if (arg1
== NULL
) SWIG_fail
;
4557 arg2
= wxString_in_helper(obj1
);
4558 if (arg2
== NULL
) SWIG_fail
;
4564 arg3
= wxString_in_helper(obj2
);
4565 if (arg3
== NULL
) SWIG_fail
;
4571 arg4
= wxString_in_helper(obj3
);
4572 if (arg4
== NULL
) SWIG_fail
;
4578 arg5
= wxString_in_helper(obj4
);
4579 if (arg5
== NULL
) SWIG_fail
;
4585 arg6
= (int)(SWIG_As_int(obj5
));
4586 if (SWIG_arg_fail(6)) SWIG_fail
;
4590 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4591 if (SWIG_arg_fail(7)) SWIG_fail
;
4595 arg8
= (int)(SWIG_As_int(obj7
));
4596 if (SWIG_arg_fail(8)) SWIG_fail
;
4601 arg9
= (int)(SWIG_As_int(obj8
));
4602 if (SWIG_arg_fail(9)) SWIG_fail
;
4606 if (!wxPyCheckForApp()) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4666 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxString
*arg1
= 0 ;
4669 wxString
*arg2
= 0 ;
4670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4672 wxWindow
*arg4
= (wxWindow
*) NULL
;
4674 bool temp1
= false ;
4675 bool temp2
= false ;
4676 bool temp3
= false ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 PyObject
* obj3
= 0 ;
4682 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4687 arg1
= wxString_in_helper(obj0
);
4688 if (arg1
== NULL
) SWIG_fail
;
4692 arg2
= wxString_in_helper(obj1
);
4693 if (arg2
== NULL
) SWIG_fail
;
4698 arg3
= wxString_in_helper(obj2
);
4699 if (arg3
== NULL
) SWIG_fail
;
4704 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4705 if (SWIG_arg_fail(4)) SWIG_fail
;
4708 if (!wxPyCheckForApp()) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4752 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxString
*arg1
= 0 ;
4755 wxString
*arg2
= 0 ;
4756 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4757 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4758 wxWindow
*arg4
= (wxWindow
*) NULL
;
4760 bool temp1
= false ;
4761 bool temp2
= false ;
4762 bool temp3
= false ;
4763 PyObject
* obj0
= 0 ;
4764 PyObject
* obj1
= 0 ;
4765 PyObject
* obj2
= 0 ;
4766 PyObject
* obj3
= 0 ;
4768 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4773 arg1
= wxString_in_helper(obj0
);
4774 if (arg1
== NULL
) SWIG_fail
;
4778 arg2
= wxString_in_helper(obj1
);
4779 if (arg2
== NULL
) SWIG_fail
;
4784 arg3
= wxString_in_helper(obj2
);
4785 if (arg3
== NULL
) SWIG_fail
;
4790 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4791 if (SWIG_arg_fail(4)) SWIG_fail
;
4794 if (!wxPyCheckForApp()) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4838 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4840 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4841 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4842 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4843 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4844 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4847 wxWindow
*arg5
= (wxWindow
*) NULL
;
4849 bool temp1
= false ;
4850 bool temp2
= false ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4854 PyObject
* obj2
= 0 ;
4855 PyObject
* obj3
= 0 ;
4856 PyObject
* obj4
= 0 ;
4858 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4864 arg1
= wxString_in_helper(obj0
);
4865 if (arg1
== NULL
) SWIG_fail
;
4871 arg2
= wxString_in_helper(obj1
);
4872 if (arg2
== NULL
) SWIG_fail
;
4878 arg3
= (long)(SWIG_As_long(obj2
));
4879 if (SWIG_arg_fail(3)) SWIG_fail
;
4885 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4889 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4890 if (SWIG_arg_fail(5)) SWIG_fail
;
4893 if (!wxPyCheckForApp()) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4929 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxString
*arg1
= 0 ;
4932 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4933 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4934 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4935 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4936 wxWindow
*arg4
= (wxWindow
*) NULL
;
4937 int arg5
= (int) -1 ;
4938 int arg6
= (int) -1 ;
4939 bool arg7
= (bool) true ;
4941 bool temp1
= false ;
4942 bool temp2
= false ;
4943 bool temp3
= false ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4946 PyObject
* obj2
= 0 ;
4947 PyObject
* obj3
= 0 ;
4948 PyObject
* obj4
= 0 ;
4949 PyObject
* obj5
= 0 ;
4950 PyObject
* obj6
= 0 ;
4952 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4957 arg1
= wxString_in_helper(obj0
);
4958 if (arg1
== NULL
) SWIG_fail
;
4963 arg2
= wxString_in_helper(obj1
);
4964 if (arg2
== NULL
) SWIG_fail
;
4970 arg3
= wxString_in_helper(obj2
);
4971 if (arg3
== NULL
) SWIG_fail
;
4976 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(4)) SWIG_fail
;
4981 arg5
= (int)(SWIG_As_int(obj4
));
4982 if (SWIG_arg_fail(5)) SWIG_fail
;
4987 arg6
= (int)(SWIG_As_int(obj5
));
4988 if (SWIG_arg_fail(6)) SWIG_fail
;
4993 arg7
= (bool)(SWIG_As_bool(obj6
));
4994 if (SWIG_arg_fail(7)) SWIG_fail
;
4998 if (!wxPyCheckForApp()) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5042 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxString
*arg1
= 0 ;
5045 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5046 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5049 wxWindow
*arg4
= (wxWindow
*) NULL
;
5051 bool temp1
= false ;
5052 bool temp2
= false ;
5053 bool temp3
= false ;
5054 PyObject
* obj0
= 0 ;
5055 PyObject
* obj1
= 0 ;
5056 PyObject
* obj2
= 0 ;
5057 PyObject
* obj3
= 0 ;
5059 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5064 arg1
= wxString_in_helper(obj0
);
5065 if (arg1
== NULL
) SWIG_fail
;
5070 arg2
= wxString_in_helper(obj1
);
5071 if (arg2
== NULL
) SWIG_fail
;
5077 arg3
= wxString_in_helper(obj2
);
5078 if (arg3
== NULL
) SWIG_fail
;
5083 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5084 if (SWIG_arg_fail(4)) SWIG_fail
;
5087 if (!wxPyCheckForApp()) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5131 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxString
*arg1
= 0 ;
5134 wxString
*arg2
= 0 ;
5136 wxString
*arg4
= (wxString
*) 0 ;
5137 wxWindow
*arg5
= (wxWindow
*) NULL
;
5138 int arg6
= (int) -1 ;
5139 int arg7
= (int) -1 ;
5140 bool arg8
= (bool) true ;
5141 int arg9
= (int) 150 ;
5142 int arg10
= (int) 200 ;
5144 bool temp1
= false ;
5145 bool temp2
= false ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 PyObject
* obj2
= 0 ;
5149 PyObject
* obj3
= 0 ;
5150 PyObject
* obj4
= 0 ;
5151 PyObject
* obj5
= 0 ;
5152 PyObject
* obj6
= 0 ;
5153 PyObject
* obj7
= 0 ;
5154 PyObject
* obj8
= 0 ;
5156 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5161 arg1
= wxString_in_helper(obj0
);
5162 if (arg1
== NULL
) SWIG_fail
;
5166 arg2
= wxString_in_helper(obj1
);
5167 if (arg2
== NULL
) SWIG_fail
;
5171 arg3
= PyList_Size(obj2
);
5172 arg4
= wxString_LIST_helper(obj2
);
5173 if (arg4
== NULL
) SWIG_fail
;
5176 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5177 if (SWIG_arg_fail(5)) SWIG_fail
;
5181 arg6
= (int)(SWIG_As_int(obj4
));
5182 if (SWIG_arg_fail(6)) SWIG_fail
;
5187 arg7
= (int)(SWIG_As_int(obj5
));
5188 if (SWIG_arg_fail(7)) SWIG_fail
;
5193 arg8
= (bool)(SWIG_As_bool(obj6
));
5194 if (SWIG_arg_fail(8)) SWIG_fail
;
5199 arg9
= (int)(SWIG_As_int(obj7
));
5200 if (SWIG_arg_fail(9)) SWIG_fail
;
5205 arg10
= (int)(SWIG_As_int(obj8
));
5206 if (SWIG_arg_fail(10)) SWIG_fail
;
5210 if (!wxPyCheckForApp()) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5233 if (arg4
) delete [] arg4
;
5246 if (arg4
) delete [] arg4
;
5252 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxString
*arg1
= 0 ;
5255 wxString
*arg2
= 0 ;
5257 wxString
*arg4
= (wxString
*) 0 ;
5258 wxWindow
*arg5
= (wxWindow
*) NULL
;
5259 int arg6
= (int) -1 ;
5260 int arg7
= (int) -1 ;
5261 bool arg8
= (bool) true ;
5262 int arg9
= (int) 150 ;
5263 int arg10
= (int) 200 ;
5265 bool temp1
= false ;
5266 bool temp2
= false ;
5267 PyObject
* obj0
= 0 ;
5268 PyObject
* obj1
= 0 ;
5269 PyObject
* obj2
= 0 ;
5270 PyObject
* obj3
= 0 ;
5271 PyObject
* obj4
= 0 ;
5272 PyObject
* obj5
= 0 ;
5273 PyObject
* obj6
= 0 ;
5274 PyObject
* obj7
= 0 ;
5275 PyObject
* obj8
= 0 ;
5277 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5282 arg1
= wxString_in_helper(obj0
);
5283 if (arg1
== NULL
) SWIG_fail
;
5287 arg2
= wxString_in_helper(obj1
);
5288 if (arg2
== NULL
) SWIG_fail
;
5292 arg3
= PyList_Size(obj2
);
5293 arg4
= wxString_LIST_helper(obj2
);
5294 if (arg4
== NULL
) SWIG_fail
;
5297 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5298 if (SWIG_arg_fail(5)) SWIG_fail
;
5302 arg6
= (int)(SWIG_As_int(obj4
));
5303 if (SWIG_arg_fail(6)) SWIG_fail
;
5308 arg7
= (int)(SWIG_As_int(obj5
));
5309 if (SWIG_arg_fail(7)) SWIG_fail
;
5314 arg8
= (bool)(SWIG_As_bool(obj6
));
5315 if (SWIG_arg_fail(8)) SWIG_fail
;
5320 arg9
= (int)(SWIG_As_int(obj7
));
5321 if (SWIG_arg_fail(9)) SWIG_fail
;
5326 arg10
= (int)(SWIG_As_int(obj8
));
5327 if (SWIG_arg_fail(10)) SWIG_fail
;
5331 if (!wxPyCheckForApp()) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= SWIG_From_int((int)(result
));
5350 if (arg4
) delete [] arg4
;
5363 if (arg4
) delete [] arg4
;
5369 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxString
*arg1
= 0 ;
5372 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5373 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5374 int arg3
= (int) wxOK
|wxCENTRE
;
5375 wxWindow
*arg4
= (wxWindow
*) NULL
;
5376 int arg5
= (int) -1 ;
5377 int arg6
= (int) -1 ;
5379 bool temp1
= false ;
5380 bool temp2
= false ;
5381 PyObject
* obj0
= 0 ;
5382 PyObject
* obj1
= 0 ;
5383 PyObject
* obj2
= 0 ;
5384 PyObject
* obj3
= 0 ;
5385 PyObject
* obj4
= 0 ;
5386 PyObject
* obj5
= 0 ;
5388 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5393 arg1
= wxString_in_helper(obj0
);
5394 if (arg1
== NULL
) SWIG_fail
;
5399 arg2
= wxString_in_helper(obj1
);
5400 if (arg2
== NULL
) SWIG_fail
;
5406 arg3
= (int)(SWIG_As_int(obj2
));
5407 if (SWIG_arg_fail(3)) SWIG_fail
;
5411 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5412 if (SWIG_arg_fail(4)) SWIG_fail
;
5416 arg5
= (int)(SWIG_As_int(obj4
));
5417 if (SWIG_arg_fail(5)) SWIG_fail
;
5422 arg6
= (int)(SWIG_As_int(obj5
));
5423 if (SWIG_arg_fail(6)) SWIG_fail
;
5427 if (!wxPyCheckForApp()) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5435 resultobj
= SWIG_From_int((int)(result
));
5459 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxString
*arg1
= 0 ;
5462 wxString
*arg2
= 0 ;
5463 wxString
*arg3
= 0 ;
5465 long arg5
= (long) 0 ;
5466 long arg6
= (long) 100 ;
5467 wxWindow
*arg7
= (wxWindow
*) NULL
;
5468 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5469 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5471 bool temp1
= false ;
5472 bool temp2
= false ;
5473 bool temp3
= false ;
5475 PyObject
* obj0
= 0 ;
5476 PyObject
* obj1
= 0 ;
5477 PyObject
* obj2
= 0 ;
5478 PyObject
* obj3
= 0 ;
5479 PyObject
* obj4
= 0 ;
5480 PyObject
* obj5
= 0 ;
5481 PyObject
* obj6
= 0 ;
5482 PyObject
* obj7
= 0 ;
5484 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5489 arg1
= wxString_in_helper(obj0
);
5490 if (arg1
== NULL
) SWIG_fail
;
5494 arg2
= wxString_in_helper(obj1
);
5495 if (arg2
== NULL
) SWIG_fail
;
5499 arg3
= wxString_in_helper(obj2
);
5500 if (arg3
== NULL
) SWIG_fail
;
5504 arg4
= (long)(SWIG_As_long(obj3
));
5505 if (SWIG_arg_fail(4)) SWIG_fail
;
5509 arg5
= (long)(SWIG_As_long(obj4
));
5510 if (SWIG_arg_fail(5)) SWIG_fail
;
5515 arg6
= (long)(SWIG_As_long(obj5
));
5516 if (SWIG_arg_fail(6)) SWIG_fail
;
5520 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5521 if (SWIG_arg_fail(7)) SWIG_fail
;
5526 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5530 if (!wxPyCheckForApp()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_From_long((long)(result
));
5570 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5579 if (!wxPyCheckForApp()) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (bool)wxColourDisplay();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5595 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5604 if (!wxPyCheckForApp()) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 result
= (int)wxDisplayDepth();
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_From_int((int)(result
));
5620 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5629 if (!wxPyCheckForApp()) SWIG_fail
;
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= (int)wxGetDisplayDepth();
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= SWIG_From_int((int)(result
));
5645 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 int *arg1
= (int *) 0 ;
5648 int *arg2
= (int *) 0 ;
5657 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5658 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5661 if (!wxPyCheckForApp()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxDisplaySize(arg1
,arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 Py_INCREF(Py_None
); resultobj
= Py_None
;
5669 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5670 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5671 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5672 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5679 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5688 if (!wxPyCheckForApp()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= wxGetDisplaySize();
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5697 resultptr
= new wxSize((wxSize
&)(result
));
5698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5706 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 int *arg1
= (int *) 0 ;
5709 int *arg2
= (int *) 0 ;
5718 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5719 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5722 if (!wxPyCheckForApp()) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 wxDisplaySizeMM(arg1
,arg2
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 Py_INCREF(Py_None
); resultobj
= Py_None
;
5730 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5731 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5732 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5733 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5740 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5749 if (!wxPyCheckForApp()) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= wxGetDisplaySizeMM();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5758 resultptr
= new wxSize((wxSize
&)(result
));
5759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5767 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 int *arg1
= (int *) 0 ;
5770 int *arg2
= (int *) 0 ;
5771 int *arg3
= (int *) 0 ;
5772 int *arg4
= (int *) 0 ;
5785 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5786 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5787 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5788 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5791 if (!wxPyCheckForApp()) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5799 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5800 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5801 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5802 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5803 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5804 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5805 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5806 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5813 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5822 if (!wxPyCheckForApp()) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= wxGetClientDisplayRect();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5831 resultptr
= new wxRect((wxRect
&)(result
));
5832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5840 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxCursor
*arg1
= 0 ;
5843 PyObject
* obj0
= 0 ;
5845 (char *) "cursor", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5851 if (SWIG_arg_fail(1)) SWIG_fail
;
5853 SWIG_null_ref("wxCursor");
5855 if (SWIG_arg_fail(1)) SWIG_fail
;
5858 if (!wxPyCheckForApp()) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 Py_INCREF(Py_None
); resultobj
= Py_None
;
5872 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5875 PyObject
* obj0
= 0 ;
5877 (char *) "cursor", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5883 if (SWIG_arg_fail(1)) SWIG_fail
;
5886 if (!wxPyCheckForApp()) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 wxBeginBusyCursor(arg1
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5900 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5909 if (!wxPyCheckForApp()) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (wxWindow
*)wxGetActiveWindow();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= wxPyMake_wxObject(result
, 0);
5925 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5930 PyObject
* obj0
= 0 ;
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5938 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5941 if (!wxPyCheckForApp()) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= wxPyMake_wxObject(result
, 0);
5957 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5962 PyObject
* obj0
= 0 ;
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5970 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5973 if (!wxPyCheckForApp()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= wxPyMake_wxObject(result
, 0);
5989 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxWindow
*arg1
= (wxWindow
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5995 (char *) "win", NULL
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6000 if (SWIG_arg_fail(1)) SWIG_fail
;
6002 if (!wxPyCheckForApp()) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= wxPyMake_wxObject(result
, 0);
6018 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6022 PyObject
* obj0
= 0 ;
6024 (char *) "key", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6029 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6030 if (SWIG_arg_fail(1)) SWIG_fail
;
6033 if (!wxPyCheckForApp()) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6057 if (!wxPyCheckForApp()) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 wxWakeUpMainThread();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 Py_INCREF(Py_None
); resultobj
= Py_None
;
6071 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6079 if (!wxPyCheckForApp()) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 Py_INCREF(Py_None
); resultobj
= Py_None
;
6093 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6101 if (!wxPyCheckForApp()) 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
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxMutexGuiLocker
*result
;
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6124 if (!wxPyCheckForApp()) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6138 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6143 (char *) "self", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6148 if (SWIG_arg_fail(1)) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 Py_INCREF(Py_None
); resultobj
= Py_None
;
6163 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6166 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6168 return Py_BuildValue((char *)"");
6170 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 result
= (bool)wxThread_IsMain();
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6194 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxString
*arg1
= 0 ;
6198 bool temp1
= false ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "tip", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6206 arg1
= wxString_in_helper(obj0
);
6207 if (arg1
== NULL
) SWIG_fail
;
6211 if (!wxPyCheckForApp()) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= wxPyMake_wxObject(result
, 1);
6235 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6238 wxString
*arg2
= 0 ;
6239 bool temp2
= false ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6243 (char *) "self",(char *) "tip", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6248 if (SWIG_arg_fail(1)) SWIG_fail
;
6250 arg2
= wxString_in_helper(obj1
);
6251 if (arg2
== NULL
) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 (arg1
)->SetTip((wxString
const &)*arg2
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 Py_INCREF(Py_None
); resultobj
= Py_None
;
6276 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6287 if (SWIG_arg_fail(1)) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (arg1
)->GetTip();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6308 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "self", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (wxWindow
*)(arg1
)->GetWindow();
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= wxPyMake_wxObject(result
, 0);
6336 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6339 PyObject
* obj0
= 0 ;
6341 (char *) "flag", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6346 arg1
= (bool)(SWIG_As_bool(obj0
));
6347 if (SWIG_arg_fail(1)) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 wxToolTip::Enable(arg1
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "milliseconds", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6373 arg1
= (long)(SWIG_As_long(obj0
));
6374 if (SWIG_arg_fail(1)) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 wxToolTip::SetDelay(arg1
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 Py_INCREF(Py_None
); resultobj
= Py_None
;
6390 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6393 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6395 return Py_BuildValue((char *)"");
6397 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxWindow
*arg1
= (wxWindow
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6406 (char *) "window",(char *) "size", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6411 if (SWIG_arg_fail(1)) SWIG_fail
;
6414 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6417 if (!wxPyCheckForApp()) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6431 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxCaret
*arg1
= (wxCaret
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "self", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxCaret_Destroy(arg1
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxCaret
*arg1
= (wxCaret
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6462 (char *) "self", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6467 if (SWIG_arg_fail(1)) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (bool)(arg1
)->IsOk();
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6484 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxCaret
*arg1
= (wxCaret
*) 0 ;
6488 PyObject
* obj0
= 0 ;
6490 (char *) "self", NULL
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6495 if (SWIG_arg_fail(1)) SWIG_fail
;
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 result
= (bool)(arg1
)->IsVisible();
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6512 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxCaret
*arg1
= (wxCaret
*) 0 ;
6516 PyObject
* obj0
= 0 ;
6518 (char *) "self", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6523 if (SWIG_arg_fail(1)) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (arg1
)->GetPosition();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6532 wxPoint
* resultptr
;
6533 resultptr
= new wxPoint((wxPoint
&)(result
));
6534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6542 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxCaret
*arg1
= (wxCaret
*) 0 ;
6545 int *arg2
= (int *) 0 ;
6546 int *arg3
= (int *) 0 ;
6551 PyObject
* obj0
= 0 ;
6553 (char *) "self", NULL
6556 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6557 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6560 if (SWIG_arg_fail(1)) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 (arg1
)->GetPosition(arg2
,arg3
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 Py_INCREF(Py_None
); resultobj
= Py_None
;
6569 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6570 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6571 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6572 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6579 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxCaret
*arg1
= (wxCaret
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (arg1
)->GetSize();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6600 resultptr
= new wxSize((wxSize
&)(result
));
6601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6609 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxCaret
*arg1
= (wxCaret
*) 0 ;
6612 int *arg2
= (int *) 0 ;
6613 int *arg3
= (int *) 0 ;
6618 PyObject
* obj0
= 0 ;
6620 (char *) "self", NULL
6623 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6624 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6627 if (SWIG_arg_fail(1)) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->GetSize(arg2
,arg3
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6636 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6637 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6638 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6639 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6646 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxCaret
*arg1
= (wxCaret
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6652 (char *) "self", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (wxWindow
*)(arg1
)->GetWindow();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= wxPyMake_wxObject(result
, 0);
6674 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxCaret
*arg1
= (wxCaret
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 PyObject
* obj2
= 0 ;
6683 (char *) "self",(char *) "x",(char *) "y", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 arg2
= (int)(SWIG_As_int(obj1
));
6691 if (SWIG_arg_fail(2)) SWIG_fail
;
6694 arg3
= (int)(SWIG_As_int(obj2
));
6695 if (SWIG_arg_fail(3)) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 (arg1
)->Move(arg2
,arg3
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 Py_INCREF(Py_None
); resultobj
= Py_None
;
6711 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxCaret
*arg1
= (wxCaret
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "pt", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6724 if (SWIG_arg_fail(1)) SWIG_fail
;
6727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 (arg1
)->Move((wxPoint
const &)*arg2
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 Py_INCREF(Py_None
); resultobj
= Py_None
;
6743 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxCaret
*arg1
= (wxCaret
*) 0 ;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6750 PyObject
* obj2
= 0 ;
6752 (char *) "self",(char *) "width",(char *) "height", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6757 if (SWIG_arg_fail(1)) SWIG_fail
;
6759 arg2
= (int)(SWIG_As_int(obj1
));
6760 if (SWIG_arg_fail(2)) SWIG_fail
;
6763 arg3
= (int)(SWIG_As_int(obj2
));
6764 if (SWIG_arg_fail(3)) SWIG_fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 (arg1
)->SetSize(arg2
,arg3
);
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 Py_INCREF(Py_None
); resultobj
= Py_None
;
6780 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxCaret
*arg1
= (wxCaret
*) 0 ;
6785 PyObject
* obj0
= 0 ;
6786 PyObject
* obj1
= 0 ;
6788 (char *) "self",(char *) "size", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6793 if (SWIG_arg_fail(1)) SWIG_fail
;
6796 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 (arg1
)->SetSize((wxSize
const &)*arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6812 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxCaret
*arg1
= (wxCaret
*) 0 ;
6815 int arg2
= (int) true ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "show", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6824 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 arg2
= (int)(SWIG_As_int(obj1
));
6828 if (SWIG_arg_fail(2)) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxCaret
*arg1
= (wxCaret
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6850 (char *) "self", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6855 if (SWIG_arg_fail(1)) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 Py_INCREF(Py_None
); resultobj
= Py_None
;
6870 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (int)wxCaret::GetBlinkTime();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_From_int((int)(result
));
6894 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "milliseconds", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6904 arg1
= (int)(SWIG_As_int(obj0
));
6905 if (SWIG_arg_fail(1)) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 wxCaret::SetBlinkTime(arg1
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 Py_INCREF(Py_None
); resultobj
= Py_None
;
6921 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6924 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6926 return Py_BuildValue((char *)"");
6928 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6931 wxBusyCursor
*result
;
6932 PyObject
* obj0
= 0 ;
6934 (char *) "cursor", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6940 if (SWIG_arg_fail(1)) SWIG_fail
;
6943 if (!wxPyCheckForApp()) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6957 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6962 (char *) "self", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6967 if (SWIG_arg_fail(1)) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 Py_INCREF(Py_None
); resultobj
= Py_None
;
6982 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6985 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6987 return Py_BuildValue((char *)"");
6989 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxWindow
*arg1
= (wxWindow
*) NULL
;
6992 wxWindowDisabler
*result
;
6993 PyObject
* obj0
= 0 ;
6995 (char *) "winToSkip", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7001 if (SWIG_arg_fail(1)) SWIG_fail
;
7004 if (!wxPyCheckForApp()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7018 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7028 if (SWIG_arg_fail(1)) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 Py_INCREF(Py_None
); resultobj
= Py_None
;
7043 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7046 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7048 return Py_BuildValue((char *)"");
7050 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxString
*arg1
= 0 ;
7054 bool temp1
= false ;
7055 PyObject
* obj0
= 0 ;
7057 (char *) "message", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7062 arg1
= wxString_in_helper(obj0
);
7063 if (arg1
== NULL
) SWIG_fail
;
7067 if (!wxPyCheckForApp()) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7089 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7092 PyObject
* obj0
= 0 ;
7094 (char *) "self", NULL
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7099 if (SWIG_arg_fail(1)) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 Py_INCREF(Py_None
); resultobj
= Py_None
;
7114 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7117 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7119 return Py_BuildValue((char *)"");
7121 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxStopWatch
*result
;
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (wxStopWatch
*)new wxStopWatch();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7143 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7146 long arg2
= (long) 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7150 (char *) "self",(char *) "t0", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7155 if (SWIG_arg_fail(1)) SWIG_fail
;
7158 arg2
= (long)(SWIG_As_long(obj1
));
7159 if (SWIG_arg_fail(2)) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->Start(arg2
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 Py_INCREF(Py_None
); resultobj
= Py_None
;
7176 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "self", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7186 if (SWIG_arg_fail(1)) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7206 (char *) "self", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(1)) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 Py_INCREF(Py_None
); resultobj
= Py_None
;
7226 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "self", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7237 if (SWIG_arg_fail(1)) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_From_long((long)(result
));
7254 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7257 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7259 return Py_BuildValue((char *)"");
7261 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 int arg1
= (int) 9 ;
7264 int arg2
= (int) wxID_FILE1
;
7265 wxFileHistory
*result
;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7269 (char *) "maxFiles",(char *) "idBase", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7275 arg1
= (int)(SWIG_As_int(obj0
));
7276 if (SWIG_arg_fail(1)) SWIG_fail
;
7281 arg2
= (int)(SWIG_As_int(obj1
));
7282 if (SWIG_arg_fail(2)) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7299 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7327 wxString
*arg2
= 0 ;
7328 bool temp2
= false ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "file", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail
;
7339 arg2
= wxString_in_helper(obj1
);
7340 if (arg2
== NULL
) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7372 (char *) "self",(char *) "i", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7377 if (SWIG_arg_fail(1)) SWIG_fail
;
7379 arg2
= (int)(SWIG_As_int(obj1
));
7380 if (SWIG_arg_fail(2)) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 (arg1
)->RemoveFileFromHistory(arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 Py_INCREF(Py_None
); resultobj
= Py_None
;
7396 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "self", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_From_int((int)(result
));
7424 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7427 wxMenu
*arg2
= (wxMenu
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 (char *) "self",(char *) "menu", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7436 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7438 if (SWIG_arg_fail(2)) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 (arg1
)->UseMenu(arg2
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7456 wxMenu
*arg2
= (wxMenu
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7460 (char *) "self",(char *) "menu", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7465 if (SWIG_arg_fail(1)) SWIG_fail
;
7466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7467 if (SWIG_arg_fail(2)) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->RemoveMenu(arg2
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 Py_INCREF(Py_None
); resultobj
= Py_None
;
7482 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7485 wxConfigBase
*arg2
= 0 ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7489 (char *) "self",(char *) "config", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7494 if (SWIG_arg_fail(1)) SWIG_fail
;
7496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7497 if (SWIG_arg_fail(2)) SWIG_fail
;
7499 SWIG_null_ref("wxConfigBase");
7501 if (SWIG_arg_fail(2)) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 (arg1
)->Load(*arg2
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 Py_INCREF(Py_None
); resultobj
= Py_None
;
7517 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7520 wxConfigBase
*arg2
= 0 ;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj1
= 0 ;
7524 (char *) "self",(char *) "config", NULL
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7529 if (SWIG_arg_fail(1)) SWIG_fail
;
7531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7532 if (SWIG_arg_fail(2)) SWIG_fail
;
7534 SWIG_null_ref("wxConfigBase");
7536 if (SWIG_arg_fail(2)) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 (arg1
)->Save(*arg2
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 Py_INCREF(Py_None
); resultobj
= Py_None
;
7552 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7555 PyObject
* obj0
= 0 ;
7557 (char *) "self", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7562 if (SWIG_arg_fail(1)) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 (arg1
)->AddFilesToMenu();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7580 wxMenu
*arg2
= (wxMenu
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7584 (char *) "self",(char *) "menu", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7589 if (SWIG_arg_fail(1)) SWIG_fail
;
7590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7591 if (SWIG_arg_fail(2)) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 (arg1
)->AddFilesToMenu(arg2
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 Py_INCREF(Py_None
); resultobj
= Py_None
;
7606 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7611 PyObject
* obj0
= 0 ;
7612 PyObject
* obj1
= 0 ;
7614 (char *) "self",(char *) "i", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail
;
7621 arg2
= (int)(SWIG_As_int(obj1
));
7622 if (SWIG_arg_fail(2)) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7644 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7655 if (SWIG_arg_fail(1)) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_From_int((int)(result
));
7672 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7675 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7677 return Py_BuildValue((char *)"");
7679 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxString
*arg1
= 0 ;
7682 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7683 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7684 wxSingleInstanceChecker
*result
;
7685 bool temp1
= false ;
7686 bool temp2
= false ;
7687 PyObject
* obj0
= 0 ;
7688 PyObject
* obj1
= 0 ;
7690 (char *) "name",(char *) "path", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7695 arg1
= wxString_in_helper(obj0
);
7696 if (arg1
== NULL
) SWIG_fail
;
7701 arg2
= wxString_in_helper(obj1
);
7702 if (arg2
== NULL
) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7736 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxSingleInstanceChecker
*result
;
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7758 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7768 if (SWIG_arg_fail(1)) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 Py_INCREF(Py_None
); resultobj
= Py_None
;
7783 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7786 wxString
*arg2
= 0 ;
7787 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7788 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7790 bool temp2
= false ;
7791 bool temp3
= false ;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7794 PyObject
* obj2
= 0 ;
7796 (char *) "self",(char *) "name",(char *) "path", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail
;
7803 arg2
= wxString_in_helper(obj1
);
7804 if (arg2
== NULL
) SWIG_fail
;
7809 arg3
= wxString_in_helper(obj2
);
7810 if (arg3
== NULL
) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7846 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7850 PyObject
* obj0
= 0 ;
7852 (char *) "self", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(1)) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7874 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7877 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7879 return Py_BuildValue((char *)"");
7881 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxWindow
*arg1
= (wxWindow
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7889 (char *) "window",(char *) "dc", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7894 if (SWIG_arg_fail(1)) SWIG_fail
;
7896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7897 if (SWIG_arg_fail(2)) SWIG_fail
;
7899 SWIG_null_ref("wxDC");
7901 if (SWIG_arg_fail(2)) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7919 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7922 PyObject
* obj0
= 0 ;
7924 (char *) "self", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7929 if (SWIG_arg_fail(1)) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 Py_INCREF(Py_None
); resultobj
= Py_None
;
7944 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7948 PyObject
* obj0
= 0 ;
7950 (char *) "self", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7955 if (SWIG_arg_fail(1)) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (arg1
)->GetTip();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7976 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "self", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (size_t)(arg1
)->GetCurrentTip();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8004 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8007 wxString
*arg2
= 0 ;
8009 bool temp2
= false ;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8013 (char *) "self",(char *) "tip", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8018 if (SWIG_arg_fail(1)) SWIG_fail
;
8020 arg2
= wxString_in_helper(obj1
);
8021 if (arg2
== NULL
) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8052 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8055 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8057 return Py_BuildValue((char *)"");
8059 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8062 wxPyTipProvider
*result
;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "currentTip", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8070 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8071 if (SWIG_arg_fail(1)) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8087 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8090 PyObject
*arg2
= (PyObject
*) 0 ;
8091 PyObject
*arg3
= (PyObject
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8094 PyObject
* obj2
= 0 ;
8096 (char *) "self",(char *) "self",(char *) "_class", NULL
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8101 if (SWIG_arg_fail(1)) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8121 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8123 return Py_BuildValue((char *)"");
8125 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8127 wxWindow
*arg1
= (wxWindow
*) 0 ;
8128 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8129 bool arg3
= (bool) true ;
8131 PyObject
* obj0
= 0 ;
8132 PyObject
* obj1
= 0 ;
8133 PyObject
* obj2
= 0 ;
8135 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8140 if (SWIG_arg_fail(1)) SWIG_fail
;
8141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8142 if (SWIG_arg_fail(2)) SWIG_fail
;
8145 arg3
= (bool)(SWIG_As_bool(obj2
));
8146 if (SWIG_arg_fail(3)) SWIG_fail
;
8150 if (!wxPyCheckForApp()) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8166 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxString
*arg1
= 0 ;
8170 wxTipProvider
*result
;
8171 bool temp1
= false ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8175 (char *) "filename",(char *) "currentTip", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8180 arg1
= wxString_in_helper(obj0
);
8181 if (arg1
== NULL
) SWIG_fail
;
8185 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8186 if (SWIG_arg_fail(2)) SWIG_fail
;
8189 if (!wxPyCheckForApp()) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8211 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8214 int arg2
= (int) -1 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8219 (char *) "owner",(char *) "id", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail
;
8229 arg2
= (int)(SWIG_As_int(obj1
));
8230 if (SWIG_arg_fail(2)) SWIG_fail
;
8234 if (!wxPyCheckForApp()) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8248 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8253 (char *) "self", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8258 if (SWIG_arg_fail(1)) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8276 PyObject
*arg2
= (PyObject
*) 0 ;
8277 PyObject
*arg3
= (PyObject
*) 0 ;
8278 int arg4
= (int) 1 ;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8281 PyObject
* obj2
= 0 ;
8282 PyObject
* obj3
= 0 ;
8284 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8289 if (SWIG_arg_fail(1)) SWIG_fail
;
8294 arg4
= (int)(SWIG_As_int(obj3
));
8295 if (SWIG_arg_fail(4)) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8315 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8316 int arg3
= (int) -1 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 PyObject
* obj2
= 0 ;
8321 (char *) "self",(char *) "owner",(char *) "id", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8326 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8328 if (SWIG_arg_fail(2)) SWIG_fail
;
8331 arg3
= (int)(SWIG_As_int(obj2
));
8332 if (SWIG_arg_fail(3)) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->SetOwner(arg2
,arg3
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8352 wxEvtHandler
*result
;
8353 PyObject
* obj0
= 0 ;
8355 (char *) "self", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= wxPyMake_wxObject(result
, 0);
8377 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8380 int arg2
= (int) -1 ;
8381 bool arg3
= (bool) false ;
8383 PyObject
* obj0
= 0 ;
8384 PyObject
* obj1
= 0 ;
8385 PyObject
* obj2
= 0 ;
8387 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8392 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 arg2
= (int)(SWIG_As_int(obj1
));
8396 if (SWIG_arg_fail(2)) SWIG_fail
;
8401 arg3
= (bool)(SWIG_As_bool(obj2
));
8402 if (SWIG_arg_fail(3)) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8421 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8424 PyObject
* obj0
= 0 ;
8426 (char *) "self", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8431 if (SWIG_arg_fail(1)) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8446 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8457 if (SWIG_arg_fail(1)) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8474 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
;
8476 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8478 PyObject
* obj0
= 0 ;
8480 (char *) "self", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8485 if (SWIG_arg_fail(1)) SWIG_fail
;
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_From_int((int)(result
));
8502 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8508 (char *) "self", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8513 if (SWIG_arg_fail(1)) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8530 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8534 PyObject
* obj0
= 0 ;
8536 (char *) "self", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8541 if (SWIG_arg_fail(1)) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8550 resultobj
= SWIG_From_int((int)(result
));
8558 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8561 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8563 return Py_BuildValue((char *)"");
8565 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
*resultobj
;
8567 int arg1
= (int) 0 ;
8568 int arg2
= (int) 0 ;
8569 wxTimerEvent
*result
;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8573 (char *) "timerid",(char *) "interval", NULL
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8579 arg1
= (int)(SWIG_As_int(obj0
));
8580 if (SWIG_arg_fail(1)) SWIG_fail
;
8585 arg2
= (int)(SWIG_As_int(obj1
));
8586 if (SWIG_arg_fail(2)) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8603 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8607 PyObject
* obj0
= 0 ;
8609 (char *) "self", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8614 if (SWIG_arg_fail(1)) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= SWIG_From_int((int)(result
));
8631 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8634 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8636 return Py_BuildValue((char *)"");
8638 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8639 PyObject
*resultobj
;
8641 wxTimerRunner
*result
;
8642 PyObject
* obj0
= 0 ;
8644 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8647 if (SWIG_arg_fail(1)) SWIG_fail
;
8649 SWIG_null_ref("wxTimer");
8651 if (SWIG_arg_fail(1)) SWIG_fail
;
8654 if (!wxPyCheckForApp()) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8668 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8669 PyObject
*resultobj
;
8672 bool arg3
= (bool) false ;
8673 wxTimerRunner
*result
;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8678 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8681 if (SWIG_arg_fail(1)) SWIG_fail
;
8683 SWIG_null_ref("wxTimer");
8685 if (SWIG_arg_fail(1)) SWIG_fail
;
8688 arg2
= (int)(SWIG_As_int(obj1
));
8689 if (SWIG_arg_fail(2)) SWIG_fail
;
8693 arg3
= (bool)(SWIG_As_bool(obj2
));
8694 if (SWIG_arg_fail(3)) SWIG_fail
;
8698 if (!wxPyCheckForApp()) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8712 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8717 argc
= PyObject_Length(args
);
8718 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8719 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8725 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8733 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8736 if ((argc
>= 2) && (argc
<= 3)) {
8740 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8748 _v
= SWIG_Check_int(argv
[1]);
8751 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8753 _v
= SWIG_Check_bool(argv
[2]);
8755 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8761 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8766 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8771 (char *) "self", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8795 bool arg3
= (bool) false ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8800 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail
;
8807 arg2
= (int)(SWIG_As_int(obj1
));
8808 if (SWIG_arg_fail(2)) SWIG_fail
;
8812 arg3
= (bool)(SWIG_As_bool(obj2
));
8813 if (SWIG_arg_fail(3)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->Start(arg2
,arg3
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8833 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8835 return Py_BuildValue((char *)"");
8837 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (wxLog
*)new wxLog();
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8859 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (bool)wxLog::IsEnabled();
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8883 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 bool arg1
= (bool) true ;
8887 PyObject
* obj0
= 0 ;
8889 (char *) "doIt", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8895 arg1
= (bool)(SWIG_As_bool(obj0
));
8896 if (SWIG_arg_fail(1)) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (bool)wxLog::EnableLogging(arg1
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8915 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8918 wxChar
*arg2
= (wxChar
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8924 (char *) "level",(char *) "szString",(char *) "t", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8929 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8930 if (SWIG_arg_fail(1)) SWIG_fail
;
8932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8933 if (SWIG_arg_fail(2)) SWIG_fail
;
8935 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8936 if (SWIG_arg_fail(3)) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxLog
*arg1
= (wxLog
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "self", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8962 if (SWIG_arg_fail(1)) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 wxLog::FlushActive();
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (wxLog
*)wxLog::GetActiveTarget();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9020 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxLog
*arg1
= (wxLog
*) 0 ;
9024 PyObject
* obj0
= 0 ;
9026 (char *) "pLogger", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9031 if (SWIG_arg_fail(1)) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9046 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 Py_INCREF(Py_None
); resultobj
= Py_None
;
9067 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 bool arg1
= (bool) true ;
9091 PyObject
* obj0
= 0 ;
9093 (char *) "bVerbose", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9099 arg1
= (bool)(SWIG_As_bool(obj0
));
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxLog::SetVerbose(arg1
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 Py_INCREF(Py_None
); resultobj
= Py_None
;
9117 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "logLevel", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9127 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9128 if (SWIG_arg_fail(1)) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxLog::SetLogLevel(arg1
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 wxLog::DontCreateOnDemand();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9168 PyObject
* obj0
= 0 ;
9170 (char *) "ulMask", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9175 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9176 if (SWIG_arg_fail(1)) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 wxLog::SetTraceMask(arg1
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 Py_INCREF(Py_None
); resultobj
= Py_None
;
9192 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxString
*arg1
= 0 ;
9195 bool temp1
= false ;
9196 PyObject
* obj0
= 0 ;
9198 (char *) "str", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9203 arg1
= wxString_in_helper(obj0
);
9204 if (arg1
== NULL
) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 wxLog::AddTraceMask((wxString
const &)*arg1
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 Py_INCREF(Py_None
); resultobj
= Py_None
;
9229 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxString
*arg1
= 0 ;
9232 bool temp1
= false ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "str", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9240 arg1
= wxString_in_helper(obj0
);
9241 if (arg1
== NULL
) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 Py_INCREF(Py_None
); resultobj
= Py_None
;
9266 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 wxLog::ClearTraceMasks();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 Py_INCREF(Py_None
); resultobj
= Py_None
;
9287 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxArrayString
*result
;
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9299 result
= (wxArrayString
*) &_result_ref
;
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= wxArrayString2PyList_helper(*result
);
9314 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxChar
*arg1
= (wxChar
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9324 if (SWIG_arg_fail(1)) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 wxLog::SetTimestamp((wxChar
const *)arg1
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (bool)wxLog::GetVerbose();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9363 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (wxTraceMask
)wxLog::GetTraceMask();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9387 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxChar
*arg1
= (wxChar
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "mask", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9398 if (SWIG_arg_fail(1)) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9415 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (wxLogLevel
)wxLog::GetLogLevel();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9439 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (wxChar
*)wxLog::GetTimestamp();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9461 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= Log_TimeStamp();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9489 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxLog
*arg1
= (wxLog
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9494 (char *) "self", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9499 if (SWIG_arg_fail(1)) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 wxLog_Destroy(arg1
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 Py_INCREF(Py_None
); resultobj
= Py_None
;
9514 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9517 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9519 return Py_BuildValue((char *)"");
9521 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxLogStderr
*result
;
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (wxLogStderr
*)new wxLogStderr();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9543 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9546 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9548 return Py_BuildValue((char *)"");
9550 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9553 wxLogTextCtrl
*result
;
9554 PyObject
* obj0
= 0 ;
9556 (char *) "pTextCtrl", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9561 if (SWIG_arg_fail(1)) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9576 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9579 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9581 return Py_BuildValue((char *)"");
9583 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (wxLogGui
*)new wxLogGui();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9605 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9608 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9610 return Py_BuildValue((char *)"");
9612 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxFrame
*arg1
= (wxFrame
*) 0 ;
9615 wxString
*arg2
= 0 ;
9616 bool arg3
= (bool) true ;
9617 bool arg4
= (bool) true ;
9618 wxLogWindow
*result
;
9619 bool temp2
= false ;
9620 PyObject
* obj0
= 0 ;
9621 PyObject
* obj1
= 0 ;
9622 PyObject
* obj2
= 0 ;
9623 PyObject
* obj3
= 0 ;
9625 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9630 if (SWIG_arg_fail(1)) SWIG_fail
;
9632 arg2
= wxString_in_helper(obj1
);
9633 if (arg2
== NULL
) SWIG_fail
;
9638 arg3
= (bool)(SWIG_As_bool(obj2
));
9639 if (SWIG_arg_fail(3)) SWIG_fail
;
9644 arg4
= (bool)(SWIG_As_bool(obj3
));
9645 if (SWIG_arg_fail(4)) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9670 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9673 bool arg2
= (bool) true ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9677 (char *) "self",(char *) "bShow", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9682 if (SWIG_arg_fail(1)) SWIG_fail
;
9685 arg2
= (bool)(SWIG_As_bool(obj1
));
9686 if (SWIG_arg_fail(2)) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 Py_INCREF(Py_None
); resultobj
= Py_None
;
9703 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9709 (char *) "self", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9714 if (SWIG_arg_fail(1)) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= wxPyMake_wxObject(result
, 0);
9731 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9735 PyObject
* obj0
= 0 ;
9737 (char *) "self", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9742 if (SWIG_arg_fail(1)) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9757 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9763 (char *) "self", NULL
9766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9768 if (SWIG_arg_fail(1)) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9785 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9792 (char *) "self",(char *) "bDoPass", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9797 if (SWIG_arg_fail(1)) SWIG_fail
;
9799 arg2
= (bool)(SWIG_As_bool(obj1
));
9800 if (SWIG_arg_fail(2)) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 (arg1
)->PassMessages(arg2
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 Py_INCREF(Py_None
); resultobj
= Py_None
;
9816 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9819 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9821 return Py_BuildValue((char *)"");
9823 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxLog
*arg1
= (wxLog
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9829 (char *) "logger", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9834 if (SWIG_arg_fail(1)) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (wxLogChain
*)new wxLogChain(arg1
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9849 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9852 wxLog
*arg2
= (wxLog
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9854 PyObject
* obj1
= 0 ;
9856 (char *) "self",(char *) "logger", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9861 if (SWIG_arg_fail(1)) SWIG_fail
;
9862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9863 if (SWIG_arg_fail(2)) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 (arg1
)->SetLog(arg2
);
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 Py_INCREF(Py_None
); resultobj
= Py_None
;
9878 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9885 (char *) "self",(char *) "bDoPass", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9890 if (SWIG_arg_fail(1)) SWIG_fail
;
9892 arg2
= (bool)(SWIG_As_bool(obj1
));
9893 if (SWIG_arg_fail(2)) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->PassMessages(arg2
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 Py_INCREF(Py_None
); resultobj
= Py_None
;
9909 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9915 (char *) "self", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9920 if (SWIG_arg_fail(1)) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->IsPassingMessages();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9937 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9948 if (SWIG_arg_fail(1)) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (wxLog
*)(arg1
)->GetOldLog();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9963 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9966 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9968 return Py_BuildValue((char *)"");
9970 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 unsigned long result
;
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (unsigned long)wxSysErrorCode();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9994 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 unsigned long arg1
= (unsigned long) 0 ;
9998 PyObject
* obj0
= 0 ;
10000 (char *) "nErrCode", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10006 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10007 if (SWIG_arg_fail(1)) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= wxSysErrorMsg(arg1
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10030 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxString
*arg1
= 0 ;
10033 bool temp1
= false ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "msg", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10041 arg1
= wxString_in_helper(obj0
);
10042 if (arg1
== NULL
) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 wxPyLogFatalError((wxString
const &)*arg1
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10052 Py_INCREF(Py_None
); resultobj
= Py_None
;
10067 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxString
*arg1
= 0 ;
10070 bool temp1
= false ;
10071 PyObject
* obj0
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "msg", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10078 arg1
= wxString_in_helper(obj0
);
10079 if (arg1
== NULL
) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 wxPyLogError((wxString
const &)*arg1
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 Py_INCREF(Py_None
); resultobj
= Py_None
;
10104 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxString
*arg1
= 0 ;
10107 bool temp1
= false ;
10108 PyObject
* obj0
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "msg", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10115 arg1
= wxString_in_helper(obj0
);
10116 if (arg1
== NULL
) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 wxPyLogWarning((wxString
const &)*arg1
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10141 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxString
*arg1
= 0 ;
10144 bool temp1
= false ;
10145 PyObject
* obj0
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "msg", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10152 arg1
= wxString_in_helper(obj0
);
10153 if (arg1
== NULL
) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 wxPyLogMessage((wxString
const &)*arg1
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 Py_INCREF(Py_None
); resultobj
= Py_None
;
10178 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxString
*arg1
= 0 ;
10181 bool temp1
= false ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "msg", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10189 arg1
= wxString_in_helper(obj0
);
10190 if (arg1
== NULL
) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 wxPyLogInfo((wxString
const &)*arg1
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10215 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxString
*arg1
= 0 ;
10218 bool temp1
= false ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "msg", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10226 arg1
= wxString_in_helper(obj0
);
10227 if (arg1
== NULL
) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 wxPyLogDebug((wxString
const &)*arg1
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 Py_INCREF(Py_None
); resultobj
= Py_None
;
10252 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxString
*arg1
= 0 ;
10255 bool temp1
= false ;
10256 PyObject
* obj0
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "msg", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10263 arg1
= wxString_in_helper(obj0
);
10264 if (arg1
== NULL
) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 wxPyLogVerbose((wxString
const &)*arg1
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 Py_INCREF(Py_None
); resultobj
= Py_None
;
10289 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxString
*arg1
= 0 ;
10292 bool temp1
= false ;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "msg", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10300 arg1
= wxString_in_helper(obj0
);
10301 if (arg1
== NULL
) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 wxPyLogStatus((wxString
const &)*arg1
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 Py_INCREF(Py_None
); resultobj
= Py_None
;
10326 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxFrame
*arg1
= (wxFrame
*) 0 ;
10329 wxString
*arg2
= 0 ;
10330 bool temp2
= false ;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "pFrame",(char *) "msg", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10339 if (SWIG_arg_fail(1)) SWIG_fail
;
10341 arg2
= wxString_in_helper(obj1
);
10342 if (arg2
== NULL
) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 Py_INCREF(Py_None
); resultobj
= Py_None
;
10367 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxString
*arg1
= 0 ;
10370 bool temp1
= false ;
10371 PyObject
* obj0
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "msg", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10378 arg1
= wxString_in_helper(obj0
);
10379 if (arg1
== NULL
) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 wxPyLogSysError((wxString
const &)*arg1
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 Py_INCREF(Py_None
); resultobj
= Py_None
;
10404 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 unsigned long arg1
;
10407 wxString
*arg2
= 0 ;
10408 bool temp2
= false ;
10409 PyObject
* obj0
= 0 ;
10410 PyObject
* obj1
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "level",(char *) "msg", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10417 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10418 if (SWIG_arg_fail(1)) SWIG_fail
;
10421 arg2
= wxString_in_helper(obj1
);
10422 if (arg2
== NULL
) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10448 PyObject
*resultobj
;
10449 unsigned long arg1
;
10450 wxString
*arg2
= 0 ;
10451 bool temp2
= false ;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10455 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10457 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10458 if (SWIG_arg_fail(1)) SWIG_fail
;
10461 arg2
= wxString_in_helper(obj1
);
10462 if (arg2
== NULL
) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 Py_INCREF(Py_None
); resultobj
= Py_None
;
10487 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10488 PyObject
*resultobj
;
10489 wxString
*arg1
= 0 ;
10490 wxString
*arg2
= 0 ;
10491 bool temp1
= false ;
10492 bool temp2
= false ;
10493 PyObject
* obj0
= 0 ;
10494 PyObject
* obj1
= 0 ;
10496 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10498 arg1
= wxString_in_helper(obj0
);
10499 if (arg1
== NULL
) SWIG_fail
;
10503 arg2
= wxString_in_helper(obj1
);
10504 if (arg2
== NULL
) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 Py_INCREF(Py_None
); resultobj
= Py_None
;
10537 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10542 argc
= PyObject_Length(args
);
10543 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10544 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10549 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10553 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10556 return _wrap_LogTrace__SWIG_1(self
,args
);
10562 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10565 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10568 return _wrap_LogTrace__SWIG_0(self
,args
);
10573 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10578 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxString
*arg1
= 0 ;
10581 wxString
*arg2
= 0 ;
10582 bool temp1
= false ;
10583 bool temp2
= false ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "title",(char *) "text", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10592 arg1
= wxString_in_helper(obj0
);
10593 if (arg1
== NULL
) SWIG_fail
;
10597 arg2
= wxString_in_helper(obj1
);
10598 if (arg2
== NULL
) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 Py_INCREF(Py_None
); resultobj
= Py_None
;
10631 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10634 char *kwnames
[] = {
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (wxLogNull
*)new wxLogNull();
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10653 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10656 PyObject
* obj0
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10663 if (SWIG_arg_fail(1)) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10681 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10683 return Py_BuildValue((char *)"");
10685 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10688 char *kwnames
[] = {
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (wxPyLog
*)new wxPyLog();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10707 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10710 PyObject
*arg2
= (PyObject
*) 0 ;
10711 PyObject
*arg3
= (PyObject
*) 0 ;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 PyObject
* obj2
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self",(char *) "self",(char *) "_class", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10721 if (SWIG_arg_fail(1)) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 Py_INCREF(Py_None
); resultobj
= Py_None
;
10738 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10741 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10743 return Py_BuildValue((char *)"");
10745 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10748 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10749 int arg3
= (int) wxKILL_NOCHILDREN
;
10750 wxKillError result
;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 PyObject
* obj2
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10760 arg1
= (int)(SWIG_As_int(obj0
));
10761 if (SWIG_arg_fail(1)) SWIG_fail
;
10765 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10766 if (SWIG_arg_fail(2)) SWIG_fail
;
10771 arg3
= (int)(SWIG_As_int(obj2
));
10772 if (SWIG_arg_fail(3)) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= SWIG_From_int((result
));
10789 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "pid", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10800 arg1
= (int)(SWIG_As_int(obj0
));
10801 if (SWIG_arg_fail(1)) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (bool)wxPyProcess::Exists(arg1
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10819 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxString
*arg1
= 0 ;
10822 int arg2
= (int) wxEXEC_ASYNC
;
10823 wxPyProcess
*result
;
10824 bool temp1
= false ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "cmd",(char *) "flags", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10833 arg1
= wxString_in_helper(obj0
);
10834 if (arg1
== NULL
) SWIG_fail
;
10839 arg2
= (int)(SWIG_As_int(obj1
));
10840 if (SWIG_arg_fail(2)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10865 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10868 int arg2
= (int) -1 ;
10869 wxPyProcess
*result
;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "parent",(char *) "id", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10879 if (SWIG_arg_fail(1)) SWIG_fail
;
10883 arg2
= (int)(SWIG_As_int(obj1
));
10884 if (SWIG_arg_fail(2)) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10901 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10904 PyObject
*arg2
= (PyObject
*) 0 ;
10905 PyObject
*arg3
= (PyObject
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 PyObject
* obj2
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self",(char *) "self",(char *) "_class", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10915 if (SWIG_arg_fail(1)) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 Py_INCREF(Py_None
); resultobj
= Py_None
;
10932 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 PyObject
* obj2
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self",(char *) "pid",(char *) "status", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10946 if (SWIG_arg_fail(1)) SWIG_fail
;
10948 arg2
= (int)(SWIG_As_int(obj1
));
10949 if (SWIG_arg_fail(2)) SWIG_fail
;
10952 arg3
= (int)(SWIG_As_int(obj2
));
10953 if (SWIG_arg_fail(3)) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 (arg1
)->base_OnTerminate(arg2
,arg3
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 Py_INCREF(Py_None
); resultobj
= Py_None
;
10969 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10972 PyObject
* obj0
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10979 if (SWIG_arg_fail(1)) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 (arg1
)->Redirect();
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 Py_INCREF(Py_None
); resultobj
= Py_None
;
10994 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11005 if (SWIG_arg_fail(1)) SWIG_fail
;
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 result
= (bool)(arg1
)->IsRedirected();
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11022 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11025 PyObject
* obj0
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11032 if (SWIG_arg_fail(1)) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 Py_INCREF(Py_None
); resultobj
= Py_None
;
11047 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11050 wxInputStream
*result
;
11051 PyObject
* obj0
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11058 if (SWIG_arg_fail(1)) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 wxPyInputStream
* _ptr
= NULL
;
11070 _ptr
= new wxPyInputStream(result
);
11072 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11080 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11083 wxInputStream
*result
;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 wxPyInputStream
* _ptr
= NULL
;
11103 _ptr
= new wxPyInputStream(result
);
11105 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11113 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11116 wxOutputStream
*result
;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11124 if (SWIG_arg_fail(1)) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11139 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 (arg1
)->CloseOutput();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 Py_INCREF(Py_None
); resultobj
= Py_None
;
11164 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11175 if (SWIG_arg_fail(1)) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11192 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11203 if (SWIG_arg_fail(1)) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11220 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11231 if (SWIG_arg_fail(1)) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11248 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11251 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11253 return Py_BuildValue((char *)"");
11255 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 int arg1
= (int) 0 ;
11258 int arg2
= (int) 0 ;
11259 int arg3
= (int) 0 ;
11260 wxProcessEvent
*result
;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 PyObject
* obj2
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11271 arg1
= (int)(SWIG_As_int(obj0
));
11272 if (SWIG_arg_fail(1)) SWIG_fail
;
11277 arg2
= (int)(SWIG_As_int(obj1
));
11278 if (SWIG_arg_fail(2)) SWIG_fail
;
11283 arg3
= (int)(SWIG_As_int(obj2
));
11284 if (SWIG_arg_fail(3)) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11301 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (int)(arg1
)->GetPid();
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_From_int((int)(result
));
11329 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11340 if (SWIG_arg_fail(1)) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (int)(arg1
)->GetExitCode();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_From_int((int)(result
));
11357 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "m_pid", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail
;
11371 arg2
= (int)(SWIG_As_int(obj1
));
11372 if (SWIG_arg_fail(2)) SWIG_fail
;
11374 if (arg1
) (arg1
)->m_pid
= arg2
;
11376 Py_INCREF(Py_None
); resultobj
= Py_None
;
11383 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
;
11385 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail
;
11395 result
= (int) ((arg1
)->m_pid
);
11398 resultobj
= SWIG_From_int((int)(result
));
11406 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "m_exitcode", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11418 if (SWIG_arg_fail(1)) SWIG_fail
;
11420 arg2
= (int)(SWIG_As_int(obj1
));
11421 if (SWIG_arg_fail(2)) SWIG_fail
;
11423 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11443 if (SWIG_arg_fail(1)) SWIG_fail
;
11444 result
= (int) ((arg1
)->m_exitcode
);
11447 resultobj
= SWIG_From_int((int)(result
));
11455 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11458 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11460 return Py_BuildValue((char *)"");
11462 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxString
*arg1
= 0 ;
11465 int arg2
= (int) wxEXEC_ASYNC
;
11466 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11468 bool temp1
= false ;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 PyObject
* obj2
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "command",(char *) "flags",(char *) "process", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11478 arg1
= wxString_in_helper(obj0
);
11479 if (arg1
== NULL
) SWIG_fail
;
11484 arg2
= (int)(SWIG_As_int(obj1
));
11485 if (SWIG_arg_fail(2)) SWIG_fail
;
11489 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11490 if (SWIG_arg_fail(3)) SWIG_fail
;
11493 if (!wxPyCheckForApp()) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11501 resultobj
= SWIG_From_long((long)(result
));
11517 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11520 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11521 wxKillError
*arg3
= (wxKillError
*) 0 ;
11522 int arg4
= (int) wxKILL_NOCHILDREN
;
11524 wxKillError temp3
;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11537 arg1
= (long)(SWIG_As_long(obj0
));
11538 if (SWIG_arg_fail(1)) SWIG_fail
;
11542 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11543 if (SWIG_arg_fail(2)) SWIG_fail
;
11548 arg4
= (int)(SWIG_As_int(obj2
));
11549 if (SWIG_arg_fail(4)) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_From_int((int)(result
));
11564 o
= PyInt_FromLong((long) (*arg3
));
11565 resultobj
= t_output_helper(resultobj
, o
);
11573 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 int arg1
= (int) wxJOYSTICK1
;
11576 wxJoystick
*result
;
11577 PyObject
* obj0
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "joystick", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11585 arg1
= (int)(SWIG_As_int(obj0
));
11586 if (SWIG_arg_fail(1)) SWIG_fail
;
11590 if (!wxPyCheckForApp()) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (wxJoystick
*)new wxJoystick(arg1
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11604 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11614 if (SWIG_arg_fail(1)) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (arg1
)->GetPosition();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 wxPoint
* resultptr
;
11650 resultptr
= new wxPoint((wxPoint
&)(result
));
11651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11659 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11663 PyObject
* obj0
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11670 if (SWIG_arg_fail(1)) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (int)(arg1
)->GetZPosition();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_From_int((int)(result
));
11687 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (int)(arg1
)->GetButtonState();
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_From_int((int)(result
));
11715 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11719 PyObject
* obj0
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11726 if (SWIG_arg_fail(1)) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (int)(arg1
)->GetPOVPosition();
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_From_int((int)(result
));
11743 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11754 if (SWIG_arg_fail(1)) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (int)(arg1
)->GetPOVCTSPosition();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_From_int((int)(result
));
11771 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11782 if (SWIG_arg_fail(1)) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (int)(arg1
)->GetRudderPosition();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_int((int)(result
));
11799 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 char *kwnames
[] = {
11805 (char *) "self", NULL
11808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11810 if (SWIG_arg_fail(1)) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (int)(arg1
)->GetUPosition();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_From_int((int)(result
));
11827 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11831 PyObject
* obj0
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11838 if (SWIG_arg_fail(1)) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (int)(arg1
)->GetVPosition();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_From_int((int)(result
));
11855 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11866 if (SWIG_arg_fail(1)) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (int)(arg1
)->GetMovementThreshold();
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_From_int((int)(result
));
11883 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "threshold", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11895 if (SWIG_arg_fail(1)) SWIG_fail
;
11897 arg2
= (int)(SWIG_As_int(obj1
));
11898 if (SWIG_arg_fail(2)) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 (arg1
)->SetMovementThreshold(arg2
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 Py_INCREF(Py_None
); resultobj
= Py_None
;
11914 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11918 PyObject
* obj0
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "self", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11925 if (SWIG_arg_fail(1)) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (bool)(arg1
)->IsOk();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11942 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11946 PyObject
* obj0
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11953 if (SWIG_arg_fail(1)) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 result
= (int)(arg1
)->GetNumberJoysticks();
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_From_int((int)(result
));
11970 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11974 PyObject
* obj0
= 0 ;
11975 char *kwnames
[] = {
11976 (char *) "self", NULL
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11981 if (SWIG_arg_fail(1)) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 result
= (int)(arg1
)->GetManufacturerId();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_From_int((int)(result
));
11998 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12002 PyObject
* obj0
= 0 ;
12003 char *kwnames
[] = {
12004 (char *) "self", NULL
12007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12009 if (SWIG_arg_fail(1)) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 result
= (int)(arg1
)->GetProductId();
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_From_int((int)(result
));
12026 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
;
12028 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 char *kwnames
[] = {
12032 (char *) "self", NULL
12035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12037 if (SWIG_arg_fail(1)) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 result
= (arg1
)->GetProductName();
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12058 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12069 if (SWIG_arg_fail(1)) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (int)(arg1
)->GetXMin();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_From_int((int)(result
));
12086 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (int)(arg1
)->GetYMin();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_From_int((int)(result
));
12114 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12125 if (SWIG_arg_fail(1)) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (int)(arg1
)->GetZMin();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= SWIG_From_int((int)(result
));
12142 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (int)(arg1
)->GetXMax();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_From_int((int)(result
));
12170 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (int)(arg1
)->GetYMax();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_From_int((int)(result
));
12198 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12209 if (SWIG_arg_fail(1)) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (int)(arg1
)->GetZMax();
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= SWIG_From_int((int)(result
));
12226 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (int)(arg1
)->GetNumberButtons();
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= SWIG_From_int((int)(result
));
12254 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (int)(arg1
)->GetNumberAxes();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= SWIG_From_int((int)(result
));
12282 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (int)(arg1
)->GetMaxButtons();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_From_int((int)(result
));
12310 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12321 if (SWIG_arg_fail(1)) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (int)(arg1
)->GetMaxAxes();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_From_int((int)(result
));
12338 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12349 if (SWIG_arg_fail(1)) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (int)(arg1
)->GetPollingMin();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_From_int((int)(result
));
12366 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12377 if (SWIG_arg_fail(1)) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (int)(arg1
)->GetPollingMax();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_From_int((int)(result
));
12394 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12405 if (SWIG_arg_fail(1)) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (int)(arg1
)->GetRudderMin();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= SWIG_From_int((int)(result
));
12422 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (int)(arg1
)->GetRudderMax();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_From_int((int)(result
));
12450 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12461 if (SWIG_arg_fail(1)) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (int)(arg1
)->GetUMin();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_From_int((int)(result
));
12478 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12482 PyObject
* obj0
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12489 if (SWIG_arg_fail(1)) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (int)(arg1
)->GetUMax();
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_From_int((int)(result
));
12506 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12517 if (SWIG_arg_fail(1)) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (int)(arg1
)->GetVMin();
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= SWIG_From_int((int)(result
));
12534 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12545 if (SWIG_arg_fail(1)) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 result
= (int)(arg1
)->GetVMax();
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= SWIG_From_int((int)(result
));
12562 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12573 if (SWIG_arg_fail(1)) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (bool)(arg1
)->HasRudder();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12590 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12601 if (SWIG_arg_fail(1)) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= (bool)(arg1
)->HasZ();
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12618 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12629 if (SWIG_arg_fail(1)) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (bool)(arg1
)->HasU();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12646 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12657 if (SWIG_arg_fail(1)) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (bool)(arg1
)->HasV();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12674 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12678 PyObject
* obj0
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12685 if (SWIG_arg_fail(1)) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (bool)(arg1
)->HasPOV();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12702 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12706 PyObject
* obj0
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= (bool)(arg1
)->HasPOV4Dir();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12730 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 char *kwnames
[] = {
12736 (char *) "self", NULL
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12741 if (SWIG_arg_fail(1)) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (bool)(arg1
)->HasPOVCTS();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12758 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12761 wxWindow
*arg2
= (wxWindow
*) 0 ;
12762 int arg3
= (int) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 PyObject
* obj2
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12773 if (SWIG_arg_fail(1)) SWIG_fail
;
12774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(2)) SWIG_fail
;
12778 arg3
= (int)(SWIG_As_int(obj2
));
12779 if (SWIG_arg_fail(3)) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12798 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12809 if (SWIG_arg_fail(1)) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (bool)(arg1
)->ReleaseCapture();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12826 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12829 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12831 return Py_BuildValue((char *)"");
12833 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12836 int arg2
= (int) 0 ;
12837 int arg3
= (int) wxJOYSTICK1
;
12838 int arg4
= (int) 0 ;
12839 wxJoystickEvent
*result
;
12840 PyObject
* obj0
= 0 ;
12841 PyObject
* obj1
= 0 ;
12842 PyObject
* obj2
= 0 ;
12843 PyObject
* obj3
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12851 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12852 if (SWIG_arg_fail(1)) SWIG_fail
;
12857 arg2
= (int)(SWIG_As_int(obj1
));
12858 if (SWIG_arg_fail(2)) SWIG_fail
;
12863 arg3
= (int)(SWIG_As_int(obj2
));
12864 if (SWIG_arg_fail(3)) SWIG_fail
;
12869 arg4
= (int)(SWIG_As_int(obj3
));
12870 if (SWIG_arg_fail(4)) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12887 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12907 wxPoint
* resultptr
;
12908 resultptr
= new wxPoint((wxPoint
&)(result
));
12909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12917 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12928 if (SWIG_arg_fail(1)) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_From_int((int)(result
));
12945 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12956 if (SWIG_arg_fail(1)) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= SWIG_From_int((int)(result
));
12973 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12977 PyObject
* obj0
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12984 if (SWIG_arg_fail(1)) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_From_int((int)(result
));
13001 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13012 if (SWIG_arg_fail(1)) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_From_int((int)(result
));
13029 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self",(char *) "stick", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13041 if (SWIG_arg_fail(1)) SWIG_fail
;
13043 arg2
= (int)(SWIG_As_int(obj1
));
13044 if (SWIG_arg_fail(2)) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 (arg1
)->SetJoystick(arg2
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 Py_INCREF(Py_None
); resultobj
= Py_None
;
13060 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "state", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13072 if (SWIG_arg_fail(1)) SWIG_fail
;
13074 arg2
= (int)(SWIG_As_int(obj1
));
13075 if (SWIG_arg_fail(2)) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 (arg1
)->SetButtonState(arg2
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 Py_INCREF(Py_None
); resultobj
= Py_None
;
13091 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 char *kwnames
[] = {
13098 (char *) "self",(char *) "change", NULL
13101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13103 if (SWIG_arg_fail(1)) SWIG_fail
;
13105 arg2
= (int)(SWIG_As_int(obj1
));
13106 if (SWIG_arg_fail(2)) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 (arg1
)->SetButtonChange(arg2
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 Py_INCREF(Py_None
); resultobj
= Py_None
;
13122 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13125 wxPoint
*arg2
= 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self",(char *) "pos", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13135 if (SWIG_arg_fail(1)) SWIG_fail
;
13138 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self",(char *) "zPos", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail
;
13168 arg2
= (int)(SWIG_As_int(obj1
));
13169 if (SWIG_arg_fail(2)) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 (arg1
)->SetZPosition(arg2
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13196 if (SWIG_arg_fail(1)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13213 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13241 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13252 if (SWIG_arg_fail(1)) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13269 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13272 int arg2
= (int) wxJOY_BUTTON_ANY
;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "but", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13282 if (SWIG_arg_fail(1)) SWIG_fail
;
13285 arg2
= (int)(SWIG_As_int(obj1
));
13286 if (SWIG_arg_fail(2)) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13305 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13308 int arg2
= (int) wxJOY_BUTTON_ANY
;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self",(char *) "but", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13318 if (SWIG_arg_fail(1)) SWIG_fail
;
13321 arg2
= (int)(SWIG_As_int(obj1
));
13322 if (SWIG_arg_fail(2)) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13341 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13344 int arg2
= (int) wxJOY_BUTTON_ANY
;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "but", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13354 if (SWIG_arg_fail(1)) SWIG_fail
;
13357 arg2
= (int)(SWIG_As_int(obj1
));
13358 if (SWIG_arg_fail(2)) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13377 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13380 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13382 return Py_BuildValue((char *)"");
13384 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13387 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13389 bool temp1
= false ;
13390 PyObject
* obj0
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "fileName", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13398 arg1
= wxString_in_helper(obj0
);
13399 if (arg1
== NULL
) SWIG_fail
;
13404 if (!wxPyCheckForApp()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13426 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 PyObject
*arg1
= (PyObject
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "data", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13438 if (!wxPyCheckForApp()) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (wxSound
*)new_wxSound(arg1
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13452 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxSound
*arg1
= (wxSound
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13462 if (SWIG_arg_fail(1)) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 Py_INCREF(Py_None
); resultobj
= Py_None
;
13477 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxSound
*arg1
= (wxSound
*) 0 ;
13480 wxString
*arg2
= 0 ;
13482 bool temp2
= false ;
13483 PyObject
* obj0
= 0 ;
13484 PyObject
* obj1
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self",(char *) "fileName", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13491 if (SWIG_arg_fail(1)) SWIG_fail
;
13493 arg2
= wxString_in_helper(obj1
);
13494 if (arg2
== NULL
) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13521 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxSound
*arg1
= (wxSound
*) 0 ;
13524 PyObject
*arg2
= (PyObject
*) 0 ;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self",(char *) "data", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13534 if (SWIG_arg_fail(1)) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13552 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxSound
*arg1
= (wxSound
*) 0 ;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13563 if (SWIG_arg_fail(1)) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (bool)(arg1
)->IsOk();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13580 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxSound
*arg1
= (wxSound
*) 0 ;
13583 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self",(char *) "flags", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13593 if (SWIG_arg_fail(1)) SWIG_fail
;
13596 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13597 if (SWIG_arg_fail(2)) SWIG_fail
;
13601 if (!wxPyCheckForApp()) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13617 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxString
*arg1
= 0 ;
13620 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13622 bool temp1
= false ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "filename",(char *) "flags", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13631 arg1
= wxString_in_helper(obj0
);
13632 if (arg1
== NULL
) SWIG_fail
;
13637 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13638 if (SWIG_arg_fail(2)) SWIG_fail
;
13642 if (!wxPyCheckForApp()) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13666 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 char *kwnames
[] = {
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13674 if (!wxPyCheckForApp()) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 Py_INCREF(Py_None
); resultobj
= Py_None
;
13688 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13691 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13693 return Py_BuildValue((char *)"");
13695 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxString
*arg1
= 0 ;
13698 wxString
*arg2
= 0 ;
13699 wxString
*arg3
= 0 ;
13700 wxString
*arg4
= 0 ;
13701 wxFileTypeInfo
*result
;
13702 bool temp1
= false ;
13703 bool temp2
= false ;
13704 bool temp3
= false ;
13705 bool temp4
= false ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 PyObject
* obj2
= 0 ;
13709 PyObject
* obj3
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13716 arg1
= wxString_in_helper(obj0
);
13717 if (arg1
== NULL
) SWIG_fail
;
13721 arg2
= wxString_in_helper(obj1
);
13722 if (arg2
== NULL
) SWIG_fail
;
13726 arg3
= wxString_in_helper(obj2
);
13727 if (arg3
== NULL
) SWIG_fail
;
13731 arg4
= wxString_in_helper(obj3
);
13732 if (arg4
== NULL
) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13781 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxArrayString
*arg1
= 0 ;
13784 wxFileTypeInfo
*result
;
13785 bool temp1
= false ;
13786 PyObject
* obj0
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "sArray", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13793 if (! PySequence_Check(obj0
)) {
13794 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13797 arg1
= new wxArrayString
;
13799 int i
, len
=PySequence_Length(obj0
);
13800 for (i
=0; i
<len
; i
++) {
13801 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13803 PyObject
* str
= PyObject_Unicode(item
);
13805 PyObject
* str
= PyObject_Str(item
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13808 arg1
->Add(Py2wxString(str
));
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13822 if (temp1
) delete arg1
;
13827 if (temp1
) delete arg1
;
13833 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxFileTypeInfo
*result
;
13836 char *kwnames
[] = {
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13855 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13866 if (SWIG_arg_fail(1)) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13883 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13886 wxString
*arg2
= 0 ;
13887 int arg3
= (int) 0 ;
13888 bool temp2
= false ;
13889 PyObject
* obj0
= 0 ;
13890 PyObject
* obj1
= 0 ;
13891 PyObject
* obj2
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13898 if (SWIG_arg_fail(1)) SWIG_fail
;
13900 arg2
= wxString_in_helper(obj1
);
13901 if (arg2
== NULL
) SWIG_fail
;
13906 arg3
= (int)(SWIG_As_int(obj2
));
13907 if (SWIG_arg_fail(3)) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 Py_INCREF(Py_None
); resultobj
= Py_None
;
13932 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13935 wxString
*arg2
= 0 ;
13936 bool temp2
= false ;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self",(char *) "shortDesc", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13945 if (SWIG_arg_fail(1)) SWIG_fail
;
13947 arg2
= wxString_in_helper(obj1
);
13948 if (arg2
== NULL
) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 Py_INCREF(Py_None
); resultobj
= Py_None
;
13973 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13989 result
= (wxString
*) &_result_ref
;
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13999 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14008 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 char *kwnames
[] = {
14014 (char *) "self", NULL
14017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14019 if (SWIG_arg_fail(1)) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14024 result
= (wxString
*) &_result_ref
;
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14034 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14043 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14054 if (SWIG_arg_fail(1)) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14059 result
= (wxString
*) &_result_ref
;
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14069 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14078 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
;
14080 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14082 PyObject
* obj0
= 0 ;
14083 char *kwnames
[] = {
14084 (char *) "self", NULL
14087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14089 if (SWIG_arg_fail(1)) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14094 result
= (wxString
*) &_result_ref
;
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14104 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14113 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14117 PyObject
* obj0
= 0 ;
14118 char *kwnames
[] = {
14119 (char *) "self", NULL
14122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14124 if (SWIG_arg_fail(1)) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14129 result
= (wxString
*) &_result_ref
;
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14139 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14148 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14151 wxArrayString
*result
;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14164 result
= (wxArrayString
*) &_result_ref
;
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= wxArrayString2PyList_helper(*result
);
14179 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14190 if (SWIG_arg_fail(1)) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_From_int((int)(result
));
14207 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14211 PyObject
* obj0
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14218 if (SWIG_arg_fail(1)) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14223 result
= (wxString
*) &_result_ref
;
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14233 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14242 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "self", NULL
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14253 if (SWIG_arg_fail(1)) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= SWIG_From_int((int)(result
));
14270 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14273 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14275 return Py_BuildValue((char *)"");
14277 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxFileTypeInfo
*arg1
= 0 ;
14280 wxFileType
*result
;
14281 PyObject
* obj0
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "ftInfo", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14289 if (SWIG_arg_fail(1)) SWIG_fail
;
14290 if (arg1
== NULL
) {
14291 SWIG_null_ref("wxFileTypeInfo");
14293 if (SWIG_arg_fail(1)) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14309 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxFileType
*arg1
= (wxFileType
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14319 if (SWIG_arg_fail(1)) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 Py_INCREF(Py_None
); resultobj
= Py_None
;
14334 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxFileType
*arg1
= (wxFileType
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14345 if (SWIG_arg_fail(1)) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= result
;
14360 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxFileType
*arg1
= (wxFileType
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14371 if (SWIG_arg_fail(1)) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= result
;
14386 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxFileType
*arg1
= (wxFileType
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14397 if (SWIG_arg_fail(1)) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= result
;
14412 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxFileType
*arg1
= (wxFileType
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14438 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
;
14440 wxFileType
*arg1
= (wxFileType
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 char *kwnames
[] = {
14444 (char *) "self", NULL
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14449 if (SWIG_arg_fail(1)) SWIG_fail
;
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
;
14464 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxFileType
*arg1
= (wxFileType
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14475 if (SWIG_arg_fail(1)) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= result
;
14490 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxFileType
*arg1
= (wxFileType
*) 0 ;
14493 wxString
*arg2
= 0 ;
14494 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14495 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14497 bool temp2
= false ;
14498 bool temp3
= false ;
14499 PyObject
* obj0
= 0 ;
14500 PyObject
* obj1
= 0 ;
14501 PyObject
* obj2
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14508 if (SWIG_arg_fail(1)) SWIG_fail
;
14510 arg2
= wxString_in_helper(obj1
);
14511 if (arg2
== NULL
) SWIG_fail
;
14516 arg3
= wxString_in_helper(obj2
);
14517 if (arg3
== NULL
) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
;
14551 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxFileType
*arg1
= (wxFileType
*) 0 ;
14554 wxString
*arg2
= 0 ;
14555 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14556 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14558 bool temp2
= false ;
14559 bool temp3
= false ;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 PyObject
* obj2
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14569 if (SWIG_arg_fail(1)) SWIG_fail
;
14571 arg2
= wxString_in_helper(obj1
);
14572 if (arg2
== NULL
) SWIG_fail
;
14577 arg3
= wxString_in_helper(obj2
);
14578 if (arg3
== NULL
) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= result
;
14612 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxFileType
*arg1
= (wxFileType
*) 0 ;
14615 wxString
*arg2
= 0 ;
14616 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14617 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14619 bool temp2
= false ;
14620 bool temp3
= false ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 PyObject
* obj2
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14630 if (SWIG_arg_fail(1)) SWIG_fail
;
14632 arg2
= wxString_in_helper(obj1
);
14633 if (arg2
== NULL
) SWIG_fail
;
14638 arg3
= wxString_in_helper(obj2
);
14639 if (arg3
== NULL
) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= result
;
14673 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxFileType
*arg1
= (wxFileType
*) 0 ;
14676 wxString
*arg2
= 0 ;
14677 wxString
*arg3
= 0 ;
14678 bool arg4
= (bool) true ;
14680 bool temp2
= false ;
14681 bool temp3
= false ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 PyObject
* obj2
= 0 ;
14685 PyObject
* obj3
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14692 if (SWIG_arg_fail(1)) SWIG_fail
;
14694 arg2
= wxString_in_helper(obj1
);
14695 if (arg2
== NULL
) SWIG_fail
;
14699 arg3
= wxString_in_helper(obj2
);
14700 if (arg3
== NULL
) SWIG_fail
;
14705 arg4
= (bool)(SWIG_As_bool(obj3
));
14706 if (SWIG_arg_fail(4)) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14741 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxFileType
*arg1
= (wxFileType
*) 0 ;
14744 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14745 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14746 int arg3
= (int) 0 ;
14748 bool temp2
= false ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 PyObject
* obj2
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "cmd",(char *) "index", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14758 if (SWIG_arg_fail(1)) SWIG_fail
;
14761 arg2
= wxString_in_helper(obj1
);
14762 if (arg2
== NULL
) SWIG_fail
;
14768 arg3
= (int)(SWIG_As_int(obj2
));
14769 if (SWIG_arg_fail(3)) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14796 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxFileType
*arg1
= (wxFileType
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (bool)(arg1
)->Unassociate();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14824 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 wxString
*arg1
= 0 ;
14827 wxString
*arg2
= 0 ;
14828 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14829 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14831 bool temp1
= false ;
14832 bool temp2
= false ;
14833 bool temp3
= false ;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 PyObject
* obj2
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14843 arg1
= wxString_in_helper(obj0
);
14844 if (arg1
== NULL
) SWIG_fail
;
14848 arg2
= wxString_in_helper(obj1
);
14849 if (arg2
== NULL
) SWIG_fail
;
14854 arg3
= wxString_in_helper(obj2
);
14855 if (arg3
== NULL
) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14903 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14906 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14908 return Py_BuildValue((char *)"");
14910 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14911 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14916 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14919 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14924 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxString
*arg1
= 0 ;
14927 wxString
*arg2
= 0 ;
14929 bool temp1
= false ;
14930 bool temp2
= false ;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "mimeType",(char *) "wildcard", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14939 arg1
= wxString_in_helper(obj0
);
14940 if (arg1
== NULL
) SWIG_fail
;
14944 arg2
= wxString_in_helper(obj1
);
14945 if (arg2
== NULL
) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14980 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxMimeTypesManager
*result
;
14983 char *kwnames
[] = {
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15002 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15005 int arg2
= (int) wxMAILCAP_ALL
;
15006 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15007 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15008 bool temp3
= false ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 PyObject
* obj2
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15018 if (SWIG_arg_fail(1)) SWIG_fail
;
15021 arg2
= (int)(SWIG_As_int(obj1
));
15022 if (SWIG_arg_fail(2)) SWIG_fail
;
15027 arg3
= wxString_in_helper(obj2
);
15028 if (arg3
== NULL
) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 Py_INCREF(Py_None
); resultobj
= Py_None
;
15054 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15064 if (SWIG_arg_fail(1)) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 (arg1
)->ClearData();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15082 wxString
*arg2
= 0 ;
15083 wxFileType
*result
;
15084 bool temp2
= false ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "ext", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15093 if (SWIG_arg_fail(1)) SWIG_fail
;
15095 arg2
= wxString_in_helper(obj1
);
15096 if (arg2
== NULL
) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15121 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15124 wxString
*arg2
= 0 ;
15125 wxFileType
*result
;
15126 bool temp2
= false ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self",(char *) "mimeType", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15135 if (SWIG_arg_fail(1)) SWIG_fail
;
15137 arg2
= wxString_in_helper(obj1
);
15138 if (arg2
== NULL
) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15163 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15166 wxString
*arg2
= 0 ;
15167 bool arg3
= (bool) false ;
15169 bool temp2
= false ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 PyObject
* obj2
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15179 if (SWIG_arg_fail(1)) SWIG_fail
;
15181 arg2
= wxString_in_helper(obj1
);
15182 if (arg2
== NULL
) SWIG_fail
;
15187 arg3
= (bool)(SWIG_As_bool(obj2
));
15188 if (SWIG_arg_fail(3)) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15215 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15218 wxString
*arg2
= 0 ;
15220 bool temp2
= false ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "filename", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15229 if (SWIG_arg_fail(1)) SWIG_fail
;
15231 arg2
= wxString_in_helper(obj1
);
15232 if (arg2
== NULL
) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15259 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15270 if (SWIG_arg_fail(1)) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
;
15285 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15288 wxFileTypeInfo
*arg2
= 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self",(char *) "ft", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15297 if (SWIG_arg_fail(1)) SWIG_fail
;
15299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15300 if (SWIG_arg_fail(2)) SWIG_fail
;
15301 if (arg2
== NULL
) {
15302 SWIG_null_ref("wxFileTypeInfo");
15304 if (SWIG_arg_fail(2)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 Py_INCREF(Py_None
); resultobj
= Py_None
;
15320 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15323 wxFileTypeInfo
*arg2
= 0 ;
15324 wxFileType
*result
;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self",(char *) "ftInfo", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15336 if (SWIG_arg_fail(2)) SWIG_fail
;
15337 if (arg2
== NULL
) {
15338 SWIG_null_ref("wxFileTypeInfo");
15340 if (SWIG_arg_fail(2)) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15356 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15359 wxFileType
*arg2
= (wxFileType
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self",(char *) "ft", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15369 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15371 if (SWIG_arg_fail(2)) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)(arg1
)->Unassociate(arg2
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15388 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15416 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15418 return Py_BuildValue((char *)"");
15420 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15421 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15426 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15431 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15433 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15440 static int _wrap_ART_MENU_set(PyObject
*) {
15441 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15446 static PyObject
*_wrap_ART_MENU_get(void) {
15451 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15453 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15460 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15461 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15466 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15471 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15473 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15480 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15481 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15486 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15491 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15493 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15500 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15501 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15506 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15511 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15513 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15520 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15521 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15526 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15531 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15533 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15540 static int _wrap_ART_BUTTON_set(PyObject
*) {
15541 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15546 static PyObject
*_wrap_ART_BUTTON_get(void) {
15551 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15553 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15560 static int _wrap_ART_OTHER_set(PyObject
*) {
15561 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15566 static PyObject
*_wrap_ART_OTHER_get(void) {
15571 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15573 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15580 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15581 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15586 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15591 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15593 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15600 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15601 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15606 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15611 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15613 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15620 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15621 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15626 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15631 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15633 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15640 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15641 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15646 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15651 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15653 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15660 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15661 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15666 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15671 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15673 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15680 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15681 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15686 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15691 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15693 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15700 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15701 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15706 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15711 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15713 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15720 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15721 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15726 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15731 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15733 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15740 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15741 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15746 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15751 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15753 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15760 static int _wrap_ART_GO_UP_set(PyObject
*) {
15761 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15766 static PyObject
*_wrap_ART_GO_UP_get(void) {
15771 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15773 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15780 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15781 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15786 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15791 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15793 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15800 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15801 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15806 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15811 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15813 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15820 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15821 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15826 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15831 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15833 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15840 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15841 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15846 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15851 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15853 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15860 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15861 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15866 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15871 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15873 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15880 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15881 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15886 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15891 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15893 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15900 static int _wrap_ART_PRINT_set(PyObject
*) {
15901 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15906 static PyObject
*_wrap_ART_PRINT_get(void) {
15911 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15913 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15920 static int _wrap_ART_HELP_set(PyObject
*) {
15921 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15926 static PyObject
*_wrap_ART_HELP_get(void) {
15931 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15933 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15940 static int _wrap_ART_TIP_set(PyObject
*) {
15941 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15946 static PyObject
*_wrap_ART_TIP_get(void) {
15951 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15953 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15960 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15961 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15966 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15971 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15973 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15980 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15981 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15986 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15991 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15993 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16000 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16001 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16006 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16011 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16013 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16020 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16021 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16026 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16031 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16033 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16040 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16041 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16046 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16051 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16053 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16060 static int _wrap_ART_CDROM_set(PyObject
*) {
16061 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16066 static PyObject
*_wrap_ART_CDROM_get(void) {
16071 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16073 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16080 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16081 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16086 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16091 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16093 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16100 static int _wrap_ART_FOLDER_set(PyObject
*) {
16101 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16106 static PyObject
*_wrap_ART_FOLDER_get(void) {
16111 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16113 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16120 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16121 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16126 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16131 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16133 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16140 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16141 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16146 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16151 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16153 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16160 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16161 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16166 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16171 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16173 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16180 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16181 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16186 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16191 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16193 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16200 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16201 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16206 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16211 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16213 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16220 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16221 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16226 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16231 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16233 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16240 static int _wrap_ART_ERROR_set(PyObject
*) {
16241 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16246 static PyObject
*_wrap_ART_ERROR_get(void) {
16251 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16253 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16260 static int _wrap_ART_QUESTION_set(PyObject
*) {
16261 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16266 static PyObject
*_wrap_ART_QUESTION_get(void) {
16271 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16273 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16280 static int _wrap_ART_WARNING_set(PyObject
*) {
16281 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16286 static PyObject
*_wrap_ART_WARNING_get(void) {
16291 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16293 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16300 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16301 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16306 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16311 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16313 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16320 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16321 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16326 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16331 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16333 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16340 static int _wrap_ART_COPY_set(PyObject
*) {
16341 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16346 static PyObject
*_wrap_ART_COPY_get(void) {
16351 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16353 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16360 static int _wrap_ART_CUT_set(PyObject
*) {
16361 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16366 static PyObject
*_wrap_ART_CUT_get(void) {
16371 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16373 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16380 static int _wrap_ART_PASTE_set(PyObject
*) {
16381 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16386 static PyObject
*_wrap_ART_PASTE_get(void) {
16391 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16393 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16400 static int _wrap_ART_DELETE_set(PyObject
*) {
16401 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16406 static PyObject
*_wrap_ART_DELETE_get(void) {
16411 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16413 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16420 static int _wrap_ART_UNDO_set(PyObject
*) {
16421 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16426 static PyObject
*_wrap_ART_UNDO_get(void) {
16431 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16433 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16440 static int _wrap_ART_REDO_set(PyObject
*) {
16441 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16446 static PyObject
*_wrap_ART_REDO_get(void) {
16451 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16453 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16460 static int _wrap_ART_QUIT_set(PyObject
*) {
16461 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16466 static PyObject
*_wrap_ART_QUIT_get(void) {
16471 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16473 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16480 static int _wrap_ART_FIND_set(PyObject
*) {
16481 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16486 static PyObject
*_wrap_ART_FIND_get(void) {
16491 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16493 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16500 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16501 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16506 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16511 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16513 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16520 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPyArtProvider
*result
;
16523 char *kwnames
[] = {
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16529 if (!wxPyCheckForApp()) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16543 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16546 PyObject
*arg2
= (PyObject
*) 0 ;
16547 PyObject
*arg3
= (PyObject
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 PyObject
* obj2
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self",(char *) "self",(char *) "_class", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16557 if (SWIG_arg_fail(1)) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 Py_INCREF(Py_None
); resultobj
= Py_None
;
16574 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "provider", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16584 if (SWIG_arg_fail(1)) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 wxPyArtProvider::PushProvider(arg1
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 Py_INCREF(Py_None
); resultobj
= Py_None
;
16599 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16602 char *kwnames
[] = {
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (bool)wxPyArtProvider::PopProvider();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16623 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16627 PyObject
* obj0
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "provider", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16634 if (SWIG_arg_fail(1)) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16651 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxString
*arg1
= 0 ;
16654 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16655 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16656 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16657 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16659 bool temp1
= false ;
16660 bool temp2
= false ;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 PyObject
* obj2
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "id",(char *) "client",(char *) "size", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16671 arg1
= wxString_in_helper(obj0
);
16672 if (arg1
== NULL
) SWIG_fail
;
16677 arg2
= wxString_in_helper(obj1
);
16678 if (arg2
== NULL
) SWIG_fail
;
16685 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16689 if (!wxPyCheckForApp()) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16697 wxBitmap
* resultptr
;
16698 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16723 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxString
*arg1
= 0 ;
16726 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16727 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16728 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16729 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16731 bool temp1
= false ;
16732 bool temp2
= false ;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 PyObject
* obj2
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "id",(char *) "client",(char *) "size", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16743 arg1
= wxString_in_helper(obj0
);
16744 if (arg1
== NULL
) SWIG_fail
;
16749 arg2
= wxString_in_helper(obj1
);
16750 if (arg2
== NULL
) SWIG_fail
;
16757 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16761 if (!wxPyCheckForApp()) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16769 wxIcon
* resultptr
;
16770 resultptr
= new wxIcon((wxIcon
&)(result
));
16771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16795 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxString
*arg1
= 0 ;
16798 bool arg2
= (bool) false ;
16800 bool temp1
= false ;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "client",(char *) "platform_dependent", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16809 arg1
= wxString_in_helper(obj0
);
16810 if (arg1
== NULL
) SWIG_fail
;
16815 arg2
= (bool)(SWIG_As_bool(obj1
));
16816 if (SWIG_arg_fail(2)) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16827 wxSize
* resultptr
;
16828 resultptr
= new wxSize((wxSize
&)(result
));
16829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16845 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16855 if (SWIG_arg_fail(1)) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 wxPyArtProvider_Destroy(arg1
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16873 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16875 return Py_BuildValue((char *)"");
16877 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16887 if (SWIG_arg_fail(1)) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 Py_INCREF(Py_None
); resultobj
= Py_None
;
16902 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16905 wxConfigBase
*result
;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "config", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16913 if (SWIG_arg_fail(1)) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16928 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 bool arg1
= (bool) true ;
16931 wxConfigBase
*result
;
16932 PyObject
* obj0
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "createOnDemand", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16940 arg1
= (bool)(SWIG_As_bool(obj0
));
16941 if (SWIG_arg_fail(1)) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16958 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxConfigBase
*result
;
16961 char *kwnames
[] = {
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 result
= (wxConfigBase
*)wxConfigBase::Create();
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16980 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 char *kwnames
[] = {
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 wxConfigBase::DontCreateOnDemand();
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 Py_INCREF(Py_None
); resultobj
= Py_None
;
17001 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17004 wxString
*arg2
= 0 ;
17005 bool temp2
= false ;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "self",(char *) "path", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17014 if (SWIG_arg_fail(1)) SWIG_fail
;
17016 arg2
= wxString_in_helper(obj1
);
17017 if (arg2
== NULL
) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 (arg1
)->SetPath((wxString
const &)*arg2
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 Py_INCREF(Py_None
); resultobj
= Py_None
;
17042 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17058 result
= (wxString
*) &_result_ref
;
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17077 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17081 PyObject
* obj0
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= result
;
17103 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self",(char *) "index", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17116 if (SWIG_arg_fail(1)) SWIG_fail
;
17118 arg2
= (long)(SWIG_As_long(obj1
));
17119 if (SWIG_arg_fail(2)) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= result
;
17135 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= result
;
17161 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self",(char *) "index", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17174 if (SWIG_arg_fail(1)) SWIG_fail
;
17176 arg2
= (long)(SWIG_As_long(obj1
));
17177 if (SWIG_arg_fail(2)) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
;
17193 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17196 bool arg2
= (bool) false ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self",(char *) "recursive", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17206 if (SWIG_arg_fail(1)) SWIG_fail
;
17209 arg2
= (bool)(SWIG_As_bool(obj1
));
17210 if (SWIG_arg_fail(2)) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17229 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17231 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17232 bool arg2
= (bool) false ;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self",(char *) "recursive", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17242 if (SWIG_arg_fail(1)) SWIG_fail
;
17245 arg2
= (bool)(SWIG_As_bool(obj1
));
17246 if (SWIG_arg_fail(2)) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17265 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17268 wxString
*arg2
= 0 ;
17270 bool temp2
= false ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self",(char *) "name", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17279 if (SWIG_arg_fail(1)) SWIG_fail
;
17281 arg2
= wxString_in_helper(obj1
);
17282 if (arg2
== NULL
) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17309 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17312 wxString
*arg2
= 0 ;
17314 bool temp2
= false ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "name", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17323 if (SWIG_arg_fail(1)) SWIG_fail
;
17325 arg2
= wxString_in_helper(obj1
);
17326 if (arg2
== NULL
) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17353 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17356 wxString
*arg2
= 0 ;
17358 bool temp2
= false ;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "name", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail
;
17369 arg2
= wxString_in_helper(obj1
);
17370 if (arg2
== NULL
) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17397 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17400 wxString
*arg2
= 0 ;
17401 wxConfigBase::EntryType result
;
17402 bool temp2
= false ;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self",(char *) "name", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17411 if (SWIG_arg_fail(1)) SWIG_fail
;
17413 arg2
= wxString_in_helper(obj1
);
17414 if (arg2
== NULL
) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_From_int((result
));
17439 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17442 wxString
*arg2
= 0 ;
17443 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17444 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17446 bool temp2
= false ;
17447 bool temp3
= false ;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 PyObject
* obj2
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17457 if (SWIG_arg_fail(1)) SWIG_fail
;
17459 arg2
= wxString_in_helper(obj1
);
17460 if (arg2
== NULL
) SWIG_fail
;
17465 arg3
= wxString_in_helper(obj2
);
17466 if (arg3
== NULL
) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17506 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17509 wxString
*arg2
= 0 ;
17510 long arg3
= (long) 0 ;
17512 bool temp2
= false ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 PyObject
* obj2
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17522 if (SWIG_arg_fail(1)) SWIG_fail
;
17524 arg2
= wxString_in_helper(obj1
);
17525 if (arg2
== NULL
) SWIG_fail
;
17530 arg3
= (long)(SWIG_As_long(obj2
));
17531 if (SWIG_arg_fail(3)) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= SWIG_From_long((long)(result
));
17558 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17561 wxString
*arg2
= 0 ;
17562 double arg3
= (double) 0.0 ;
17564 bool temp2
= false ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 PyObject
* obj2
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17574 if (SWIG_arg_fail(1)) SWIG_fail
;
17576 arg2
= wxString_in_helper(obj1
);
17577 if (arg2
== NULL
) SWIG_fail
;
17582 arg3
= (double)(SWIG_As_double(obj2
));
17583 if (SWIG_arg_fail(3)) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= SWIG_From_double((double)(result
));
17610 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17613 wxString
*arg2
= 0 ;
17614 bool arg3
= (bool) false ;
17616 bool temp2
= false ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 PyObject
* obj2
= 0 ;
17620 char *kwnames
[] = {
17621 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17626 if (SWIG_arg_fail(1)) SWIG_fail
;
17628 arg2
= wxString_in_helper(obj1
);
17629 if (arg2
== NULL
) SWIG_fail
;
17634 arg3
= (bool)(SWIG_As_bool(obj2
));
17635 if (SWIG_arg_fail(3)) SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17662 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17665 wxString
*arg2
= 0 ;
17666 wxString
*arg3
= 0 ;
17668 bool temp2
= false ;
17669 bool temp3
= false ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 PyObject
* obj2
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self",(char *) "key",(char *) "value", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17679 if (SWIG_arg_fail(1)) SWIG_fail
;
17681 arg2
= wxString_in_helper(obj1
);
17682 if (arg2
== NULL
) SWIG_fail
;
17686 arg3
= wxString_in_helper(obj2
);
17687 if (arg3
== NULL
) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17722 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17725 wxString
*arg2
= 0 ;
17728 bool temp2
= false ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 PyObject
* obj2
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self",(char *) "key",(char *) "value", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17738 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 arg2
= wxString_in_helper(obj1
);
17741 if (arg2
== NULL
) SWIG_fail
;
17745 arg3
= (long)(SWIG_As_long(obj2
));
17746 if (SWIG_arg_fail(3)) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17772 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17775 wxString
*arg2
= 0 ;
17778 bool temp2
= false ;
17779 PyObject
* obj0
= 0 ;
17780 PyObject
* obj1
= 0 ;
17781 PyObject
* obj2
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self",(char *) "key",(char *) "value", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17788 if (SWIG_arg_fail(1)) SWIG_fail
;
17790 arg2
= wxString_in_helper(obj1
);
17791 if (arg2
== NULL
) SWIG_fail
;
17795 arg3
= (double)(SWIG_As_double(obj2
));
17796 if (SWIG_arg_fail(3)) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17822 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17825 wxString
*arg2
= 0 ;
17828 bool temp2
= false ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 PyObject
* obj2
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self",(char *) "key",(char *) "value", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17838 if (SWIG_arg_fail(1)) SWIG_fail
;
17840 arg2
= wxString_in_helper(obj1
);
17841 if (arg2
== NULL
) SWIG_fail
;
17845 arg3
= (bool)(SWIG_As_bool(obj2
));
17846 if (SWIG_arg_fail(3)) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17872 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17875 bool arg2
= (bool) false ;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "currentOnly", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17885 if (SWIG_arg_fail(1)) SWIG_fail
;
17888 arg2
= (bool)(SWIG_As_bool(obj1
));
17889 if (SWIG_arg_fail(2)) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 result
= (bool)(arg1
)->Flush(arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17908 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17911 wxString
*arg2
= 0 ;
17912 wxString
*arg3
= 0 ;
17914 bool temp2
= false ;
17915 bool temp3
= false ;
17916 PyObject
* obj0
= 0 ;
17917 PyObject
* obj1
= 0 ;
17918 PyObject
* obj2
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17925 if (SWIG_arg_fail(1)) SWIG_fail
;
17927 arg2
= wxString_in_helper(obj1
);
17928 if (arg2
== NULL
) SWIG_fail
;
17932 arg3
= wxString_in_helper(obj2
);
17933 if (arg3
== NULL
) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17968 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17971 wxString
*arg2
= 0 ;
17972 wxString
*arg3
= 0 ;
17974 bool temp2
= false ;
17975 bool temp3
= false ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 PyObject
* obj2
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17985 if (SWIG_arg_fail(1)) SWIG_fail
;
17987 arg2
= wxString_in_helper(obj1
);
17988 if (arg2
== NULL
) SWIG_fail
;
17992 arg3
= wxString_in_helper(obj2
);
17993 if (arg3
== NULL
) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18028 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18031 wxString
*arg2
= 0 ;
18032 bool arg3
= (bool) true ;
18034 bool temp2
= false ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 PyObject
* obj2
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18044 if (SWIG_arg_fail(1)) SWIG_fail
;
18046 arg2
= wxString_in_helper(obj1
);
18047 if (arg2
== NULL
) SWIG_fail
;
18052 arg3
= (bool)(SWIG_As_bool(obj2
));
18053 if (SWIG_arg_fail(3)) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18080 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18083 wxString
*arg2
= 0 ;
18085 bool temp2
= false ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self",(char *) "key", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18094 if (SWIG_arg_fail(1)) SWIG_fail
;
18096 arg2
= wxString_in_helper(obj1
);
18097 if (arg2
== NULL
) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18124 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18135 if (SWIG_arg_fail(1)) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 result
= (bool)(arg1
)->DeleteAll();
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18152 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18155 bool arg2
= (bool) true ;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "self",(char *) "doIt", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18164 if (SWIG_arg_fail(1)) SWIG_fail
;
18167 arg2
= (bool)(SWIG_As_bool(obj1
));
18168 if (SWIG_arg_fail(2)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->SetExpandEnvVars(arg2
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 Py_INCREF(Py_None
); resultobj
= Py_None
;
18185 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18213 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18216 bool arg2
= (bool) true ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self",(char *) "doIt", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18225 if (SWIG_arg_fail(1)) SWIG_fail
;
18228 arg2
= (bool)(SWIG_As_bool(obj1
));
18229 if (SWIG_arg_fail(2)) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 (arg1
)->SetRecordDefaults(arg2
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 Py_INCREF(Py_None
); resultobj
= Py_None
;
18246 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
;
18248 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18257 if (SWIG_arg_fail(1)) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18274 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18277 wxString
*arg2
= 0 ;
18279 bool temp2
= false ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self",(char *) "str", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18288 if (SWIG_arg_fail(1)) SWIG_fail
;
18290 arg2
= wxString_in_helper(obj1
);
18291 if (arg2
== NULL
) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18322 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18354 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18386 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18389 wxString
*arg2
= 0 ;
18390 bool temp2
= false ;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self",(char *) "appName", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18399 if (SWIG_arg_fail(1)) SWIG_fail
;
18401 arg2
= wxString_in_helper(obj1
);
18402 if (arg2
== NULL
) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->SetAppName((wxString
const &)*arg2
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18427 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18430 wxString
*arg2
= 0 ;
18431 bool temp2
= false ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self",(char *) "vendorName", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 arg2
= wxString_in_helper(obj1
);
18443 if (arg2
== NULL
) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 Py_INCREF(Py_None
); resultobj
= Py_None
;
18468 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self",(char *) "style", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18480 if (SWIG_arg_fail(1)) SWIG_fail
;
18482 arg2
= (long)(SWIG_As_long(obj1
));
18483 if (SWIG_arg_fail(2)) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->SetStyle(arg2
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 Py_INCREF(Py_None
); resultobj
= Py_None
;
18499 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 char *kwnames
[] = {
18505 (char *) "self", NULL
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18510 if (SWIG_arg_fail(1)) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_From_long((long)(result
));
18527 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18530 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18532 return Py_BuildValue((char *)"");
18534 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18537 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18538 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18539 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18542 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18544 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18546 bool temp1
= false ;
18547 bool temp2
= false ;
18548 bool temp3
= false ;
18549 bool temp4
= false ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 PyObject
* obj2
= 0 ;
18553 PyObject
* obj3
= 0 ;
18554 PyObject
* obj4
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18562 arg1
= wxString_in_helper(obj0
);
18563 if (arg1
== NULL
) SWIG_fail
;
18569 arg2
= wxString_in_helper(obj1
);
18570 if (arg2
== NULL
) SWIG_fail
;
18576 arg3
= wxString_in_helper(obj2
);
18577 if (arg3
== NULL
) SWIG_fail
;
18583 arg4
= wxString_in_helper(obj3
);
18584 if (arg4
== NULL
) SWIG_fail
;
18590 arg5
= (long)(SWIG_As_long(obj4
));
18591 if (SWIG_arg_fail(5)) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18640 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxConfig
*arg1
= (wxConfig
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18650 if (SWIG_arg_fail(1)) SWIG_fail
;
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18658 Py_INCREF(Py_None
); resultobj
= Py_None
;
18665 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18668 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18670 return Py_BuildValue((char *)"");
18672 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18675 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18676 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18677 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18680 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18681 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18682 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18683 wxFileConfig
*result
;
18684 bool temp1
= false ;
18685 bool temp2
= false ;
18686 bool temp3
= false ;
18687 bool temp4
= false ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 PyObject
* obj2
= 0 ;
18691 PyObject
* obj3
= 0 ;
18692 PyObject
* obj4
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18700 arg1
= wxString_in_helper(obj0
);
18701 if (arg1
== NULL
) SWIG_fail
;
18707 arg2
= wxString_in_helper(obj1
);
18708 if (arg2
== NULL
) SWIG_fail
;
18714 arg3
= wxString_in_helper(obj2
);
18715 if (arg3
== NULL
) SWIG_fail
;
18721 arg4
= wxString_in_helper(obj3
);
18722 if (arg4
== NULL
) SWIG_fail
;
18728 arg5
= (long)(SWIG_As_long(obj4
));
18729 if (SWIG_arg_fail(5)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18778 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 char *kwnames
[] = {
18783 (char *) "self", NULL
18786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18788 if (SWIG_arg_fail(1)) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 Py_INCREF(Py_None
); resultobj
= Py_None
;
18803 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18806 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18808 return Py_BuildValue((char *)"");
18810 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18813 wxString
*arg2
= 0 ;
18814 wxConfigPathChanger
*result
;
18815 bool temp2
= false ;
18816 PyObject
* obj0
= 0 ;
18817 PyObject
* obj1
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "config",(char *) "entry", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18824 if (SWIG_arg_fail(1)) SWIG_fail
;
18826 arg2
= wxString_in_helper(obj1
);
18827 if (arg2
== NULL
) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18852 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18877 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18888 if (SWIG_arg_fail(1)) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18893 result
= (wxString
*) &_result_ref
;
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18903 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18912 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18915 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18917 return Py_BuildValue((char *)"");
18919 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxString
*arg1
= 0 ;
18923 bool temp1
= false ;
18924 PyObject
* obj0
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "sz", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18931 arg1
= wxString_in_helper(obj0
);
18932 if (arg1
== NULL
) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18963 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18964 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18969 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18974 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18976 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18983 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18984 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18989 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18994 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18996 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19003 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxDateTime::Country arg1
;
19006 PyObject
* obj0
= 0 ;
19007 char *kwnames
[] = {
19008 (char *) "country", NULL
19011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19013 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19014 if (SWIG_arg_fail(1)) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 Py_INCREF(Py_None
); resultobj
= Py_None
;
19030 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxDateTime::Country result
;
19033 char *kwnames
[] = {
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_From_int((result
));
19052 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19056 PyObject
* obj0
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "country", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19064 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19065 if (SWIG_arg_fail(1)) SWIG_fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19084 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19088 PyObject
* obj0
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "cal", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19096 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19097 if (SWIG_arg_fail(1)) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= SWIG_From_int((int)(result
));
19116 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "year", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19127 arg1
= (int)(SWIG_As_int(obj0
));
19128 if (SWIG_arg_fail(1)) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= SWIG_From_int((int)(result
));
19146 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19149 wxDateTime::Month result
;
19150 PyObject
* obj0
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "cal", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19158 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19159 if (SWIG_arg_fail(1)) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_From_int((result
));
19176 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 int arg1
= (int) wxDateTime::Inv_Year
;
19179 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "year",(char *) "cal", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19190 arg1
= (int)(SWIG_As_int(obj0
));
19191 if (SWIG_arg_fail(1)) SWIG_fail
;
19196 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19197 if (SWIG_arg_fail(2)) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19216 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 int arg1
= (int) wxDateTime::Inv_Year
;
19220 PyObject
* obj0
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "year", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19228 arg1
= (int)(SWIG_As_int(obj0
));
19229 if (SWIG_arg_fail(1)) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (int)wxDateTime::GetCentury(arg1
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_From_int((int)(result
));
19248 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19251 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "year",(char *) "cal", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19261 arg1
= (int)(SWIG_As_int(obj0
));
19262 if (SWIG_arg_fail(1)) SWIG_fail
;
19266 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19267 if (SWIG_arg_fail(2)) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_From_int((int)(result
));
19286 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxDateTime::Month arg1
;
19289 int arg2
= (int) wxDateTime::Inv_Year
;
19290 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 PyObject
* obj2
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "month",(char *) "year",(char *) "cal", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19301 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19302 if (SWIG_arg_fail(1)) SWIG_fail
;
19306 arg2
= (int)(SWIG_As_int(obj1
));
19307 if (SWIG_arg_fail(2)) SWIG_fail
;
19312 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19313 if (SWIG_arg_fail(3)) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= SWIG_From_int((int)(result
));
19332 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxDateTime::Month arg1
;
19335 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "month",(char *) "flags", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19345 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19346 if (SWIG_arg_fail(1)) SWIG_fail
;
19350 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19351 if (SWIG_arg_fail(2)) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19374 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxDateTime::WeekDay arg1
;
19377 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "weekday",(char *) "flags", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19387 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19388 if (SWIG_arg_fail(1)) SWIG_fail
;
19392 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19393 if (SWIG_arg_fail(2)) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19416 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19419 char *kwnames
[] = {
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 result
= (PyObject
*)DateTime_GetAmPmStrings();
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= result
;
19438 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 int arg1
= (int) wxDateTime::Inv_Year
;
19441 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "year",(char *) "country", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19452 arg1
= (int)(SWIG_As_int(obj0
));
19453 if (SWIG_arg_fail(1)) SWIG_fail
;
19458 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19459 if (SWIG_arg_fail(2)) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19478 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 int arg1
= (int) wxDateTime::Inv_Year
;
19481 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "year",(char *) "country", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19492 arg1
= (int)(SWIG_As_int(obj0
));
19493 if (SWIG_arg_fail(1)) SWIG_fail
;
19498 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19499 if (SWIG_arg_fail(2)) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19510 wxDateTime
* resultptr
;
19511 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19520 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 int arg1
= (int) wxDateTime::Inv_Year
;
19523 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "year",(char *) "country", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19534 arg1
= (int)(SWIG_As_int(obj0
));
19535 if (SWIG_arg_fail(1)) SWIG_fail
;
19540 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19541 if (SWIG_arg_fail(2)) SWIG_fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19552 wxDateTime
* resultptr
;
19553 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19562 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19565 char *kwnames
[] = {
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 result
= wxDateTime::Now();
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19578 wxDateTime
* resultptr
;
19579 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19588 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19591 char *kwnames
[] = {
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 result
= wxDateTime::UNow();
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19604 wxDateTime
* resultptr
;
19605 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19614 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19617 char *kwnames
[] = {
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= wxDateTime::Today();
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19630 wxDateTime
* resultptr
;
19631 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19640 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxDateTime
*result
;
19643 char *kwnames
[] = {
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 result
= (wxDateTime
*)new wxDateTime();
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19662 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19665 wxDateTime
*result
;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "timet", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19673 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19674 if (SWIG_arg_fail(1)) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (wxDateTime
*)new wxDateTime(arg1
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19690 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19693 wxDateTime
*result
;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "jdn", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19701 arg1
= (double)(SWIG_As_double(obj0
));
19702 if (SWIG_arg_fail(1)) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 result
= (wxDateTime
*)new wxDateTime(arg1
);
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19718 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19721 int arg2
= (int) 0 ;
19722 int arg3
= (int) 0 ;
19723 int arg4
= (int) 0 ;
19724 wxDateTime
*result
;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 PyObject
* obj2
= 0 ;
19728 PyObject
* obj3
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19735 arg1
= (int)(SWIG_As_int(obj0
));
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19740 arg2
= (int)(SWIG_As_int(obj1
));
19741 if (SWIG_arg_fail(2)) SWIG_fail
;
19746 arg3
= (int)(SWIG_As_int(obj2
));
19747 if (SWIG_arg_fail(3)) SWIG_fail
;
19752 arg4
= (int)(SWIG_As_int(obj3
));
19753 if (SWIG_arg_fail(4)) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19770 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19773 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19774 int arg3
= (int) wxDateTime::Inv_Year
;
19775 int arg4
= (int) 0 ;
19776 int arg5
= (int) 0 ;
19777 int arg6
= (int) 0 ;
19778 int arg7
= (int) 0 ;
19779 wxDateTime
*result
;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 PyObject
* obj2
= 0 ;
19783 PyObject
* obj3
= 0 ;
19784 PyObject
* obj4
= 0 ;
19785 PyObject
* obj5
= 0 ;
19786 PyObject
* obj6
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19793 arg1
= (int)(SWIG_As_int(obj0
));
19794 if (SWIG_arg_fail(1)) SWIG_fail
;
19798 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19799 if (SWIG_arg_fail(2)) SWIG_fail
;
19804 arg3
= (int)(SWIG_As_int(obj2
));
19805 if (SWIG_arg_fail(3)) SWIG_fail
;
19810 arg4
= (int)(SWIG_As_int(obj3
));
19811 if (SWIG_arg_fail(4)) SWIG_fail
;
19816 arg5
= (int)(SWIG_As_int(obj4
));
19817 if (SWIG_arg_fail(5)) SWIG_fail
;
19822 arg6
= (int)(SWIG_As_int(obj5
));
19823 if (SWIG_arg_fail(6)) SWIG_fail
;
19828 arg7
= (int)(SWIG_As_int(obj6
));
19829 if (SWIG_arg_fail(7)) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19846 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 Py_INCREF(Py_None
); resultobj
= Py_None
;
19871 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
;
19873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19874 wxDateTime
*result
;
19875 PyObject
* obj0
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19882 if (SWIG_arg_fail(1)) SWIG_fail
;
19884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19887 result
= (wxDateTime
*) &_result_ref
;
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19900 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19904 wxDateTime
*result
;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "timet", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail
;
19915 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19916 if (SWIG_arg_fail(2)) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19922 result
= (wxDateTime
*) &_result_ref
;
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19935 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19939 wxDateTime
*result
;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self",(char *) "jdn", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19948 if (SWIG_arg_fail(1)) SWIG_fail
;
19950 arg2
= (double)(SWIG_As_double(obj1
));
19951 if (SWIG_arg_fail(2)) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19957 result
= (wxDateTime
*) &_result_ref
;
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19970 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19974 int arg3
= (int) 0 ;
19975 int arg4
= (int) 0 ;
19976 int arg5
= (int) 0 ;
19977 wxDateTime
*result
;
19978 PyObject
* obj0
= 0 ;
19979 PyObject
* obj1
= 0 ;
19980 PyObject
* obj2
= 0 ;
19981 PyObject
* obj3
= 0 ;
19982 PyObject
* obj4
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19989 if (SWIG_arg_fail(1)) SWIG_fail
;
19991 arg2
= (int)(SWIG_As_int(obj1
));
19992 if (SWIG_arg_fail(2)) SWIG_fail
;
19996 arg3
= (int)(SWIG_As_int(obj2
));
19997 if (SWIG_arg_fail(3)) SWIG_fail
;
20002 arg4
= (int)(SWIG_As_int(obj3
));
20003 if (SWIG_arg_fail(4)) SWIG_fail
;
20008 arg5
= (int)(SWIG_As_int(obj4
));
20009 if (SWIG_arg_fail(5)) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20016 result
= (wxDateTime
*) &_result_ref
;
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20029 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20033 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20034 int arg4
= (int) wxDateTime::Inv_Year
;
20035 int arg5
= (int) 0 ;
20036 int arg6
= (int) 0 ;
20037 int arg7
= (int) 0 ;
20038 int arg8
= (int) 0 ;
20039 wxDateTime
*result
;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 PyObject
* obj2
= 0 ;
20043 PyObject
* obj3
= 0 ;
20044 PyObject
* obj4
= 0 ;
20045 PyObject
* obj5
= 0 ;
20046 PyObject
* obj6
= 0 ;
20047 PyObject
* obj7
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail
;
20056 arg2
= (int)(SWIG_As_int(obj1
));
20057 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20062 if (SWIG_arg_fail(3)) SWIG_fail
;
20067 arg4
= (int)(SWIG_As_int(obj3
));
20068 if (SWIG_arg_fail(4)) SWIG_fail
;
20073 arg5
= (int)(SWIG_As_int(obj4
));
20074 if (SWIG_arg_fail(5)) SWIG_fail
;
20079 arg6
= (int)(SWIG_As_int(obj5
));
20080 if (SWIG_arg_fail(6)) SWIG_fail
;
20085 arg7
= (int)(SWIG_As_int(obj6
));
20086 if (SWIG_arg_fail(7)) SWIG_fail
;
20091 arg8
= (int)(SWIG_As_int(obj7
));
20092 if (SWIG_arg_fail(8)) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20099 result
= (wxDateTime
*) &_result_ref
;
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20112 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20115 wxDateTime
*result
;
20116 PyObject
* obj0
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20123 if (SWIG_arg_fail(1)) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20128 result
= (wxDateTime
*) &_result_ref
;
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20141 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20145 wxDateTime
*result
;
20146 PyObject
* obj0
= 0 ;
20147 PyObject
* obj1
= 0 ;
20148 char *kwnames
[] = {
20149 (char *) "self",(char *) "year", NULL
20152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20154 if (SWIG_arg_fail(1)) SWIG_fail
;
20156 arg2
= (int)(SWIG_As_int(obj1
));
20157 if (SWIG_arg_fail(2)) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20163 result
= (wxDateTime
*) &_result_ref
;
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20176 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20179 wxDateTime::Month arg2
;
20180 wxDateTime
*result
;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self",(char *) "month", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20189 if (SWIG_arg_fail(1)) SWIG_fail
;
20191 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20192 if (SWIG_arg_fail(2)) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20198 result
= (wxDateTime
*) &_result_ref
;
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20211 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20215 wxDateTime
*result
;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self",(char *) "day", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20224 if (SWIG_arg_fail(1)) SWIG_fail
;
20226 arg2
= (int)(SWIG_As_int(obj1
));
20227 if (SWIG_arg_fail(2)) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20233 result
= (wxDateTime
*) &_result_ref
;
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20246 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20250 wxDateTime
*result
;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self",(char *) "hour", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20259 if (SWIG_arg_fail(1)) SWIG_fail
;
20261 arg2
= (int)(SWIG_As_int(obj1
));
20262 if (SWIG_arg_fail(2)) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20268 result
= (wxDateTime
*) &_result_ref
;
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20281 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20285 wxDateTime
*result
;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 char *kwnames
[] = {
20289 (char *) "self",(char *) "minute", NULL
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20294 if (SWIG_arg_fail(1)) SWIG_fail
;
20296 arg2
= (int)(SWIG_As_int(obj1
));
20297 if (SWIG_arg_fail(2)) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20303 result
= (wxDateTime
*) &_result_ref
;
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20316 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20320 wxDateTime
*result
;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self",(char *) "second", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20329 if (SWIG_arg_fail(1)) SWIG_fail
;
20331 arg2
= (int)(SWIG_As_int(obj1
));
20332 if (SWIG_arg_fail(2)) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20338 result
= (wxDateTime
*) &_result_ref
;
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20351 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20355 wxDateTime
*result
;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "millisecond", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20364 if (SWIG_arg_fail(1)) SWIG_fail
;
20366 arg2
= (int)(SWIG_As_int(obj1
));
20367 if (SWIG_arg_fail(2)) SWIG_fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20373 result
= (wxDateTime
*) &_result_ref
;
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20386 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20389 wxDateTime::WeekDay arg2
;
20390 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20391 wxDateTime
*result
;
20392 PyObject
* obj0
= 0 ;
20393 PyObject
* obj1
= 0 ;
20394 PyObject
* obj2
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20401 if (SWIG_arg_fail(1)) SWIG_fail
;
20403 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20404 if (SWIG_arg_fail(2)) SWIG_fail
;
20408 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20409 if (SWIG_arg_fail(3)) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20416 result
= (wxDateTime
*) &_result_ref
;
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20429 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20432 wxDateTime::WeekDay arg2
;
20433 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20435 PyObject
* obj0
= 0 ;
20436 PyObject
* obj1
= 0 ;
20437 PyObject
* obj2
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20444 if (SWIG_arg_fail(1)) SWIG_fail
;
20446 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20447 if (SWIG_arg_fail(2)) SWIG_fail
;
20451 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20452 if (SWIG_arg_fail(3)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 wxDateTime
* resultptr
;
20464 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20473 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20476 wxDateTime::WeekDay arg2
;
20477 wxDateTime
*result
;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self",(char *) "weekday", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20486 if (SWIG_arg_fail(1)) SWIG_fail
;
20488 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20489 if (SWIG_arg_fail(2)) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20495 result
= (wxDateTime
*) &_result_ref
;
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20508 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20511 wxDateTime::WeekDay arg2
;
20513 PyObject
* obj0
= 0 ;
20514 PyObject
* obj1
= 0 ;
20515 char *kwnames
[] = {
20516 (char *) "self",(char *) "weekday", NULL
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20521 if (SWIG_arg_fail(1)) SWIG_fail
;
20523 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20524 if (SWIG_arg_fail(2)) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20534 wxDateTime
* resultptr
;
20535 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20544 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20545 PyObject
*resultobj
;
20546 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20547 wxDateTime::WeekDay arg2
;
20548 wxDateTime
*result
;
20549 PyObject
* obj0
= 0 ;
20550 PyObject
* obj1
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "weekday", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20557 if (SWIG_arg_fail(1)) SWIG_fail
;
20559 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20560 if (SWIG_arg_fail(2)) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20566 result
= (wxDateTime
*) &_result_ref
;
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20579 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20582 wxDateTime::WeekDay arg2
;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self",(char *) "weekday", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20592 if (SWIG_arg_fail(1)) SWIG_fail
;
20594 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20595 if (SWIG_arg_fail(2)) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20605 wxDateTime
* resultptr
;
20606 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20615 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20618 wxDateTime::WeekDay arg2
;
20619 int arg3
= (int) 1 ;
20620 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20621 int arg5
= (int) wxDateTime::Inv_Year
;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20625 PyObject
* obj2
= 0 ;
20626 PyObject
* obj3
= 0 ;
20627 PyObject
* obj4
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20634 if (SWIG_arg_fail(1)) SWIG_fail
;
20636 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20637 if (SWIG_arg_fail(2)) SWIG_fail
;
20641 arg3
= (int)(SWIG_As_int(obj2
));
20642 if (SWIG_arg_fail(3)) SWIG_fail
;
20647 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20648 if (SWIG_arg_fail(4)) SWIG_fail
;
20653 arg5
= (int)(SWIG_As_int(obj4
));
20654 if (SWIG_arg_fail(5)) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20673 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20676 wxDateTime::WeekDay arg2
;
20677 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20678 int arg4
= (int) wxDateTime::Inv_Year
;
20680 PyObject
* obj0
= 0 ;
20681 PyObject
* obj1
= 0 ;
20682 PyObject
* obj2
= 0 ;
20683 PyObject
* obj3
= 0 ;
20684 char *kwnames
[] = {
20685 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20690 if (SWIG_arg_fail(1)) SWIG_fail
;
20692 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20693 if (SWIG_arg_fail(2)) SWIG_fail
;
20697 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20698 if (SWIG_arg_fail(3)) SWIG_fail
;
20703 arg4
= (int)(SWIG_As_int(obj3
));
20704 if (SWIG_arg_fail(4)) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20723 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20726 wxDateTime::WeekDay arg2
;
20727 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20728 int arg4
= (int) wxDateTime::Inv_Year
;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 PyObject
* obj2
= 0 ;
20733 PyObject
* obj3
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20740 if (SWIG_arg_fail(1)) SWIG_fail
;
20742 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20743 if (SWIG_arg_fail(2)) SWIG_fail
;
20747 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20748 if (SWIG_arg_fail(3)) SWIG_fail
;
20753 arg4
= (int)(SWIG_As_int(obj3
));
20754 if (SWIG_arg_fail(4)) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 wxDateTime
* resultptr
;
20766 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20775 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20779 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20780 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 PyObject
* obj2
= 0 ;
20785 PyObject
* obj3
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20794 arg2
= (int)(SWIG_As_int(obj1
));
20795 if (SWIG_arg_fail(2)) SWIG_fail
;
20799 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20800 if (SWIG_arg_fail(3)) SWIG_fail
;
20805 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20806 if (SWIG_arg_fail(4)) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20825 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
;
20827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20829 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20830 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 PyObject
* obj2
= 0 ;
20835 PyObject
* obj3
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20842 if (SWIG_arg_fail(1)) SWIG_fail
;
20844 arg2
= (int)(SWIG_As_int(obj1
));
20845 if (SWIG_arg_fail(2)) SWIG_fail
;
20849 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20850 if (SWIG_arg_fail(3)) SWIG_fail
;
20855 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20856 if (SWIG_arg_fail(4)) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20867 wxDateTime
* resultptr
;
20868 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20877 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20881 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20883 PyObject
* obj0
= 0 ;
20884 PyObject
* obj1
= 0 ;
20885 PyObject
* obj2
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20892 arg1
= (int)(SWIG_As_int(obj0
));
20893 if (SWIG_arg_fail(1)) SWIG_fail
;
20896 arg2
= (int)(SWIG_As_int(obj1
));
20897 if (SWIG_arg_fail(2)) SWIG_fail
;
20901 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20902 if (SWIG_arg_fail(3)) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20913 wxDateTime
* resultptr
;
20914 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20923 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20926 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20927 int arg3
= (int) wxDateTime::Inv_Year
;
20928 wxDateTime
*result
;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 PyObject
* obj2
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self",(char *) "month",(char *) "year", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20938 if (SWIG_arg_fail(1)) SWIG_fail
;
20941 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20942 if (SWIG_arg_fail(2)) SWIG_fail
;
20947 arg3
= (int)(SWIG_As_int(obj2
));
20948 if (SWIG_arg_fail(3)) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20955 result
= (wxDateTime
*) &_result_ref
;
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20968 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20971 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20972 int arg3
= (int) wxDateTime::Inv_Year
;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 PyObject
* obj2
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "month",(char *) "year", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20983 if (SWIG_arg_fail(1)) SWIG_fail
;
20986 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20987 if (SWIG_arg_fail(2)) SWIG_fail
;
20992 arg3
= (int)(SWIG_As_int(obj2
));
20993 if (SWIG_arg_fail(3)) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21004 wxDateTime
* resultptr
;
21005 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21014 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21018 wxDateTime
*result
;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "yday", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21027 if (SWIG_arg_fail(1)) SWIG_fail
;
21029 arg2
= (int)(SWIG_As_int(obj1
));
21030 if (SWIG_arg_fail(2)) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21036 result
= (wxDateTime
*) &_result_ref
;
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21049 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "yday", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21062 if (SWIG_arg_fail(1)) SWIG_fail
;
21064 arg2
= (int)(SWIG_As_int(obj1
));
21065 if (SWIG_arg_fail(2)) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (arg1
)->GetYearDay(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21075 wxDateTime
* resultptr
;
21076 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21085 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21086 PyObject
*resultobj
;
21087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21089 PyObject
* obj0
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21096 if (SWIG_arg_fail(1)) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (double)(arg1
)->GetJulianDayNumber();
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_From_double((double)(result
));
21113 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21124 if (SWIG_arg_fail(1)) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (double)(arg1
)->GetJDN();
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= SWIG_From_double((double)(result
));
21141 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21145 PyObject
* obj0
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21152 if (SWIG_arg_fail(1)) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= SWIG_From_double((double)(result
));
21169 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
;
21171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21173 PyObject
* obj0
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (double)(arg1
)->GetMJD();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_From_double((double)(result
));
21197 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21201 PyObject
* obj0
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21208 if (SWIG_arg_fail(1)) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 result
= (double)(arg1
)->GetRataDie();
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_From_double((double)(result
));
21225 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21228 wxDateTime::TimeZone
*arg2
= 0 ;
21229 bool arg3
= (bool) false ;
21231 bool temp2
= false ;
21232 PyObject
* obj0
= 0 ;
21233 PyObject
* obj1
= 0 ;
21234 PyObject
* obj2
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21241 if (SWIG_arg_fail(1)) SWIG_fail
;
21243 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21248 arg3
= (bool)(SWIG_As_bool(obj2
));
21249 if (SWIG_arg_fail(3)) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 wxDateTime
* resultptr
;
21261 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21265 if (temp2
) delete arg2
;
21270 if (temp2
) delete arg2
;
21276 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21279 wxDateTime::TimeZone
*arg2
= 0 ;
21280 bool arg3
= (bool) false ;
21281 wxDateTime
*result
;
21282 bool temp2
= false ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 PyObject
* obj2
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21292 if (SWIG_arg_fail(1)) SWIG_fail
;
21294 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21299 arg3
= (bool)(SWIG_As_bool(obj2
));
21300 if (SWIG_arg_fail(3)) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21307 result
= (wxDateTime
*) &_result_ref
;
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21315 if (temp2
) delete arg2
;
21320 if (temp2
) delete arg2
;
21326 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21329 bool arg2
= (bool) false ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self",(char *) "noDST", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21339 if (SWIG_arg_fail(1)) SWIG_fail
;
21342 arg2
= (bool)(SWIG_As_bool(obj1
));
21343 if (SWIG_arg_fail(2)) SWIG_fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 result
= (arg1
)->ToGMT(arg2
);
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21354 wxDateTime
* resultptr
;
21355 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21364 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
;
21366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21367 bool arg2
= (bool) false ;
21368 wxDateTime
*result
;
21369 PyObject
* obj0
= 0 ;
21370 PyObject
* obj1
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self",(char *) "noDST", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21377 if (SWIG_arg_fail(1)) SWIG_fail
;
21380 arg2
= (bool)(SWIG_As_bool(obj1
));
21381 if (SWIG_arg_fail(2)) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21388 result
= (wxDateTime
*) &_result_ref
;
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21401 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21404 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21406 PyObject
* obj0
= 0 ;
21407 PyObject
* obj1
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self",(char *) "country", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21414 if (SWIG_arg_fail(1)) SWIG_fail
;
21417 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21418 if (SWIG_arg_fail(2)) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_From_int((int)(result
));
21437 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21441 PyObject
* obj0
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21448 if (SWIG_arg_fail(1)) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21465 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21476 if (SWIG_arg_fail(1)) SWIG_fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21493 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21496 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21497 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21499 bool temp2
= false ;
21500 PyObject
* obj0
= 0 ;
21501 PyObject
* obj1
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self",(char *) "tz", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21508 if (SWIG_arg_fail(1)) SWIG_fail
;
21511 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= SWIG_From_int((int)(result
));
21526 if (temp2
) delete arg2
;
21531 if (temp2
) delete arg2
;
21537 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21540 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21541 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21542 wxDateTime::Month result
;
21543 bool temp2
= false ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "tz", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21552 if (SWIG_arg_fail(1)) SWIG_fail
;
21555 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_From_int((result
));
21568 if (temp2
) delete arg2
;
21573 if (temp2
) delete arg2
;
21579 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21582 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21583 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21585 bool temp2
= false ;
21586 PyObject
* obj0
= 0 ;
21587 PyObject
* obj1
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self",(char *) "tz", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail
;
21597 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= SWIG_From_int((int)(result
));
21612 if (temp2
) delete arg2
;
21617 if (temp2
) delete arg2
;
21623 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21626 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21627 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21628 wxDateTime::WeekDay result
;
21629 bool temp2
= false ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "tz", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21641 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_From_int((result
));
21654 if (temp2
) delete arg2
;
21659 if (temp2
) delete arg2
;
21665 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21666 PyObject
*resultobj
;
21667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21668 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21669 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21671 bool temp2
= false ;
21672 PyObject
* obj0
= 0 ;
21673 PyObject
* obj1
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "tz", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail
;
21683 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= SWIG_From_int((int)(result
));
21698 if (temp2
) delete arg2
;
21703 if (temp2
) delete arg2
;
21709 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21712 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21713 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21715 bool temp2
= false ;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "tz", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21724 if (SWIG_arg_fail(1)) SWIG_fail
;
21727 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_From_int((int)(result
));
21742 if (temp2
) delete arg2
;
21747 if (temp2
) delete arg2
;
21753 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21756 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21757 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21759 bool temp2
= false ;
21760 PyObject
* obj0
= 0 ;
21761 PyObject
* obj1
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "tz", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21768 if (SWIG_arg_fail(1)) SWIG_fail
;
21771 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21783 resultobj
= SWIG_From_int((int)(result
));
21786 if (temp2
) delete arg2
;
21791 if (temp2
) delete arg2
;
21797 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21798 PyObject
*resultobj
;
21799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21800 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21801 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21803 bool temp2
= false ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "tz", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21812 if (SWIG_arg_fail(1)) SWIG_fail
;
21815 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= SWIG_From_int((int)(result
));
21830 if (temp2
) delete arg2
;
21835 if (temp2
) delete arg2
;
21841 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21844 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21845 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21847 bool temp2
= false ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "tz", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21856 if (SWIG_arg_fail(1)) SWIG_fail
;
21859 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_From_int((int)(result
));
21874 if (temp2
) delete arg2
;
21879 if (temp2
) delete arg2
;
21885 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21888 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21889 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21890 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21892 bool temp3
= false ;
21893 PyObject
* obj0
= 0 ;
21894 PyObject
* obj1
= 0 ;
21895 PyObject
* obj2
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self",(char *) "flags",(char *) "tz", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21902 if (SWIG_arg_fail(1)) SWIG_fail
;
21905 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21906 if (SWIG_arg_fail(2)) SWIG_fail
;
21911 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= SWIG_From_int((int)(result
));
21926 if (temp3
) delete arg3
;
21931 if (temp3
) delete arg3
;
21937 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21940 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21941 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21942 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21944 bool temp3
= false ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 PyObject
* obj2
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "flags",(char *) "tz", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) 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::WeekFlags
)(SWIG_As_int(obj1
));
21958 if (SWIG_arg_fail(2)) SWIG_fail
;
21963 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= SWIG_From_int((int)(result
));
21978 if (temp3
) delete arg3
;
21983 if (temp3
) delete arg3
;
21989 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21992 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "country", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22002 if (SWIG_arg_fail(1)) SWIG_fail
;
22005 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22006 if (SWIG_arg_fail(2)) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22028 wxDateTime
*arg2
= 0 ;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "datetime", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22041 if (SWIG_arg_fail(2)) SWIG_fail
;
22042 if (arg2
== NULL
) {
22043 SWIG_null_ref("wxDateTime");
22045 if (SWIG_arg_fail(2)) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22063 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22066 wxDateTime
*arg2
= 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "datetime", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22076 if (SWIG_arg_fail(1)) SWIG_fail
;
22078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22079 if (SWIG_arg_fail(2)) SWIG_fail
;
22080 if (arg2
== NULL
) {
22081 SWIG_null_ref("wxDateTime");
22083 if (SWIG_arg_fail(2)) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22101 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22104 wxDateTime
*arg2
= 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "datetime", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22114 if (SWIG_arg_fail(1)) SWIG_fail
;
22116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22117 if (SWIG_arg_fail(2)) SWIG_fail
;
22118 if (arg2
== NULL
) {
22119 SWIG_null_ref("wxDateTime");
22121 if (SWIG_arg_fail(2)) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22139 static PyObject
*_wrap_DateTime_IsStrictlyBetween(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_IsStrictlyBetween",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
)->IsStrictlyBetween((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_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22190 wxDateTime
*arg2
= 0 ;
22191 wxDateTime
*arg3
= 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 PyObject
* obj2
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "t1",(char *) "t2", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22202 if (SWIG_arg_fail(1)) SWIG_fail
;
22204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22205 if (SWIG_arg_fail(2)) SWIG_fail
;
22206 if (arg2
== NULL
) {
22207 SWIG_null_ref("wxDateTime");
22209 if (SWIG_arg_fail(2)) SWIG_fail
;
22212 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22213 if (SWIG_arg_fail(3)) SWIG_fail
;
22214 if (arg3
== NULL
) {
22215 SWIG_null_ref("wxDateTime");
22217 if (SWIG_arg_fail(3)) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22235 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22238 wxDateTime
*arg2
= 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 char *kwnames
[] = {
22243 (char *) "self",(char *) "dt", NULL
22246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22248 if (SWIG_arg_fail(1)) SWIG_fail
;
22250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22251 if (SWIG_arg_fail(2)) SWIG_fail
;
22252 if (arg2
== NULL
) {
22253 SWIG_null_ref("wxDateTime");
22255 if (SWIG_arg_fail(2)) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22273 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22276 wxDateTime
*arg2
= 0 ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "dt", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail
;
22288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22289 if (SWIG_arg_fail(2)) SWIG_fail
;
22290 if (arg2
== NULL
) {
22291 SWIG_null_ref("wxDateTime");
22293 if (SWIG_arg_fail(2)) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22311 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22314 wxDateTime
*arg2
= 0 ;
22315 wxTimeSpan
*arg3
= 0 ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 PyObject
* obj2
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self",(char *) "dt",(char *) "ts", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22326 if (SWIG_arg_fail(1)) SWIG_fail
;
22328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22329 if (SWIG_arg_fail(2)) SWIG_fail
;
22330 if (arg2
== NULL
) {
22331 SWIG_null_ref("wxDateTime");
22333 if (SWIG_arg_fail(2)) SWIG_fail
;
22336 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22337 if (SWIG_arg_fail(3)) SWIG_fail
;
22338 if (arg3
== NULL
) {
22339 SWIG_null_ref("wxTimeSpan");
22341 if (SWIG_arg_fail(3)) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22359 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22362 wxTimeSpan
*arg2
= 0 ;
22363 wxDateTime
*result
;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self",(char *) "diff", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22372 if (SWIG_arg_fail(1)) SWIG_fail
;
22374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22375 if (SWIG_arg_fail(2)) SWIG_fail
;
22376 if (arg2
== NULL
) {
22377 SWIG_null_ref("wxTimeSpan");
22379 if (SWIG_arg_fail(2)) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22385 result
= (wxDateTime
*) &_result_ref
;
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22398 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22401 wxDateSpan
*arg2
= 0 ;
22402 wxDateTime
*result
;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self",(char *) "diff", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22411 if (SWIG_arg_fail(1)) SWIG_fail
;
22413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22414 if (SWIG_arg_fail(2)) SWIG_fail
;
22415 if (arg2
== NULL
) {
22416 SWIG_null_ref("wxDateSpan");
22418 if (SWIG_arg_fail(2)) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22424 result
= (wxDateTime
*) &_result_ref
;
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22437 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
;
22439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22440 wxTimeSpan
*arg2
= 0 ;
22441 wxDateTime
*result
;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self",(char *) "diff", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22450 if (SWIG_arg_fail(1)) SWIG_fail
;
22452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22453 if (SWIG_arg_fail(2)) SWIG_fail
;
22454 if (arg2
== NULL
) {
22455 SWIG_null_ref("wxTimeSpan");
22457 if (SWIG_arg_fail(2)) SWIG_fail
;
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22463 result
= (wxDateTime
*) &_result_ref
;
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22476 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
;
22478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22479 wxDateSpan
*arg2
= 0 ;
22480 wxDateTime
*result
;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self",(char *) "diff", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22489 if (SWIG_arg_fail(1)) SWIG_fail
;
22491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22492 if (SWIG_arg_fail(2)) SWIG_fail
;
22493 if (arg2
== NULL
) {
22494 SWIG_null_ref("wxDateSpan");
22496 if (SWIG_arg_fail(2)) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22502 result
= (wxDateTime
*) &_result_ref
;
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22515 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22518 wxDateTime
*arg2
= 0 ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self",(char *) "dt", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22528 if (SWIG_arg_fail(1)) SWIG_fail
;
22530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22531 if (SWIG_arg_fail(2)) SWIG_fail
;
22532 if (arg2
== NULL
) {
22533 SWIG_null_ref("wxDateTime");
22535 if (SWIG_arg_fail(2)) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 wxTimeSpan
* resultptr
;
22546 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22555 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22556 PyObject
*resultobj
;
22557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22558 wxTimeSpan
*arg2
= 0 ;
22559 wxDateTime
*result
;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22563 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22565 if (SWIG_arg_fail(1)) SWIG_fail
;
22567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22568 if (SWIG_arg_fail(2)) SWIG_fail
;
22569 if (arg2
== NULL
) {
22570 SWIG_null_ref("wxTimeSpan");
22572 if (SWIG_arg_fail(2)) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22578 result
= (wxDateTime
*) &_result_ref
;
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22591 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22592 PyObject
*resultobj
;
22593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22594 wxDateSpan
*arg2
= 0 ;
22595 wxDateTime
*result
;
22596 PyObject
* obj0
= 0 ;
22597 PyObject
* obj1
= 0 ;
22599 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22601 if (SWIG_arg_fail(1)) SWIG_fail
;
22603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22604 if (SWIG_arg_fail(2)) SWIG_fail
;
22605 if (arg2
== NULL
) {
22606 SWIG_null_ref("wxDateSpan");
22608 if (SWIG_arg_fail(2)) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22614 result
= (wxDateTime
*) &_result_ref
;
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22627 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22632 argc
= PyObject_Length(args
);
22633 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22634 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22640 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22650 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22658 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22666 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22676 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22684 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22689 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22694 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22695 PyObject
*resultobj
;
22696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22697 wxTimeSpan
*arg2
= 0 ;
22698 wxDateTime
*result
;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22702 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22704 if (SWIG_arg_fail(1)) SWIG_fail
;
22706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(2)) SWIG_fail
;
22708 if (arg2
== NULL
) {
22709 SWIG_null_ref("wxTimeSpan");
22711 if (SWIG_arg_fail(2)) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22717 result
= (wxDateTime
*) &_result_ref
;
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22730 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22731 PyObject
*resultobj
;
22732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22733 wxDateSpan
*arg2
= 0 ;
22734 wxDateTime
*result
;
22735 PyObject
* obj0
= 0 ;
22736 PyObject
* obj1
= 0 ;
22738 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22740 if (SWIG_arg_fail(1)) SWIG_fail
;
22742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22743 if (SWIG_arg_fail(2)) SWIG_fail
;
22744 if (arg2
== NULL
) {
22745 SWIG_null_ref("wxDateSpan");
22747 if (SWIG_arg_fail(2)) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22753 result
= (wxDateTime
*) &_result_ref
;
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22766 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22771 argc
= PyObject_Length(args
);
22772 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22773 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22779 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22789 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22797 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22805 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22815 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22823 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22828 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22833 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22834 PyObject
*resultobj
;
22835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22836 wxTimeSpan
*arg2
= 0 ;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22841 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22843 if (SWIG_arg_fail(1)) SWIG_fail
;
22845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22846 if (SWIG_arg_fail(2)) SWIG_fail
;
22847 if (arg2
== NULL
) {
22848 SWIG_null_ref("wxTimeSpan");
22850 if (SWIG_arg_fail(2)) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22860 wxDateTime
* resultptr
;
22861 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22870 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22871 PyObject
*resultobj
;
22872 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22873 wxDateSpan
*arg2
= 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22878 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail
;
22882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22883 if (SWIG_arg_fail(2)) SWIG_fail
;
22884 if (arg2
== NULL
) {
22885 SWIG_null_ref("wxDateSpan");
22887 if (SWIG_arg_fail(2)) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22897 wxDateTime
* resultptr
;
22898 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22907 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22912 argc
= PyObject_Length(args
);
22913 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22914 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22920 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22930 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22938 return _wrap_DateTime___add____SWIG_0(self
,args
);
22946 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22956 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22964 return _wrap_DateTime___add____SWIG_1(self
,args
);
22969 Py_INCREF(Py_NotImplemented
);
22970 return Py_NotImplemented
;
22974 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22975 PyObject
*resultobj
;
22976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22977 wxDateTime
*arg2
= 0 ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22982 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22987 if (SWIG_arg_fail(2)) SWIG_fail
;
22988 if (arg2
== NULL
) {
22989 SWIG_null_ref("wxDateTime");
22991 if (SWIG_arg_fail(2)) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23001 wxTimeSpan
* resultptr
;
23002 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23011 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23012 PyObject
*resultobj
;
23013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23014 wxTimeSpan
*arg2
= 0 ;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23019 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23024 if (SWIG_arg_fail(2)) SWIG_fail
;
23025 if (arg2
== NULL
) {
23026 SWIG_null_ref("wxTimeSpan");
23028 if (SWIG_arg_fail(2)) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 wxDateTime
* resultptr
;
23039 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23048 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23049 PyObject
*resultobj
;
23050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23051 wxDateSpan
*arg2
= 0 ;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23056 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail
;
23060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23061 if (SWIG_arg_fail(2)) SWIG_fail
;
23062 if (arg2
== NULL
) {
23063 SWIG_null_ref("wxDateSpan");
23065 if (SWIG_arg_fail(2)) SWIG_fail
;
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 wxDateTime
* resultptr
;
23076 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23085 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23090 argc
= PyObject_Length(args
);
23091 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23092 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23098 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23108 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23116 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23124 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23134 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23142 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23150 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23160 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23168 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23173 Py_INCREF(Py_NotImplemented
);
23174 return Py_NotImplemented
;
23178 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23181 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "self",(char *) "other", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23191 if (SWIG_arg_fail(1)) SWIG_fail
;
23192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23193 if (SWIG_arg_fail(2)) SWIG_fail
;
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23210 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23213 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self",(char *) "other", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23223 if (SWIG_arg_fail(1)) SWIG_fail
;
23224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(2)) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23242 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23245 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 PyObject
* obj1
= 0 ;
23249 char *kwnames
[] = {
23250 (char *) "self",(char *) "other", NULL
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23255 if (SWIG_arg_fail(1)) SWIG_fail
;
23256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23257 if (SWIG_arg_fail(2)) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23274 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23277 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self",(char *) "other", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail
;
23288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23289 if (SWIG_arg_fail(2)) SWIG_fail
;
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23306 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23309 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self",(char *) "other", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23319 if (SWIG_arg_fail(1)) SWIG_fail
;
23320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23321 if (SWIG_arg_fail(2)) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23338 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23341 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "other", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23351 if (SWIG_arg_fail(1)) SWIG_fail
;
23352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23353 if (SWIG_arg_fail(2)) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23370 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
;
23372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23373 wxString
*arg2
= 0 ;
23375 bool temp2
= false ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self",(char *) "date", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23384 if (SWIG_arg_fail(1)) SWIG_fail
;
23386 arg2
= wxString_in_helper(obj1
);
23387 if (arg2
== NULL
) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= SWIG_From_int((int)(result
));
23414 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23417 wxString
*arg2
= 0 ;
23418 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23420 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23421 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23423 bool temp2
= false ;
23424 bool temp3
= false ;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 PyObject
* obj2
= 0 ;
23428 PyObject
* obj3
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23435 if (SWIG_arg_fail(1)) SWIG_fail
;
23437 arg2
= wxString_in_helper(obj1
);
23438 if (arg2
== NULL
) SWIG_fail
;
23443 arg3
= wxString_in_helper(obj2
);
23444 if (arg3
== NULL
) SWIG_fail
;
23450 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23451 if (SWIG_arg_fail(4)) SWIG_fail
;
23452 if (arg4
== NULL
) {
23453 SWIG_null_ref("wxDateTime");
23455 if (SWIG_arg_fail(4)) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= SWIG_From_int((int)(result
));
23490 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23493 wxString
*arg2
= 0 ;
23495 bool temp2
= false ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self",(char *) "datetime", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23504 if (SWIG_arg_fail(1)) SWIG_fail
;
23506 arg2
= wxString_in_helper(obj1
);
23507 if (arg2
== NULL
) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_From_int((int)(result
));
23534 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23537 wxString
*arg2
= 0 ;
23539 bool temp2
= false ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "date", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23548 if (SWIG_arg_fail(1)) SWIG_fail
;
23550 arg2
= wxString_in_helper(obj1
);
23551 if (arg2
== NULL
) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_From_int((int)(result
));
23578 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
;
23580 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23581 wxString
*arg2
= 0 ;
23583 bool temp2
= false ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self",(char *) "time", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail
;
23594 arg2
= wxString_in_helper(obj1
);
23595 if (arg2
== NULL
) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_From_int((int)(result
));
23622 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23625 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23626 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23627 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23628 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23630 bool temp2
= false ;
23631 bool temp3
= false ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 PyObject
* obj2
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self",(char *) "format",(char *) "tz", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23641 if (SWIG_arg_fail(1)) SWIG_fail
;
23644 arg2
= wxString_in_helper(obj1
);
23645 if (arg2
== NULL
) SWIG_fail
;
23651 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23674 if (temp3
) delete arg3
;
23683 if (temp3
) delete arg3
;
23689 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23700 if (SWIG_arg_fail(1)) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23721 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23753 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23785 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23789 PyObject
* obj0
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23796 if (SWIG_arg_fail(1)) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23817 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23820 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23822 return Py_BuildValue((char *)"");
23824 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23828 PyObject
* obj0
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "sec", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23835 arg1
= (long)(SWIG_As_long(obj0
));
23836 if (SWIG_arg_fail(1)) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= wxTimeSpan::Seconds(arg1
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 wxTimeSpan
* resultptr
;
23847 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23856 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23859 char *kwnames
[] = {
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 result
= wxTimeSpan::Second();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23872 wxTimeSpan
* resultptr
;
23873 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23882 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23886 PyObject
* obj0
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "min", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23893 arg1
= (long)(SWIG_As_long(obj0
));
23894 if (SWIG_arg_fail(1)) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= wxTimeSpan::Minutes(arg1
);
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23904 wxTimeSpan
* resultptr
;
23905 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23914 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23917 char *kwnames
[] = {
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 result
= wxTimeSpan::Minute();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 wxTimeSpan
* resultptr
;
23931 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23940 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23944 PyObject
* obj0
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "hours", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23951 arg1
= (long)(SWIG_As_long(obj0
));
23952 if (SWIG_arg_fail(1)) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= wxTimeSpan::Hours(arg1
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 wxTimeSpan
* resultptr
;
23963 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23972 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23975 char *kwnames
[] = {
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= wxTimeSpan::Hour();
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 wxTimeSpan
* resultptr
;
23989 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23998 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24002 PyObject
* obj0
= 0 ;
24003 char *kwnames
[] = {
24004 (char *) "days", NULL
24007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24009 arg1
= (long)(SWIG_As_long(obj0
));
24010 if (SWIG_arg_fail(1)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= wxTimeSpan::Days(arg1
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24020 wxTimeSpan
* resultptr
;
24021 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24030 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
;
24033 char *kwnames
[] = {
24037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= wxTimeSpan::Day();
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 wxTimeSpan
* resultptr
;
24047 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24056 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24060 PyObject
* obj0
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "days", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24067 arg1
= (long)(SWIG_As_long(obj0
));
24068 if (SWIG_arg_fail(1)) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= wxTimeSpan::Weeks(arg1
);
24074 wxPyEndAllowThreads(__tstate
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24078 wxTimeSpan
* resultptr
;
24079 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24088 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24091 char *kwnames
[] = {
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= wxTimeSpan::Week();
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 wxTimeSpan
* resultptr
;
24105 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24114 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24116 long arg1
= (long) 0 ;
24117 long arg2
= (long) 0 ;
24118 long arg3
= (long) 0 ;
24119 long arg4
= (long) 0 ;
24120 wxTimeSpan
*result
;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 PyObject
* obj2
= 0 ;
24124 PyObject
* obj3
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24132 arg1
= (long)(SWIG_As_long(obj0
));
24133 if (SWIG_arg_fail(1)) SWIG_fail
;
24138 arg2
= (long)(SWIG_As_long(obj1
));
24139 if (SWIG_arg_fail(2)) SWIG_fail
;
24144 arg3
= (long)(SWIG_As_long(obj2
));
24145 if (SWIG_arg_fail(3)) SWIG_fail
;
24150 arg4
= (long)(SWIG_As_long(obj3
));
24151 if (SWIG_arg_fail(4)) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24168 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24178 if (SWIG_arg_fail(1)) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 Py_INCREF(Py_None
); resultobj
= Py_None
;
24193 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24196 wxTimeSpan
*arg2
= 0 ;
24197 wxTimeSpan
*result
;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self",(char *) "diff", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24206 if (SWIG_arg_fail(1)) SWIG_fail
;
24208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24209 if (SWIG_arg_fail(2)) SWIG_fail
;
24210 if (arg2
== NULL
) {
24211 SWIG_null_ref("wxTimeSpan");
24213 if (SWIG_arg_fail(2)) SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24219 result
= (wxTimeSpan
*) &_result_ref
;
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24232 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24234 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24235 wxTimeSpan
*arg2
= 0 ;
24236 wxTimeSpan
*result
;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "diff", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24245 if (SWIG_arg_fail(1)) SWIG_fail
;
24247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(2)) SWIG_fail
;
24249 if (arg2
== NULL
) {
24250 SWIG_null_ref("wxTimeSpan");
24252 if (SWIG_arg_fail(2)) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24258 result
= (wxTimeSpan
*) &_result_ref
;
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24271 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
;
24273 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24275 wxTimeSpan
*result
;
24276 PyObject
* obj0
= 0 ;
24277 PyObject
* obj1
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "self",(char *) "n", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24284 if (SWIG_arg_fail(1)) SWIG_fail
;
24286 arg2
= (int)(SWIG_As_int(obj1
));
24287 if (SWIG_arg_fail(2)) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24293 result
= (wxTimeSpan
*) &_result_ref
;
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24306 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24309 wxTimeSpan
*result
;
24310 PyObject
* obj0
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24317 if (SWIG_arg_fail(1)) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24322 result
= (wxTimeSpan
*) &_result_ref
;
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24335 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24355 wxTimeSpan
* resultptr
;
24356 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24365 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24368 wxTimeSpan
*arg2
= 0 ;
24369 wxTimeSpan
*result
;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self",(char *) "diff", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24378 if (SWIG_arg_fail(1)) SWIG_fail
;
24380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24381 if (SWIG_arg_fail(2)) SWIG_fail
;
24382 if (arg2
== NULL
) {
24383 SWIG_null_ref("wxTimeSpan");
24385 if (SWIG_arg_fail(2)) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24391 result
= (wxTimeSpan
*) &_result_ref
;
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24404 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24407 wxTimeSpan
*arg2
= 0 ;
24408 wxTimeSpan
*result
;
24409 PyObject
* obj0
= 0 ;
24410 PyObject
* obj1
= 0 ;
24411 char *kwnames
[] = {
24412 (char *) "self",(char *) "diff", NULL
24415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24417 if (SWIG_arg_fail(1)) SWIG_fail
;
24419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24420 if (SWIG_arg_fail(2)) SWIG_fail
;
24421 if (arg2
== NULL
) {
24422 SWIG_null_ref("wxTimeSpan");
24424 if (SWIG_arg_fail(2)) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24430 result
= (wxTimeSpan
*) &_result_ref
;
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24443 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24447 wxTimeSpan
*result
;
24448 PyObject
* obj0
= 0 ;
24449 PyObject
* obj1
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "n", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24456 if (SWIG_arg_fail(1)) SWIG_fail
;
24458 arg2
= (int)(SWIG_As_int(obj1
));
24459 if (SWIG_arg_fail(2)) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24465 result
= (wxTimeSpan
*) &_result_ref
;
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24478 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24479 PyObject
*resultobj
;
24480 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24481 wxTimeSpan
*result
;
24482 PyObject
* obj0
= 0 ;
24483 char *kwnames
[] = {
24484 (char *) "self", NULL
24487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24489 if (SWIG_arg_fail(1)) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24494 result
= (wxTimeSpan
*) &_result_ref
;
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24507 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24510 wxTimeSpan
*arg2
= 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "other", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24520 if (SWIG_arg_fail(1)) SWIG_fail
;
24522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24523 if (SWIG_arg_fail(2)) SWIG_fail
;
24524 if (arg2
== NULL
) {
24525 SWIG_null_ref("wxTimeSpan");
24527 if (SWIG_arg_fail(2)) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 wxTimeSpan
* resultptr
;
24538 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24547 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24550 wxTimeSpan
*arg2
= 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self",(char *) "other", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24560 if (SWIG_arg_fail(1)) SWIG_fail
;
24562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24563 if (SWIG_arg_fail(2)) SWIG_fail
;
24564 if (arg2
== NULL
) {
24565 SWIG_null_ref("wxTimeSpan");
24567 if (SWIG_arg_fail(2)) SWIG_fail
;
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24577 wxTimeSpan
* resultptr
;
24578 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24587 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self",(char *) "n", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24602 arg2
= (int)(SWIG_As_int(obj1
));
24603 if (SWIG_arg_fail(2)) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= wxTimeSpan___mul__(arg1
,arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24613 wxTimeSpan
* resultptr
;
24614 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24623 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 char *kwnames
[] = {
24631 (char *) "self",(char *) "n", NULL
24634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24636 if (SWIG_arg_fail(1)) SWIG_fail
;
24638 arg2
= (int)(SWIG_As_int(obj1
));
24639 if (SWIG_arg_fail(2)) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 wxTimeSpan
* resultptr
;
24650 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24659 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24662 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 PyObject
* obj1
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self",(char *) "other", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24672 if (SWIG_arg_fail(1)) SWIG_fail
;
24673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24674 if (SWIG_arg_fail(2)) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24691 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
;
24693 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24694 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24696 PyObject
* obj0
= 0 ;
24697 PyObject
* obj1
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self",(char *) "other", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24704 if (SWIG_arg_fail(1)) SWIG_fail
;
24705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24706 if (SWIG_arg_fail(2)) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24723 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24724 PyObject
*resultobj
;
24725 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24726 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 char *kwnames
[] = {
24731 (char *) "self",(char *) "other", NULL
24734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24736 if (SWIG_arg_fail(1)) SWIG_fail
;
24737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24738 if (SWIG_arg_fail(2)) SWIG_fail
;
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24755 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
;
24757 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24758 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self",(char *) "other", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24768 if (SWIG_arg_fail(1)) SWIG_fail
;
24769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24770 if (SWIG_arg_fail(2)) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24787 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24790 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24792 PyObject
* obj0
= 0 ;
24793 PyObject
* obj1
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self",(char *) "other", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24800 if (SWIG_arg_fail(1)) SWIG_fail
;
24801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24802 if (SWIG_arg_fail(2)) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24819 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
;
24821 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24822 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24824 PyObject
* obj0
= 0 ;
24825 PyObject
* obj1
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self",(char *) "other", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24832 if (SWIG_arg_fail(1)) SWIG_fail
;
24833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24834 if (SWIG_arg_fail(2)) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24851 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24862 if (SWIG_arg_fail(1)) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24879 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24883 PyObject
* obj0
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24890 if (SWIG_arg_fail(1)) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24907 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(1)) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24935 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24938 wxTimeSpan
*arg2
= 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "ts", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24948 if (SWIG_arg_fail(1)) SWIG_fail
;
24950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24951 if (SWIG_arg_fail(2)) SWIG_fail
;
24952 if (arg2
== NULL
) {
24953 SWIG_null_ref("wxTimeSpan");
24955 if (SWIG_arg_fail(2)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24973 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
;
24975 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24976 wxTimeSpan
*arg2
= 0 ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self",(char *) "ts", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24986 if (SWIG_arg_fail(1)) SWIG_fail
;
24988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24989 if (SWIG_arg_fail(2)) SWIG_fail
;
24990 if (arg2
== NULL
) {
24991 SWIG_null_ref("wxTimeSpan");
24993 if (SWIG_arg_fail(2)) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25011 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25014 wxTimeSpan
*arg2
= 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self",(char *) "t", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25024 if (SWIG_arg_fail(1)) SWIG_fail
;
25026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25027 if (SWIG_arg_fail(2)) SWIG_fail
;
25028 if (arg2
== NULL
) {
25029 SWIG_null_ref("wxTimeSpan");
25031 if (SWIG_arg_fail(2)) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25049 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25051 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 char *kwnames
[] = {
25055 (char *) "self", NULL
25058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25060 if (SWIG_arg_fail(1)) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25069 resultobj
= SWIG_From_int((int)(result
));
25077 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25081 PyObject
* obj0
= 0 ;
25082 char *kwnames
[] = {
25083 (char *) "self", NULL
25086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25088 if (SWIG_arg_fail(1)) SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25097 resultobj
= SWIG_From_int((int)(result
));
25105 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25116 if (SWIG_arg_fail(1)) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= SWIG_From_int((int)(result
));
25133 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= SWIG_From_int((int)(result
));
25161 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
;
25163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25165 PyObject
* obj0
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25172 if (SWIG_arg_fail(1)) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25181 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25182 hi
= PyLong_FromLong( (&result
)->GetHi() );
25183 lo
= PyLong_FromLong( (&result
)->GetLo() );
25184 shifter
= PyLong_FromLong(32);
25185 shifted
= PyNumber_Lshift(hi
, shifter
);
25186 resultobj
= PyNumber_Or(shifted
, lo
);
25189 Py_DECREF(shifter
);
25190 Py_DECREF(shifted
);
25198 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25209 if (SWIG_arg_fail(1)) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25218 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25219 hi
= PyLong_FromLong( (&result
)->GetHi() );
25220 lo
= PyLong_FromLong( (&result
)->GetLo() );
25221 shifter
= PyLong_FromLong(32);
25222 shifted
= PyNumber_Lshift(hi
, shifter
);
25223 resultobj
= PyNumber_Or(shifted
, lo
);
25226 Py_DECREF(shifter
);
25227 Py_DECREF(shifted
);
25235 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25238 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25239 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25241 bool temp2
= false ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self",(char *) "format", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25250 if (SWIG_arg_fail(1)) SWIG_fail
;
25253 arg2
= wxString_in_helper(obj1
);
25254 if (arg2
== NULL
) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25286 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25289 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25291 return Py_BuildValue((char *)"");
25293 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
;
25295 int arg1
= (int) 0 ;
25296 int arg2
= (int) 0 ;
25297 int arg3
= (int) 0 ;
25298 int arg4
= (int) 0 ;
25299 wxDateSpan
*result
;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 PyObject
* obj2
= 0 ;
25303 PyObject
* obj3
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25311 arg1
= (int)(SWIG_As_int(obj0
));
25312 if (SWIG_arg_fail(1)) SWIG_fail
;
25317 arg2
= (int)(SWIG_As_int(obj1
));
25318 if (SWIG_arg_fail(2)) SWIG_fail
;
25323 arg3
= (int)(SWIG_As_int(obj2
));
25324 if (SWIG_arg_fail(3)) SWIG_fail
;
25329 arg4
= (int)(SWIG_As_int(obj3
));
25330 if (SWIG_arg_fail(4)) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25347 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25357 if (SWIG_arg_fail(1)) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25365 Py_INCREF(Py_None
); resultobj
= Py_None
;
25372 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
;
25376 PyObject
* obj0
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "days", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25383 arg1
= (int)(SWIG_As_int(obj0
));
25384 if (SWIG_arg_fail(1)) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= wxDateSpan::Days(arg1
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25394 wxDateSpan
* resultptr
;
25395 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25404 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25407 char *kwnames
[] = {
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 result
= wxDateSpan::Day();
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25420 wxDateSpan
* resultptr
;
25421 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25430 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "weeks", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25441 arg1
= (int)(SWIG_As_int(obj0
));
25442 if (SWIG_arg_fail(1)) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 result
= wxDateSpan::Weeks(arg1
);
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25452 wxDateSpan
* resultptr
;
25453 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25462 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
;
25465 char *kwnames
[] = {
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 result
= wxDateSpan::Week();
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25478 wxDateSpan
* resultptr
;
25479 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25488 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25492 PyObject
* obj0
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "mon", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25499 arg1
= (int)(SWIG_As_int(obj0
));
25500 if (SWIG_arg_fail(1)) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= wxDateSpan::Months(arg1
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25510 wxDateSpan
* resultptr
;
25511 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25520 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25523 char *kwnames
[] = {
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= wxDateSpan::Month();
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 wxDateSpan
* resultptr
;
25537 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25546 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25550 PyObject
* obj0
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "years", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25557 arg1
= (int)(SWIG_As_int(obj0
));
25558 if (SWIG_arg_fail(1)) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= wxDateSpan::Years(arg1
);
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25568 wxDateSpan
* resultptr
;
25569 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25578 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25579 PyObject
*resultobj
;
25581 char *kwnames
[] = {
25585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= wxDateSpan::Year();
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25594 wxDateSpan
* resultptr
;
25595 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25604 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25608 wxDateSpan
*result
;
25609 PyObject
* obj0
= 0 ;
25610 PyObject
* obj1
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "n", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail
;
25619 arg2
= (int)(SWIG_As_int(obj1
));
25620 if (SWIG_arg_fail(2)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25626 result
= (wxDateSpan
*) &_result_ref
;
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25639 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25643 wxDateSpan
*result
;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "n", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25652 if (SWIG_arg_fail(1)) SWIG_fail
;
25654 arg2
= (int)(SWIG_As_int(obj1
));
25655 if (SWIG_arg_fail(2)) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25661 result
= (wxDateSpan
*) &_result_ref
;
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25674 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25678 wxDateSpan
*result
;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 char *kwnames
[] = {
25682 (char *) "self",(char *) "n", NULL
25685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25687 if (SWIG_arg_fail(1)) SWIG_fail
;
25689 arg2
= (int)(SWIG_As_int(obj1
));
25690 if (SWIG_arg_fail(2)) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25696 result
= (wxDateSpan
*) &_result_ref
;
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25709 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25713 wxDateSpan
*result
;
25714 PyObject
* obj0
= 0 ;
25715 PyObject
* obj1
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self",(char *) "n", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25722 if (SWIG_arg_fail(1)) SWIG_fail
;
25724 arg2
= (int)(SWIG_As_int(obj1
));
25725 if (SWIG_arg_fail(2)) SWIG_fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25731 result
= (wxDateSpan
*) &_result_ref
;
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25744 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25748 PyObject
* obj0
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "self", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25755 if (SWIG_arg_fail(1)) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_From_int((int)(result
));
25772 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25776 PyObject
* obj0
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25783 if (SWIG_arg_fail(1)) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_From_int((int)(result
));
25800 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25811 if (SWIG_arg_fail(1)) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= SWIG_From_int((int)(result
));
25828 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25832 PyObject
* obj0
= 0 ;
25833 char *kwnames
[] = {
25834 (char *) "self", NULL
25837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25839 if (SWIG_arg_fail(1)) SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_From_int((int)(result
));
25856 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25860 PyObject
* obj0
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25867 if (SWIG_arg_fail(1)) SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_From_int((int)(result
));
25884 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25887 wxDateSpan
*arg2
= 0 ;
25888 wxDateSpan
*result
;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self",(char *) "other", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25897 if (SWIG_arg_fail(1)) SWIG_fail
;
25899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25900 if (SWIG_arg_fail(2)) SWIG_fail
;
25901 if (arg2
== NULL
) {
25902 SWIG_null_ref("wxDateSpan");
25904 if (SWIG_arg_fail(2)) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25910 result
= (wxDateSpan
*) &_result_ref
;
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25923 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
;
25925 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25926 wxDateSpan
*arg2
= 0 ;
25927 wxDateSpan
*result
;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self",(char *) "other", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25936 if (SWIG_arg_fail(1)) SWIG_fail
;
25938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25939 if (SWIG_arg_fail(2)) SWIG_fail
;
25940 if (arg2
== NULL
) {
25941 SWIG_null_ref("wxDateSpan");
25943 if (SWIG_arg_fail(2)) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25949 result
= (wxDateSpan
*) &_result_ref
;
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25962 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25965 wxDateSpan
*result
;
25966 PyObject
* obj0
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25973 if (SWIG_arg_fail(1)) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25978 result
= (wxDateSpan
*) &_result_ref
;
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25991 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25995 wxDateSpan
*result
;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "factor", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26006 arg2
= (int)(SWIG_As_int(obj1
));
26007 if (SWIG_arg_fail(2)) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26013 result
= (wxDateSpan
*) &_result_ref
;
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26026 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26027 PyObject
*resultobj
;
26028 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26029 wxDateSpan
*arg2
= 0 ;
26030 wxDateSpan
*result
;
26031 PyObject
* obj0
= 0 ;
26032 PyObject
* obj1
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self",(char *) "other", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26039 if (SWIG_arg_fail(1)) SWIG_fail
;
26041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26042 if (SWIG_arg_fail(2)) SWIG_fail
;
26043 if (arg2
== NULL
) {
26044 SWIG_null_ref("wxDateSpan");
26046 if (SWIG_arg_fail(2)) SWIG_fail
;
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26052 result
= (wxDateSpan
*) &_result_ref
;
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26065 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26068 wxDateSpan
*arg2
= 0 ;
26069 wxDateSpan
*result
;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self",(char *) "other", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26078 if (SWIG_arg_fail(1)) SWIG_fail
;
26080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26081 if (SWIG_arg_fail(2)) SWIG_fail
;
26082 if (arg2
== NULL
) {
26083 SWIG_null_ref("wxDateSpan");
26085 if (SWIG_arg_fail(2)) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26091 result
= (wxDateSpan
*) &_result_ref
;
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26104 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26107 wxDateSpan
*result
;
26108 PyObject
* obj0
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26115 if (SWIG_arg_fail(1)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26120 result
= (wxDateSpan
*) &_result_ref
;
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26133 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26137 wxDateSpan
*result
;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self",(char *) "factor", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26146 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 arg2
= (int)(SWIG_As_int(obj1
));
26149 if (SWIG_arg_fail(2)) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26155 result
= (wxDateSpan
*) &_result_ref
;
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26168 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26171 wxDateSpan
*arg2
= 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "other", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26181 if (SWIG_arg_fail(1)) SWIG_fail
;
26183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26184 if (SWIG_arg_fail(2)) SWIG_fail
;
26185 if (arg2
== NULL
) {
26186 SWIG_null_ref("wxDateSpan");
26188 if (SWIG_arg_fail(2)) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26198 wxDateSpan
* resultptr
;
26199 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26208 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26211 wxDateSpan
*arg2
= 0 ;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self",(char *) "other", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26221 if (SWIG_arg_fail(1)) SWIG_fail
;
26223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26224 if (SWIG_arg_fail(2)) SWIG_fail
;
26225 if (arg2
== NULL
) {
26226 SWIG_null_ref("wxDateSpan");
26228 if (SWIG_arg_fail(2)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 wxDateSpan
* resultptr
;
26239 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26248 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self",(char *) "n", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26261 if (SWIG_arg_fail(1)) SWIG_fail
;
26263 arg2
= (int)(SWIG_As_int(obj1
));
26264 if (SWIG_arg_fail(2)) SWIG_fail
;
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 result
= wxDateSpan___mul__(arg1
,arg2
);
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26274 wxDateSpan
* resultptr
;
26275 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26284 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26289 PyObject
* obj0
= 0 ;
26290 PyObject
* obj1
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self",(char *) "n", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26297 if (SWIG_arg_fail(1)) SWIG_fail
;
26299 arg2
= (int)(SWIG_As_int(obj1
));
26300 if (SWIG_arg_fail(2)) SWIG_fail
;
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 result
= wxDateSpan___rmul__(arg1
,arg2
);
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26310 wxDateSpan
* resultptr
;
26311 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26320 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26321 PyObject
*resultobj
;
26322 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26323 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 char *kwnames
[] = {
26328 (char *) "self",(char *) "other", NULL
26331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26333 if (SWIG_arg_fail(1)) SWIG_fail
;
26334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26335 if (SWIG_arg_fail(2)) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26352 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26355 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "other", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26365 if (SWIG_arg_fail(1)) SWIG_fail
;
26366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26367 if (SWIG_arg_fail(2)) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26384 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26387 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26389 return Py_BuildValue((char *)"");
26391 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26394 char *kwnames
[] = {
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= (long)wxGetLocalTime();
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_From_long((long)(result
));
26415 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26418 char *kwnames
[] = {
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= (long)wxGetUTCTime();
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26431 resultobj
= SWIG_From_long((long)(result
));
26439 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26442 char *kwnames
[] = {
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (long)wxGetCurrentTime();
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= SWIG_From_long((long)(result
));
26463 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26466 char *kwnames
[] = {
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 result
= wxGetLocalTimeMillis();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26479 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26480 hi
= PyLong_FromLong( (&result
)->GetHi() );
26481 lo
= PyLong_FromLong( (&result
)->GetLo() );
26482 shifter
= PyLong_FromLong(32);
26483 shifted
= PyNumber_Lshift(hi
, shifter
);
26484 resultobj
= PyNumber_Or(shifted
, lo
);
26487 Py_DECREF(shifter
);
26488 Py_DECREF(shifted
);
26496 static int _wrap_DefaultDateTime_set(PyObject
*) {
26497 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26502 static PyObject
*_wrap_DefaultDateTime_get(void) {
26505 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26510 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxDataFormatId arg1
;
26513 wxDataFormat
*result
;
26514 PyObject
* obj0
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "type", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26521 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26522 if (SWIG_arg_fail(1)) SWIG_fail
;
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26538 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxString
*arg1
= 0 ;
26541 wxDataFormat
*result
;
26542 bool temp1
= false ;
26543 PyObject
* obj0
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "format", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26550 arg1
= wxString_in_helper(obj0
);
26551 if (arg1
== NULL
) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26576 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26579 PyObject
* obj0
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26586 if (SWIG_arg_fail(1)) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 Py_INCREF(Py_None
); resultobj
= Py_None
;
26601 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26602 PyObject
*resultobj
;
26603 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26604 wxDataFormatId arg2
;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26609 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26611 if (SWIG_arg_fail(1)) SWIG_fail
;
26613 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26614 if (SWIG_arg_fail(2)) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26632 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26633 PyObject
*resultobj
;
26634 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26635 wxDataFormatId arg2
;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26640 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26642 if (SWIG_arg_fail(1)) SWIG_fail
;
26644 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26645 if (SWIG_arg_fail(2)) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26663 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26664 PyObject
*resultobj
;
26665 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26666 wxDataFormat
*arg2
= 0 ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26671 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26673 if (SWIG_arg_fail(1)) SWIG_fail
;
26675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26676 if (SWIG_arg_fail(2)) SWIG_fail
;
26677 if (arg2
== NULL
) {
26678 SWIG_null_ref("wxDataFormat");
26680 if (SWIG_arg_fail(2)) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26698 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26703 argc
= PyObject_Length(args
);
26704 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26705 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26711 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26721 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26729 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26737 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26745 _v
= SWIG_Check_int(argv
[1]);
26747 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26752 Py_INCREF(Py_NotImplemented
);
26753 return Py_NotImplemented
;
26757 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26758 PyObject
*resultobj
;
26759 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26760 wxDataFormat
*arg2
= 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26765 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26767 if (SWIG_arg_fail(1)) SWIG_fail
;
26769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26770 if (SWIG_arg_fail(2)) SWIG_fail
;
26771 if (arg2
== NULL
) {
26772 SWIG_null_ref("wxDataFormat");
26774 if (SWIG_arg_fail(2)) SWIG_fail
;
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26792 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26797 argc
= PyObject_Length(args
);
26798 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26799 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26805 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26815 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26823 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26831 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26839 _v
= SWIG_Check_int(argv
[1]);
26841 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26846 Py_INCREF(Py_NotImplemented
);
26847 return Py_NotImplemented
;
26851 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
;
26853 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26854 wxDataFormatId arg2
;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self",(char *) "format", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26863 if (SWIG_arg_fail(1)) SWIG_fail
;
26865 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26866 if (SWIG_arg_fail(2)) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 (arg1
)->SetType((wxDataFormatId
)arg2
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 Py_INCREF(Py_None
); resultobj
= Py_None
;
26882 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26885 wxDataFormatId result
;
26886 PyObject
* obj0
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26893 if (SWIG_arg_fail(1)) SWIG_fail
;
26895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26896 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= SWIG_From_int((result
));
26908 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 char *kwnames
[] = {
26914 (char *) "self", NULL
26917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26919 if (SWIG_arg_fail(1)) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= ((wxDataFormat
const *)arg1
)->GetId();
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26940 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26943 wxString
*arg2
= 0 ;
26944 bool temp2
= false ;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 char *kwnames
[] = {
26948 (char *) "self",(char *) "format", NULL
26951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26953 if (SWIG_arg_fail(1)) SWIG_fail
;
26955 arg2
= wxString_in_helper(obj1
);
26956 if (arg2
== NULL
) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 (arg1
)->SetId((wxString
const &)*arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 Py_INCREF(Py_None
); resultobj
= Py_None
;
26981 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26984 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26986 return Py_BuildValue((char *)"");
26988 static int _wrap_FormatInvalid_set(PyObject
*) {
26989 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26994 static PyObject
*_wrap_FormatInvalid_get(void) {
26997 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27002 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27020 Py_INCREF(Py_None
); resultobj
= Py_None
;
27027 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27028 PyObject
*resultobj
;
27029 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27030 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27031 SwigValueWrapper
<wxDataFormat
> result
;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self",(char *) "dir", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail
;
27043 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27044 if (SWIG_arg_fail(2)) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27055 wxDataFormat
* resultptr
;
27056 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27065 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27068 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27070 PyObject
* obj0
= 0 ;
27071 PyObject
* obj1
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self",(char *) "dir", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27078 if (SWIG_arg_fail(1)) SWIG_fail
;
27081 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27082 if (SWIG_arg_fail(2)) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27101 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27104 wxDataFormat
*arg2
= 0 ;
27105 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 PyObject
* obj2
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "format",(char *) "dir", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail
;
27118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27119 if (SWIG_arg_fail(2)) SWIG_fail
;
27120 if (arg2
== NULL
) {
27121 SWIG_null_ref("wxDataFormat");
27123 if (SWIG_arg_fail(2)) SWIG_fail
;
27127 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27128 if (SWIG_arg_fail(3)) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27147 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27150 wxDataFormat
*arg2
= 0 ;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 char *kwnames
[] = {
27155 (char *) "self",(char *) "format", NULL
27158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27160 if (SWIG_arg_fail(1)) SWIG_fail
;
27162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27163 if (SWIG_arg_fail(2)) SWIG_fail
;
27164 if (arg2
== NULL
) {
27165 SWIG_null_ref("wxDataFormat");
27167 if (SWIG_arg_fail(2)) SWIG_fail
;
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27185 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
;
27187 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27188 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self",(char *) "dir", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail
;
27201 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27202 if (SWIG_arg_fail(2)) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= result
;
27219 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27220 PyObject
*resultobj
;
27221 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27222 wxDataFormat
*arg2
= 0 ;
27224 PyObject
* obj0
= 0 ;
27225 PyObject
* obj1
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self",(char *) "format", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27232 if (SWIG_arg_fail(1)) SWIG_fail
;
27234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27235 if (SWIG_arg_fail(2)) SWIG_fail
;
27236 if (arg2
== NULL
) {
27237 SWIG_null_ref("wxDataFormat");
27239 if (SWIG_arg_fail(2)) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= result
;
27255 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27258 wxDataFormat
*arg2
= 0 ;
27259 PyObject
*arg3
= (PyObject
*) 0 ;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 PyObject
* obj2
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self",(char *) "format",(char *) "data", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27270 if (SWIG_arg_fail(1)) SWIG_fail
;
27272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27273 if (SWIG_arg_fail(2)) SWIG_fail
;
27274 if (arg2
== NULL
) {
27275 SWIG_null_ref("wxDataFormat");
27277 if (SWIG_arg_fail(2)) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27296 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27299 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27301 return Py_BuildValue((char *)"");
27303 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27306 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27307 wxDataObjectSimple
*result
;
27308 PyObject
* obj0
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "format", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27317 if (SWIG_arg_fail(1)) SWIG_fail
;
27318 if (arg1
== NULL
) {
27319 SWIG_null_ref("wxDataFormat");
27321 if (SWIG_arg_fail(1)) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27338 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27341 wxDataFormat
*result
;
27342 PyObject
* obj0
= 0 ;
27343 char *kwnames
[] = {
27344 (char *) "self", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27349 if (SWIG_arg_fail(1)) SWIG_fail
;
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27354 result
= (wxDataFormat
*) &_result_ref
;
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27367 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27370 wxDataFormat
*arg2
= 0 ;
27371 PyObject
* obj0
= 0 ;
27372 PyObject
* obj1
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self",(char *) "format", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27379 if (SWIG_arg_fail(1)) SWIG_fail
;
27381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27382 if (SWIG_arg_fail(2)) SWIG_fail
;
27383 if (arg2
== NULL
) {
27384 SWIG_null_ref("wxDataFormat");
27386 if (SWIG_arg_fail(2)) SWIG_fail
;
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27395 Py_INCREF(Py_None
); resultobj
= Py_None
;
27402 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
;
27404 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27406 PyObject
* obj0
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27413 if (SWIG_arg_fail(1)) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27430 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= result
;
27456 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
;
27458 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27459 PyObject
*arg2
= (PyObject
*) 0 ;
27461 PyObject
* obj0
= 0 ;
27462 PyObject
* obj1
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self",(char *) "data", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27469 if (SWIG_arg_fail(1)) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27487 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27490 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27492 return Py_BuildValue((char *)"");
27494 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27495 PyObject
*resultobj
;
27496 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27497 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27498 wxPyDataObjectSimple
*result
;
27499 PyObject
* obj0
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "format", NULL
27504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27508 if (SWIG_arg_fail(1)) SWIG_fail
;
27509 if (arg1
== NULL
) {
27510 SWIG_null_ref("wxDataFormat");
27512 if (SWIG_arg_fail(1)) SWIG_fail
;
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27529 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27532 PyObject
*arg2
= (PyObject
*) 0 ;
27533 PyObject
*arg3
= (PyObject
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 PyObject
* obj1
= 0 ;
27536 PyObject
* obj2
= 0 ;
27537 char *kwnames
[] = {
27538 (char *) "self",(char *) "self",(char *) "_class", NULL
27541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27543 if (SWIG_arg_fail(1)) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27553 Py_INCREF(Py_None
); resultobj
= Py_None
;
27560 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27563 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27565 return Py_BuildValue((char *)"");
27567 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxDataObjectComposite
*result
;
27570 char *kwnames
[] = {
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27589 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27592 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27593 bool arg3
= (bool) false ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 PyObject
* obj2
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27603 if (SWIG_arg_fail(1)) SWIG_fail
;
27604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27605 if (SWIG_arg_fail(2)) SWIG_fail
;
27608 arg3
= (bool)(SWIG_As_bool(obj2
));
27609 if (SWIG_arg_fail(3)) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 (arg1
)->Add(arg2
,arg3
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 Py_INCREF(Py_None
); resultobj
= Py_None
;
27626 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27629 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27631 return Py_BuildValue((char *)"");
27633 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27634 PyObject
*resultobj
;
27635 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27636 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27637 wxTextDataObject
*result
;
27638 bool temp1
= false ;
27639 PyObject
* obj0
= 0 ;
27640 char *kwnames
[] = {
27641 (char *) "text", NULL
27644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27647 arg1
= wxString_in_helper(obj0
);
27648 if (arg1
== NULL
) SWIG_fail
;
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27674 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
;
27676 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27678 PyObject
* obj0
= 0 ;
27679 char *kwnames
[] = {
27680 (char *) "self", NULL
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27685 if (SWIG_arg_fail(1)) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 result
= (size_t)(arg1
)->GetTextLength();
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27702 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
;
27704 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27706 PyObject
* obj0
= 0 ;
27707 char *kwnames
[] = {
27708 (char *) "self", NULL
27711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27713 if (SWIG_arg_fail(1)) SWIG_fail
;
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 result
= (arg1
)->GetText();
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27734 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27737 wxString
*arg2
= 0 ;
27738 bool temp2
= false ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "text", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27747 if (SWIG_arg_fail(1)) SWIG_fail
;
27749 arg2
= wxString_in_helper(obj1
);
27750 if (arg2
== NULL
) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 (arg1
)->SetText((wxString
const &)*arg2
);
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 Py_INCREF(Py_None
); resultobj
= Py_None
;
27775 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27778 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27780 return Py_BuildValue((char *)"");
27782 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27785 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27786 wxPyTextDataObject
*result
;
27787 bool temp1
= false ;
27788 PyObject
* obj0
= 0 ;
27789 char *kwnames
[] = {
27790 (char *) "text", NULL
27793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27796 arg1
= wxString_in_helper(obj0
);
27797 if (arg1
== NULL
) SWIG_fail
;
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27823 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27824 PyObject
*resultobj
;
27825 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27826 PyObject
*arg2
= (PyObject
*) 0 ;
27827 PyObject
*arg3
= (PyObject
*) 0 ;
27828 PyObject
* obj0
= 0 ;
27829 PyObject
* obj1
= 0 ;
27830 PyObject
* obj2
= 0 ;
27831 char *kwnames
[] = {
27832 (char *) "self",(char *) "self",(char *) "_class", NULL
27835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27837 if (SWIG_arg_fail(1)) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 Py_INCREF(Py_None
); resultobj
= Py_None
;
27854 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27857 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27859 return Py_BuildValue((char *)"");
27861 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27864 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27865 wxBitmapDataObject
*result
;
27866 PyObject
* obj0
= 0 ;
27867 char *kwnames
[] = {
27868 (char *) "bitmap", NULL
27871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27875 if (SWIG_arg_fail(1)) SWIG_fail
;
27876 if (arg1
== NULL
) {
27877 SWIG_null_ref("wxBitmap");
27879 if (SWIG_arg_fail(1)) SWIG_fail
;
27883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27884 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27886 wxPyEndAllowThreads(__tstate
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27896 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27897 PyObject
*resultobj
;
27898 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27900 PyObject
* obj0
= 0 ;
27901 char *kwnames
[] = {
27902 (char *) "self", NULL
27905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27907 if (SWIG_arg_fail(1)) SWIG_fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27916 wxBitmap
* resultptr
;
27917 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27926 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27927 PyObject
*resultobj
;
27928 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27929 wxBitmap
*arg2
= 0 ;
27930 PyObject
* obj0
= 0 ;
27931 PyObject
* obj1
= 0 ;
27932 char *kwnames
[] = {
27933 (char *) "self",(char *) "bitmap", NULL
27936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27938 if (SWIG_arg_fail(1)) SWIG_fail
;
27940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27941 if (SWIG_arg_fail(2)) SWIG_fail
;
27942 if (arg2
== NULL
) {
27943 SWIG_null_ref("wxBitmap");
27945 if (SWIG_arg_fail(2)) SWIG_fail
;
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 Py_INCREF(Py_None
); resultobj
= Py_None
;
27961 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27964 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27966 return Py_BuildValue((char *)"");
27968 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
;
27970 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27971 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27972 wxPyBitmapDataObject
*result
;
27973 PyObject
* obj0
= 0 ;
27974 char *kwnames
[] = {
27975 (char *) "bitmap", NULL
27978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27982 if (SWIG_arg_fail(1)) SWIG_fail
;
27983 if (arg1
== NULL
) {
27984 SWIG_null_ref("wxBitmap");
27986 if (SWIG_arg_fail(1)) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28003 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
;
28005 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28006 PyObject
*arg2
= (PyObject
*) 0 ;
28007 PyObject
*arg3
= (PyObject
*) 0 ;
28008 PyObject
* obj0
= 0 ;
28009 PyObject
* obj1
= 0 ;
28010 PyObject
* obj2
= 0 ;
28011 char *kwnames
[] = {
28012 (char *) "self",(char *) "self",(char *) "_class", NULL
28015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28017 if (SWIG_arg_fail(1)) SWIG_fail
;
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28027 Py_INCREF(Py_None
); resultobj
= Py_None
;
28034 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28037 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28039 return Py_BuildValue((char *)"");
28041 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
;
28043 wxFileDataObject
*result
;
28044 char *kwnames
[] = {
28048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28051 result
= (wxFileDataObject
*)new wxFileDataObject();
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28063 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
;
28065 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28066 wxArrayString
*result
;
28067 PyObject
* obj0
= 0 ;
28068 char *kwnames
[] = {
28069 (char *) "self", NULL
28072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28074 if (SWIG_arg_fail(1)) SWIG_fail
;
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28079 result
= (wxArrayString
*) &_result_ref
;
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= wxArrayString2PyList_helper(*result
);
28094 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
;
28096 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28097 wxString
*arg2
= 0 ;
28098 bool temp2
= false ;
28099 PyObject
* obj0
= 0 ;
28100 PyObject
* obj1
= 0 ;
28101 char *kwnames
[] = {
28102 (char *) "self",(char *) "filename", NULL
28105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28107 if (SWIG_arg_fail(1)) SWIG_fail
;
28109 arg2
= wxString_in_helper(obj1
);
28110 if (arg2
== NULL
) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->AddFile((wxString
const &)*arg2
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28120 Py_INCREF(Py_None
); resultobj
= Py_None
;
28135 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28138 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28140 return Py_BuildValue((char *)"");
28142 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28143 PyObject
*resultobj
;
28144 wxDataFormat
*arg1
= 0 ;
28145 wxCustomDataObject
*result
;
28146 PyObject
* obj0
= 0 ;
28148 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28151 if (SWIG_arg_fail(1)) SWIG_fail
;
28152 if (arg1
== NULL
) {
28153 SWIG_null_ref("wxDataFormat");
28155 if (SWIG_arg_fail(1)) SWIG_fail
;
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28171 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28172 PyObject
*resultobj
;
28173 wxString
*arg1
= 0 ;
28174 wxCustomDataObject
*result
;
28175 bool temp1
= false ;
28176 PyObject
* obj0
= 0 ;
28178 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28180 arg1
= wxString_in_helper(obj0
);
28181 if (arg1
== NULL
) SWIG_fail
;
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28206 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28207 PyObject
*resultobj
;
28208 wxCustomDataObject
*result
;
28210 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28225 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28230 argc
= PyObject_Length(args
);
28231 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28232 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28235 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28240 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28243 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28250 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28258 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28262 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28267 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
;
28269 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28270 PyObject
*arg2
= (PyObject
*) 0 ;
28272 PyObject
* obj0
= 0 ;
28273 PyObject
* obj1
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "self",(char *) "data", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28280 if (SWIG_arg_fail(1)) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28298 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28302 PyObject
* obj0
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28309 if (SWIG_arg_fail(1)) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (size_t)(arg1
)->GetSize();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28318 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28326 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28330 PyObject
* obj0
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28337 if (SWIG_arg_fail(1)) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= result
;
28352 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28355 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28357 return Py_BuildValue((char *)"");
28359 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28360 PyObject
*resultobj
;
28361 wxURLDataObject
*result
;
28362 char *kwnames
[] = {
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (wxURLDataObject
*)new wxURLDataObject();
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28381 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 char *kwnames
[] = {
28387 (char *) "self", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28392 if (SWIG_arg_fail(1)) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (arg1
)->GetURL();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28413 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
;
28415 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28416 wxString
*arg2
= 0 ;
28417 bool temp2
= false ;
28418 PyObject
* obj0
= 0 ;
28419 PyObject
* obj1
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self",(char *) "url", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28426 if (SWIG_arg_fail(1)) SWIG_fail
;
28428 arg2
= wxString_in_helper(obj1
);
28429 if (arg2
== NULL
) SWIG_fail
;
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 (arg1
)->SetURL((wxString
const &)*arg2
);
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 Py_INCREF(Py_None
); resultobj
= Py_None
;
28454 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28457 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28459 return Py_BuildValue((char *)"");
28461 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
;
28463 wxMetafileDataObject
*result
;
28464 char *kwnames
[] = {
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28483 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28486 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28488 return Py_BuildValue((char *)"");
28490 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxDragResult arg1
;
28494 PyObject
* obj0
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "res", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28501 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28502 if (SWIG_arg_fail(1)) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28520 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
;
28522 wxWindow
*arg1
= (wxWindow
*) 0 ;
28523 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28524 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28525 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28526 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28527 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28528 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28529 wxPyDropSource
*result
;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 PyObject
* obj2
= 0 ;
28533 PyObject
* obj3
= 0 ;
28534 char *kwnames
[] = {
28535 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28540 if (SWIG_arg_fail(1)) SWIG_fail
;
28543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28544 if (SWIG_arg_fail(2)) SWIG_fail
;
28545 if (arg2
== NULL
) {
28546 SWIG_null_ref("wxIcon");
28548 if (SWIG_arg_fail(2)) SWIG_fail
;
28553 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28554 if (SWIG_arg_fail(3)) SWIG_fail
;
28555 if (arg3
== NULL
) {
28556 SWIG_null_ref("wxIcon");
28558 if (SWIG_arg_fail(3)) SWIG_fail
;
28563 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28564 if (SWIG_arg_fail(4)) SWIG_fail
;
28565 if (arg4
== NULL
) {
28566 SWIG_null_ref("wxIcon");
28568 if (SWIG_arg_fail(4)) SWIG_fail
;
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28585 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
;
28587 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28588 PyObject
*arg2
= (PyObject
*) 0 ;
28589 PyObject
*arg3
= (PyObject
*) 0 ;
28591 PyObject
* obj0
= 0 ;
28592 PyObject
* obj1
= 0 ;
28593 PyObject
* obj2
= 0 ;
28594 PyObject
* obj3
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28601 if (SWIG_arg_fail(1)) SWIG_fail
;
28605 arg4
= (int)(SWIG_As_int(obj3
));
28606 if (SWIG_arg_fail(4)) SWIG_fail
;
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28612 wxPyEndAllowThreads(__tstate
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28615 Py_INCREF(Py_None
); resultobj
= Py_None
;
28622 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
;
28624 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28625 PyObject
* obj0
= 0 ;
28626 char *kwnames
[] = {
28627 (char *) "self", NULL
28630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28632 if (SWIG_arg_fail(1)) SWIG_fail
;
28634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28640 Py_INCREF(Py_None
); resultobj
= Py_None
;
28647 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
;
28649 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28650 wxDataObject
*arg2
= 0 ;
28651 PyObject
* obj0
= 0 ;
28652 PyObject
* obj1
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self",(char *) "data", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28659 if (SWIG_arg_fail(1)) SWIG_fail
;
28661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28662 if (SWIG_arg_fail(2)) SWIG_fail
;
28663 if (arg2
== NULL
) {
28664 SWIG_null_ref("wxDataObject");
28666 if (SWIG_arg_fail(2)) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 (arg1
)->SetData(*arg2
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 Py_INCREF(Py_None
); resultobj
= Py_None
;
28682 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28684 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28685 wxDataObject
*result
;
28686 PyObject
* obj0
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28693 if (SWIG_arg_fail(1)) SWIG_fail
;
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28708 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28711 wxDragResult arg2
;
28712 wxCursor
*arg3
= 0 ;
28713 PyObject
* obj0
= 0 ;
28714 PyObject
* obj1
= 0 ;
28715 PyObject
* obj2
= 0 ;
28716 char *kwnames
[] = {
28717 (char *) "self",(char *) "res",(char *) "cursor", NULL
28720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28722 if (SWIG_arg_fail(1)) SWIG_fail
;
28724 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28725 if (SWIG_arg_fail(2)) SWIG_fail
;
28728 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28729 if (SWIG_arg_fail(3)) SWIG_fail
;
28730 if (arg3
== NULL
) {
28731 SWIG_null_ref("wxCursor");
28733 if (SWIG_arg_fail(3)) SWIG_fail
;
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 Py_INCREF(Py_None
); resultobj
= Py_None
;
28749 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
;
28751 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28752 int arg2
= (int) wxDrag_CopyOnly
;
28753 wxDragResult result
;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self",(char *) "flags", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28762 if (SWIG_arg_fail(1)) SWIG_fail
;
28765 arg2
= (int)(SWIG_As_int(obj1
));
28766 if (SWIG_arg_fail(2)) SWIG_fail
;
28770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28771 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28773 wxPyEndAllowThreads(__tstate
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28776 resultobj
= SWIG_From_int((result
));
28783 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
;
28785 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28786 wxDragResult arg2
;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 char *kwnames
[] = {
28791 (char *) "self",(char *) "effect", NULL
28794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28796 if (SWIG_arg_fail(1)) SWIG_fail
;
28798 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28799 if (SWIG_arg_fail(2)) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28817 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28820 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28822 return Py_BuildValue((char *)"");
28824 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28827 wxPyDropTarget
*result
;
28828 PyObject
* obj0
= 0 ;
28829 char *kwnames
[] = {
28830 (char *) "dataObject", NULL
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28836 if (SWIG_arg_fail(1)) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28852 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28855 PyObject
*arg2
= (PyObject
*) 0 ;
28856 PyObject
*arg3
= (PyObject
*) 0 ;
28857 PyObject
* obj0
= 0 ;
28858 PyObject
* obj1
= 0 ;
28859 PyObject
* obj2
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self",(char *) "self",(char *) "_class", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28866 if (SWIG_arg_fail(1)) SWIG_fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 Py_INCREF(Py_None
); resultobj
= Py_None
;
28883 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28886 PyObject
* obj0
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "self", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28893 if (SWIG_arg_fail(1)) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 Py_INCREF(Py_None
); resultobj
= Py_None
;
28908 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28909 PyObject
*resultobj
;
28910 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28911 wxDataObject
*result
;
28912 PyObject
* obj0
= 0 ;
28913 char *kwnames
[] = {
28914 (char *) "self", NULL
28917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28919 if (SWIG_arg_fail(1)) SWIG_fail
;
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28934 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
;
28936 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28937 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 char *kwnames
[] = {
28941 (char *) "self",(char *) "dataObject", NULL
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28946 if (SWIG_arg_fail(1)) SWIG_fail
;
28947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28948 if (SWIG_arg_fail(2)) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->SetDataObject(arg2
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 Py_INCREF(Py_None
); resultobj
= Py_None
;
28963 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28968 wxDragResult arg4
;
28969 wxDragResult result
;
28970 PyObject
* obj0
= 0 ;
28971 PyObject
* obj1
= 0 ;
28972 PyObject
* obj2
= 0 ;
28973 PyObject
* obj3
= 0 ;
28974 char *kwnames
[] = {
28975 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28980 if (SWIG_arg_fail(1)) SWIG_fail
;
28982 arg2
= (int)(SWIG_As_int(obj1
));
28983 if (SWIG_arg_fail(2)) SWIG_fail
;
28986 arg3
= (int)(SWIG_As_int(obj2
));
28987 if (SWIG_arg_fail(3)) SWIG_fail
;
28990 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28991 if (SWIG_arg_fail(4)) SWIG_fail
;
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_From_int((result
));
29007 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
;
29009 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29012 wxDragResult arg4
;
29013 wxDragResult result
;
29014 PyObject
* obj0
= 0 ;
29015 PyObject
* obj1
= 0 ;
29016 PyObject
* obj2
= 0 ;
29017 PyObject
* obj3
= 0 ;
29018 char *kwnames
[] = {
29019 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29024 if (SWIG_arg_fail(1)) SWIG_fail
;
29026 arg2
= (int)(SWIG_As_int(obj1
));
29027 if (SWIG_arg_fail(2)) SWIG_fail
;
29030 arg3
= (int)(SWIG_As_int(obj2
));
29031 if (SWIG_arg_fail(3)) SWIG_fail
;
29034 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29035 if (SWIG_arg_fail(4)) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_From_int((result
));
29051 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29054 PyObject
* obj0
= 0 ;
29055 char *kwnames
[] = {
29056 (char *) "self", NULL
29059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29061 if (SWIG_arg_fail(1)) SWIG_fail
;
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 (arg1
)->base_OnLeave();
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 Py_INCREF(Py_None
); resultobj
= Py_None
;
29076 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29077 PyObject
*resultobj
;
29078 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29082 PyObject
* obj0
= 0 ;
29083 PyObject
* obj1
= 0 ;
29084 PyObject
* obj2
= 0 ;
29085 char *kwnames
[] = {
29086 (char *) "self",(char *) "x",(char *) "y", NULL
29089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29091 if (SWIG_arg_fail(1)) SWIG_fail
;
29093 arg2
= (int)(SWIG_As_int(obj1
));
29094 if (SWIG_arg_fail(2)) SWIG_fail
;
29097 arg3
= (int)(SWIG_As_int(obj2
));
29098 if (SWIG_arg_fail(3)) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29116 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29120 PyObject
* obj0
= 0 ;
29121 char *kwnames
[] = {
29122 (char *) "self", NULL
29125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29127 if (SWIG_arg_fail(1)) SWIG_fail
;
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 result
= (bool)(arg1
)->GetData();
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29144 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
;
29146 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29147 wxDragResult arg2
;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self",(char *) "action", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29156 if (SWIG_arg_fail(1)) SWIG_fail
;
29158 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29159 if (SWIG_arg_fail(2)) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 Py_INCREF(Py_None
); resultobj
= Py_None
;
29175 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
;
29177 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29178 wxDragResult result
;
29179 PyObject
* obj0
= 0 ;
29180 char *kwnames
[] = {
29181 (char *) "self", NULL
29184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29186 if (SWIG_arg_fail(1)) SWIG_fail
;
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 resultobj
= SWIG_From_int((result
));
29201 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29204 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29206 return Py_BuildValue((char *)"");
29208 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
;
29210 wxPyTextDropTarget
*result
;
29211 char *kwnames
[] = {
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29230 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
;
29232 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29233 PyObject
*arg2
= (PyObject
*) 0 ;
29234 PyObject
*arg3
= (PyObject
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 PyObject
* obj2
= 0 ;
29238 char *kwnames
[] = {
29239 (char *) "self",(char *) "self",(char *) "_class", NULL
29242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29244 if (SWIG_arg_fail(1)) SWIG_fail
;
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 Py_INCREF(Py_None
); resultobj
= Py_None
;
29261 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
;
29263 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29266 wxDragResult arg4
;
29267 wxDragResult result
;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 PyObject
* obj2
= 0 ;
29271 PyObject
* obj3
= 0 ;
29272 char *kwnames
[] = {
29273 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29278 if (SWIG_arg_fail(1)) SWIG_fail
;
29280 arg2
= (int)(SWIG_As_int(obj1
));
29281 if (SWIG_arg_fail(2)) SWIG_fail
;
29284 arg3
= (int)(SWIG_As_int(obj2
));
29285 if (SWIG_arg_fail(3)) SWIG_fail
;
29288 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29289 if (SWIG_arg_fail(4)) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 resultobj
= SWIG_From_int((result
));
29305 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
;
29307 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29310 wxDragResult arg4
;
29311 wxDragResult result
;
29312 PyObject
* obj0
= 0 ;
29313 PyObject
* obj1
= 0 ;
29314 PyObject
* obj2
= 0 ;
29315 PyObject
* obj3
= 0 ;
29316 char *kwnames
[] = {
29317 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29322 if (SWIG_arg_fail(1)) SWIG_fail
;
29324 arg2
= (int)(SWIG_As_int(obj1
));
29325 if (SWIG_arg_fail(2)) SWIG_fail
;
29328 arg3
= (int)(SWIG_As_int(obj2
));
29329 if (SWIG_arg_fail(3)) SWIG_fail
;
29332 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29333 if (SWIG_arg_fail(4)) SWIG_fail
;
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= SWIG_From_int((result
));
29349 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
;
29351 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29352 PyObject
* obj0
= 0 ;
29353 char *kwnames
[] = {
29354 (char *) "self", NULL
29357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29359 if (SWIG_arg_fail(1)) SWIG_fail
;
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 (arg1
)->base_OnLeave();
29364 wxPyEndAllowThreads(__tstate
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29367 Py_INCREF(Py_None
); resultobj
= Py_None
;
29374 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
;
29376 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 PyObject
* obj2
= 0 ;
29383 char *kwnames
[] = {
29384 (char *) "self",(char *) "x",(char *) "y", NULL
29387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29389 if (SWIG_arg_fail(1)) SWIG_fail
;
29391 arg2
= (int)(SWIG_As_int(obj1
));
29392 if (SWIG_arg_fail(2)) SWIG_fail
;
29395 arg3
= (int)(SWIG_As_int(obj2
));
29396 if (SWIG_arg_fail(3)) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29414 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29419 wxDragResult arg4
;
29420 wxDragResult result
;
29421 PyObject
* obj0
= 0 ;
29422 PyObject
* obj1
= 0 ;
29423 PyObject
* obj2
= 0 ;
29424 PyObject
* obj3
= 0 ;
29425 char *kwnames
[] = {
29426 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29431 if (SWIG_arg_fail(1)) SWIG_fail
;
29433 arg2
= (int)(SWIG_As_int(obj1
));
29434 if (SWIG_arg_fail(2)) SWIG_fail
;
29437 arg3
= (int)(SWIG_As_int(obj2
));
29438 if (SWIG_arg_fail(3)) SWIG_fail
;
29441 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29442 if (SWIG_arg_fail(4)) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= SWIG_From_int((result
));
29458 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29461 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29463 return Py_BuildValue((char *)"");
29465 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxPyFileDropTarget
*result
;
29468 char *kwnames
[] = {
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29475 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29487 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29489 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29490 PyObject
*arg2
= (PyObject
*) 0 ;
29491 PyObject
*arg3
= (PyObject
*) 0 ;
29492 PyObject
* obj0
= 0 ;
29493 PyObject
* obj1
= 0 ;
29494 PyObject
* obj2
= 0 ;
29495 char *kwnames
[] = {
29496 (char *) "self",(char *) "self",(char *) "_class", NULL
29499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29501 if (SWIG_arg_fail(1)) SWIG_fail
;
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 Py_INCREF(Py_None
); resultobj
= Py_None
;
29518 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
;
29520 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29523 wxDragResult arg4
;
29524 wxDragResult result
;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 PyObject
* obj2
= 0 ;
29528 PyObject
* obj3
= 0 ;
29529 char *kwnames
[] = {
29530 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29535 if (SWIG_arg_fail(1)) SWIG_fail
;
29537 arg2
= (int)(SWIG_As_int(obj1
));
29538 if (SWIG_arg_fail(2)) SWIG_fail
;
29541 arg3
= (int)(SWIG_As_int(obj2
));
29542 if (SWIG_arg_fail(3)) SWIG_fail
;
29545 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29546 if (SWIG_arg_fail(4)) SWIG_fail
;
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= SWIG_From_int((result
));
29562 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
;
29564 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29567 wxDragResult arg4
;
29568 wxDragResult result
;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 PyObject
* obj2
= 0 ;
29572 PyObject
* obj3
= 0 ;
29573 char *kwnames
[] = {
29574 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29579 if (SWIG_arg_fail(1)) SWIG_fail
;
29581 arg2
= (int)(SWIG_As_int(obj1
));
29582 if (SWIG_arg_fail(2)) SWIG_fail
;
29585 arg3
= (int)(SWIG_As_int(obj2
));
29586 if (SWIG_arg_fail(3)) SWIG_fail
;
29589 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29590 if (SWIG_arg_fail(4)) SWIG_fail
;
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= SWIG_From_int((result
));
29606 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
;
29608 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 char *kwnames
[] = {
29611 (char *) "self", NULL
29614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29616 if (SWIG_arg_fail(1)) SWIG_fail
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 (arg1
)->base_OnLeave();
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 Py_INCREF(Py_None
); resultobj
= Py_None
;
29631 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
;
29633 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 PyObject
* obj2
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self",(char *) "x",(char *) "y", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29646 if (SWIG_arg_fail(1)) SWIG_fail
;
29648 arg2
= (int)(SWIG_As_int(obj1
));
29649 if (SWIG_arg_fail(2)) SWIG_fail
;
29652 arg3
= (int)(SWIG_As_int(obj2
));
29653 if (SWIG_arg_fail(3)) SWIG_fail
;
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29671 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
;
29673 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29676 wxDragResult arg4
;
29677 wxDragResult result
;
29678 PyObject
* obj0
= 0 ;
29679 PyObject
* obj1
= 0 ;
29680 PyObject
* obj2
= 0 ;
29681 PyObject
* obj3
= 0 ;
29682 char *kwnames
[] = {
29683 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29688 if (SWIG_arg_fail(1)) SWIG_fail
;
29690 arg2
= (int)(SWIG_As_int(obj1
));
29691 if (SWIG_arg_fail(2)) SWIG_fail
;
29694 arg3
= (int)(SWIG_As_int(obj2
));
29695 if (SWIG_arg_fail(3)) SWIG_fail
;
29698 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29699 if (SWIG_arg_fail(4)) SWIG_fail
;
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= SWIG_From_int((result
));
29715 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29718 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29720 return Py_BuildValue((char *)"");
29722 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
;
29724 wxClipboard
*result
;
29725 char *kwnames
[] = {
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (wxClipboard
*)new wxClipboard();
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29744 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29747 PyObject
* obj0
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail
;
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 Py_INCREF(Py_None
); resultobj
= Py_None
;
29769 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
;
29771 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29773 PyObject
* obj0
= 0 ;
29774 char *kwnames
[] = {
29775 (char *) "self", NULL
29778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29780 if (SWIG_arg_fail(1)) SWIG_fail
;
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 result
= (bool)(arg1
)->Open();
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29797 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "self", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29807 if (SWIG_arg_fail(1)) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 Py_INCREF(Py_None
); resultobj
= Py_None
;
29822 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29826 PyObject
* obj0
= 0 ;
29827 char *kwnames
[] = {
29828 (char *) "self", NULL
29831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29833 if (SWIG_arg_fail(1)) SWIG_fail
;
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29838 wxPyEndAllowThreads(__tstate
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29850 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29853 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 char *kwnames
[] = {
29858 (char *) "self",(char *) "data", NULL
29861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29863 if (SWIG_arg_fail(1)) SWIG_fail
;
29864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29865 if (SWIG_arg_fail(2)) SWIG_fail
;
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 result
= (bool)(arg1
)->AddData(arg2
);
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29882 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
;
29884 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29885 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29887 PyObject
* obj0
= 0 ;
29888 PyObject
* obj1
= 0 ;
29889 char *kwnames
[] = {
29890 (char *) "self",(char *) "data", NULL
29893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29895 if (SWIG_arg_fail(1)) SWIG_fail
;
29896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29897 if (SWIG_arg_fail(2)) SWIG_fail
;
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= (bool)(arg1
)->SetData(arg2
);
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29914 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
;
29916 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29917 wxDataFormat
*arg2
= 0 ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 char *kwnames
[] = {
29922 (char *) "self",(char *) "format", NULL
29925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29927 if (SWIG_arg_fail(1)) SWIG_fail
;
29929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29930 if (SWIG_arg_fail(2)) SWIG_fail
;
29931 if (arg2
== NULL
) {
29932 SWIG_null_ref("wxDataFormat");
29934 if (SWIG_arg_fail(2)) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29952 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29953 PyObject
*resultobj
;
29954 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29955 wxDataObject
*arg2
= 0 ;
29957 PyObject
* obj0
= 0 ;
29958 PyObject
* obj1
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self",(char *) "data", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29965 if (SWIG_arg_fail(1)) SWIG_fail
;
29967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29968 if (SWIG_arg_fail(2)) SWIG_fail
;
29969 if (arg2
== NULL
) {
29970 SWIG_null_ref("wxDataObject");
29972 if (SWIG_arg_fail(2)) SWIG_fail
;
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 result
= (bool)(arg1
)->GetData(*arg2
);
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29990 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29991 PyObject
*resultobj
;
29992 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29993 PyObject
* obj0
= 0 ;
29994 char *kwnames
[] = {
29995 (char *) "self", NULL
29998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30000 if (SWIG_arg_fail(1)) SWIG_fail
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 Py_INCREF(Py_None
); resultobj
= Py_None
;
30015 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30016 PyObject
*resultobj
;
30017 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30019 PyObject
* obj0
= 0 ;
30020 char *kwnames
[] = {
30021 (char *) "self", NULL
30024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30026 if (SWIG_arg_fail(1)) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (bool)(arg1
)->Flush();
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30043 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
;
30045 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30046 bool arg2
= (bool) true ;
30047 PyObject
* obj0
= 0 ;
30048 PyObject
* obj1
= 0 ;
30049 char *kwnames
[] = {
30050 (char *) "self",(char *) "primary", NULL
30053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30055 if (SWIG_arg_fail(1)) SWIG_fail
;
30058 arg2
= (bool)(SWIG_As_bool(obj1
));
30059 if (SWIG_arg_fail(2)) SWIG_fail
;
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 (arg1
)->UsePrimarySelection(arg2
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 Py_INCREF(Py_None
); resultobj
= Py_None
;
30076 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
;
30078 wxClipboard
*result
;
30079 char *kwnames
[] = {
30083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= (wxClipboard
*)wxClipboard::Get();
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30098 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30101 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30103 return Py_BuildValue((char *)"");
30105 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30108 wxClipboardLocker
*result
;
30109 PyObject
* obj0
= 0 ;
30110 char *kwnames
[] = {
30111 (char *) "clipboard", NULL
30114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30117 if (SWIG_arg_fail(1)) SWIG_fail
;
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30133 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30134 PyObject
*resultobj
;
30135 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30136 PyObject
* obj0
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30143 if (SWIG_arg_fail(1)) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 Py_INCREF(Py_None
); resultobj
= Py_None
;
30158 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
;
30160 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30162 PyObject
* obj0
= 0 ;
30163 char *kwnames
[] = {
30164 (char *) "self", NULL
30167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30169 if (SWIG_arg_fail(1)) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30186 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30189 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30191 return Py_BuildValue((char *)"");
30193 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
;
30195 int arg1
= (int) 0 ;
30196 int arg2
= (int) 0 ;
30197 int arg3
= (int) 0 ;
30198 int arg4
= (int) 0 ;
30199 wxVideoMode
*result
;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 PyObject
* obj2
= 0 ;
30203 PyObject
* obj3
= 0 ;
30204 char *kwnames
[] = {
30205 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30211 arg1
= (int)(SWIG_As_int(obj0
));
30212 if (SWIG_arg_fail(1)) SWIG_fail
;
30217 arg2
= (int)(SWIG_As_int(obj1
));
30218 if (SWIG_arg_fail(2)) SWIG_fail
;
30223 arg3
= (int)(SWIG_As_int(obj2
));
30224 if (SWIG_arg_fail(3)) SWIG_fail
;
30229 arg4
= (int)(SWIG_As_int(obj3
));
30230 if (SWIG_arg_fail(4)) SWIG_fail
;
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30247 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
;
30249 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30250 PyObject
* obj0
= 0 ;
30251 char *kwnames
[] = {
30252 (char *) "self", NULL
30255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30257 if (SWIG_arg_fail(1)) SWIG_fail
;
30259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 wxPyEndAllowThreads(__tstate
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30265 Py_INCREF(Py_None
); resultobj
= Py_None
;
30272 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30273 PyObject
*resultobj
;
30274 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30275 wxVideoMode
*arg2
= 0 ;
30277 PyObject
* obj0
= 0 ;
30278 PyObject
* obj1
= 0 ;
30279 char *kwnames
[] = {
30280 (char *) "self",(char *) "other", NULL
30283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30285 if (SWIG_arg_fail(1)) SWIG_fail
;
30287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30288 if (SWIG_arg_fail(2)) SWIG_fail
;
30289 if (arg2
== NULL
) {
30290 SWIG_null_ref("wxVideoMode");
30292 if (SWIG_arg_fail(2)) SWIG_fail
;
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30310 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30311 PyObject
*resultobj
;
30312 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30314 PyObject
* obj0
= 0 ;
30315 char *kwnames
[] = {
30316 (char *) "self", NULL
30319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30321 if (SWIG_arg_fail(1)) SWIG_fail
;
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30324 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30330 resultobj
= SWIG_From_int((int)(result
));
30338 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
;
30340 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 char *kwnames
[] = {
30344 (char *) "self", NULL
30347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail
;
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= SWIG_From_int((int)(result
));
30366 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
;
30368 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30370 PyObject
* obj0
= 0 ;
30371 char *kwnames
[] = {
30372 (char *) "self", NULL
30375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30377 if (SWIG_arg_fail(1)) SWIG_fail
;
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= SWIG_From_int((int)(result
));
30394 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30395 PyObject
*resultobj
;
30396 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30398 PyObject
* obj0
= 0 ;
30399 char *kwnames
[] = {
30400 (char *) "self", NULL
30403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30405 if (SWIG_arg_fail(1)) SWIG_fail
;
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30408 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30422 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
;
30424 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30425 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30427 PyObject
* obj0
= 0 ;
30428 PyObject
* obj1
= 0 ;
30429 char *kwnames
[] = {
30430 (char *) "self",(char *) "other", NULL
30433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30435 if (SWIG_arg_fail(1)) SWIG_fail
;
30436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30437 if (SWIG_arg_fail(2)) SWIG_fail
;
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30454 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
;
30456 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30457 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 char *kwnames
[] = {
30462 (char *) "self",(char *) "other", NULL
30465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30467 if (SWIG_arg_fail(1)) SWIG_fail
;
30468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30469 if (SWIG_arg_fail(2)) SWIG_fail
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30486 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self",(char *) "w", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30498 if (SWIG_arg_fail(1)) SWIG_fail
;
30500 arg2
= (int)(SWIG_As_int(obj1
));
30501 if (SWIG_arg_fail(2)) SWIG_fail
;
30503 if (arg1
) (arg1
)->w
= arg2
;
30505 Py_INCREF(Py_None
); resultobj
= Py_None
;
30512 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
;
30514 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30516 PyObject
* obj0
= 0 ;
30517 char *kwnames
[] = {
30518 (char *) "self", NULL
30521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30523 if (SWIG_arg_fail(1)) SWIG_fail
;
30524 result
= (int) ((arg1
)->w
);
30527 resultobj
= SWIG_From_int((int)(result
));
30535 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30539 PyObject
* obj0
= 0 ;
30540 PyObject
* obj1
= 0 ;
30541 char *kwnames
[] = {
30542 (char *) "self",(char *) "h", NULL
30545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30547 if (SWIG_arg_fail(1)) SWIG_fail
;
30549 arg2
= (int)(SWIG_As_int(obj1
));
30550 if (SWIG_arg_fail(2)) SWIG_fail
;
30552 if (arg1
) (arg1
)->h
= arg2
;
30554 Py_INCREF(Py_None
); resultobj
= Py_None
;
30561 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
;
30563 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30565 PyObject
* obj0
= 0 ;
30566 char *kwnames
[] = {
30567 (char *) "self", NULL
30570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30572 if (SWIG_arg_fail(1)) SWIG_fail
;
30573 result
= (int) ((arg1
)->h
);
30576 resultobj
= SWIG_From_int((int)(result
));
30584 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30585 PyObject
*resultobj
;
30586 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30588 PyObject
* obj0
= 0 ;
30589 PyObject
* obj1
= 0 ;
30590 char *kwnames
[] = {
30591 (char *) "self",(char *) "bpp", NULL
30594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30596 if (SWIG_arg_fail(1)) SWIG_fail
;
30598 arg2
= (int)(SWIG_As_int(obj1
));
30599 if (SWIG_arg_fail(2)) SWIG_fail
;
30601 if (arg1
) (arg1
)->bpp
= arg2
;
30603 Py_INCREF(Py_None
); resultobj
= Py_None
;
30610 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
;
30612 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30614 PyObject
* obj0
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30621 if (SWIG_arg_fail(1)) SWIG_fail
;
30622 result
= (int) ((arg1
)->bpp
);
30625 resultobj
= SWIG_From_int((int)(result
));
30633 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
;
30635 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self",(char *) "refresh", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30645 if (SWIG_arg_fail(1)) SWIG_fail
;
30647 arg2
= (int)(SWIG_As_int(obj1
));
30648 if (SWIG_arg_fail(2)) SWIG_fail
;
30650 if (arg1
) (arg1
)->refresh
= arg2
;
30652 Py_INCREF(Py_None
); resultobj
= Py_None
;
30659 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30660 PyObject
*resultobj
;
30661 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30663 PyObject
* obj0
= 0 ;
30664 char *kwnames
[] = {
30665 (char *) "self", NULL
30668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30670 if (SWIG_arg_fail(1)) SWIG_fail
;
30671 result
= (int) ((arg1
)->refresh
);
30674 resultobj
= SWIG_From_int((int)(result
));
30682 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30685 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30687 return Py_BuildValue((char *)"");
30689 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30690 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30695 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30698 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30703 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30704 PyObject
*resultobj
;
30705 size_t arg1
= (size_t) 0 ;
30707 PyObject
* obj0
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "index", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30715 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30716 if (SWIG_arg_fail(1)) SWIG_fail
;
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 result
= (wxDisplay
*)new wxDisplay(arg1
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30733 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
;
30735 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30736 PyObject
* obj0
= 0 ;
30737 char *kwnames
[] = {
30738 (char *) "self", NULL
30741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30743 if (SWIG_arg_fail(1)) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 Py_INCREF(Py_None
); resultobj
= Py_None
;
30758 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
;
30761 char *kwnames
[] = {
30765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 result
= (size_t)wxDisplay::GetCount();
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30782 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
;
30784 wxPoint
*arg1
= 0 ;
30787 PyObject
* obj0
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "pt", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30795 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30801 wxPyEndAllowThreads(__tstate
);
30802 if (PyErr_Occurred()) SWIG_fail
;
30805 resultobj
= SWIG_From_int((int)(result
));
30813 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30814 PyObject
*resultobj
;
30815 wxWindow
*arg1
= (wxWindow
*) 0 ;
30817 PyObject
* obj0
= 0 ;
30818 char *kwnames
[] = {
30819 (char *) "window", NULL
30822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(1)) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (int)Display_GetFromWindow(arg1
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= SWIG_From_int((int)(result
));
30841 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30845 PyObject
* obj0
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "self", NULL
30850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30852 if (SWIG_arg_fail(1)) SWIG_fail
;
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30869 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30870 PyObject
*resultobj
;
30871 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30873 PyObject
* obj0
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30880 if (SWIG_arg_fail(1)) SWIG_fail
;
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30889 wxRect
* resultptr
;
30890 resultptr
= new wxRect((wxRect
&)(result
));
30891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30899 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
;
30901 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30903 PyObject
* obj0
= 0 ;
30904 char *kwnames
[] = {
30905 (char *) "self", NULL
30908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30910 if (SWIG_arg_fail(1)) SWIG_fail
;
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 result
= ((wxDisplay
const *)arg1
)->GetName();
30915 wxPyEndAllowThreads(__tstate
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30931 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30942 if (SWIG_arg_fail(1)) SWIG_fail
;
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30959 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
;
30961 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30962 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30963 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self",(char *) "mode", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30973 if (SWIG_arg_fail(1)) SWIG_fail
;
30976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30977 if (SWIG_arg_fail(2)) SWIG_fail
;
30978 if (arg2
== NULL
) {
30979 SWIG_null_ref("wxVideoMode");
30981 if (SWIG_arg_fail(2)) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= result
;
30998 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30999 PyObject
*resultobj
;
31000 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31001 wxVideoMode result
;
31002 PyObject
* obj0
= 0 ;
31003 char *kwnames
[] = {
31004 (char *) "self", NULL
31007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31009 if (SWIG_arg_fail(1)) SWIG_fail
;
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31018 wxVideoMode
* resultptr
;
31019 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31028 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
;
31030 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31031 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31032 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 char *kwnames
[] = {
31037 (char *) "self",(char *) "mode", NULL
31040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31042 if (SWIG_arg_fail(1)) SWIG_fail
;
31045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31046 if (SWIG_arg_fail(2)) SWIG_fail
;
31047 if (arg2
== NULL
) {
31048 SWIG_null_ref("wxVideoMode");
31050 if (SWIG_arg_fail(2)) SWIG_fail
;
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31069 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
;
31071 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31072 PyObject
* obj0
= 0 ;
31073 char *kwnames
[] = {
31074 (char *) "self", NULL
31077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31079 if (SWIG_arg_fail(1)) SWIG_fail
;
31081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31082 (arg1
)->ResetMode();
31084 wxPyEndAllowThreads(__tstate
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 Py_INCREF(Py_None
); resultobj
= Py_None
;
31094 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31097 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31099 return Py_BuildValue((char *)"");
31101 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31102 PyObject
*resultobj
;
31103 wxStandardPaths
*result
;
31104 char *kwnames
[] = {
31108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= (wxStandardPaths
*)StandardPaths_Get();
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31123 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
;
31125 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31127 PyObject
* obj0
= 0 ;
31128 char *kwnames
[] = {
31129 (char *) "self", NULL
31132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31134 if (SWIG_arg_fail(1)) SWIG_fail
;
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31155 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
;
31157 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31159 PyObject
* obj0
= 0 ;
31160 char *kwnames
[] = {
31161 (char *) "self", NULL
31164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31166 if (SWIG_arg_fail(1)) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31187 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
;
31189 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31191 PyObject
* obj0
= 0 ;
31192 char *kwnames
[] = {
31193 (char *) "self", NULL
31196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31198 if (SWIG_arg_fail(1)) SWIG_fail
;
31200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31201 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31219 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
;
31221 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31223 PyObject
* obj0
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31230 if (SWIG_arg_fail(1)) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31251 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
;
31253 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31255 PyObject
* obj0
= 0 ;
31256 char *kwnames
[] = {
31257 (char *) "self", NULL
31260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31262 if (SWIG_arg_fail(1)) SWIG_fail
;
31264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31265 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31267 wxPyEndAllowThreads(__tstate
);
31268 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31283 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31284 PyObject
*resultobj
;
31285 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31287 PyObject
* obj0
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31294 if (SWIG_arg_fail(1)) SWIG_fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31315 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31316 PyObject
*resultobj
;
31317 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31319 PyObject
* obj0
= 0 ;
31320 char *kwnames
[] = {
31321 (char *) "self", NULL
31324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31326 if (SWIG_arg_fail(1)) SWIG_fail
;
31328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31329 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31331 wxPyEndAllowThreads(__tstate
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31347 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31348 PyObject
*resultobj
;
31349 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31350 wxString
*arg2
= 0 ;
31351 bool temp2
= false ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self",(char *) "prefix", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31360 if (SWIG_arg_fail(1)) SWIG_fail
;
31362 arg2
= wxString_in_helper(obj1
);
31363 if (arg2
== NULL
) SWIG_fail
;
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31373 Py_INCREF(Py_None
); resultobj
= Py_None
;
31388 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
;
31390 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31392 PyObject
* obj0
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31399 if (SWIG_arg_fail(1)) SWIG_fail
;
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31420 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31423 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31425 return Py_BuildValue((char *)"");
31427 static PyMethodDef SwigMethods
[] = {
31428 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31435 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31443 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31507 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31515 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31533 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31536 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31539 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31542 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31548 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31562 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31568 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31574 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31577 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31591 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31594 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31595 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31598 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31625 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31627 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31629 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31631 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31638 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31644 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31658 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31662 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31665 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31690 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31737 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31755 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31765 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31781 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31797 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31811 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31821 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31864 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31867 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31870 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31874 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31967 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31968 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31969 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31970 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31987 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32032 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32066 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32074 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32075 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32080 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32096 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32099 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32102 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32107 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32110 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32114 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32117 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32121 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32122 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32126 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32130 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32132 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32142 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32155 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32163 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32171 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32185 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32189 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32207 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32221 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32232 { NULL
, NULL
, 0, NULL
}
32236 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32238 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32241 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32242 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32244 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32245 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32247 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32248 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32250 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32251 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32253 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32254 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32256 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32257 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32259 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32260 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32262 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32263 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32265 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32266 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32268 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32271 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32272 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32274 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32275 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32277 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32280 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32281 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32283 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32284 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32286 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32287 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32289 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32290 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32292 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32293 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32295 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32296 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32298 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32299 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32301 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32302 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32304 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32305 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32307 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32308 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32310 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32311 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32313 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32314 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32316 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32317 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32319 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32320 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32322 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32323 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32325 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32326 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32328 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32329 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32331 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32332 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32334 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32335 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32337 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32338 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32340 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32341 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32343 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32344 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32346 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32347 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32349 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32350 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32352 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32353 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32355 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32356 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32358 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32359 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32361 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32362 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32364 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32365 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32367 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32368 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32370 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32371 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32373 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32374 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32376 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32377 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32379 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32380 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32382 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32383 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32385 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32386 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32388 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32389 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32391 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32392 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32394 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32395 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32397 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32398 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32400 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32401 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32403 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32404 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32406 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32407 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32409 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32410 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32412 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32413 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32415 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32416 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32418 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32419 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32421 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32422 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32424 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32425 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32427 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32428 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32430 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32431 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32433 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32436 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32437 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32439 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32440 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32442 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32443 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32445 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32446 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32448 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32449 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32451 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32452 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32454 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32455 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32457 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32458 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32460 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32461 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32463 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32464 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32466 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32467 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32469 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32470 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32472 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32473 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32475 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32476 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32478 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32481 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) ((wxSizer
*) x
));
32484 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32487 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32490 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32493 static void *_p_wxEventTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) ((wxEvent
*) x
));
32496 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32499 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32502 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32505 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32508 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32511 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32514 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32517 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32520 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32523 static void *_p_wxControlTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32526 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32529 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32532 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32535 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32538 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32541 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32544 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32547 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32550 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32553 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32556 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32559 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32562 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32565 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32568 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32571 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32574 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32577 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32580 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32583 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32586 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32589 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32592 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32595 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32598 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32601 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32604 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32607 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32610 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32613 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32616 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32619 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32622 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32625 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32628 static void *_p_wxImageTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) ((wxImage
*) x
));
32631 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32634 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32637 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32640 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32643 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32646 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32649 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32652 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32655 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32658 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32661 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32664 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32667 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32670 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32673 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32676 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32679 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32682 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32685 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32688 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32691 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32694 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32697 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32700 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32703 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32706 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32709 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32712 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32715 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32716 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32718 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32719 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32721 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32722 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32724 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32725 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32727 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32728 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32730 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32731 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32733 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32734 return (void *)((wxWindow
*) ((wxControl
*) x
));
32736 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32737 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32739 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32740 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32742 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32743 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32745 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32746 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32748 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}};
32749 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}};
32750 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}};
32751 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}};
32752 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}};
32753 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}};
32754 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}};
32755 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}};
32756 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}};
32757 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}};
32758 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}};
32759 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}};
32760 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}};
32761 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}};
32762 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}};
32763 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}};
32764 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}};
32765 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}};
32766 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}};
32767 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}};
32768 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}};
32769 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}};
32770 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}};
32771 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}};
32772 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}};
32773 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}};
32774 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}};
32775 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}};
32776 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}};
32777 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}};
32778 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}};
32779 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}};
32780 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}};
32781 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}};
32782 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}};
32783 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}};
32784 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}};
32785 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}};
32786 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}};
32787 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}};
32788 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}};
32789 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}};
32790 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}};
32791 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}};
32792 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}};
32793 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}};
32794 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}};
32795 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}};
32796 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}};
32797 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}};
32798 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}};
32799 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}};
32800 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}};
32801 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}};
32802 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}};
32803 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}};
32804 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}};
32805 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}};
32806 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}};
32807 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}};
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 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}};
32815 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}};
32816 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}};
32817 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}};
32818 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}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32824 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}};
32825 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}};
32826 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}};
32827 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}};
32828 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}};
32829 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}};
32830 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}};
32831 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}};
32832 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}};
32833 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}};
32834 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}};
32835 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}};
32836 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}};
32837 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}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32845 static swig_type_info
*swig_types_initial
[] = {
32846 _swigt__p_wxLogChain
,
32847 _swigt__p_wxMutexGuiLocker
,
32848 _swigt__p_wxFileHistory
,
32852 _swigt__p_wxDateTime__TimeZone
,
32853 _swigt__p_wxConfigBase
,
32854 _swigt__p_wxDisplay
,
32855 _swigt__p_wxFileType
,
32856 _swigt__p_wxLogGui
,
32858 _swigt__p_wxDataFormat
,
32859 _swigt__p_wxTimerEvent
,
32862 _swigt__std__ptrdiff_t
,
32865 _swigt__p_wxClipboard
,
32866 _swigt__p_wxStopWatch
,
32868 _swigt__p_wxClipboardLocker
,
32870 _swigt__p_wxLogStderr
,
32871 _swigt__p_wxLogTextCtrl
,
32872 _swigt__p_wxTextCtrl
,
32873 _swigt__p_wxBusyCursor
,
32874 _swigt__p_wxBitmapDataObject
,
32875 _swigt__p_wxTextDataObject
,
32876 _swigt__p_wxDataObject
,
32877 _swigt__p_wxPyTextDataObject
,
32878 _swigt__p_wxPyBitmapDataObject
,
32879 _swigt__p_wxFileDataObject
,
32880 _swigt__p_wxCustomDataObject
,
32881 _swigt__p_wxURLDataObject
,
32882 _swigt__p_wxMetafileDataObject
,
32884 _swigt__p_wxTimerRunner
,
32885 _swigt__p_wxLogWindow
,
32886 _swigt__p_wxTimeSpan
,
32887 _swigt__p_wxArrayString
,
32888 _swigt__p_wxWindowDisabler
,
32889 _swigt__p_form_ops_t
,
32890 _swigt__p_wxToolTip
,
32891 _swigt__p_wxDataObjectComposite
,
32892 _swigt__p_wxSystemSettings
,
32893 _swigt__p_wxFileConfig
,
32894 _swigt__p_wxVideoMode
,
32895 _swigt__p_wxDataObjectSimple
,
32896 _swigt__p_wxPyDataObjectSimple
,
32897 _swigt__p_wxDuplexMode
,
32898 _swigt__p_wxEvtHandler
,
32901 _swigt__p_wxSingleInstanceChecker
,
32902 _swigt__p_wxStandardPaths
,
32903 _swigt__p_wxFileTypeInfo
,
32906 _swigt__p_wxPaperSize
,
32907 _swigt__p_wxMimeTypesManager
,
32908 _swigt__p_wxPyArtProvider
,
32909 _swigt__p_wxPyTipProvider
,
32910 _swigt__p_wxTipProvider
,
32911 _swigt__p_wxJoystick
,
32912 _swigt__p_wxSystemOptions
,
32914 _swigt__p_wxJoystickEvent
,
32915 _swigt__p_wxCursor
,
32916 _swigt__p_wxObject
,
32917 _swigt__p_wxOutputStream
,
32918 _swigt__p_wxDateTime
,
32919 _swigt__p_wxPyDropSource
,
32920 _swigt__p_unsigned_long
,
32921 _swigt__p_wxKillError
,
32922 _swigt__p_wxWindow
,
32923 _swigt__p_wxString
,
32924 _swigt__p_wxPyProcess
,
32925 _swigt__p_wxBitmap
,
32926 _swigt__p_wxConfig
,
32927 _swigt__unsigned_int
,
32928 _swigt__p_unsigned_int
,
32929 _swigt__p_unsigned_char
,
32931 _swigt__p_wxBusyInfo
,
32932 _swigt__p_wxPyDropTarget
,
32933 _swigt__p_wxPyTextDropTarget
,
32934 _swigt__p_wxPyFileDropTarget
,
32935 _swigt__p_wxProcessEvent
,
32937 _swigt__p_wxLogNull
,
32938 _swigt__p_wxColour
,
32939 _swigt__p_wxPyTimer
,
32940 _swigt__p_wxConfigPathChanger
,
32941 _swigt__p_wxDateSpan
,
32946 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32948 static swig_const_info swig_const_table
[] = {
32949 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32950 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32951 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32952 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32953 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32954 {0, 0, 0, 0.0, 0, 0}};
32965 /* Python-specific SWIG API */
32966 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32967 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32968 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32970 /* -----------------------------------------------------------------------------
32971 * global variable support code.
32972 * ----------------------------------------------------------------------------- */
32974 typedef struct swig_globalvar
{
32975 char *name
; /* Name of global variable */
32976 PyObject
*(*get_attr
)(); /* Return the current value */
32977 int (*set_attr
)(PyObject
*); /* Set the value */
32978 struct swig_globalvar
*next
;
32981 typedef struct swig_varlinkobject
{
32983 swig_globalvar
*vars
;
32984 } swig_varlinkobject
;
32987 swig_varlink_repr(swig_varlinkobject
*v
) {
32989 return PyString_FromString("<Swig global variables>");
32993 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32994 swig_globalvar
*var
;
32996 fprintf(fp
,"Swig global variables { ");
32997 for (var
= v
->vars
; var
; var
=var
->next
) {
32998 fprintf(fp
,"%s", var
->name
);
32999 if (var
->next
) fprintf(fp
,", ");
33001 fprintf(fp
," }\n");
33006 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33007 swig_globalvar
*var
= v
->vars
;
33009 if (strcmp(var
->name
,n
) == 0) {
33010 return (*var
->get_attr
)();
33014 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33019 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33020 swig_globalvar
*var
= v
->vars
;
33022 if (strcmp(var
->name
,n
) == 0) {
33023 return (*var
->set_attr
)(p
);
33027 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33031 static PyTypeObject varlinktype
= {
33032 PyObject_HEAD_INIT(0)
33033 0, /* Number of items in variable part (ob_size) */
33034 (char *)"swigvarlink", /* Type name (tp_name) */
33035 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33036 0, /* Itemsize (tp_itemsize) */
33037 0, /* Deallocator (tp_dealloc) */
33038 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33039 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33040 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33041 0, /* tp_compare */
33042 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33043 0, /* tp_as_number */
33044 0, /* tp_as_sequence */
33045 0, /* tp_as_mapping */
33049 0, /* tp_getattro */
33050 0, /* tp_setattro */
33051 0, /* tp_as_buffer */
33054 #if PY_VERSION_HEX >= 0x02000000
33055 0, /* tp_traverse */
33058 #if PY_VERSION_HEX >= 0x02010000
33059 0, /* tp_richcompare */
33060 0, /* tp_weaklistoffset */
33062 #if PY_VERSION_HEX >= 0x02020000
33063 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33065 #if PY_VERSION_HEX >= 0x02030000
33068 #ifdef COUNT_ALLOCS
33069 0,0,0,0 /* tp_alloc -> tp_next */
33073 /* Create a variable linking object for use later */
33075 SWIG_Python_newvarlink(void) {
33076 swig_varlinkobject
*result
= 0;
33077 result
= PyMem_NEW(swig_varlinkobject
,1);
33078 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33079 result
->ob_type
= &varlinktype
;
33081 result
->ob_refcnt
= 0;
33082 Py_XINCREF((PyObject
*) result
);
33083 return ((PyObject
*) result
);
33087 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33088 swig_varlinkobject
*v
;
33089 swig_globalvar
*gv
;
33090 v
= (swig_varlinkobject
*) p
;
33091 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33092 gv
->name
= (char *) malloc(strlen(name
)+1);
33093 strcpy(gv
->name
,name
);
33094 gv
->get_attr
= get_attr
;
33095 gv
->set_attr
= set_attr
;
33096 gv
->next
= v
->vars
;
33100 /* -----------------------------------------------------------------------------
33101 * constants/methods manipulation
33102 * ----------------------------------------------------------------------------- */
33104 /* Install Constants */
33106 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33109 for (i
= 0; constants
[i
].type
; i
++) {
33110 switch(constants
[i
].type
) {
33112 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33114 case SWIG_PY_FLOAT
:
33115 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33117 case SWIG_PY_STRING
:
33118 if (constants
[i
].pvalue
) {
33119 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33121 Py_INCREF(Py_None
);
33125 case SWIG_PY_POINTER
:
33126 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33128 case SWIG_PY_BINARY
:
33129 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33136 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33142 /* -----------------------------------------------------------------------------*/
33143 /* Fix SwigMethods to carry the callback ptrs when needed */
33144 /* -----------------------------------------------------------------------------*/
33147 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33148 swig_const_info
*const_table
,
33149 swig_type_info
**types
,
33150 swig_type_info
**types_initial
) {
33152 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33153 char *c
= methods
[i
].ml_doc
;
33154 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33156 swig_const_info
*ci
= 0;
33157 char *name
= c
+ 10;
33158 for (j
= 0; const_table
[j
].type
; j
++) {
33159 if (strncmp(const_table
[j
].name
, name
,
33160 strlen(const_table
[j
].name
)) == 0) {
33161 ci
= &(const_table
[j
]);
33166 size_t shift
= (ci
->ptype
) - types
;
33167 swig_type_info
*ty
= types_initial
[shift
];
33168 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33169 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33170 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33172 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33173 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33175 strncpy(buff
, "swig_ptr: ", 10);
33177 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33178 methods
[i
].ml_doc
= ndoc
;
33184 /* -----------------------------------------------------------------------------*
33185 * Initialize type list
33186 * -----------------------------------------------------------------------------*/
33188 #if PY_MAJOR_VERSION < 2
33189 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33190 is copied out of Python/modsupport.c in python version 2.3.4 */
33192 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33195 if (!PyModule_Check(m
)) {
33196 PyErr_SetString(PyExc_TypeError
,
33197 "PyModule_AddObject() needs module as first arg");
33201 PyErr_SetString(PyExc_TypeError
,
33202 "PyModule_AddObject() needs non-NULL value");
33206 dict
= PyModule_GetDict(m
);
33207 if (dict
== NULL
) {
33208 /* Internal error -- modules must have a dict! */
33209 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33210 PyModule_GetName(m
));
33213 if (PyDict_SetItemString(dict
, name
, o
))
33220 static swig_type_info
**
33221 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33222 static PyMethodDef swig_empty_runtime_method_table
[] = {
33224 NULL
, NULL
, 0, NULL
33228 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33229 swig_empty_runtime_method_table
);
33230 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33231 if (pointer
&& module) {
33232 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33234 return type_list_handle
;
33237 static swig_type_info
**
33238 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33239 swig_type_info
**type_pointer
;
33241 /* first check if module already created */
33242 type_pointer
= SWIG_Python_GetTypeListHandle();
33243 if (type_pointer
) {
33244 return type_pointer
;
33246 /* create a new module and variable */
33247 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33255 /* -----------------------------------------------------------------------------*
33256 * Partial Init method
33257 * -----------------------------------------------------------------------------*/
33259 #ifdef SWIG_LINK_RUNTIME
33263 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33269 SWIGEXPORT(void) SWIG_init(void) {
33270 static PyObject
*SWIG_globals
= 0;
33271 static int typeinit
= 0;
33274 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33276 /* Fix SwigMethods to carry the callback ptrs when needed */
33277 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33279 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33280 d
= PyModule_GetDict(m
);
33283 #ifdef SWIG_LINK_RUNTIME
33284 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33286 # ifndef SWIG_STATIC_RUNTIME
33287 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33290 for (i
= 0; swig_types_initial
[i
]; i
++) {
33291 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33295 SWIG_InstallConstants(d
,swig_const_table
);
33298 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33301 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33304 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33307 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33310 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33313 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33316 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33319 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33322 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33325 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33328 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33331 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33334 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33337 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33340 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33343 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33346 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33349 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33352 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33355 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33358 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33361 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33364 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33367 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33370 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33373 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33376 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33379 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33382 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33385 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33388 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33391 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33394 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33397 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33400 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33403 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33406 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33409 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33412 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33415 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33418 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33421 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33424 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33427 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33430 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33433 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33436 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33439 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33442 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33445 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33448 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33451 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33454 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33457 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33460 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33463 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33466 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33469 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33472 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33475 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33478 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33481 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33484 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33487 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33490 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33493 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33496 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33499 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33502 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33505 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33508 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33511 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33514 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33517 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33520 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33523 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33526 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33529 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33532 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33535 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33538 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33541 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33544 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33547 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33550 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33553 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33556 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33559 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33562 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33565 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33568 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33570 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33571 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33572 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33573 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33574 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33576 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33579 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33582 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33585 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33587 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33589 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33592 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33595 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33598 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33601 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33604 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33607 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33610 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33613 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33616 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33619 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33622 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33624 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33625 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33626 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33627 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33628 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33630 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33633 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33636 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33639 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33642 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33645 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33648 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33651 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33654 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33657 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33660 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33663 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33666 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33669 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33672 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33675 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33678 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33681 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33684 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33687 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33690 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33693 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33696 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33699 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33702 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33705 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33708 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33711 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33714 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33717 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33720 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33722 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33724 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33727 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33730 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33733 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33736 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33739 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33742 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33745 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33748 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33751 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33754 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33757 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33760 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33762 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33763 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33764 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33765 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33767 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33770 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33773 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33776 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33779 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33782 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33785 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33788 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33790 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33793 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33794 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33795 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33796 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33797 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33798 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33799 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33800 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33801 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33802 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33803 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33804 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33805 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33806 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33807 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33808 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33809 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33810 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33811 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33812 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33813 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33814 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33815 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33816 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33817 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33818 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33819 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33820 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33821 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33822 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33823 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33824 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33825 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33826 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33827 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33828 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33829 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33830 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33831 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33847 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33850 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33853 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33856 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33859 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33862 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33865 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33868 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33871 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33874 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33876 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33877 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33879 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33882 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33885 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33888 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33891 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33894 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33897 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33900 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33903 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33906 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33909 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33912 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33915 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33918 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33921 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33924 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33927 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33930 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33933 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33936 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33939 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33942 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33945 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33948 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33951 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33954 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33957 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33960 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33963 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33966 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33969 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33972 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33975 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33978 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33981 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33984 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33987 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33990 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33993 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33996 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33999 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34002 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34005 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34008 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34011 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34014 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34017 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34020 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34023 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34026 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34029 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34032 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34035 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34038 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34041 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34044 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34047 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34050 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34053 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34056 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34059 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34062 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34065 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34068 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34071 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34074 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34077 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34080 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34083 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34086 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34089 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34092 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34095 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34098 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34101 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34104 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34107 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34110 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34113 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34116 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34119 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34122 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34125 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34128 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34131 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34134 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34137 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34140 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34143 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34146 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34149 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34152 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34155 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34158 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34161 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34164 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34167 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34170 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34173 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34176 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34179 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34182 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34185 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34188 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34191 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34194 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34197 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34200 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34203 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34206 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34209 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34212 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34215 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34218 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34221 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34224 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34227 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34230 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34233 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34236 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34239 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34242 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34245 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34248 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34251 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34254 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34257 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34260 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34263 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34266 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34269 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34272 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34275 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34278 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34281 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34284 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34287 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34290 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34293 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34296 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34299 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34302 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34305 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34308 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34311 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34314 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34317 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34320 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34323 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34326 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34329 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34332 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34335 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34338 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34341 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34343 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34345 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34348 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34351 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34354 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34357 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34360 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34363 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34366 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34369 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34372 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34375 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34378 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34381 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34384 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34387 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34390 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34393 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34396 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34399 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34402 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34404 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34406 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34409 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34412 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34415 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34418 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34421 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34424 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34427 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34430 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34433 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34436 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34439 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34442 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34443 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34444 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34445 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34447 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);