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_wxClipboardLocker swig_types[21]
1363 #define SWIGTYPE_p_wxIcon swig_types[22]
1364 #define SWIGTYPE_p_wxLogStderr swig_types[23]
1365 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
1366 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
1367 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
1368 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
1369 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
1370 #define SWIGTYPE_p_wxDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxPyTextDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxSound swig_types[36]
1378 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
1379 #define SWIGTYPE_p_wxLogWindow swig_types[38]
1380 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
1381 #define SWIGTYPE_p_wxArrayString swig_types[40]
1382 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
1383 #define SWIGTYPE_p_form_ops_t swig_types[42]
1384 #define SWIGTYPE_p_wxToolTip swig_types[43]
1385 #define SWIGTYPE_p_wxDataObjectComposite swig_types[44]
1386 #define SWIGTYPE_p_wxFileConfig swig_types[45]
1387 #define SWIGTYPE_p_wxSystemSettings swig_types[46]
1388 #define SWIGTYPE_p_wxVideoMode swig_types[47]
1389 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
1390 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[49]
1391 #define SWIGTYPE_p_wxDuplexMode swig_types[50]
1392 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
1393 #define SWIGTYPE_p_wxRect swig_types[52]
1394 #define SWIGTYPE_p_char swig_types[53]
1395 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[54]
1396 #define SWIGTYPE_p_wxStandardPaths swig_types[55]
1397 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1398 #define SWIGTYPE_p_wxFrame swig_types[57]
1399 #define SWIGTYPE_p_wxTimer swig_types[58]
1400 #define SWIGTYPE_p_wxPaperSize swig_types[59]
1401 #define SWIGTYPE_p_wxMimeTypesManager swig_types[60]
1402 #define SWIGTYPE_p_wxPyArtProvider swig_types[61]
1403 #define SWIGTYPE_p_wxPyTipProvider swig_types[62]
1404 #define SWIGTYPE_p_wxTipProvider swig_types[63]
1405 #define SWIGTYPE_p_wxJoystick swig_types[64]
1406 #define SWIGTYPE_p_wxSystemOptions swig_types[65]
1407 #define SWIGTYPE_p_wxPoint swig_types[66]
1408 #define SWIGTYPE_p_wxJoystickEvent swig_types[67]
1409 #define SWIGTYPE_p_wxCursor swig_types[68]
1410 #define SWIGTYPE_p_wxObject swig_types[69]
1411 #define SWIGTYPE_p_wxOutputStream swig_types[70]
1412 #define SWIGTYPE_p_wxDateTime swig_types[71]
1413 #define SWIGTYPE_p_wxPyDropSource swig_types[72]
1414 #define SWIGTYPE_p_unsigned_long swig_types[73]
1415 #define SWIGTYPE_p_wxKillError swig_types[74]
1416 #define SWIGTYPE_p_wxWindow swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyProcess swig_types[77]
1419 #define SWIGTYPE_p_wxBitmap swig_types[78]
1420 #define SWIGTYPE_p_wxConfig swig_types[79]
1421 #define SWIGTYPE_unsigned_int swig_types[80]
1422 #define SWIGTYPE_p_unsigned_int swig_types[81]
1423 #define SWIGTYPE_p_unsigned_char swig_types[82]
1424 #define SWIGTYPE_p_wxChar swig_types[83]
1425 #define SWIGTYPE_p_wxBusyInfo swig_types[84]
1426 #define SWIGTYPE_p_wxPyDropTarget swig_types[85]
1427 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[86]
1428 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxProcessEvent swig_types[88]
1430 #define SWIGTYPE_p_wxPyLog swig_types[89]
1431 #define SWIGTYPE_p_wxLogNull swig_types[90]
1432 #define SWIGTYPE_p_wxColour swig_types[91]
1433 #define SWIGTYPE_p_wxPyTimer swig_types[92]
1434 #define SWIGTYPE_p_wxConfigPathChanger swig_types[93]
1435 #define SWIGTYPE_p_wxDateSpan swig_types[94]
1436 static swig_type_info
*swig_types
[96];
1438 /* -------- TYPES TABLE (END) -------- */
1441 /*-----------------------------------------------
1442 @(target):= _misc_.so
1443 ------------------------------------------------*/
1444 #define SWIG_init init_misc_
1446 #define SWIG_name "_misc_"
1448 #include "wx/wxPython/wxPython.h"
1449 #include "wx/wxPython/pyclasses.h"
1450 #include "wx/wxPython/pyistream.h"
1452 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1457 #define SWIG_From_int PyInt_FromLong
1465 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1468 if (value
< min_value
) {
1470 PyErr_Format(PyExc_OverflowError
,
1471 "value %ld is less than '%s' minimum %ld",
1472 value
, errmsg
, min_value
);
1475 } else if (value
> max_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is greater than '%s' maximum %ld",
1479 value
, errmsg
, max_value
);
1488 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1490 if (PyNumber_Check(obj
)) {
1491 if (val
) *val
= PyInt_AsLong(obj
);
1495 SWIG_type_error("number", obj
);
1501 #if INT_MAX != LONG_MAX
1503 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1505 const char* errmsg
= val
? "int" : (char*)0;
1507 if (SWIG_AsVal_long(obj
, &v
)) {
1508 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1509 if (val
) *val
= (int)(v
);
1518 SWIG_type_error(errmsg
, obj
);
1524 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1526 return SWIG_AsVal_long(obj
,(long*)val
);
1532 SWIG_As_int(PyObject
* obj
)
1535 if (!SWIG_AsVal_int(obj
, &v
)) {
1537 this is needed to make valgrind/purify happier.
1539 memset((void*)&v
, 0, sizeof(int));
1546 SWIG_Check_int(PyObject
* obj
)
1548 return SWIG_AsVal_int(obj
, (int*)0);
1551 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1553 #include <wx/stockitem.h>
1555 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1556 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1557 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1559 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1560 #define SWIG_From_long PyInt_FromLong
1564 SWIGINTERNSHORT
long
1565 SWIG_As_long(PyObject
* obj
)
1568 if (!SWIG_AsVal_long(obj
, &v
)) {
1570 this is needed to make valgrind/purify happier.
1572 memset((void*)&v
, 0, sizeof(long));
1579 SWIG_Check_long(PyObject
* obj
)
1581 return SWIG_AsVal_long(obj
, (long*)0);
1586 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1588 if (obj
== Py_True
) {
1589 if (val
) *val
= true;
1592 if (obj
== Py_False
) {
1593 if (val
) *val
= false;
1597 if (SWIG_AsVal_int(obj
, &res
)) {
1598 if (val
) *val
= res
? true : false;
1604 SWIG_type_error("bool", obj
);
1610 SWIGINTERNSHORT
bool
1611 SWIG_As_bool(PyObject
* obj
)
1614 if (!SWIG_AsVal_bool(obj
, &v
)) {
1616 this is needed to make valgrind/purify happier.
1618 memset((void*)&v
, 0, sizeof(bool));
1625 SWIG_Check_bool(PyObject
* obj
)
1627 return SWIG_AsVal_bool(obj
, (bool*)0);
1631 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1637 } else if (target
== Py_None
) {
1641 if (!PyTuple_Check(target
)) {
1643 target
= PyTuple_New(1);
1644 PyTuple_SetItem(target
, 0, o2
);
1646 o3
= PyTuple_New(1);
1647 PyTuple_SetItem(o3
, 0, o
);
1650 target
= PySequence_Concat(o2
, o3
);
1659 long wxGetFreeMemory()
1660 { wxPyRaiseNotImplemented(); return 0; }
1664 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1667 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1668 SWIG_type_error("unsigned number", obj
);
1671 *val
= (unsigned long)v
;
1676 SWIGINTERNSHORT
unsigned long
1677 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1680 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1682 this is needed to make valgrind/purify happier.
1684 memset((void*)&v
, 0, sizeof(unsigned long));
1691 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1693 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1697 SWIGINTERNSHORT PyObject
*
1698 SWIG_From_unsigned_SS_long(unsigned long value
)
1700 return (value
> LONG_MAX
) ?
1701 PyLong_FromUnsignedLong(value
)
1702 : PyInt_FromLong((long)(value
));
1706 void wxWakeUpMainThread() {}
1709 bool wxThread_IsMain() {
1710 #ifdef WXP_WITH_THREAD
1711 return wxThread::IsMain();
1717 static void wxCaret_Destroy(wxCaret
*self
){
1721 #include <wx/snglinst.h>
1724 #include <wx/tipdlg.h>
1727 class wxPyTipProvider
: public wxTipProvider
{
1729 wxPyTipProvider(size_t currentTip
)
1730 : wxTipProvider(currentTip
) {}
1732 DEC_PYCALLBACK_STRING__pure(GetTip
);
1733 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1737 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1738 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1741 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1743 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1745 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1746 : wxTimer(owner
, id
)
1748 if (owner
== NULL
) SetOwner(this);
1752 void wxPyTimer::Notify() {
1754 bool blocked
= wxPyBeginBlockThreads();
1755 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1756 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1757 wxPyEndBlockThreads(blocked
);
1761 void wxPyTimer::base_Notify() {
1767 SWIGINTERN PyObject
*
1768 SWIG_FromCharPtr(const char* cptr
)
1771 size_t size
= strlen(cptr
);
1772 if (size
> INT_MAX
) {
1773 return SWIG_NewPointerObj((char*)(cptr
),
1774 SWIG_TypeQuery("char *"), 0);
1777 return PyString_FromStringAndSize(cptr
, size
);
1779 return PyString_FromString(cptr
);
1789 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1790 unsigned long max_value
,
1793 if (value
> max_value
) {
1795 PyErr_Format(PyExc_OverflowError
,
1796 "value %lu is greater than '%s' minimum %lu",
1797 value
, errmsg
, max_value
);
1805 #if UINT_MAX != ULONG_MAX
1807 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1809 const char* errmsg
= val
? "unsigned int" : (char*)0;
1811 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1812 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1813 if (val
) *val
= (unsigned int)(v
);
1820 SWIG_type_error(errmsg
, obj
);
1825 SWIGINTERNSHORT
unsigned int
1826 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1828 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1833 SWIGINTERNSHORT
unsigned int
1834 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1837 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1839 this is needed to make valgrind/purify happier.
1841 memset((void*)&v
, 0, sizeof(unsigned int));
1848 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1850 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1853 static wxString
Log_TimeStamp(){
1855 wxLog::TimeStamp(&msg
);
1858 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1859 // Make somce wrappers that double any % signs so they are 'escaped'
1860 void wxPyLogFatalError(const wxString
& msg
)
1863 m
.Replace(wxT("%"), wxT("%%"));
1867 void wxPyLogError(const wxString
& msg
)
1870 m
.Replace(wxT("%"), wxT("%%"));
1874 void wxPyLogWarning(const wxString
& msg
)
1877 m
.Replace(wxT("%"), wxT("%%"));
1881 void wxPyLogMessage(const wxString
& msg
)
1884 m
.Replace(wxT("%"), wxT("%%"));
1888 void wxPyLogInfo(const wxString
& msg
)
1891 m
.Replace(wxT("%"), wxT("%%"));
1895 void wxPyLogDebug(const wxString
& msg
)
1898 m
.Replace(wxT("%"), wxT("%%"));
1902 void wxPyLogVerbose(const wxString
& msg
)
1905 m
.Replace(wxT("%"), wxT("%%"));
1909 void wxPyLogStatus(const wxString
& msg
)
1912 m
.Replace(wxT("%"), wxT("%%"));
1916 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
1919 m
.Replace(wxT("%"), wxT("%%"));
1920 wxLogStatus(pFrame
, m
);
1923 void wxPyLogSysError(const wxString
& msg
)
1926 m
.Replace(wxT("%"), wxT("%%"));
1930 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
1933 m
.Replace(wxT("%"), wxT("%%"));
1934 wxLogGeneric(level
, m
);
1937 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
1940 m
.Replace(wxT("%"), wxT("%%"));
1941 wxLogTrace(mask
, m
);
1944 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
1947 m
.Replace(wxT("%"), wxT("%%"));
1948 wxLogTrace(mask
, m
);
1953 // A wxLog class that can be derived from in wxPython
1954 class wxPyLog
: public wxLog
{
1956 wxPyLog() : wxLog() {}
1958 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
1960 bool blocked
= wxPyBeginBlockThreads();
1961 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
1962 PyObject
* s
= wx2PyString(szString
);
1963 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
1966 wxPyEndBlockThreads(blocked
);
1968 wxLog::DoLog(level
, szString
, t
);
1971 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
1973 bool blocked
= wxPyBeginBlockThreads();
1974 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
1975 PyObject
* s
= wx2PyString(szString
);
1976 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
1979 wxPyEndBlockThreads(blocked
);
1981 wxLog::DoLogString(szString
, t
);
1990 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
1993 #include <wx/joystick.h>
1996 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
1997 // A C++ stub class for wxJoystick for platforms that don't have it.
1998 class wxJoystick
: public wxObject
{
2000 wxJoystick(int joystick
= wxJOYSTICK1
) {
2001 bool blocked
= wxPyBeginBlockThreads();
2002 PyErr_SetString(PyExc_NotImplementedError
,
2003 "wxJoystick is not available on this platform.");
2004 wxPyEndBlockThreads(blocked
);
2006 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2007 int GetZPosition() { return -1; }
2008 int GetButtonState() { return -1; }
2009 int GetPOVPosition() { return -1; }
2010 int GetPOVCTSPosition() { return -1; }
2011 int GetRudderPosition() { return -1; }
2012 int GetUPosition() { return -1; }
2013 int GetVPosition() { return -1; }
2014 int GetMovementThreshold() { return -1; }
2015 void SetMovementThreshold(int threshold
) {}
2017 bool IsOk(void) { return false; }
2018 int GetNumberJoysticks() { return -1; }
2019 int GetManufacturerId() { return -1; }
2020 int GetProductId() { return -1; }
2021 wxString
GetProductName() { return wxEmptyString
; }
2022 int GetXMin() { return -1; }
2023 int GetYMin() { return -1; }
2024 int GetZMin() { return -1; }
2025 int GetXMax() { return -1; }
2026 int GetYMax() { return -1; }
2027 int GetZMax() { return -1; }
2028 int GetNumberButtons() { return -1; }
2029 int GetNumberAxes() { return -1; }
2030 int GetMaxButtons() { return -1; }
2031 int GetMaxAxes() { return -1; }
2032 int GetPollingMin() { return -1; }
2033 int GetPollingMax() { return -1; }
2034 int GetRudderMin() { return -1; }
2035 int GetRudderMax() { return -1; }
2036 int GetUMin() { return -1; }
2037 int GetUMax() { return -1; }
2038 int GetVMin() { return -1; }
2039 int GetVMax() { return -1; }
2041 bool HasRudder() { return false; }
2042 bool HasZ() { return false; }
2043 bool HasU() { return false; }
2044 bool HasV() { return false; }
2045 bool HasPOV() { return false; }
2046 bool HasPOV4Dir() { return false; }
2047 bool HasPOVCTS() { return false; }
2049 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2050 bool ReleaseCapture() { return false; }
2055 #include <wx/sound.h>
2059 // A C++ stub class for wxWave for platforms that don't have it.
2060 class wxSound
: public wxObject
2064 bool blocked
= wxPyBeginBlockThreads();
2065 PyErr_SetString(PyExc_NotImplementedError
,
2066 "wxSound is not available on this platform.");
2067 wxPyEndBlockThreads(blocked
);
2069 wxSound(const wxString
&/*, bool*/) {
2070 bool blocked
= wxPyBeginBlockThreads();
2071 PyErr_SetString(PyExc_NotImplementedError
,
2072 "wxSound is not available on this platform.");
2073 wxPyEndBlockThreads(blocked
);
2075 wxSound(int, const wxByte
*) {
2076 bool blocked
= wxPyBeginBlockThreads();
2077 PyErr_SetString(PyExc_NotImplementedError
,
2078 "wxSound is not available on this platform.");
2079 wxPyEndBlockThreads(blocked
);
2084 bool Create(const wxString
&/*, bool*/) { return false; }
2085 bool Create(int, const wxByte
*) { return false; };
2086 bool IsOk() { return false; };
2087 bool Play(unsigned) const { return false; }
2088 static bool Play(const wxString
&, unsigned) { return false; }
2089 static void Stop() {}
2094 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2095 if (fileName
.Length() == 0)
2098 return new wxSound(fileName
);
2100 static wxSound
*new_wxSound(PyObject
*data
){
2101 unsigned char* buffer
; int size
;
2102 wxSound
*sound
= NULL
;
2104 bool blocked
= wxPyBeginBlockThreads();
2105 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2107 sound
= new wxSound(size
, buffer
);
2109 wxPyEndBlockThreads(blocked
);
2112 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2114 unsigned char* buffer
;
2118 bool blocked
= wxPyBeginBlockThreads();
2119 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2121 rv
= self
->Create(size
, buffer
);
2123 wxPyEndBlockThreads(blocked
);
2126 bool blocked
= wxPyBeginBlockThreads();
2127 PyErr_SetString(PyExc_NotImplementedError
,
2128 "Create from data is not available on this platform.");
2129 wxPyEndBlockThreads(blocked
);
2134 #include <wx/mimetype.h>
2136 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2138 if (self
->GetMimeType(&str
))
2139 return wx2PyString(str
);
2143 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2145 if (self
->GetMimeTypes(arr
))
2146 return wxArrayString2PyList_helper(arr
);
2150 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2152 if (self
->GetExtensions(arr
))
2153 return wxArrayString2PyList_helper(arr
);
2157 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2159 if (self
->GetIcon(&loc
))
2160 return new wxIcon(loc
);
2164 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2166 if (self
->GetIcon(&loc
)) {
2167 wxString iconFile
= loc
.GetFileName();
2172 // Make a tuple and put the values in it
2173 bool blocked
= wxPyBeginBlockThreads();
2174 PyObject
* tuple
= PyTuple_New(3);
2175 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2176 wxT("wxIcon"), true));
2177 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2178 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2179 wxPyEndBlockThreads(blocked
);
2185 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2187 if (self
->GetDescription(&str
))
2188 return wx2PyString(str
);
2192 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2194 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2195 return wx2PyString(str
);
2199 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2201 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2202 return wx2PyString(str
);
2206 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2207 wxArrayString verbs
;
2208 wxArrayString commands
;
2209 if (self
->GetAllCommands(&verbs
, &commands
,
2210 wxFileType::MessageParameters(filename
, mimetype
))) {
2211 bool blocked
= wxPyBeginBlockThreads();
2212 PyObject
* tuple
= PyTuple_New(2);
2213 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2214 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2215 wxPyEndBlockThreads(blocked
);
2221 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2222 return wxFileType::ExpandCommand(command
,
2223 wxFileType::MessageParameters(filename
, mimetype
));
2225 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2227 self
->EnumAllFileTypes(arr
);
2228 return wxArrayString2PyList_helper(arr
);
2231 #include <wx/artprov.h>
2233 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2234 static const wxString
wxPyART_MENU(wxART_MENU
);
2235 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2236 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2237 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2238 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2239 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2240 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2241 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2242 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2243 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2244 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2245 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2246 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2247 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2248 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2249 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2250 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2251 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2252 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2253 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2254 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2255 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2256 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2257 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2258 static const wxString
wxPyART_HELP(wxART_HELP
);
2259 static const wxString
wxPyART_TIP(wxART_TIP
);
2260 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2261 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2262 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2263 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2264 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2265 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2266 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2267 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2268 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2269 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2270 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2271 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2272 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2273 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2274 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2275 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2276 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2277 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2278 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2279 static const wxString
wxPyART_COPY(wxART_COPY
);
2280 static const wxString
wxPyART_CUT(wxART_CUT
);
2281 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2282 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2283 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2284 static const wxString
wxPyART_REDO(wxART_REDO
);
2285 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2286 static const wxString
wxPyART_FIND(wxART_FIND
);
2287 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2288 // Python aware wxArtProvider
2289 class wxPyArtProvider
: public wxArtProvider
{
2292 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2293 const wxArtClient
& client
,
2294 const wxSize
& size
) {
2295 wxBitmap rval
= wxNullBitmap
;
2296 bool blocked
= wxPyBeginBlockThreads();
2297 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2298 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2302 s1
= wx2PyString(id
);
2303 s2
= wx2PyString(client
);
2304 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2309 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2314 wxPyEndBlockThreads(blocked
);
2321 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2325 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2326 PyObject
* ret
= PyTuple_New(3);
2328 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2329 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2330 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2335 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2340 cont
= self
->GetFirstGroup(value
, index
);
2341 return __EnumerationHelper(cont
, value
, index
);
2343 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2347 cont
= self
->GetNextGroup(value
, index
);
2348 return __EnumerationHelper(cont
, value
, index
);
2350 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2355 cont
= self
->GetFirstEntry(value
, index
);
2356 return __EnumerationHelper(cont
, value
, index
);
2358 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2362 cont
= self
->GetNextEntry(value
, index
);
2363 return __EnumerationHelper(cont
, value
, index
);
2365 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2367 self
->Read(key
, &rv
, defaultVal
);
2372 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2374 if (PyNumber_Check(obj
)) {
2375 if (val
) *val
= PyFloat_AsDouble(obj
);
2379 SWIG_type_error("number", obj
);
2385 SWIGINTERNSHORT
double
2386 SWIG_As_double(PyObject
* obj
)
2389 if (!SWIG_AsVal_double(obj
, &v
)) {
2391 this is needed to make valgrind/purify happier.
2393 memset((void*)&v
, 0, sizeof(double));
2400 SWIG_Check_double(PyObject
* obj
)
2402 return SWIG_AsVal_double(obj
, (double*)0);
2405 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2407 self
->Read(key
, &rv
, defaultVal
);
2411 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2412 #define SWIG_From_double PyFloat_FromDouble
2415 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2417 self
->Read(key
, &rv
, defaultVal
);
2421 #include <wx/datetime.h>
2423 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2424 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2426 #define LOCAL_TZ wxDateTime::Local
2429 #if UINT_MAX < LONG_MAX
2430 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2431 #define SWIG_From_unsigned_SS_int SWIG_From_long
2434 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2435 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2439 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2440 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2441 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2442 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2443 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2444 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2445 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2446 return (*self
< *other
);
2448 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2449 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2450 return (*self
<= *other
);
2452 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2453 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2454 return (*self
> *other
);
2456 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2457 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2458 return (*self
>= *other
);
2460 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2461 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2462 return (*self
== *other
);
2464 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2465 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2466 return (*self
!= *other
);
2468 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2470 const wxChar
* _date
= date
;
2471 rv
= self
->ParseRfc822Date(_date
);
2472 if (rv
== NULL
) return -1;
2475 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2477 const wxChar
* _date
= date
;
2478 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2479 if (rv
== NULL
) return -1;
2482 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2484 const wxChar
* _datetime
= datetime
;
2485 rv
= self
->ParseDateTime(_datetime
);
2486 if (rv
== NULL
) return -1;
2487 return rv
- _datetime
;
2489 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2491 const wxChar
* _date
= date
;
2492 rv
= self
->ParseDate(_date
);
2493 if (rv
== NULL
) return -1;
2496 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2498 const wxChar
* _time
= time
;
2499 rv
= self
->ParseTime(_time
);
2500 if (rv
== NULL
) return -1;
2503 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2504 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2505 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2506 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2507 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2508 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2509 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2510 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2511 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2512 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2513 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2514 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2515 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2516 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2517 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2518 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2520 #include <wx/dataobj.h>
2522 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2523 size_t count
= self
->GetFormatCount(dir
);
2524 wxDataFormat
* formats
= new wxDataFormat
[count
];
2525 self
->GetAllFormats(formats
, dir
);
2527 bool blocked
= wxPyBeginBlockThreads();
2528 PyObject
* list
= PyList_New(count
);
2529 for (size_t i
=0; i
<count
; i
++) {
2530 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2531 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2532 PyList_Append(list
, obj
);
2535 wxPyEndBlockThreads(blocked
);
2539 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2540 PyObject
* rval
= NULL
;
2541 size_t size
= self
->GetDataSize(format
);
2542 bool blocked
= wxPyBeginBlockThreads();
2544 char* buf
= new char[size
];
2545 if (self
->GetDataHere(format
, buf
))
2546 rval
= PyString_FromStringAndSize(buf
, size
);
2553 wxPyEndBlockThreads(blocked
);
2556 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2558 bool blocked
= wxPyBeginBlockThreads();
2559 if (PyString_Check(data
)) {
2560 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2563 // raise a TypeError if not a string
2564 PyErr_SetString(PyExc_TypeError
, "String expected.");
2567 wxPyEndBlockThreads(blocked
);
2570 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2571 PyObject
* rval
= NULL
;
2572 size_t size
= self
->GetDataSize();
2573 bool blocked
= wxPyBeginBlockThreads();
2575 char* buf
= new char[size
];
2576 if (self
->GetDataHere(buf
))
2577 rval
= PyString_FromStringAndSize(buf
, size
);
2584 wxPyEndBlockThreads(blocked
);
2587 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2589 bool blocked
= wxPyBeginBlockThreads();
2590 if (PyString_Check(data
)) {
2591 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2594 // raise a TypeError if not a string
2595 PyErr_SetString(PyExc_TypeError
, "String expected.");
2598 wxPyEndBlockThreads(blocked
);
2601 // Create a new class for wxPython to use
2602 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2604 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2605 : wxDataObjectSimple(format
) {}
2607 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2608 bool GetDataHere(void *buf
) const;
2609 bool SetData(size_t len
, const void *buf
) const;
2613 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2615 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2616 // We need to get the data for this object and write it to buf. I think
2617 // the best way to do this for wxPython is to have the Python method
2618 // return either a string or None and then act appropriately with the
2622 bool blocked
= wxPyBeginBlockThreads();
2623 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2625 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2627 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2629 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2633 wxPyEndBlockThreads(blocked
);
2637 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2638 // For this one we simply need to make a string from buf and len
2639 // and send it to the Python method.
2641 bool blocked
= wxPyBeginBlockThreads();
2642 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2643 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2644 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2647 wxPyEndBlockThreads(blocked
);
2651 // Create a new class for wxPython to use
2652 class wxPyTextDataObject
: public wxTextDataObject
{
2654 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2655 : wxTextDataObject(text
) {}
2657 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2658 DEC_PYCALLBACK_STRING__const(GetText
);
2659 DEC_PYCALLBACK__STRING(SetText
);
2663 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2664 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2665 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2668 // Create a new class for wxPython to use
2669 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2671 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2672 : wxBitmapDataObject(bitmap
) {}
2674 wxBitmap
GetBitmap() const;
2675 void SetBitmap(const wxBitmap
& bitmap
);
2679 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2680 wxBitmap
* rval
= &wxNullBitmap
;
2681 bool blocked
= wxPyBeginBlockThreads();
2682 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2685 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2687 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2692 wxPyEndBlockThreads(blocked
);
2696 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2697 bool blocked
= wxPyBeginBlockThreads();
2698 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2699 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2700 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2703 wxPyEndBlockThreads(blocked
);
2706 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2707 return new wxCustomDataObject(wxDataFormat(formatName
));
2709 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2711 bool blocked
= wxPyBeginBlockThreads();
2712 if (PyString_Check(data
)) {
2713 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2716 // raise a TypeError if not a string
2717 PyErr_SetString(PyExc_TypeError
, "String expected.");
2720 wxPyEndBlockThreads(blocked
);
2723 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2725 bool blocked
= wxPyBeginBlockThreads();
2726 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2727 wxPyEndBlockThreads(blocked
);
2731 class wxMetafileDataObject
: public wxDataObjectSimple
2734 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2738 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2741 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2742 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2743 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2744 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2745 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2748 class wxPyTextDropTarget
: public wxTextDropTarget
{
2750 wxPyTextDropTarget() {}
2752 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2754 DEC_PYCALLBACK__(OnLeave
);
2755 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2756 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2757 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2758 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2763 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2764 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2765 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2766 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2767 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2768 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2772 class wxPyFileDropTarget
: public wxFileDropTarget
{
2774 wxPyFileDropTarget() {}
2776 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2778 DEC_PYCALLBACK__(OnLeave
);
2779 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2780 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2781 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2782 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2787 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2788 const wxArrayString
& filenames
) {
2790 bool blocked
= wxPyBeginBlockThreads();
2791 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2792 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2793 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2796 wxPyEndBlockThreads(blocked
);
2802 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2803 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2804 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2805 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2806 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2811 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2813 #include <wx/display.h>
2815 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2816 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2818 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2820 #include <wx/dynarray.h>
2821 #include <wx/vidmode.h>
2823 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2824 #include "wx/arrimpl.cpp"
2825 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2826 const wxVideoMode wxDefaultVideoMode
;
2831 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2834 static size_t GetCount()
2835 { wxPyRaiseNotImplemented(); return 0; }
2837 static int GetFromPoint(const wxPoint
& pt
)
2838 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2839 static int GetFromWindow(wxWindow
*window
)
2840 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2842 virtual bool IsOk() const { return false; }
2843 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2844 virtual wxString
GetName() const { return wxEmptyString
; }
2845 bool IsPrimary() const { return false; }
2847 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2848 { wxArrayVideoModes a
; return a
; }
2850 virtual wxVideoMode
GetCurrentMode() const
2851 { return wxDefaultVideoMode
; }
2853 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2860 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2861 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2862 PyObject
* pyList
= NULL
;
2863 wxArrayVideoModes arr
= self
->GetModes(mode
);
2864 bool blocked
= wxPyBeginBlockThreads();
2865 pyList
= PyList_New(0);
2866 for (int i
=0; i
< arr
.GetCount(); i
++) {
2867 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2868 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2869 PyList_Append(pyList
, pyObj
);
2872 wxPyEndBlockThreads(blocked
);
2876 #include <wx/stdpaths.h>
2878 static wxStandardPaths
*StandardPaths_Get(){
2879 return (wxStandardPaths
*) &wxStandardPaths::Get();
2884 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
*resultobj
;
2886 wxSystemColour arg1
;
2888 PyObject
* obj0
= 0 ;
2890 (char *) "index", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2895 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2896 if (SWIG_arg_fail(1)) SWIG_fail
;
2899 if (!wxPyCheckForApp()) SWIG_fail
;
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2907 wxColour
* resultptr
;
2908 resultptr
= new wxColour((wxColour
&)(result
));
2909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2917 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2921 PyObject
* obj0
= 0 ;
2923 (char *) "index", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
2928 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
2929 if (SWIG_arg_fail(1)) SWIG_fail
;
2932 if (!wxPyCheckForApp()) SWIG_fail
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2941 resultptr
= new wxFont((wxFont
&)(result
));
2942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
2950 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxSystemMetric arg1
;
2954 PyObject
* obj0
= 0 ;
2956 (char *) "index", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
2961 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
2962 if (SWIG_arg_fail(1)) SWIG_fail
;
2965 if (!wxPyCheckForApp()) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2973 resultobj
= SWIG_From_int((int)(result
));
2981 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
*resultobj
;
2983 wxSystemFeature arg1
;
2985 PyObject
* obj0
= 0 ;
2987 (char *) "index", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
2992 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
2993 if (SWIG_arg_fail(1)) SWIG_fail
;
2996 if (!wxPyCheckForApp()) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3012 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxSystemScreenType result
;
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3021 if (!wxPyCheckForApp()) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3028 resultobj
= SWIG_From_int((result
));
3035 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
*resultobj
;
3037 wxSystemScreenType arg1
;
3038 PyObject
* obj0
= 0 ;
3040 (char *) "screen", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3045 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3046 if (SWIG_arg_fail(1)) SWIG_fail
;
3049 if (!wxPyCheckForApp()) SWIG_fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3056 Py_INCREF(Py_None
); resultobj
= Py_None
;
3063 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3066 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3068 return Py_BuildValue((char *)"");
3070 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3071 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3076 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3081 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3083 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3090 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxSystemOptions
*result
;
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 result
= (wxSystemOptions
*)new wxSystemOptions();
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3112 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxString
*arg1
= 0 ;
3115 wxString
*arg2
= 0 ;
3116 bool temp1
= false ;
3117 bool temp2
= false ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "name",(char *) "value", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3126 arg1
= wxString_in_helper(obj0
);
3127 if (arg1
== NULL
) SWIG_fail
;
3131 arg2
= wxString_in_helper(obj1
);
3132 if (arg2
== NULL
) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3142 Py_INCREF(Py_None
); resultobj
= Py_None
;
3165 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxString
*arg1
= 0 ;
3169 bool temp1
= false ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3173 (char *) "name",(char *) "value", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3178 arg1
= wxString_in_helper(obj0
);
3179 if (arg1
== NULL
) SWIG_fail
;
3183 arg2
= (int)(SWIG_As_int(obj1
));
3184 if (SWIG_arg_fail(2)) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxString
*arg1
= 0 ;
3212 bool temp1
= false ;
3213 PyObject
* obj0
= 0 ;
3215 (char *) "name", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3220 arg1
= wxString_in_helper(obj0
);
3221 if (arg1
== NULL
) SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3252 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxString
*arg1
= 0 ;
3256 bool temp1
= false ;
3257 PyObject
* obj0
= 0 ;
3259 (char *) "name", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3264 arg1
= wxString_in_helper(obj0
);
3265 if (arg1
== NULL
) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= SWIG_From_int((int)(result
));
3292 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxString
*arg1
= 0 ;
3296 bool temp1
= false ;
3297 PyObject
* obj0
= 0 ;
3299 (char *) "name", NULL
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3304 arg1
= wxString_in_helper(obj0
);
3305 if (arg1
== NULL
) SWIG_fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3332 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3335 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3337 return Py_BuildValue((char *)"");
3339 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3340 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3345 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3350 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3352 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3359 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3360 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3365 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3370 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3372 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3379 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3380 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3385 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3390 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3392 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3399 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 result
= (long)wxNewId();
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3415 resultobj
= SWIG_From_long((long)(result
));
3423 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3426 PyObject
* obj0
= 0 ;
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3433 arg1
= (long)(SWIG_As_long(obj0
));
3434 if (SWIG_arg_fail(1)) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 Py_INCREF(Py_None
); resultobj
= Py_None
;
3450 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (long)wxGetCurrentId();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3466 resultobj
= SWIG_From_long((long)(result
));
3474 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3478 PyObject
* obj0
= 0 ;
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3485 arg1
= (int)(SWIG_As_int(obj0
));
3486 if (SWIG_arg_fail(1)) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 result
= (bool)wxIsStockID(arg1
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3504 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3507 wxString
*arg2
= 0 ;
3509 bool temp2
= false ;
3510 PyObject
* obj0
= 0 ;
3511 PyObject
* obj1
= 0 ;
3513 (char *) "id",(char *) "label", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3518 arg1
= (int)(SWIG_As_int(obj0
));
3519 if (SWIG_arg_fail(1)) SWIG_fail
;
3522 arg2
= wxString_in_helper(obj1
);
3523 if (arg2
== NULL
) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3550 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3553 bool arg2
= (bool) true ;
3554 wxString arg3
= (wxString
) wxPyEmptyString
;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3558 PyObject
* obj2
= 0 ;
3560 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3565 arg1
= (int)(SWIG_As_int(obj0
));
3566 if (SWIG_arg_fail(1)) SWIG_fail
;
3570 arg2
= (bool)(SWIG_As_bool(obj1
));
3571 if (SWIG_arg_fail(2)) SWIG_fail
;
3576 wxString
* sptr
= wxString_in_helper(obj2
);
3577 if (sptr
== NULL
) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3602 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
*resultobj
;
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3610 if (!wxPyCheckForApp()) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3632 if (!wxPyCheckForApp()) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 Py_INCREF(Py_None
); resultobj
= Py_None
;
3646 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 bool arg1
= (bool) true ;
3650 PyObject
* obj0
= 0 ;
3652 (char *) "resetTimer", NULL
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3658 arg1
= (bool)(SWIG_As_bool(obj0
));
3659 if (SWIG_arg_fail(1)) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= (long)wxGetElapsedTime(arg1
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= SWIG_From_long((long)(result
));
3678 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 int *arg1
= (int *) 0 ;
3681 int *arg2
= (int *) 0 ;
3690 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3691 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3694 if (!wxPyCheckForApp()) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 wxGetMousePosition(arg1
,arg2
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 Py_INCREF(Py_None
); resultobj
= Py_None
;
3702 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3703 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3704 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3705 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3712 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= (bool)wxIsBusy();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3736 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3764 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3767 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3769 bool temp1
= false ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "command", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3778 arg1
= wxString_in_helper(obj0
);
3779 if (arg1
== NULL
) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (bool)wxShell((wxString
const &)*arg1
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3807 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 Py_INCREF(Py_None
); resultobj
= Py_None
;
3828 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 int *arg1
= (int *) 0 ;
3831 int *arg2
= (int *) 0 ;
3841 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3842 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 result
= (int)wxGetOsVersion(arg1
,arg2
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_From_int((int)(result
));
3854 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3855 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3856 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3857 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3864 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= wxGetOsDescription();
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3892 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (long)wxGetFreeMemory();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_From_long((long)(result
));
3916 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxShutdownFlags arg1
;
3920 PyObject
* obj0
= 0 ;
3922 (char *) "wFlags", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
3927 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
3928 if (SWIG_arg_fail(1)) SWIG_fail
;
3931 if (!wxPyCheckForApp()) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3947 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3950 PyObject
* obj0
= 0 ;
3952 (char *) "secs", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
3957 arg1
= (int)(SWIG_As_int(obj0
));
3958 if (SWIG_arg_fail(1)) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 unsigned long arg1
;
3977 PyObject
* obj0
= 0 ;
3979 (char *) "milliseconds", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
3984 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3985 if (SWIG_arg_fail(1)) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 Py_INCREF(Py_None
); resultobj
= Py_None
;
4001 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 unsigned long arg1
;
4004 PyObject
* obj0
= 0 ;
4006 (char *) "microseconds", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4011 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4012 if (SWIG_arg_fail(1)) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 Py_INCREF(Py_None
); resultobj
= Py_None
;
4028 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4031 PyObject
* obj0
= 0 ;
4033 (char *) "enable", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4038 arg1
= (bool)(SWIG_As_bool(obj0
));
4039 if (SWIG_arg_fail(1)) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 wxEnableTopLevelWindows(arg1
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 Py_INCREF(Py_None
); resultobj
= Py_None
;
4055 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxString
*arg1
= 0 ;
4059 bool temp1
= false ;
4060 PyObject
* obj0
= 0 ;
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4067 arg1
= wxString_in_helper(obj0
);
4068 if (arg1
== NULL
) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4099 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= wxGetEmailAddress();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4127 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= wxGetHostName();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4155 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= wxGetFullHostName();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4183 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= wxGetUserId();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4211 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= wxGetUserName();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4239 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= wxGetHomeDir();
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4267 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4270 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4272 bool temp1
= false ;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "user", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4281 arg1
= wxString_in_helper(obj0
);
4282 if (arg1
== NULL
) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 result
= wxGetUserHome((wxString
const &)*arg1
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4314 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 unsigned long result
;
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (unsigned long)wxGetProcessId();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4338 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 Py_INCREF(Py_None
); resultobj
= Py_None
;
4359 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4362 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4363 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4364 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4365 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4366 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4367 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4368 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4369 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4370 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4371 int arg6
= (int) 0 ;
4372 wxWindow
*arg7
= (wxWindow
*) NULL
;
4373 int arg8
= (int) -1 ;
4374 int arg9
= (int) -1 ;
4376 bool temp1
= false ;
4377 bool temp2
= false ;
4378 bool temp3
= false ;
4379 bool temp4
= false ;
4380 bool temp5
= false ;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4383 PyObject
* obj2
= 0 ;
4384 PyObject
* obj3
= 0 ;
4385 PyObject
* obj4
= 0 ;
4386 PyObject
* obj5
= 0 ;
4387 PyObject
* obj6
= 0 ;
4388 PyObject
* obj7
= 0 ;
4389 PyObject
* obj8
= 0 ;
4391 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4397 arg1
= wxString_in_helper(obj0
);
4398 if (arg1
== NULL
) SWIG_fail
;
4404 arg2
= wxString_in_helper(obj1
);
4405 if (arg2
== NULL
) SWIG_fail
;
4411 arg3
= wxString_in_helper(obj2
);
4412 if (arg3
== NULL
) SWIG_fail
;
4418 arg4
= wxString_in_helper(obj3
);
4419 if (arg4
== NULL
) SWIG_fail
;
4425 arg5
= wxString_in_helper(obj4
);
4426 if (arg5
== NULL
) SWIG_fail
;
4432 arg6
= (int)(SWIG_As_int(obj5
));
4433 if (SWIG_arg_fail(6)) SWIG_fail
;
4437 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4438 if (SWIG_arg_fail(7)) SWIG_fail
;
4442 arg8
= (int)(SWIG_As_int(obj7
));
4443 if (SWIG_arg_fail(8)) SWIG_fail
;
4448 arg9
= (int)(SWIG_As_int(obj8
));
4449 if (SWIG_arg_fail(9)) SWIG_fail
;
4453 if (!wxPyCheckForApp()) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4513 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxString
*arg1
= 0 ;
4516 wxString
*arg2
= 0 ;
4517 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4519 wxWindow
*arg4
= (wxWindow
*) NULL
;
4521 bool temp1
= false ;
4522 bool temp2
= false ;
4523 bool temp3
= false ;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4526 PyObject
* obj2
= 0 ;
4527 PyObject
* obj3
= 0 ;
4529 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4534 arg1
= wxString_in_helper(obj0
);
4535 if (arg1
== NULL
) SWIG_fail
;
4539 arg2
= wxString_in_helper(obj1
);
4540 if (arg2
== NULL
) SWIG_fail
;
4545 arg3
= wxString_in_helper(obj2
);
4546 if (arg3
== NULL
) SWIG_fail
;
4551 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4552 if (SWIG_arg_fail(4)) SWIG_fail
;
4555 if (!wxPyCheckForApp()) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4599 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxString
*arg1
= 0 ;
4602 wxString
*arg2
= 0 ;
4603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4605 wxWindow
*arg4
= (wxWindow
*) NULL
;
4607 bool temp1
= false ;
4608 bool temp2
= false ;
4609 bool temp3
= false ;
4610 PyObject
* obj0
= 0 ;
4611 PyObject
* obj1
= 0 ;
4612 PyObject
* obj2
= 0 ;
4613 PyObject
* obj3
= 0 ;
4615 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4620 arg1
= wxString_in_helper(obj0
);
4621 if (arg1
== NULL
) SWIG_fail
;
4625 arg2
= wxString_in_helper(obj1
);
4626 if (arg2
== NULL
) SWIG_fail
;
4631 arg3
= wxString_in_helper(obj2
);
4632 if (arg3
== NULL
) SWIG_fail
;
4637 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4638 if (SWIG_arg_fail(4)) SWIG_fail
;
4641 if (!wxPyCheckForApp()) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4685 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4688 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4689 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4690 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4691 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4694 wxWindow
*arg5
= (wxWindow
*) NULL
;
4696 bool temp1
= false ;
4697 bool temp2
= false ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 PyObject
* obj2
= 0 ;
4702 PyObject
* obj3
= 0 ;
4703 PyObject
* obj4
= 0 ;
4705 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4711 arg1
= wxString_in_helper(obj0
);
4712 if (arg1
== NULL
) SWIG_fail
;
4718 arg2
= wxString_in_helper(obj1
);
4719 if (arg2
== NULL
) SWIG_fail
;
4725 arg3
= (long)(SWIG_As_long(obj2
));
4726 if (SWIG_arg_fail(3)) SWIG_fail
;
4732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4736 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4737 if (SWIG_arg_fail(5)) SWIG_fail
;
4740 if (!wxPyCheckForApp()) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4776 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 wxString
*arg1
= 0 ;
4779 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4780 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4783 wxWindow
*arg4
= (wxWindow
*) NULL
;
4784 int arg5
= (int) -1 ;
4785 int arg6
= (int) -1 ;
4786 bool arg7
= (bool) true ;
4788 bool temp1
= false ;
4789 bool temp2
= false ;
4790 bool temp3
= false ;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4793 PyObject
* obj2
= 0 ;
4794 PyObject
* obj3
= 0 ;
4795 PyObject
* obj4
= 0 ;
4796 PyObject
* obj5
= 0 ;
4797 PyObject
* obj6
= 0 ;
4799 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4804 arg1
= wxString_in_helper(obj0
);
4805 if (arg1
== NULL
) SWIG_fail
;
4810 arg2
= wxString_in_helper(obj1
);
4811 if (arg2
== NULL
) SWIG_fail
;
4817 arg3
= wxString_in_helper(obj2
);
4818 if (arg3
== NULL
) SWIG_fail
;
4823 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4824 if (SWIG_arg_fail(4)) SWIG_fail
;
4828 arg5
= (int)(SWIG_As_int(obj4
));
4829 if (SWIG_arg_fail(5)) SWIG_fail
;
4834 arg6
= (int)(SWIG_As_int(obj5
));
4835 if (SWIG_arg_fail(6)) SWIG_fail
;
4840 arg7
= (bool)(SWIG_As_bool(obj6
));
4841 if (SWIG_arg_fail(7)) SWIG_fail
;
4845 if (!wxPyCheckForApp()) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4889 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxString
*arg1
= 0 ;
4892 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4893 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4894 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4896 wxWindow
*arg4
= (wxWindow
*) NULL
;
4898 bool temp1
= false ;
4899 bool temp2
= false ;
4900 bool temp3
= false ;
4901 PyObject
* obj0
= 0 ;
4902 PyObject
* obj1
= 0 ;
4903 PyObject
* obj2
= 0 ;
4904 PyObject
* obj3
= 0 ;
4906 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4911 arg1
= wxString_in_helper(obj0
);
4912 if (arg1
== NULL
) SWIG_fail
;
4917 arg2
= wxString_in_helper(obj1
);
4918 if (arg2
== NULL
) SWIG_fail
;
4924 arg3
= wxString_in_helper(obj2
);
4925 if (arg3
== NULL
) SWIG_fail
;
4930 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4931 if (SWIG_arg_fail(4)) SWIG_fail
;
4934 if (!wxPyCheckForApp()) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4978 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxString
*arg1
= 0 ;
4981 wxString
*arg2
= 0 ;
4983 wxString
*arg4
= (wxString
*) 0 ;
4984 wxWindow
*arg5
= (wxWindow
*) NULL
;
4985 int arg6
= (int) -1 ;
4986 int arg7
= (int) -1 ;
4987 bool arg8
= (bool) true ;
4988 int arg9
= (int) 150 ;
4989 int arg10
= (int) 200 ;
4991 bool temp1
= false ;
4992 bool temp2
= false ;
4993 PyObject
* obj0
= 0 ;
4994 PyObject
* obj1
= 0 ;
4995 PyObject
* obj2
= 0 ;
4996 PyObject
* obj3
= 0 ;
4997 PyObject
* obj4
= 0 ;
4998 PyObject
* obj5
= 0 ;
4999 PyObject
* obj6
= 0 ;
5000 PyObject
* obj7
= 0 ;
5001 PyObject
* obj8
= 0 ;
5003 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5008 arg1
= wxString_in_helper(obj0
);
5009 if (arg1
== NULL
) SWIG_fail
;
5013 arg2
= wxString_in_helper(obj1
);
5014 if (arg2
== NULL
) SWIG_fail
;
5018 arg3
= PyList_Size(obj2
);
5019 arg4
= wxString_LIST_helper(obj2
);
5020 if (arg4
== NULL
) SWIG_fail
;
5023 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5024 if (SWIG_arg_fail(5)) SWIG_fail
;
5028 arg6
= (int)(SWIG_As_int(obj4
));
5029 if (SWIG_arg_fail(6)) SWIG_fail
;
5034 arg7
= (int)(SWIG_As_int(obj5
));
5035 if (SWIG_arg_fail(7)) SWIG_fail
;
5040 arg8
= (bool)(SWIG_As_bool(obj6
));
5041 if (SWIG_arg_fail(8)) SWIG_fail
;
5046 arg9
= (int)(SWIG_As_int(obj7
));
5047 if (SWIG_arg_fail(9)) SWIG_fail
;
5052 arg10
= (int)(SWIG_As_int(obj8
));
5053 if (SWIG_arg_fail(10)) SWIG_fail
;
5057 if (!wxPyCheckForApp()) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5080 if (arg4
) delete [] arg4
;
5093 if (arg4
) delete [] arg4
;
5099 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxString
*arg1
= 0 ;
5102 wxString
*arg2
= 0 ;
5104 wxString
*arg4
= (wxString
*) 0 ;
5105 wxWindow
*arg5
= (wxWindow
*) NULL
;
5106 int arg6
= (int) -1 ;
5107 int arg7
= (int) -1 ;
5108 bool arg8
= (bool) true ;
5109 int arg9
= (int) 150 ;
5110 int arg10
= (int) 200 ;
5112 bool temp1
= false ;
5113 bool temp2
= false ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5116 PyObject
* obj2
= 0 ;
5117 PyObject
* obj3
= 0 ;
5118 PyObject
* obj4
= 0 ;
5119 PyObject
* obj5
= 0 ;
5120 PyObject
* obj6
= 0 ;
5121 PyObject
* obj7
= 0 ;
5122 PyObject
* obj8
= 0 ;
5124 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5129 arg1
= wxString_in_helper(obj0
);
5130 if (arg1
== NULL
) SWIG_fail
;
5134 arg2
= wxString_in_helper(obj1
);
5135 if (arg2
== NULL
) SWIG_fail
;
5139 arg3
= PyList_Size(obj2
);
5140 arg4
= wxString_LIST_helper(obj2
);
5141 if (arg4
== NULL
) SWIG_fail
;
5144 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5145 if (SWIG_arg_fail(5)) SWIG_fail
;
5149 arg6
= (int)(SWIG_As_int(obj4
));
5150 if (SWIG_arg_fail(6)) SWIG_fail
;
5155 arg7
= (int)(SWIG_As_int(obj5
));
5156 if (SWIG_arg_fail(7)) SWIG_fail
;
5161 arg8
= (bool)(SWIG_As_bool(obj6
));
5162 if (SWIG_arg_fail(8)) SWIG_fail
;
5167 arg9
= (int)(SWIG_As_int(obj7
));
5168 if (SWIG_arg_fail(9)) SWIG_fail
;
5173 arg10
= (int)(SWIG_As_int(obj8
));
5174 if (SWIG_arg_fail(10)) SWIG_fail
;
5178 if (!wxPyCheckForApp()) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_From_int((int)(result
));
5197 if (arg4
) delete [] arg4
;
5210 if (arg4
) delete [] arg4
;
5216 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxString
*arg1
= 0 ;
5219 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5220 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5221 int arg3
= (int) wxOK
|wxCENTRE
;
5222 wxWindow
*arg4
= (wxWindow
*) NULL
;
5223 int arg5
= (int) -1 ;
5224 int arg6
= (int) -1 ;
5226 bool temp1
= false ;
5227 bool temp2
= false ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5230 PyObject
* obj2
= 0 ;
5231 PyObject
* obj3
= 0 ;
5232 PyObject
* obj4
= 0 ;
5233 PyObject
* obj5
= 0 ;
5235 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5240 arg1
= wxString_in_helper(obj0
);
5241 if (arg1
== NULL
) SWIG_fail
;
5246 arg2
= wxString_in_helper(obj1
);
5247 if (arg2
== NULL
) SWIG_fail
;
5253 arg3
= (int)(SWIG_As_int(obj2
));
5254 if (SWIG_arg_fail(3)) SWIG_fail
;
5258 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5259 if (SWIG_arg_fail(4)) SWIG_fail
;
5263 arg5
= (int)(SWIG_As_int(obj4
));
5264 if (SWIG_arg_fail(5)) SWIG_fail
;
5269 arg6
= (int)(SWIG_As_int(obj5
));
5270 if (SWIG_arg_fail(6)) SWIG_fail
;
5274 if (!wxPyCheckForApp()) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= SWIG_From_int((int)(result
));
5306 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxString
*arg1
= 0 ;
5309 wxString
*arg2
= 0 ;
5310 wxString
*arg3
= 0 ;
5312 long arg5
= (long) 0 ;
5313 long arg6
= (long) 100 ;
5314 wxWindow
*arg7
= (wxWindow
*) NULL
;
5315 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5316 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5318 bool temp1
= false ;
5319 bool temp2
= false ;
5320 bool temp3
= false ;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5324 PyObject
* obj2
= 0 ;
5325 PyObject
* obj3
= 0 ;
5326 PyObject
* obj4
= 0 ;
5327 PyObject
* obj5
= 0 ;
5328 PyObject
* obj6
= 0 ;
5329 PyObject
* obj7
= 0 ;
5331 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5336 arg1
= wxString_in_helper(obj0
);
5337 if (arg1
== NULL
) SWIG_fail
;
5341 arg2
= wxString_in_helper(obj1
);
5342 if (arg2
== NULL
) SWIG_fail
;
5346 arg3
= wxString_in_helper(obj2
);
5347 if (arg3
== NULL
) SWIG_fail
;
5351 arg4
= (long)(SWIG_As_long(obj3
));
5352 if (SWIG_arg_fail(4)) SWIG_fail
;
5356 arg5
= (long)(SWIG_As_long(obj4
));
5357 if (SWIG_arg_fail(5)) SWIG_fail
;
5362 arg6
= (long)(SWIG_As_long(obj5
));
5363 if (SWIG_arg_fail(6)) SWIG_fail
;
5367 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5368 if (SWIG_arg_fail(7)) SWIG_fail
;
5373 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5377 if (!wxPyCheckForApp()) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_From_long((long)(result
));
5417 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5426 if (!wxPyCheckForApp()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (bool)wxColourDisplay();
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5442 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5451 if (!wxPyCheckForApp()) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (int)wxDisplayDepth();
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_From_int((int)(result
));
5467 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5476 if (!wxPyCheckForApp()) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (int)wxGetDisplayDepth();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= SWIG_From_int((int)(result
));
5492 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5494 int *arg1
= (int *) 0 ;
5495 int *arg2
= (int *) 0 ;
5504 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5505 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5508 if (!wxPyCheckForApp()) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 wxDisplaySize(arg1
,arg2
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 Py_INCREF(Py_None
); resultobj
= Py_None
;
5516 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5517 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5518 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5519 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5526 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5535 if (!wxPyCheckForApp()) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= wxGetDisplaySize();
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5544 resultptr
= new wxSize((wxSize
&)(result
));
5545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5553 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 int *arg1
= (int *) 0 ;
5556 int *arg2
= (int *) 0 ;
5565 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5566 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5569 if (!wxPyCheckForApp()) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxDisplaySizeMM(arg1
,arg2
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 Py_INCREF(Py_None
); resultobj
= Py_None
;
5577 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5578 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5579 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5580 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5587 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5596 if (!wxPyCheckForApp()) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= wxGetDisplaySizeMM();
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5605 resultptr
= new wxSize((wxSize
&)(result
));
5606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5614 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 int *arg1
= (int *) 0 ;
5617 int *arg2
= (int *) 0 ;
5618 int *arg3
= (int *) 0 ;
5619 int *arg4
= (int *) 0 ;
5632 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5633 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5634 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5635 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5638 if (!wxPyCheckForApp()) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5646 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5647 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5648 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5649 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5650 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5651 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5652 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5653 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5660 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5669 if (!wxPyCheckForApp()) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= wxGetClientDisplayRect();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5678 resultptr
= new wxRect((wxRect
&)(result
));
5679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5687 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxCursor
*arg1
= 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "cursor", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 SWIG_null_ref("wxCursor");
5702 if (SWIG_arg_fail(1)) SWIG_fail
;
5705 if (!wxPyCheckForApp()) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 Py_INCREF(Py_None
); resultobj
= Py_None
;
5719 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5722 PyObject
* obj0
= 0 ;
5724 (char *) "cursor", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5730 if (SWIG_arg_fail(1)) SWIG_fail
;
5733 if (!wxPyCheckForApp()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxBeginBusyCursor(arg1
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5756 if (!wxPyCheckForApp()) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (wxWindow
*)wxGetActiveWindow();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= wxPyMake_wxObject(result
, 0);
5772 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5777 PyObject
* obj0
= 0 ;
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5785 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5788 if (!wxPyCheckForApp()) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= wxPyMake_wxObject(result
, 0);
5804 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5809 PyObject
* obj0
= 0 ;
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5817 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5820 if (!wxPyCheckForApp()) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= wxPyMake_wxObject(result
, 0);
5836 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxWindow
*arg1
= (wxWindow
*) 0 ;
5840 PyObject
* obj0
= 0 ;
5842 (char *) "win", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5847 if (SWIG_arg_fail(1)) SWIG_fail
;
5849 if (!wxPyCheckForApp()) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= wxPyMake_wxObject(result
, 0);
5865 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5869 PyObject
* obj0
= 0 ;
5871 (char *) "key", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5876 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5877 if (SWIG_arg_fail(1)) SWIG_fail
;
5880 if (!wxPyCheckForApp()) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5896 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
5904 if (!wxPyCheckForApp()) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 wxWakeUpMainThread();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 Py_INCREF(Py_None
); resultobj
= Py_None
;
5918 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
5926 if (!wxPyCheckForApp()) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 Py_INCREF(Py_None
); resultobj
= Py_None
;
5940 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
5948 if (!wxPyCheckForApp()) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 Py_INCREF(Py_None
); resultobj
= Py_None
;
5962 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxMutexGuiLocker
*result
;
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
5971 if (!wxPyCheckForApp()) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
5985 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
5994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
5995 if (SWIG_arg_fail(1)) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6013 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6015 return Py_BuildValue((char *)"");
6017 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (bool)wxThread_IsMain();
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6041 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxString
*arg1
= 0 ;
6045 bool temp1
= false ;
6046 PyObject
* obj0
= 0 ;
6048 (char *) "tip", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6053 arg1
= wxString_in_helper(obj0
);
6054 if (arg1
== NULL
) SWIG_fail
;
6058 if (!wxPyCheckForApp()) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= wxPyMake_wxObject(result
, 1);
6082 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6085 wxString
*arg2
= 0 ;
6086 bool temp2
= false ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6090 (char *) "self",(char *) "tip", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6095 if (SWIG_arg_fail(1)) SWIG_fail
;
6097 arg2
= wxString_in_helper(obj1
);
6098 if (arg2
== NULL
) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 (arg1
)->SetTip((wxString
const &)*arg2
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 Py_INCREF(Py_None
); resultobj
= Py_None
;
6123 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6127 PyObject
* obj0
= 0 ;
6129 (char *) "self", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6134 if (SWIG_arg_fail(1)) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (arg1
)->GetTip();
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6155 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "self", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6166 if (SWIG_arg_fail(1)) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (wxWindow
*)(arg1
)->GetWindow();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= wxPyMake_wxObject(result
, 0);
6183 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6186 PyObject
* obj0
= 0 ;
6188 (char *) "flag", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6193 arg1
= (bool)(SWIG_As_bool(obj0
));
6194 if (SWIG_arg_fail(1)) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 wxToolTip::Enable(arg1
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 Py_INCREF(Py_None
); resultobj
= Py_None
;
6210 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6213 PyObject
* obj0
= 0 ;
6215 (char *) "milliseconds", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6220 arg1
= (long)(SWIG_As_long(obj0
));
6221 if (SWIG_arg_fail(1)) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 wxToolTip::SetDelay(arg1
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 Py_INCREF(Py_None
); resultobj
= Py_None
;
6237 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6240 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6242 return Py_BuildValue((char *)"");
6244 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxWindow
*arg1
= (wxWindow
*) 0 ;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6253 (char *) "window",(char *) "size", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6258 if (SWIG_arg_fail(1)) SWIG_fail
;
6261 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6264 if (!wxPyCheckForApp()) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6278 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxCaret
*arg1
= (wxCaret
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6283 (char *) "self", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 wxCaret_Destroy(arg1
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxCaret
*arg1
= (wxCaret
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "self", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6314 if (SWIG_arg_fail(1)) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (bool)(arg1
)->IsOk();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6331 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxCaret
*arg1
= (wxCaret
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6342 if (SWIG_arg_fail(1)) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (bool)(arg1
)->IsVisible();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6359 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxCaret
*arg1
= (wxCaret
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6370 if (SWIG_arg_fail(1)) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (arg1
)->GetPosition();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6379 wxPoint
* resultptr
;
6380 resultptr
= new wxPoint((wxPoint
&)(result
));
6381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6389 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxCaret
*arg1
= (wxCaret
*) 0 ;
6392 int *arg2
= (int *) 0 ;
6393 int *arg3
= (int *) 0 ;
6398 PyObject
* obj0
= 0 ;
6400 (char *) "self", NULL
6403 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6404 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 (arg1
)->GetPosition(arg2
,arg3
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 Py_INCREF(Py_None
); resultobj
= Py_None
;
6416 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6417 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6418 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6419 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6426 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxCaret
*arg1
= (wxCaret
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "self", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6437 if (SWIG_arg_fail(1)) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (arg1
)->GetSize();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6447 resultptr
= new wxSize((wxSize
&)(result
));
6448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6456 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxCaret
*arg1
= (wxCaret
*) 0 ;
6459 int *arg2
= (int *) 0 ;
6460 int *arg3
= (int *) 0 ;
6465 PyObject
* obj0
= 0 ;
6467 (char *) "self", NULL
6470 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6471 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 (arg1
)->GetSize(arg2
,arg3
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6483 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6484 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6485 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6486 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6493 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxCaret
*arg1
= (wxCaret
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6504 if (SWIG_arg_fail(1)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxWindow
*)(arg1
)->GetWindow();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= wxPyMake_wxObject(result
, 0);
6521 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxCaret
*arg1
= (wxCaret
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6528 PyObject
* obj2
= 0 ;
6530 (char *) "self",(char *) "x",(char *) "y", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6535 if (SWIG_arg_fail(1)) SWIG_fail
;
6537 arg2
= (int)(SWIG_As_int(obj1
));
6538 if (SWIG_arg_fail(2)) SWIG_fail
;
6541 arg3
= (int)(SWIG_As_int(obj2
));
6542 if (SWIG_arg_fail(3)) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 (arg1
)->Move(arg2
,arg3
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 Py_INCREF(Py_None
); resultobj
= Py_None
;
6558 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxCaret
*arg1
= (wxCaret
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6566 (char *) "self",(char *) "pt", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6571 if (SWIG_arg_fail(1)) SWIG_fail
;
6574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 (arg1
)->Move((wxPoint
const &)*arg2
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 Py_INCREF(Py_None
); resultobj
= Py_None
;
6590 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxCaret
*arg1
= (wxCaret
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6597 PyObject
* obj2
= 0 ;
6599 (char *) "self",(char *) "width",(char *) "height", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail
;
6606 arg2
= (int)(SWIG_As_int(obj1
));
6607 if (SWIG_arg_fail(2)) SWIG_fail
;
6610 arg3
= (int)(SWIG_As_int(obj2
));
6611 if (SWIG_arg_fail(3)) SWIG_fail
;
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 (arg1
)->SetSize(arg2
,arg3
);
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 Py_INCREF(Py_None
); resultobj
= Py_None
;
6627 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxCaret
*arg1
= (wxCaret
*) 0 ;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj1
= 0 ;
6635 (char *) "self",(char *) "size", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6640 if (SWIG_arg_fail(1)) SWIG_fail
;
6643 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 (arg1
)->SetSize((wxSize
const &)*arg2
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 Py_INCREF(Py_None
); resultobj
= Py_None
;
6659 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxCaret
*arg1
= (wxCaret
*) 0 ;
6662 int arg2
= (int) true ;
6663 PyObject
* obj0
= 0 ;
6664 PyObject
* obj1
= 0 ;
6666 (char *) "self",(char *) "show", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6671 if (SWIG_arg_fail(1)) SWIG_fail
;
6674 arg2
= (int)(SWIG_As_int(obj1
));
6675 if (SWIG_arg_fail(2)) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxCaret
*arg1
= (wxCaret
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6697 (char *) "self", NULL
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6702 if (SWIG_arg_fail(1)) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 Py_INCREF(Py_None
); resultobj
= Py_None
;
6717 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (int)wxCaret::GetBlinkTime();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_From_int((int)(result
));
6741 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "milliseconds", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6751 arg1
= (int)(SWIG_As_int(obj0
));
6752 if (SWIG_arg_fail(1)) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 wxCaret::SetBlinkTime(arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 Py_INCREF(Py_None
); resultobj
= Py_None
;
6768 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6771 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6773 return Py_BuildValue((char *)"");
6775 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6778 wxBusyCursor
*result
;
6779 PyObject
* obj0
= 0 ;
6781 (char *) "cursor", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6787 if (SWIG_arg_fail(1)) SWIG_fail
;
6790 if (!wxPyCheckForApp()) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6804 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6809 (char *) "self", NULL
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6814 if (SWIG_arg_fail(1)) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6832 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6834 return Py_BuildValue((char *)"");
6836 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6838 wxWindow
*arg1
= (wxWindow
*) NULL
;
6839 wxWindowDisabler
*result
;
6840 PyObject
* obj0
= 0 ;
6842 (char *) "winToSkip", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6848 if (SWIG_arg_fail(1)) SWIG_fail
;
6851 if (!wxPyCheckForApp()) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6865 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "self", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6875 if (SWIG_arg_fail(1)) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 Py_INCREF(Py_None
); resultobj
= Py_None
;
6890 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6893 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6895 return Py_BuildValue((char *)"");
6897 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxString
*arg1
= 0 ;
6901 bool temp1
= false ;
6902 PyObject
* obj0
= 0 ;
6904 (char *) "message", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
6909 arg1
= wxString_in_helper(obj0
);
6910 if (arg1
== NULL
) SWIG_fail
;
6914 if (!wxPyCheckForApp()) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
6936 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
6945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
6946 if (SWIG_arg_fail(1)) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 Py_INCREF(Py_None
); resultobj
= Py_None
;
6961 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
6963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6964 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
6966 return Py_BuildValue((char *)"");
6968 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxStopWatch
*result
;
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (wxStopWatch
*)new wxStopWatch();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
6990 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
6993 long arg2
= (long) 0 ;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6997 (char *) "self",(char *) "t0", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7002 if (SWIG_arg_fail(1)) SWIG_fail
;
7005 arg2
= (long)(SWIG_As_long(obj1
));
7006 if (SWIG_arg_fail(2)) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 (arg1
)->Start(arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7033 if (SWIG_arg_fail(1)) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 Py_INCREF(Py_None
); resultobj
= Py_None
;
7048 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7058 if (SWIG_arg_fail(1)) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 Py_INCREF(Py_None
); resultobj
= Py_None
;
7073 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "self", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7084 if (SWIG_arg_fail(1)) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= SWIG_From_long((long)(result
));
7101 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7104 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7106 return Py_BuildValue((char *)"");
7108 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 int arg1
= (int) 9 ;
7111 int arg2
= (int) wxID_FILE1
;
7112 wxFileHistory
*result
;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7116 (char *) "maxFiles",(char *) "idBase", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7122 arg1
= (int)(SWIG_As_int(obj0
));
7123 if (SWIG_arg_fail(1)) SWIG_fail
;
7128 arg2
= (int)(SWIG_As_int(obj1
));
7129 if (SWIG_arg_fail(2)) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7146 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7151 (char *) "self", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7156 if (SWIG_arg_fail(1)) SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 Py_INCREF(Py_None
); resultobj
= Py_None
;
7171 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7174 wxString
*arg2
= 0 ;
7175 bool temp2
= false ;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7179 (char *) "self",(char *) "file", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7184 if (SWIG_arg_fail(1)) SWIG_fail
;
7186 arg2
= wxString_in_helper(obj1
);
7187 if (arg2
== NULL
) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7219 (char *) "self",(char *) "i", NULL
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7224 if (SWIG_arg_fail(1)) SWIG_fail
;
7226 arg2
= (int)(SWIG_As_int(obj1
));
7227 if (SWIG_arg_fail(2)) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->RemoveFileFromHistory(arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7249 (char *) "self", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7254 if (SWIG_arg_fail(1)) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_From_int((int)(result
));
7271 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7274 wxMenu
*arg2
= (wxMenu
*) 0 ;
7275 PyObject
* obj0
= 0 ;
7276 PyObject
* obj1
= 0 ;
7278 (char *) "self",(char *) "menu", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail
;
7284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7285 if (SWIG_arg_fail(2)) SWIG_fail
;
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 (arg1
)->UseMenu(arg2
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 Py_INCREF(Py_None
); resultobj
= Py_None
;
7300 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
*resultobj
;
7302 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7303 wxMenu
*arg2
= (wxMenu
*) 0 ;
7304 PyObject
* obj0
= 0 ;
7305 PyObject
* obj1
= 0 ;
7307 (char *) "self",(char *) "menu", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7312 if (SWIG_arg_fail(1)) SWIG_fail
;
7313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(2)) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 (arg1
)->RemoveMenu(arg2
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7329 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7332 wxConfigBase
*arg2
= 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7336 (char *) "self",(char *) "config", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7341 if (SWIG_arg_fail(1)) SWIG_fail
;
7343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7344 if (SWIG_arg_fail(2)) SWIG_fail
;
7346 SWIG_null_ref("wxConfigBase");
7348 if (SWIG_arg_fail(2)) SWIG_fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 (arg1
)->Load(*arg2
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 Py_INCREF(Py_None
); resultobj
= Py_None
;
7364 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7367 wxConfigBase
*arg2
= 0 ;
7368 PyObject
* obj0
= 0 ;
7369 PyObject
* obj1
= 0 ;
7371 (char *) "self",(char *) "config", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7376 if (SWIG_arg_fail(1)) SWIG_fail
;
7378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7379 if (SWIG_arg_fail(2)) SWIG_fail
;
7381 SWIG_null_ref("wxConfigBase");
7383 if (SWIG_arg_fail(2)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 (arg1
)->Save(*arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "self", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 (arg1
)->AddFilesToMenu();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(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_AddFilesToThisMenu",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
)->AddFilesToMenu(arg2
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7461 (char *) "self",(char *) "i", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7466 if (SWIG_arg_fail(1)) SWIG_fail
;
7468 arg2
= (int)(SWIG_As_int(obj1
));
7469 if (SWIG_arg_fail(2)) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7491 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7497 (char *) "self", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7502 if (SWIG_arg_fail(1)) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= SWIG_From_int((int)(result
));
7519 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7522 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7524 return Py_BuildValue((char *)"");
7526 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxString
*arg1
= 0 ;
7529 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7530 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7531 wxSingleInstanceChecker
*result
;
7532 bool temp1
= false ;
7533 bool temp2
= false ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7537 (char *) "name",(char *) "path", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7542 arg1
= wxString_in_helper(obj0
);
7543 if (arg1
== NULL
) SWIG_fail
;
7548 arg2
= wxString_in_helper(obj1
);
7549 if (arg2
== NULL
) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7583 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxSingleInstanceChecker
*result
;
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7605 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "self", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 Py_INCREF(Py_None
); resultobj
= Py_None
;
7630 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7633 wxString
*arg2
= 0 ;
7634 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7635 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7637 bool temp2
= false ;
7638 bool temp3
= false ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7641 PyObject
* obj2
= 0 ;
7643 (char *) "self",(char *) "name",(char *) "path", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7648 if (SWIG_arg_fail(1)) SWIG_fail
;
7650 arg2
= wxString_in_helper(obj1
);
7651 if (arg2
== NULL
) SWIG_fail
;
7656 arg3
= wxString_in_helper(obj2
);
7657 if (arg3
== NULL
) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7699 (char *) "self", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7704 if (SWIG_arg_fail(1)) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7721 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7724 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7726 return Py_BuildValue((char *)"");
7728 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7738 if (SWIG_arg_fail(1)) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7764 if (SWIG_arg_fail(1)) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (arg1
)->GetTip();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7785 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "self", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7796 if (SWIG_arg_fail(1)) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (size_t)(arg1
)->GetCurrentTip();
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7813 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7816 wxString
*arg2
= 0 ;
7818 bool temp2
= false ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7822 (char *) "self",(char *) "tip", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 arg2
= wxString_in_helper(obj1
);
7830 if (arg2
== NULL
) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7861 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
7863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7864 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
7866 return Py_BuildValue((char *)"");
7868 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7871 wxPyTipProvider
*result
;
7872 PyObject
* obj0
= 0 ;
7874 (char *) "currentTip", NULL
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
7879 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
7880 if (SWIG_arg_fail(1)) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
7896 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
7899 PyObject
*arg2
= (PyObject
*) 0 ;
7900 PyObject
*arg3
= (PyObject
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7903 PyObject
* obj2
= 0 ;
7905 (char *) "self",(char *) "self",(char *) "_class", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
7929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7930 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
7932 return Py_BuildValue((char *)"");
7934 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxWindow
*arg1
= (wxWindow
*) 0 ;
7937 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
7938 bool arg3
= (bool) true ;
7940 PyObject
* obj0
= 0 ;
7941 PyObject
* obj1
= 0 ;
7942 PyObject
* obj2
= 0 ;
7944 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7949 if (SWIG_arg_fail(1)) SWIG_fail
;
7950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7951 if (SWIG_arg_fail(2)) SWIG_fail
;
7954 arg3
= (bool)(SWIG_As_bool(obj2
));
7955 if (SWIG_arg_fail(3)) SWIG_fail
;
7959 if (!wxPyCheckForApp()) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7975 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxString
*arg1
= 0 ;
7979 wxTipProvider
*result
;
7980 bool temp1
= false ;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7984 (char *) "filename",(char *) "currentTip", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
7989 arg1
= wxString_in_helper(obj0
);
7990 if (arg1
== NULL
) SWIG_fail
;
7994 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7995 if (SWIG_arg_fail(2)) SWIG_fail
;
7998 if (!wxPyCheckForApp()) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8020 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8023 int arg2
= (int) -1 ;
8025 PyObject
* obj0
= 0 ;
8026 PyObject
* obj1
= 0 ;
8028 (char *) "owner",(char *) "id", NULL
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8034 if (SWIG_arg_fail(1)) SWIG_fail
;
8038 arg2
= (int)(SWIG_As_int(obj1
));
8039 if (SWIG_arg_fail(2)) SWIG_fail
;
8043 if (!wxPyCheckForApp()) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8057 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "self", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8067 if (SWIG_arg_fail(1)) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 Py_INCREF(Py_None
); resultobj
= Py_None
;
8082 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8085 PyObject
*arg2
= (PyObject
*) 0 ;
8086 PyObject
*arg3
= (PyObject
*) 0 ;
8087 int arg4
= (int) 1 ;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8090 PyObject
* obj2
= 0 ;
8091 PyObject
* obj3
= 0 ;
8093 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8098 if (SWIG_arg_fail(1)) SWIG_fail
;
8103 arg4
= (int)(SWIG_As_int(obj3
));
8104 if (SWIG_arg_fail(4)) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 Py_INCREF(Py_None
); resultobj
= Py_None
;
8121 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8124 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8125 int arg3
= (int) -1 ;
8126 PyObject
* obj0
= 0 ;
8127 PyObject
* obj1
= 0 ;
8128 PyObject
* obj2
= 0 ;
8130 (char *) "self",(char *) "owner",(char *) "id", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8135 if (SWIG_arg_fail(1)) SWIG_fail
;
8136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8137 if (SWIG_arg_fail(2)) SWIG_fail
;
8140 arg3
= (int)(SWIG_As_int(obj2
));
8141 if (SWIG_arg_fail(3)) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 (arg1
)->SetOwner(arg2
,arg3
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 Py_INCREF(Py_None
); resultobj
= Py_None
;
8158 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8161 wxEvtHandler
*result
;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "self", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8169 if (SWIG_arg_fail(1)) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= wxPyMake_wxObject(result
, 0);
8186 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8189 int arg2
= (int) -1 ;
8190 bool arg3
= (bool) false ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8194 PyObject
* obj2
= 0 ;
8196 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8201 if (SWIG_arg_fail(1)) SWIG_fail
;
8204 arg2
= (int)(SWIG_As_int(obj1
));
8205 if (SWIG_arg_fail(2)) SWIG_fail
;
8210 arg3
= (bool)(SWIG_As_bool(obj2
));
8211 if (SWIG_arg_fail(3)) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8230 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "self", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8240 if (SWIG_arg_fail(1)) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8255 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8259 PyObject
* obj0
= 0 ;
8261 (char *) "self", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8266 if (SWIG_arg_fail(1)) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8283 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8289 (char *) "self", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= SWIG_From_int((int)(result
));
8311 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8315 PyObject
* obj0
= 0 ;
8317 (char *) "self", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8322 if (SWIG_arg_fail(1)) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8350 if (SWIG_arg_fail(1)) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= SWIG_From_int((int)(result
));
8367 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8370 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8372 return Py_BuildValue((char *)"");
8374 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 int arg1
= (int) 0 ;
8377 int arg2
= (int) 0 ;
8378 wxTimerEvent
*result
;
8379 PyObject
* obj0
= 0 ;
8380 PyObject
* obj1
= 0 ;
8382 (char *) "timerid",(char *) "interval", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8388 arg1
= (int)(SWIG_As_int(obj0
));
8389 if (SWIG_arg_fail(1)) SWIG_fail
;
8394 arg2
= (int)(SWIG_As_int(obj1
));
8395 if (SWIG_arg_fail(2)) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8412 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "self", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8423 if (SWIG_arg_fail(1)) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= SWIG_From_int((int)(result
));
8440 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8443 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8445 return Py_BuildValue((char *)"");
8447 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8448 PyObject
*resultobj
;
8450 wxTimerRunner
*result
;
8451 PyObject
* obj0
= 0 ;
8453 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8456 if (SWIG_arg_fail(1)) SWIG_fail
;
8458 SWIG_null_ref("wxTimer");
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8463 if (!wxPyCheckForApp()) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8477 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8478 PyObject
*resultobj
;
8481 bool arg3
= (bool) false ;
8482 wxTimerRunner
*result
;
8483 PyObject
* obj0
= 0 ;
8484 PyObject
* obj1
= 0 ;
8485 PyObject
* obj2
= 0 ;
8487 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8490 if (SWIG_arg_fail(1)) SWIG_fail
;
8492 SWIG_null_ref("wxTimer");
8494 if (SWIG_arg_fail(1)) SWIG_fail
;
8497 arg2
= (int)(SWIG_As_int(obj1
));
8498 if (SWIG_arg_fail(2)) SWIG_fail
;
8502 arg3
= (bool)(SWIG_As_bool(obj2
));
8503 if (SWIG_arg_fail(3)) SWIG_fail
;
8507 if (!wxPyCheckForApp()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8521 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8526 argc
= PyObject_Length(args
);
8527 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8528 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8542 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8545 if ((argc
>= 2) && (argc
<= 3)) {
8549 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8557 _v
= SWIG_Check_int(argv
[1]);
8560 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8562 _v
= SWIG_Check_bool(argv
[2]);
8564 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8570 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8575 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8578 PyObject
* obj0
= 0 ;
8580 (char *) "self", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8585 if (SWIG_arg_fail(1)) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 Py_INCREF(Py_None
); resultobj
= Py_None
;
8600 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8604 bool arg3
= (bool) false ;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8607 PyObject
* obj2
= 0 ;
8609 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8614 if (SWIG_arg_fail(1)) SWIG_fail
;
8616 arg2
= (int)(SWIG_As_int(obj1
));
8617 if (SWIG_arg_fail(2)) SWIG_fail
;
8621 arg3
= (bool)(SWIG_As_bool(obj2
));
8622 if (SWIG_arg_fail(3)) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 (arg1
)->Start(arg2
,arg3
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 Py_INCREF(Py_None
); resultobj
= Py_None
;
8639 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8642 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8644 return Py_BuildValue((char *)"");
8646 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxLog
*)new wxLog();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8668 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (bool)wxLog::IsEnabled();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8692 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 bool arg1
= (bool) true ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "doIt", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8704 arg1
= (bool)(SWIG_As_bool(obj0
));
8705 if (SWIG_arg_fail(1)) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (bool)wxLog::EnableLogging(arg1
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8724 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8727 wxChar
*arg2
= (wxChar
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8731 PyObject
* obj2
= 0 ;
8733 (char *) "level",(char *) "szString",(char *) "t", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8738 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8739 if (SWIG_arg_fail(1)) SWIG_fail
;
8741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8742 if (SWIG_arg_fail(2)) SWIG_fail
;
8744 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8745 if (SWIG_arg_fail(3)) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxLog
*arg1
= (wxLog
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 wxLog::FlushActive();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 Py_INCREF(Py_None
); resultobj
= Py_None
;
8807 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (wxLog
*)wxLog::GetActiveTarget();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8829 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxLog
*arg1
= (wxLog
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "pLogger", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8855 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 Py_INCREF(Py_None
); resultobj
= Py_None
;
8897 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 bool arg1
= (bool) true ;
8900 PyObject
* obj0
= 0 ;
8902 (char *) "bVerbose", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
8908 arg1
= (bool)(SWIG_As_bool(obj0
));
8909 if (SWIG_arg_fail(1)) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 wxLog::SetVerbose(arg1
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 Py_INCREF(Py_None
); resultobj
= Py_None
;
8926 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
*resultobj
;
8929 PyObject
* obj0
= 0 ;
8931 (char *) "logLevel", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
8936 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8937 if (SWIG_arg_fail(1)) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 wxLog::SetLogLevel(arg1
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 Py_INCREF(Py_None
); resultobj
= Py_None
;
8953 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 wxLog::DontCreateOnDemand();
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 Py_INCREF(Py_None
); resultobj
= Py_None
;
8974 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "ulMask", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
8984 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
8985 if (SWIG_arg_fail(1)) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 wxLog::SetTraceMask(arg1
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxString
*arg1
= 0 ;
9004 bool temp1
= false ;
9005 PyObject
* obj0
= 0 ;
9007 (char *) "str", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9012 arg1
= wxString_in_helper(obj0
);
9013 if (arg1
== NULL
) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 wxLog::AddTraceMask((wxString
const &)*arg1
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxString
*arg1
= 0 ;
9041 bool temp1
= false ;
9042 PyObject
* obj0
= 0 ;
9044 (char *) "str", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9049 arg1
= wxString_in_helper(obj0
);
9050 if (arg1
== NULL
) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 Py_INCREF(Py_None
); resultobj
= Py_None
;
9075 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 wxLog::ClearTraceMasks();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxArrayString
*result
;
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9108 result
= (wxArrayString
*) &_result_ref
;
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= wxArrayString2PyList_helper(*result
);
9123 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxChar
*arg1
= (wxChar
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 wxLog::SetTimestamp((wxChar
const *)arg1
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9148 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (bool)wxLog::GetVerbose();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9172 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxTraceMask
)wxLog::GetTraceMask();
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9196 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxChar
*arg1
= (wxChar
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9202 (char *) "mask", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9207 if (SWIG_arg_fail(1)) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9224 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (wxLogLevel
)wxLog::GetLogLevel();
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9248 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (wxChar
*)wxLog::GetTimestamp();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9270 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= Log_TimeStamp();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9298 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxLog
*arg1
= (wxLog
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "self", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9308 if (SWIG_arg_fail(1)) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 wxLog_Destroy(arg1
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 Py_INCREF(Py_None
); resultobj
= Py_None
;
9323 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9326 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9328 return Py_BuildValue((char *)"");
9330 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxLogStderr
*result
;
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (wxLogStderr
*)new wxLogStderr();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9352 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9355 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9357 return Py_BuildValue((char *)"");
9359 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9362 wxLogTextCtrl
*result
;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "pTextCtrl", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9370 if (SWIG_arg_fail(1)) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9385 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9388 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9390 return Py_BuildValue((char *)"");
9392 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (wxLogGui
*)new wxLogGui();
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9414 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9417 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9419 return Py_BuildValue((char *)"");
9421 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxFrame
*arg1
= (wxFrame
*) 0 ;
9424 wxString
*arg2
= 0 ;
9425 bool arg3
= (bool) true ;
9426 bool arg4
= (bool) true ;
9427 wxLogWindow
*result
;
9428 bool temp2
= false ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 PyObject
* obj2
= 0 ;
9432 PyObject
* obj3
= 0 ;
9434 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9439 if (SWIG_arg_fail(1)) SWIG_fail
;
9441 arg2
= wxString_in_helper(obj1
);
9442 if (arg2
== NULL
) SWIG_fail
;
9447 arg3
= (bool)(SWIG_As_bool(obj2
));
9448 if (SWIG_arg_fail(3)) SWIG_fail
;
9453 arg4
= (bool)(SWIG_As_bool(obj3
));
9454 if (SWIG_arg_fail(4)) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9479 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9482 bool arg2
= (bool) true ;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9486 (char *) "self",(char *) "bShow", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail
;
9494 arg2
= (bool)(SWIG_As_bool(obj1
));
9495 if (SWIG_arg_fail(2)) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9523 if (SWIG_arg_fail(1)) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= wxPyMake_wxObject(result
, 0);
9540 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9551 if (SWIG_arg_fail(1)) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9566 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9577 if (SWIG_arg_fail(1)) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9601 (char *) "self",(char *) "bDoPass", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9606 if (SWIG_arg_fail(1)) SWIG_fail
;
9608 arg2
= (bool)(SWIG_As_bool(obj1
));
9609 if (SWIG_arg_fail(2)) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->PassMessages(arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9628 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9630 return Py_BuildValue((char *)"");
9632 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
;
9634 wxLog
*arg1
= (wxLog
*) 0 ;
9636 PyObject
* obj0
= 0 ;
9638 (char *) "logger", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9643 if (SWIG_arg_fail(1)) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (wxLogChain
*)new wxLogChain(arg1
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9658 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9661 wxLog
*arg2
= (wxLog
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9665 (char *) "self",(char *) "logger", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9670 if (SWIG_arg_fail(1)) SWIG_fail
;
9671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9672 if (SWIG_arg_fail(2)) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 (arg1
)->SetLog(arg2
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 Py_INCREF(Py_None
); resultobj
= Py_None
;
9687 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9694 (char *) "self",(char *) "bDoPass", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9699 if (SWIG_arg_fail(1)) SWIG_fail
;
9701 arg2
= (bool)(SWIG_As_bool(obj1
));
9702 if (SWIG_arg_fail(2)) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 (arg1
)->PassMessages(arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 Py_INCREF(Py_None
); resultobj
= Py_None
;
9718 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9724 (char *) "self", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9729 if (SWIG_arg_fail(1)) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (bool)(arg1
)->IsPassingMessages();
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9746 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9757 if (SWIG_arg_fail(1)) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (wxLog
*)(arg1
)->GetOldLog();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9772 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9775 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9777 return Py_BuildValue((char *)"");
9779 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 unsigned long result
;
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (unsigned long)wxSysErrorCode();
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9803 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 unsigned long arg1
= (unsigned long) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "nErrCode", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9815 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9816 if (SWIG_arg_fail(1)) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= wxSysErrorMsg(arg1
);
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9839 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxString
*arg1
= 0 ;
9842 bool temp1
= false ;
9843 PyObject
* obj0
= 0 ;
9845 (char *) "msg", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9850 arg1
= wxString_in_helper(obj0
);
9851 if (arg1
== NULL
) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 wxPyLogFatalError((wxString
const &)*arg1
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 Py_INCREF(Py_None
); resultobj
= Py_None
;
9876 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxString
*arg1
= 0 ;
9879 bool temp1
= false ;
9880 PyObject
* obj0
= 0 ;
9882 (char *) "msg", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
9887 arg1
= wxString_in_helper(obj0
);
9888 if (arg1
== NULL
) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 wxPyLogError((wxString
const &)*arg1
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 Py_INCREF(Py_None
); resultobj
= Py_None
;
9913 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxString
*arg1
= 0 ;
9916 bool temp1
= false ;
9917 PyObject
* obj0
= 0 ;
9919 (char *) "msg", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
9924 arg1
= wxString_in_helper(obj0
);
9925 if (arg1
== NULL
) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 wxPyLogWarning((wxString
const &)*arg1
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 Py_INCREF(Py_None
); resultobj
= Py_None
;
9950 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxString
*arg1
= 0 ;
9953 bool temp1
= false ;
9954 PyObject
* obj0
= 0 ;
9956 (char *) "msg", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
9961 arg1
= wxString_in_helper(obj0
);
9962 if (arg1
== NULL
) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 wxPyLogMessage((wxString
const &)*arg1
);
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 Py_INCREF(Py_None
); resultobj
= Py_None
;
9987 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxString
*arg1
= 0 ;
9990 bool temp1
= false ;
9991 PyObject
* obj0
= 0 ;
9993 (char *) "msg", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
9998 arg1
= wxString_in_helper(obj0
);
9999 if (arg1
== NULL
) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 wxPyLogInfo((wxString
const &)*arg1
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 Py_INCREF(Py_None
); resultobj
= Py_None
;
10024 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxString
*arg1
= 0 ;
10027 bool temp1
= false ;
10028 PyObject
* obj0
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "msg", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10035 arg1
= wxString_in_helper(obj0
);
10036 if (arg1
== NULL
) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 wxPyLogDebug((wxString
const &)*arg1
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 Py_INCREF(Py_None
); resultobj
= Py_None
;
10061 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxString
*arg1
= 0 ;
10064 bool temp1
= false ;
10065 PyObject
* obj0
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "msg", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10072 arg1
= wxString_in_helper(obj0
);
10073 if (arg1
== NULL
) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 wxPyLogVerbose((wxString
const &)*arg1
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxString
*arg1
= 0 ;
10101 bool temp1
= false ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "msg", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10109 arg1
= wxString_in_helper(obj0
);
10110 if (arg1
== NULL
) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 wxPyLogStatus((wxString
const &)*arg1
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10135 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxFrame
*arg1
= (wxFrame
*) 0 ;
10138 wxString
*arg2
= 0 ;
10139 bool temp2
= false ;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "pFrame",(char *) "msg", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10148 if (SWIG_arg_fail(1)) SWIG_fail
;
10150 arg2
= wxString_in_helper(obj1
);
10151 if (arg2
== NULL
) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 Py_INCREF(Py_None
); resultobj
= Py_None
;
10176 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxString
*arg1
= 0 ;
10179 bool temp1
= false ;
10180 PyObject
* obj0
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "msg", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10187 arg1
= wxString_in_helper(obj0
);
10188 if (arg1
== NULL
) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 wxPyLogSysError((wxString
const &)*arg1
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 unsigned long arg1
;
10216 wxString
*arg2
= 0 ;
10217 bool temp2
= false ;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "level",(char *) "msg", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10226 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10227 if (SWIG_arg_fail(1)) SWIG_fail
;
10230 arg2
= wxString_in_helper(obj1
);
10231 if (arg2
== NULL
) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 Py_INCREF(Py_None
); resultobj
= Py_None
;
10256 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10257 PyObject
*resultobj
;
10258 unsigned long arg1
;
10259 wxString
*arg2
= 0 ;
10260 bool temp2
= false ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10264 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10266 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10267 if (SWIG_arg_fail(1)) SWIG_fail
;
10270 arg2
= wxString_in_helper(obj1
);
10271 if (arg2
== NULL
) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10297 PyObject
*resultobj
;
10298 wxString
*arg1
= 0 ;
10299 wxString
*arg2
= 0 ;
10300 bool temp1
= false ;
10301 bool temp2
= false ;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10305 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10307 arg1
= wxString_in_helper(obj0
);
10308 if (arg1
== NULL
) SWIG_fail
;
10312 arg2
= wxString_in_helper(obj1
);
10313 if (arg2
== NULL
) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 Py_INCREF(Py_None
); resultobj
= Py_None
;
10346 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10351 argc
= PyObject_Length(args
);
10352 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10353 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10358 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10362 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10365 return _wrap_LogTrace__SWIG_1(self
,args
);
10371 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10374 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10377 return _wrap_LogTrace__SWIG_0(self
,args
);
10382 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10387 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxString
*arg1
= 0 ;
10390 wxString
*arg2
= 0 ;
10391 bool temp1
= false ;
10392 bool temp2
= false ;
10393 PyObject
* obj0
= 0 ;
10394 PyObject
* obj1
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "title",(char *) "text", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10401 arg1
= wxString_in_helper(obj0
);
10402 if (arg1
== NULL
) SWIG_fail
;
10406 arg2
= wxString_in_helper(obj1
);
10407 if (arg2
== NULL
) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 Py_INCREF(Py_None
); resultobj
= Py_None
;
10440 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10443 char *kwnames
[] = {
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (wxLogNull
*)new wxLogNull();
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10462 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10465 PyObject
* obj0
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10472 if (SWIG_arg_fail(1)) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 Py_INCREF(Py_None
); resultobj
= Py_None
;
10487 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10490 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10492 return Py_BuildValue((char *)"");
10494 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10497 char *kwnames
[] = {
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (wxPyLog
*)new wxPyLog();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10516 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10519 PyObject
*arg2
= (PyObject
*) 0 ;
10520 PyObject
*arg3
= (PyObject
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 PyObject
* obj2
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self",(char *) "self",(char *) "_class", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10530 if (SWIG_arg_fail(1)) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 Py_INCREF(Py_None
); resultobj
= Py_None
;
10547 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10550 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10552 return Py_BuildValue((char *)"");
10554 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10557 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10558 int arg3
= (int) wxKILL_NOCHILDREN
;
10559 wxKillError result
;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 PyObject
* obj2
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10569 arg1
= (int)(SWIG_As_int(obj0
));
10570 if (SWIG_arg_fail(1)) SWIG_fail
;
10574 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10575 if (SWIG_arg_fail(2)) SWIG_fail
;
10580 arg3
= (int)(SWIG_As_int(obj2
));
10581 if (SWIG_arg_fail(3)) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_From_int((result
));
10598 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10602 PyObject
* obj0
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "pid", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10609 arg1
= (int)(SWIG_As_int(obj0
));
10610 if (SWIG_arg_fail(1)) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (bool)wxPyProcess::Exists(arg1
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10628 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxString
*arg1
= 0 ;
10631 int arg2
= (int) wxEXEC_ASYNC
;
10632 wxPyProcess
*result
;
10633 bool temp1
= false ;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "cmd",(char *) "flags", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10642 arg1
= wxString_in_helper(obj0
);
10643 if (arg1
== NULL
) SWIG_fail
;
10648 arg2
= (int)(SWIG_As_int(obj1
));
10649 if (SWIG_arg_fail(2)) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10674 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10677 int arg2
= (int) -1 ;
10678 wxPyProcess
*result
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "parent",(char *) "id", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10688 if (SWIG_arg_fail(1)) SWIG_fail
;
10692 arg2
= (int)(SWIG_As_int(obj1
));
10693 if (SWIG_arg_fail(2)) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10710 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10713 PyObject
*arg2
= (PyObject
*) 0 ;
10714 PyObject
*arg3
= (PyObject
*) 0 ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 PyObject
* obj2
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "self",(char *) "_class", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 Py_INCREF(Py_None
); resultobj
= Py_None
;
10741 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "pid",(char *) "status", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10757 arg2
= (int)(SWIG_As_int(obj1
));
10758 if (SWIG_arg_fail(2)) SWIG_fail
;
10761 arg3
= (int)(SWIG_As_int(obj2
));
10762 if (SWIG_arg_fail(3)) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 (arg1
)->base_OnTerminate(arg2
,arg3
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 Py_INCREF(Py_None
); resultobj
= Py_None
;
10778 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->Redirect();
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 Py_INCREF(Py_None
); resultobj
= Py_None
;
10803 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (bool)(arg1
)->IsRedirected();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10831 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10841 if (SWIG_arg_fail(1)) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 Py_INCREF(Py_None
); resultobj
= Py_None
;
10856 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10859 wxInputStream
*result
;
10860 PyObject
* obj0
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
10866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (wxInputStream
*)(arg1
)->GetInputStream();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 wxPyInputStream
* _ptr
= NULL
;
10879 _ptr
= new wxPyInputStream(result
);
10881 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10889 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10892 wxInputStream
*result
;
10893 PyObject
* obj0
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
10899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 wxPyInputStream
* _ptr
= NULL
;
10912 _ptr
= new wxPyInputStream(result
);
10914 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10922 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10925 wxOutputStream
*result
;
10926 PyObject
* obj0
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
10932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10933 if (SWIG_arg_fail(1)) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
10948 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
10957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10958 if (SWIG_arg_fail(1)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->CloseOutput();
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
10983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11012 if (SWIG_arg_fail(1)) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11029 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11033 PyObject
* obj0
= 0 ;
11034 char *kwnames
[] = {
11035 (char *) "self", NULL
11038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11040 if (SWIG_arg_fail(1)) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11057 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11060 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11062 return Py_BuildValue((char *)"");
11064 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 int arg1
= (int) 0 ;
11067 int arg2
= (int) 0 ;
11068 int arg3
= (int) 0 ;
11069 wxProcessEvent
*result
;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 PyObject
* obj2
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11080 arg1
= (int)(SWIG_As_int(obj0
));
11081 if (SWIG_arg_fail(1)) SWIG_fail
;
11086 arg2
= (int)(SWIG_As_int(obj1
));
11087 if (SWIG_arg_fail(2)) SWIG_fail
;
11092 arg3
= (int)(SWIG_As_int(obj2
));
11093 if (SWIG_arg_fail(3)) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11110 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (int)(arg1
)->GetPid();
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= SWIG_From_int((int)(result
));
11138 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (int)(arg1
)->GetExitCode();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_From_int((int)(result
));
11166 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self",(char *) "m_pid", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11178 if (SWIG_arg_fail(1)) SWIG_fail
;
11180 arg2
= (int)(SWIG_As_int(obj1
));
11181 if (SWIG_arg_fail(2)) SWIG_fail
;
11183 if (arg1
) (arg1
)->m_pid
= arg2
;
11185 Py_INCREF(Py_None
); resultobj
= Py_None
;
11192 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11203 if (SWIG_arg_fail(1)) SWIG_fail
;
11204 result
= (int) ((arg1
)->m_pid
);
11207 resultobj
= SWIG_From_int((int)(result
));
11215 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "m_exitcode", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11229 arg2
= (int)(SWIG_As_int(obj1
));
11230 if (SWIG_arg_fail(2)) SWIG_fail
;
11232 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11234 Py_INCREF(Py_None
); resultobj
= Py_None
;
11241 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11252 if (SWIG_arg_fail(1)) SWIG_fail
;
11253 result
= (int) ((arg1
)->m_exitcode
);
11256 resultobj
= SWIG_From_int((int)(result
));
11264 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11267 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11269 return Py_BuildValue((char *)"");
11271 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxString
*arg1
= 0 ;
11274 int arg2
= (int) wxEXEC_ASYNC
;
11275 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11277 bool temp1
= false ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 PyObject
* obj2
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "command",(char *) "flags",(char *) "process", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11287 arg1
= wxString_in_helper(obj0
);
11288 if (arg1
== NULL
) SWIG_fail
;
11293 arg2
= (int)(SWIG_As_int(obj1
));
11294 if (SWIG_arg_fail(2)) SWIG_fail
;
11298 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11299 if (SWIG_arg_fail(3)) SWIG_fail
;
11302 if (!wxPyCheckForApp()) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_From_long((long)(result
));
11326 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11329 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11330 wxKillError
*arg3
= (wxKillError
*) 0 ;
11331 int arg4
= (int) wxKILL_NOCHILDREN
;
11333 wxKillError temp3
;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 PyObject
* obj2
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11346 arg1
= (long)(SWIG_As_long(obj0
));
11347 if (SWIG_arg_fail(1)) SWIG_fail
;
11351 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11352 if (SWIG_arg_fail(2)) SWIG_fail
;
11357 arg4
= (int)(SWIG_As_int(obj2
));
11358 if (SWIG_arg_fail(4)) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_From_int((int)(result
));
11373 o
= PyInt_FromLong((long) (*arg3
));
11374 resultobj
= t_output_helper(resultobj
, o
);
11382 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11384 int arg1
= (int) wxJOYSTICK1
;
11385 wxJoystick
*result
;
11386 PyObject
* obj0
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "joystick", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11394 arg1
= (int)(SWIG_As_int(obj0
));
11395 if (SWIG_arg_fail(1)) SWIG_fail
;
11399 if (!wxPyCheckForApp()) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (wxJoystick
*)new wxJoystick(arg1
);
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11413 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11423 if (SWIG_arg_fail(1)) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 Py_INCREF(Py_None
); resultobj
= Py_None
;
11438 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
;
11440 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11442 PyObject
* obj0
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11449 if (SWIG_arg_fail(1)) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (arg1
)->GetPosition();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11458 wxPoint
* resultptr
;
11459 resultptr
= new wxPoint((wxPoint
&)(result
));
11460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11468 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11470 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11479 if (SWIG_arg_fail(1)) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (int)(arg1
)->GetZPosition();
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_From_int((int)(result
));
11496 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11507 if (SWIG_arg_fail(1)) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (int)(arg1
)->GetButtonState();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_From_int((int)(result
));
11524 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11535 if (SWIG_arg_fail(1)) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (int)(arg1
)->GetPOVPosition();
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_From_int((int)(result
));
11552 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11556 PyObject
* obj0
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11563 if (SWIG_arg_fail(1)) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (int)(arg1
)->GetPOVCTSPosition();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= SWIG_From_int((int)(result
));
11580 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11591 if (SWIG_arg_fail(1)) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (int)(arg1
)->GetRudderPosition();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_From_int((int)(result
));
11608 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11619 if (SWIG_arg_fail(1)) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (int)(arg1
)->GetUPosition();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_From_int((int)(result
));
11636 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11640 PyObject
* obj0
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11647 if (SWIG_arg_fail(1)) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (int)(arg1
)->GetVPosition();
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_From_int((int)(result
));
11664 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11675 if (SWIG_arg_fail(1)) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (int)(arg1
)->GetMovementThreshold();
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_From_int((int)(result
));
11692 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11696 PyObject
* obj0
= 0 ;
11697 PyObject
* obj1
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self",(char *) "threshold", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11704 if (SWIG_arg_fail(1)) SWIG_fail
;
11706 arg2
= (int)(SWIG_As_int(obj1
));
11707 if (SWIG_arg_fail(2)) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 (arg1
)->SetMovementThreshold(arg2
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 Py_INCREF(Py_None
); resultobj
= Py_None
;
11723 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11727 PyObject
* obj0
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11734 if (SWIG_arg_fail(1)) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (bool)(arg1
)->IsOk();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11751 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11762 if (SWIG_arg_fail(1)) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (int)(arg1
)->GetNumberJoysticks();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_From_int((int)(result
));
11779 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11783 PyObject
* obj0
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "self", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11790 if (SWIG_arg_fail(1)) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (int)(arg1
)->GetManufacturerId();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_From_int((int)(result
));
11807 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11811 PyObject
* obj0
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11818 if (SWIG_arg_fail(1)) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (int)(arg1
)->GetProductId();
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_From_int((int)(result
));
11835 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11839 PyObject
* obj0
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11846 if (SWIG_arg_fail(1)) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (arg1
)->GetProductName();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11867 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
11877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11878 if (SWIG_arg_fail(1)) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (int)(arg1
)->GetXMin();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_From_int((int)(result
));
11895 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11899 PyObject
* obj0
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "self", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
11905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11906 if (SWIG_arg_fail(1)) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (int)(arg1
)->GetYMin();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= SWIG_From_int((int)(result
));
11923 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
11933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11934 if (SWIG_arg_fail(1)) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (int)(arg1
)->GetZMin();
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_From_int((int)(result
));
11951 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
11961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (int)(arg1
)->GetXMax();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_From_int((int)(result
));
11979 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
11989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (int)(arg1
)->GetYMax();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_From_int((int)(result
));
12007 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12018 if (SWIG_arg_fail(1)) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (int)(arg1
)->GetZMax();
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_From_int((int)(result
));
12035 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12046 if (SWIG_arg_fail(1)) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (int)(arg1
)->GetNumberButtons();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_From_int((int)(result
));
12063 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12074 if (SWIG_arg_fail(1)) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (int)(arg1
)->GetNumberAxes();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_From_int((int)(result
));
12091 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12102 if (SWIG_arg_fail(1)) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (int)(arg1
)->GetMaxButtons();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_From_int((int)(result
));
12119 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12130 if (SWIG_arg_fail(1)) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (int)(arg1
)->GetMaxAxes();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_From_int((int)(result
));
12147 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12151 PyObject
* obj0
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12158 if (SWIG_arg_fail(1)) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (int)(arg1
)->GetPollingMin();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_From_int((int)(result
));
12175 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12186 if (SWIG_arg_fail(1)) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (int)(arg1
)->GetPollingMax();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int((int)(result
));
12203 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12214 if (SWIG_arg_fail(1)) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (int)(arg1
)->GetRudderMin();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_From_int((int)(result
));
12231 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (int)(arg1
)->GetRudderMax();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_From_int((int)(result
));
12259 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12270 if (SWIG_arg_fail(1)) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (int)(arg1
)->GetUMin();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_From_int((int)(result
));
12287 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12298 if (SWIG_arg_fail(1)) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (int)(arg1
)->GetUMax();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_From_int((int)(result
));
12315 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12326 if (SWIG_arg_fail(1)) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (int)(arg1
)->GetVMin();
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_From_int((int)(result
));
12343 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12354 if (SWIG_arg_fail(1)) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 result
= (int)(arg1
)->GetVMax();
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_From_int((int)(result
));
12371 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (bool)(arg1
)->HasRudder();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12399 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12403 PyObject
* obj0
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12410 if (SWIG_arg_fail(1)) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (bool)(arg1
)->HasZ();
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12427 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
;
12429 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12431 PyObject
* obj0
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12438 if (SWIG_arg_fail(1)) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (bool)(arg1
)->HasU();
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12455 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (bool)(arg1
)->HasV();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12483 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12494 if (SWIG_arg_fail(1)) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (bool)(arg1
)->HasPOV();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12511 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (bool)(arg1
)->HasPOV4Dir();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12539 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (bool)(arg1
)->HasPOVCTS();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12567 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12570 wxWindow
*arg2
= (wxWindow
*) 0 ;
12571 int arg3
= (int) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 PyObject
* obj2
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail
;
12583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12584 if (SWIG_arg_fail(2)) SWIG_fail
;
12587 arg3
= (int)(SWIG_As_int(obj2
));
12588 if (SWIG_arg_fail(3)) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12607 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12618 if (SWIG_arg_fail(1)) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 result
= (bool)(arg1
)->ReleaseCapture();
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12635 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12638 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12640 return Py_BuildValue((char *)"");
12642 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12645 int arg2
= (int) 0 ;
12646 int arg3
= (int) wxJOYSTICK1
;
12647 int arg4
= (int) 0 ;
12648 wxJoystickEvent
*result
;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 PyObject
* obj2
= 0 ;
12652 PyObject
* obj3
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12660 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12661 if (SWIG_arg_fail(1)) SWIG_fail
;
12666 arg2
= (int)(SWIG_As_int(obj1
));
12667 if (SWIG_arg_fail(2)) SWIG_fail
;
12672 arg3
= (int)(SWIG_As_int(obj2
));
12673 if (SWIG_arg_fail(3)) SWIG_fail
;
12678 arg4
= (int)(SWIG_As_int(obj3
));
12679 if (SWIG_arg_fail(4)) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12696 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12707 if (SWIG_arg_fail(1)) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12716 wxPoint
* resultptr
;
12717 resultptr
= new wxPoint((wxPoint
&)(result
));
12718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12726 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12737 if (SWIG_arg_fail(1)) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_From_int((int)(result
));
12754 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12765 if (SWIG_arg_fail(1)) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_From_int((int)(result
));
12782 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12793 if (SWIG_arg_fail(1)) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= SWIG_From_int((int)(result
));
12810 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12821 if (SWIG_arg_fail(1)) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= SWIG_From_int((int)(result
));
12838 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self",(char *) "stick", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
12849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12850 if (SWIG_arg_fail(1)) SWIG_fail
;
12852 arg2
= (int)(SWIG_As_int(obj1
));
12853 if (SWIG_arg_fail(2)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->SetJoystick(arg2
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "state", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
12880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail
;
12883 arg2
= (int)(SWIG_As_int(obj1
));
12884 if (SWIG_arg_fail(2)) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->SetButtonState(arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self",(char *) "change", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
12911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail
;
12914 arg2
= (int)(SWIG_As_int(obj1
));
12915 if (SWIG_arg_fail(2)) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 (arg1
)->SetButtonChange(arg2
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 Py_INCREF(Py_None
); resultobj
= Py_None
;
12931 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12934 wxPoint
*arg2
= 0 ;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self",(char *) "pos", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 Py_INCREF(Py_None
); resultobj
= Py_None
;
12963 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 PyObject
* obj1
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self",(char *) "zPos", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12975 if (SWIG_arg_fail(1)) SWIG_fail
;
12977 arg2
= (int)(SWIG_As_int(obj1
));
12978 if (SWIG_arg_fail(2)) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 (arg1
)->SetZPosition(arg2
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 Py_INCREF(Py_None
); resultobj
= Py_None
;
12994 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13005 if (SWIG_arg_fail(1)) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13022 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13050 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13061 if (SWIG_arg_fail(1)) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13078 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13081 int arg2
= (int) wxJOY_BUTTON_ANY
;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self",(char *) "but", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13091 if (SWIG_arg_fail(1)) SWIG_fail
;
13094 arg2
= (int)(SWIG_As_int(obj1
));
13095 if (SWIG_arg_fail(2)) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13114 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13117 int arg2
= (int) wxJOY_BUTTON_ANY
;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self",(char *) "but", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13127 if (SWIG_arg_fail(1)) SWIG_fail
;
13130 arg2
= (int)(SWIG_As_int(obj1
));
13131 if (SWIG_arg_fail(2)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13150 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13153 int arg2
= (int) wxJOY_BUTTON_ANY
;
13155 PyObject
* obj0
= 0 ;
13156 PyObject
* obj1
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "self",(char *) "but", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13163 if (SWIG_arg_fail(1)) SWIG_fail
;
13166 arg2
= (int)(SWIG_As_int(obj1
));
13167 if (SWIG_arg_fail(2)) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13186 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13189 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13191 return Py_BuildValue((char *)"");
13193 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13196 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13198 bool temp1
= false ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "fileName", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13207 arg1
= wxString_in_helper(obj0
);
13208 if (arg1
== NULL
) SWIG_fail
;
13213 if (!wxPyCheckForApp()) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13235 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 PyObject
*arg1
= (PyObject
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "data", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13247 if (!wxPyCheckForApp()) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= (wxSound
*)new_wxSound(arg1
);
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13261 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxSound
*arg1
= (wxSound
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13271 if (SWIG_arg_fail(1)) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 Py_INCREF(Py_None
); resultobj
= Py_None
;
13286 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxSound
*arg1
= (wxSound
*) 0 ;
13289 wxString
*arg2
= 0 ;
13291 bool temp2
= false ;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self",(char *) "fileName", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13300 if (SWIG_arg_fail(1)) SWIG_fail
;
13302 arg2
= wxString_in_helper(obj1
);
13303 if (arg2
== NULL
) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13330 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxSound
*arg1
= (wxSound
*) 0 ;
13333 PyObject
*arg2
= (PyObject
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "data", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13343 if (SWIG_arg_fail(1)) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13361 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxSound
*arg1
= (wxSound
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13372 if (SWIG_arg_fail(1)) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (bool)(arg1
)->IsOk();
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13389 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxSound
*arg1
= (wxSound
*) 0 ;
13392 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "flags", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13402 if (SWIG_arg_fail(1)) SWIG_fail
;
13405 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13406 if (SWIG_arg_fail(2)) SWIG_fail
;
13410 if (!wxPyCheckForApp()) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxString
*arg1
= 0 ;
13429 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13431 bool temp1
= false ;
13432 PyObject
* obj0
= 0 ;
13433 PyObject
* obj1
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "filename",(char *) "flags", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13440 arg1
= wxString_in_helper(obj0
);
13441 if (arg1
== NULL
) SWIG_fail
;
13446 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13447 if (SWIG_arg_fail(2)) SWIG_fail
;
13451 if (!wxPyCheckForApp()) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13475 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 char *kwnames
[] = {
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13483 if (!wxPyCheckForApp()) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 Py_INCREF(Py_None
); resultobj
= Py_None
;
13497 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13500 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13502 return Py_BuildValue((char *)"");
13504 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxString
*arg1
= 0 ;
13507 wxString
*arg2
= 0 ;
13508 wxString
*arg3
= 0 ;
13509 wxString
*arg4
= 0 ;
13510 wxFileTypeInfo
*result
;
13511 bool temp1
= false ;
13512 bool temp2
= false ;
13513 bool temp3
= false ;
13514 bool temp4
= false ;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 PyObject
* obj2
= 0 ;
13518 PyObject
* obj3
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13525 arg1
= wxString_in_helper(obj0
);
13526 if (arg1
== NULL
) SWIG_fail
;
13530 arg2
= wxString_in_helper(obj1
);
13531 if (arg2
== NULL
) SWIG_fail
;
13535 arg3
= wxString_in_helper(obj2
);
13536 if (arg3
== NULL
) SWIG_fail
;
13540 arg4
= wxString_in_helper(obj3
);
13541 if (arg4
== NULL
) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13590 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxArrayString
*arg1
= 0 ;
13593 wxFileTypeInfo
*result
;
13594 bool temp1
= false ;
13595 PyObject
* obj0
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "sArray", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13602 if (! PySequence_Check(obj0
)) {
13603 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13606 arg1
= new wxArrayString
;
13608 int i
, len
=PySequence_Length(obj0
);
13609 for (i
=0; i
<len
; i
++) {
13610 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13612 PyObject
* str
= PyObject_Unicode(item
);
13614 PyObject
* str
= PyObject_Str(item
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13617 arg1
->Add(Py2wxString(str
));
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13631 if (temp1
) delete arg1
;
13636 if (temp1
) delete arg1
;
13642 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxFileTypeInfo
*result
;
13645 char *kwnames
[] = {
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13664 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13675 if (SWIG_arg_fail(1)) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13692 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13695 wxString
*arg2
= 0 ;
13696 int arg3
= (int) 0 ;
13697 bool temp2
= false ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 PyObject
* obj2
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13707 if (SWIG_arg_fail(1)) SWIG_fail
;
13709 arg2
= wxString_in_helper(obj1
);
13710 if (arg2
== NULL
) SWIG_fail
;
13715 arg3
= (int)(SWIG_As_int(obj2
));
13716 if (SWIG_arg_fail(3)) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 Py_INCREF(Py_None
); resultobj
= Py_None
;
13741 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
;
13743 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13744 wxString
*arg2
= 0 ;
13745 bool temp2
= false ;
13746 PyObject
* obj0
= 0 ;
13747 PyObject
* obj1
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self",(char *) "shortDesc", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13754 if (SWIG_arg_fail(1)) SWIG_fail
;
13756 arg2
= wxString_in_helper(obj1
);
13757 if (arg2
== NULL
) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 Py_INCREF(Py_None
); resultobj
= Py_None
;
13782 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13793 if (SWIG_arg_fail(1)) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13798 result
= (wxString
*) &_result_ref
;
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13808 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13817 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13821 PyObject
* obj0
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13828 if (SWIG_arg_fail(1)) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13833 result
= (wxString
*) &_result_ref
;
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13843 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13852 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13856 PyObject
* obj0
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
13862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13863 if (SWIG_arg_fail(1)) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
13868 result
= (wxString
*) &_result_ref
;
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13878 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13887 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
13903 result
= (wxString
*) &_result_ref
;
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13911 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13913 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13922 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
13932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13933 if (SWIG_arg_fail(1)) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
13938 result
= (wxString
*) &_result_ref
;
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13948 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13957 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13960 wxArrayString
*result
;
13961 PyObject
* obj0
= 0 ;
13962 char *kwnames
[] = {
13963 (char *) "self", NULL
13966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
13967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13968 if (SWIG_arg_fail(1)) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
13973 result
= (wxArrayString
*) &_result_ref
;
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= wxArrayString2PyList_helper(*result
);
13988 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
13998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13999 if (SWIG_arg_fail(1)) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= SWIG_From_int((int)(result
));
14016 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self", NULL
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14027 if (SWIG_arg_fail(1)) SWIG_fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14032 result
= (wxString
*) &_result_ref
;
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14042 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14051 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self", NULL
14060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14062 if (SWIG_arg_fail(1)) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= SWIG_From_int((int)(result
));
14079 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14082 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14084 return Py_BuildValue((char *)"");
14086 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxFileTypeInfo
*arg1
= 0 ;
14089 wxFileType
*result
;
14090 PyObject
* obj0
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "ftInfo", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14098 if (SWIG_arg_fail(1)) SWIG_fail
;
14099 if (arg1
== NULL
) {
14100 SWIG_null_ref("wxFileTypeInfo");
14102 if (SWIG_arg_fail(1)) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14118 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxFileType
*arg1
= (wxFileType
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14128 if (SWIG_arg_fail(1)) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 Py_INCREF(Py_None
); resultobj
= Py_None
;
14143 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
;
14145 wxFileType
*arg1
= (wxFileType
*) 0 ;
14147 PyObject
* obj0
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14154 if (SWIG_arg_fail(1)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= result
;
14169 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxFileType
*arg1
= (wxFileType
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= result
;
14195 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxFileType
*arg1
= (wxFileType
*) 0 ;
14199 PyObject
* obj0
= 0 ;
14200 char *kwnames
[] = {
14201 (char *) "self", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14206 if (SWIG_arg_fail(1)) SWIG_fail
;
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
;
14221 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxFileType
*arg1
= (wxFileType
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14232 if (SWIG_arg_fail(1)) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14247 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxFileType
*arg1
= (wxFileType
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14258 if (SWIG_arg_fail(1)) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= result
;
14273 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxFileType
*arg1
= (wxFileType
*) 0 ;
14277 PyObject
* obj0
= 0 ;
14278 char *kwnames
[] = {
14279 (char *) "self", NULL
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14284 if (SWIG_arg_fail(1)) SWIG_fail
;
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= result
;
14299 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxFileType
*arg1
= (wxFileType
*) 0 ;
14302 wxString
*arg2
= 0 ;
14303 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14304 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14306 bool temp2
= false ;
14307 bool temp3
= false ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 PyObject
* obj2
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14317 if (SWIG_arg_fail(1)) SWIG_fail
;
14319 arg2
= wxString_in_helper(obj1
);
14320 if (arg2
== NULL
) SWIG_fail
;
14325 arg3
= wxString_in_helper(obj2
);
14326 if (arg3
== NULL
) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= result
;
14360 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxFileType
*arg1
= (wxFileType
*) 0 ;
14363 wxString
*arg2
= 0 ;
14364 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14365 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14367 bool temp2
= false ;
14368 bool temp3
= false ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 PyObject
* obj2
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14378 if (SWIG_arg_fail(1)) SWIG_fail
;
14380 arg2
= wxString_in_helper(obj1
);
14381 if (arg2
== NULL
) SWIG_fail
;
14386 arg3
= wxString_in_helper(obj2
);
14387 if (arg3
== NULL
) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
;
14421 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxFileType
*arg1
= (wxFileType
*) 0 ;
14424 wxString
*arg2
= 0 ;
14425 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14426 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14428 bool temp2
= false ;
14429 bool temp3
= false ;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 PyObject
* obj2
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14439 if (SWIG_arg_fail(1)) SWIG_fail
;
14441 arg2
= wxString_in_helper(obj1
);
14442 if (arg2
== NULL
) SWIG_fail
;
14447 arg3
= wxString_in_helper(obj2
);
14448 if (arg3
== NULL
) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= result
;
14482 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxFileType
*arg1
= (wxFileType
*) 0 ;
14485 wxString
*arg2
= 0 ;
14486 wxString
*arg3
= 0 ;
14487 bool arg4
= (bool) true ;
14489 bool temp2
= false ;
14490 bool temp3
= false ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 PyObject
* obj3
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail
;
14503 arg2
= wxString_in_helper(obj1
);
14504 if (arg2
== NULL
) SWIG_fail
;
14508 arg3
= wxString_in_helper(obj2
);
14509 if (arg3
== NULL
) SWIG_fail
;
14514 arg4
= (bool)(SWIG_As_bool(obj3
));
14515 if (SWIG_arg_fail(4)) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14550 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxFileType
*arg1
= (wxFileType
*) 0 ;
14553 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14554 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14555 int arg3
= (int) 0 ;
14557 bool temp2
= false ;
14558 PyObject
* obj0
= 0 ;
14559 PyObject
* obj1
= 0 ;
14560 PyObject
* obj2
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self",(char *) "cmd",(char *) "index", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail
;
14570 arg2
= wxString_in_helper(obj1
);
14571 if (arg2
== NULL
) SWIG_fail
;
14577 arg3
= (int)(SWIG_As_int(obj2
));
14578 if (SWIG_arg_fail(3)) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14605 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxFileType
*arg1
= (wxFileType
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14616 if (SWIG_arg_fail(1)) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (bool)(arg1
)->Unassociate();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14633 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxString
*arg1
= 0 ;
14636 wxString
*arg2
= 0 ;
14637 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14638 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14640 bool temp1
= false ;
14641 bool temp2
= false ;
14642 bool temp3
= false ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 PyObject
* obj2
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14652 arg1
= wxString_in_helper(obj0
);
14653 if (arg1
== NULL
) SWIG_fail
;
14657 arg2
= wxString_in_helper(obj1
);
14658 if (arg2
== NULL
) SWIG_fail
;
14663 arg3
= wxString_in_helper(obj2
);
14664 if (arg3
== NULL
) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14712 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14715 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14717 return Py_BuildValue((char *)"");
14719 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14720 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14725 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14728 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14733 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxString
*arg1
= 0 ;
14736 wxString
*arg2
= 0 ;
14738 bool temp1
= false ;
14739 bool temp2
= false ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "mimeType",(char *) "wildcard", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14748 arg1
= wxString_in_helper(obj0
);
14749 if (arg1
== NULL
) SWIG_fail
;
14753 arg2
= wxString_in_helper(obj1
);
14754 if (arg2
== NULL
) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14789 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxMimeTypesManager
*result
;
14792 char *kwnames
[] = {
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14811 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14814 int arg2
= (int) wxMAILCAP_ALL
;
14815 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14816 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14817 bool temp3
= false ;
14818 PyObject
* obj0
= 0 ;
14819 PyObject
* obj1
= 0 ;
14820 PyObject
* obj2
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail
;
14830 arg2
= (int)(SWIG_As_int(obj1
));
14831 if (SWIG_arg_fail(2)) SWIG_fail
;
14836 arg3
= wxString_in_helper(obj2
);
14837 if (arg3
== NULL
) SWIG_fail
;
14842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14843 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14848 Py_INCREF(Py_None
); resultobj
= Py_None
;
14863 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
14872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14873 if (SWIG_arg_fail(1)) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 (arg1
)->ClearData();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 Py_INCREF(Py_None
); resultobj
= Py_None
;
14888 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14891 wxString
*arg2
= 0 ;
14892 wxFileType
*result
;
14893 bool temp2
= false ;
14894 PyObject
* obj0
= 0 ;
14895 PyObject
* obj1
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self",(char *) "ext", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
14901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14902 if (SWIG_arg_fail(1)) SWIG_fail
;
14904 arg2
= wxString_in_helper(obj1
);
14905 if (arg2
== NULL
) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14930 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14933 wxString
*arg2
= 0 ;
14934 wxFileType
*result
;
14935 bool temp2
= false ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "mimeType", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14944 if (SWIG_arg_fail(1)) SWIG_fail
;
14946 arg2
= wxString_in_helper(obj1
);
14947 if (arg2
== NULL
) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14972 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14975 wxString
*arg2
= 0 ;
14976 bool arg3
= (bool) false ;
14978 bool temp2
= false ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 PyObject
* obj2
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self",(char *) "filename",(char *) "fallback", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14988 if (SWIG_arg_fail(1)) SWIG_fail
;
14990 arg2
= wxString_in_helper(obj1
);
14991 if (arg2
== NULL
) SWIG_fail
;
14996 arg3
= (bool)(SWIG_As_bool(obj2
));
14997 if (SWIG_arg_fail(3)) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15024 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15027 wxString
*arg2
= 0 ;
15029 bool temp2
= false ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "filename", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail
;
15040 arg2
= wxString_in_helper(obj1
);
15041 if (arg2
== NULL
) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15068 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15079 if (SWIG_arg_fail(1)) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= result
;
15094 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15097 wxFileTypeInfo
*arg2
= 0 ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "ft", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail
;
15108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15109 if (SWIG_arg_fail(2)) SWIG_fail
;
15110 if (arg2
== NULL
) {
15111 SWIG_null_ref("wxFileTypeInfo");
15113 if (SWIG_arg_fail(2)) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 Py_INCREF(Py_None
); resultobj
= Py_None
;
15129 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15132 wxFileTypeInfo
*arg2
= 0 ;
15133 wxFileType
*result
;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self",(char *) "ftInfo", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15142 if (SWIG_arg_fail(1)) SWIG_fail
;
15144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15145 if (SWIG_arg_fail(2)) SWIG_fail
;
15146 if (arg2
== NULL
) {
15147 SWIG_null_ref("wxFileTypeInfo");
15149 if (SWIG_arg_fail(2)) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15165 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15168 wxFileType
*arg2
= (wxFileType
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "ft", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15180 if (SWIG_arg_fail(2)) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (bool)(arg1
)->Unassociate(arg2
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15197 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15207 if (SWIG_arg_fail(1)) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 Py_INCREF(Py_None
); resultobj
= Py_None
;
15222 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15225 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15227 return Py_BuildValue((char *)"");
15229 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15230 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15235 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15240 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15242 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15249 static int _wrap_ART_MENU_set(PyObject
*) {
15250 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15255 static PyObject
*_wrap_ART_MENU_get(void) {
15260 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15262 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15269 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15270 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15275 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15280 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15282 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15289 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15290 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15295 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15300 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15302 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15309 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15310 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15315 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15320 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15322 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15329 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15330 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15335 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15340 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15342 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15349 static int _wrap_ART_BUTTON_set(PyObject
*) {
15350 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15355 static PyObject
*_wrap_ART_BUTTON_get(void) {
15360 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15362 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15369 static int _wrap_ART_OTHER_set(PyObject
*) {
15370 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15375 static PyObject
*_wrap_ART_OTHER_get(void) {
15380 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15382 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15389 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15390 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15395 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15400 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15402 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15409 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15410 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15415 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15420 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15422 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15429 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15430 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15435 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15440 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15442 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15449 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15450 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15455 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15460 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15462 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15469 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15470 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15475 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15480 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15482 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15489 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15490 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15495 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15500 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15502 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15509 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15510 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15515 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15520 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15522 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15529 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15530 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15535 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15540 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15542 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15549 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15550 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15555 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15560 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15562 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15569 static int _wrap_ART_GO_UP_set(PyObject
*) {
15570 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15575 static PyObject
*_wrap_ART_GO_UP_get(void) {
15580 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15582 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15589 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15590 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15595 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15600 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15602 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15609 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15610 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15615 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15620 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15622 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15629 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15630 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15635 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15640 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15642 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15649 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15650 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15655 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15660 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15662 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15669 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15670 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15675 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15680 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15682 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15689 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15690 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15695 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15700 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15702 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15709 static int _wrap_ART_PRINT_set(PyObject
*) {
15710 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15715 static PyObject
*_wrap_ART_PRINT_get(void) {
15720 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15722 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15729 static int _wrap_ART_HELP_set(PyObject
*) {
15730 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15735 static PyObject
*_wrap_ART_HELP_get(void) {
15740 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15742 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15749 static int _wrap_ART_TIP_set(PyObject
*) {
15750 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15755 static PyObject
*_wrap_ART_TIP_get(void) {
15760 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15762 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15769 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15770 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15775 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15780 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15782 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15789 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15790 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15795 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15800 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15802 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15809 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15810 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15815 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15820 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15822 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15829 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15830 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15835 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15840 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15842 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15849 static int _wrap_ART_FLOPPY_set(PyObject
*) {
15850 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
15855 static PyObject
*_wrap_ART_FLOPPY_get(void) {
15860 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15862 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15869 static int _wrap_ART_CDROM_set(PyObject
*) {
15870 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
15875 static PyObject
*_wrap_ART_CDROM_get(void) {
15880 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
15882 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
15889 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
15890 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
15895 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
15900 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
15902 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
15909 static int _wrap_ART_FOLDER_set(PyObject
*) {
15910 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
15915 static PyObject
*_wrap_ART_FOLDER_get(void) {
15920 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
15922 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
15929 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
15930 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
15935 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
15940 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
15942 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
15949 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
15950 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
15955 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
15960 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
15962 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
15969 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
15970 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
15975 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
15980 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
15982 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
15989 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
15990 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
15995 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16000 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16002 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16009 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16010 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16015 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16020 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16022 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16029 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16030 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16035 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16040 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16042 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16049 static int _wrap_ART_ERROR_set(PyObject
*) {
16050 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16055 static PyObject
*_wrap_ART_ERROR_get(void) {
16060 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16062 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16069 static int _wrap_ART_QUESTION_set(PyObject
*) {
16070 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16075 static PyObject
*_wrap_ART_QUESTION_get(void) {
16080 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16082 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16089 static int _wrap_ART_WARNING_set(PyObject
*) {
16090 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16095 static PyObject
*_wrap_ART_WARNING_get(void) {
16100 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16102 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16109 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16110 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16115 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16120 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16122 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16129 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16130 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16135 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16140 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16142 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16149 static int _wrap_ART_COPY_set(PyObject
*) {
16150 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16155 static PyObject
*_wrap_ART_COPY_get(void) {
16160 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16162 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16169 static int _wrap_ART_CUT_set(PyObject
*) {
16170 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16175 static PyObject
*_wrap_ART_CUT_get(void) {
16180 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16182 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16189 static int _wrap_ART_PASTE_set(PyObject
*) {
16190 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16195 static PyObject
*_wrap_ART_PASTE_get(void) {
16200 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16202 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16209 static int _wrap_ART_DELETE_set(PyObject
*) {
16210 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16215 static PyObject
*_wrap_ART_DELETE_get(void) {
16220 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16222 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16229 static int _wrap_ART_UNDO_set(PyObject
*) {
16230 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16235 static PyObject
*_wrap_ART_UNDO_get(void) {
16240 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16242 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16249 static int _wrap_ART_REDO_set(PyObject
*) {
16250 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16255 static PyObject
*_wrap_ART_REDO_get(void) {
16260 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16262 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16269 static int _wrap_ART_QUIT_set(PyObject
*) {
16270 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16275 static PyObject
*_wrap_ART_QUIT_get(void) {
16280 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16282 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16289 static int _wrap_ART_FIND_set(PyObject
*) {
16290 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16295 static PyObject
*_wrap_ART_FIND_get(void) {
16300 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16302 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16309 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16310 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16315 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16320 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16322 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16329 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxPyArtProvider
*result
;
16332 char *kwnames
[] = {
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16338 if (!wxPyCheckForApp()) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16352 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16355 PyObject
*arg2
= (PyObject
*) 0 ;
16356 PyObject
*arg3
= (PyObject
*) 0 ;
16357 PyObject
* obj0
= 0 ;
16358 PyObject
* obj1
= 0 ;
16359 PyObject
* obj2
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self",(char *) "self",(char *) "_class", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16366 if (SWIG_arg_fail(1)) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 Py_INCREF(Py_None
); resultobj
= Py_None
;
16383 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "provider", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16393 if (SWIG_arg_fail(1)) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 wxPyArtProvider::PushProvider(arg1
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16411 char *kwnames
[] = {
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (bool)wxPyArtProvider::PopProvider();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16432 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "provider", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16443 if (SWIG_arg_fail(1)) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16460 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxString
*arg1
= 0 ;
16463 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16464 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16465 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16466 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16468 bool temp1
= false ;
16469 bool temp2
= false ;
16471 PyObject
* obj0
= 0 ;
16472 PyObject
* obj1
= 0 ;
16473 PyObject
* obj2
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "id",(char *) "client",(char *) "size", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16480 arg1
= wxString_in_helper(obj0
);
16481 if (arg1
== NULL
) SWIG_fail
;
16486 arg2
= wxString_in_helper(obj1
);
16487 if (arg2
== NULL
) SWIG_fail
;
16494 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16498 if (!wxPyCheckForApp()) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16506 wxBitmap
* resultptr
;
16507 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16532 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxString
*arg1
= 0 ;
16535 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16536 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16537 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16538 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16540 bool temp1
= false ;
16541 bool temp2
= false ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 PyObject
* obj2
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "id",(char *) "client",(char *) "size", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16552 arg1
= wxString_in_helper(obj0
);
16553 if (arg1
== NULL
) SWIG_fail
;
16558 arg2
= wxString_in_helper(obj1
);
16559 if (arg2
== NULL
) SWIG_fail
;
16566 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16570 if (!wxPyCheckForApp()) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16578 wxIcon
* resultptr
;
16579 resultptr
= new wxIcon((wxIcon
&)(result
));
16580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16604 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 wxPyArtProvider_Destroy(arg1
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 Py_INCREF(Py_None
); resultobj
= Py_None
;
16629 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16632 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16634 return Py_BuildValue((char *)"");
16636 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16639 PyObject
* obj0
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16646 if (SWIG_arg_fail(1)) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 Py_INCREF(Py_None
); resultobj
= Py_None
;
16661 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16664 wxConfigBase
*result
;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "config", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16672 if (SWIG_arg_fail(1)) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16687 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 bool arg1
= (bool) true ;
16690 wxConfigBase
*result
;
16691 PyObject
* obj0
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "createOnDemand", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16699 arg1
= (bool)(SWIG_As_bool(obj0
));
16700 if (SWIG_arg_fail(1)) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16717 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxConfigBase
*result
;
16720 char *kwnames
[] = {
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= (wxConfigBase
*)wxConfigBase::Create();
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16739 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 char *kwnames
[] = {
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 wxConfigBase::DontCreateOnDemand();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 Py_INCREF(Py_None
); resultobj
= Py_None
;
16760 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16763 wxString
*arg2
= 0 ;
16764 bool temp2
= false ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self",(char *) "path", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16773 if (SWIG_arg_fail(1)) SWIG_fail
;
16775 arg2
= wxString_in_helper(obj1
);
16776 if (arg2
== NULL
) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 (arg1
)->SetPath((wxString
const &)*arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 Py_INCREF(Py_None
); resultobj
= Py_None
;
16801 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16812 if (SWIG_arg_fail(1)) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16817 result
= (wxString
*) &_result_ref
;
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16827 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16836 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= result
;
16862 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self",(char *) "index", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16877 arg2
= (long)(SWIG_As_long(obj1
));
16878 if (SWIG_arg_fail(2)) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= result
;
16894 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16898 PyObject
* obj0
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "self", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
16904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16905 if (SWIG_arg_fail(1)) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= result
;
16920 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 PyObject
* obj1
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "self",(char *) "index", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
16932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16933 if (SWIG_arg_fail(1)) SWIG_fail
;
16935 arg2
= (long)(SWIG_As_long(obj1
));
16936 if (SWIG_arg_fail(2)) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= result
;
16952 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16955 bool arg2
= (bool) false ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "recursive", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
16964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail
;
16968 arg2
= (bool)(SWIG_As_bool(obj1
));
16969 if (SWIG_arg_fail(2)) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16988 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16991 bool arg2
= (bool) false ;
16993 PyObject
* obj0
= 0 ;
16994 PyObject
* obj1
= 0 ;
16995 char *kwnames
[] = {
16996 (char *) "self",(char *) "recursive", NULL
16999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17001 if (SWIG_arg_fail(1)) SWIG_fail
;
17004 arg2
= (bool)(SWIG_As_bool(obj1
));
17005 if (SWIG_arg_fail(2)) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17024 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17027 wxString
*arg2
= 0 ;
17029 bool temp2
= false ;
17030 PyObject
* obj0
= 0 ;
17031 PyObject
* obj1
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self",(char *) "name", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17038 if (SWIG_arg_fail(1)) SWIG_fail
;
17040 arg2
= wxString_in_helper(obj1
);
17041 if (arg2
== NULL
) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17068 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17071 wxString
*arg2
= 0 ;
17073 bool temp2
= false ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self",(char *) "name", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17082 if (SWIG_arg_fail(1)) SWIG_fail
;
17084 arg2
= wxString_in_helper(obj1
);
17085 if (arg2
== NULL
) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17112 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17115 wxString
*arg2
= 0 ;
17117 bool temp2
= false ;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self",(char *) "name", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17126 if (SWIG_arg_fail(1)) SWIG_fail
;
17128 arg2
= wxString_in_helper(obj1
);
17129 if (arg2
== NULL
) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17156 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17159 wxString
*arg2
= 0 ;
17160 wxConfigBase::EntryType result
;
17161 bool temp2
= false ;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj1
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self",(char *) "name", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17170 if (SWIG_arg_fail(1)) SWIG_fail
;
17172 arg2
= wxString_in_helper(obj1
);
17173 if (arg2
== NULL
) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= SWIG_From_int((result
));
17198 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17201 wxString
*arg2
= 0 ;
17202 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17205 bool temp2
= false ;
17206 bool temp3
= false ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17216 if (SWIG_arg_fail(1)) SWIG_fail
;
17218 arg2
= wxString_in_helper(obj1
);
17219 if (arg2
== NULL
) SWIG_fail
;
17224 arg3
= wxString_in_helper(obj2
);
17225 if (arg3
== NULL
) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17265 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17268 wxString
*arg2
= 0 ;
17269 long arg3
= (long) 0 ;
17271 bool temp2
= false ;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 PyObject
* obj2
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17281 if (SWIG_arg_fail(1)) SWIG_fail
;
17283 arg2
= wxString_in_helper(obj1
);
17284 if (arg2
== NULL
) SWIG_fail
;
17289 arg3
= (long)(SWIG_As_long(obj2
));
17290 if (SWIG_arg_fail(3)) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= SWIG_From_long((long)(result
));
17317 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17320 wxString
*arg2
= 0 ;
17321 double arg3
= (double) 0.0 ;
17323 bool temp2
= false ;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 PyObject
* obj2
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17333 if (SWIG_arg_fail(1)) SWIG_fail
;
17335 arg2
= wxString_in_helper(obj1
);
17336 if (arg2
== NULL
) SWIG_fail
;
17341 arg3
= (double)(SWIG_As_double(obj2
));
17342 if (SWIG_arg_fail(3)) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= SWIG_From_double((double)(result
));
17369 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17372 wxString
*arg2
= 0 ;
17373 bool arg3
= (bool) false ;
17375 bool temp2
= false ;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 PyObject
* obj2
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail
;
17387 arg2
= wxString_in_helper(obj1
);
17388 if (arg2
== NULL
) SWIG_fail
;
17393 arg3
= (bool)(SWIG_As_bool(obj2
));
17394 if (SWIG_arg_fail(3)) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17421 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17424 wxString
*arg2
= 0 ;
17425 wxString
*arg3
= 0 ;
17427 bool temp2
= false ;
17428 bool temp3
= false ;
17429 PyObject
* obj0
= 0 ;
17430 PyObject
* obj1
= 0 ;
17431 PyObject
* obj2
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self",(char *) "key",(char *) "value", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17438 if (SWIG_arg_fail(1)) SWIG_fail
;
17440 arg2
= wxString_in_helper(obj1
);
17441 if (arg2
== NULL
) SWIG_fail
;
17445 arg3
= wxString_in_helper(obj2
);
17446 if (arg3
== NULL
) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17481 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17484 wxString
*arg2
= 0 ;
17487 bool temp2
= false ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 PyObject
* obj2
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self",(char *) "key",(char *) "value", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17497 if (SWIG_arg_fail(1)) SWIG_fail
;
17499 arg2
= wxString_in_helper(obj1
);
17500 if (arg2
== NULL
) SWIG_fail
;
17504 arg3
= (long)(SWIG_As_long(obj2
));
17505 if (SWIG_arg_fail(3)) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17531 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17534 wxString
*arg2
= 0 ;
17537 bool temp2
= false ;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 PyObject
* obj2
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "key",(char *) "value", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17547 if (SWIG_arg_fail(1)) SWIG_fail
;
17549 arg2
= wxString_in_helper(obj1
);
17550 if (arg2
== NULL
) SWIG_fail
;
17554 arg3
= (double)(SWIG_As_double(obj2
));
17555 if (SWIG_arg_fail(3)) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17581 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17584 wxString
*arg2
= 0 ;
17587 bool temp2
= false ;
17588 PyObject
* obj0
= 0 ;
17589 PyObject
* obj1
= 0 ;
17590 PyObject
* obj2
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self",(char *) "key",(char *) "value", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17597 if (SWIG_arg_fail(1)) SWIG_fail
;
17599 arg2
= wxString_in_helper(obj1
);
17600 if (arg2
== NULL
) SWIG_fail
;
17604 arg3
= (bool)(SWIG_As_bool(obj2
));
17605 if (SWIG_arg_fail(3)) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17631 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17634 bool arg2
= (bool) false ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "currentOnly", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17644 if (SWIG_arg_fail(1)) SWIG_fail
;
17647 arg2
= (bool)(SWIG_As_bool(obj1
));
17648 if (SWIG_arg_fail(2)) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (bool)(arg1
)->Flush(arg2
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17667 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
;
17669 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17670 wxString
*arg2
= 0 ;
17671 wxString
*arg3
= 0 ;
17673 bool temp2
= false ;
17674 bool temp3
= false ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 PyObject
* obj2
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17684 if (SWIG_arg_fail(1)) SWIG_fail
;
17686 arg2
= wxString_in_helper(obj1
);
17687 if (arg2
== NULL
) SWIG_fail
;
17691 arg3
= wxString_in_helper(obj2
);
17692 if (arg3
== NULL
) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17727 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17730 wxString
*arg2
= 0 ;
17731 wxString
*arg3
= 0 ;
17733 bool temp2
= false ;
17734 bool temp3
= false ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 PyObject
* obj2
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail
;
17746 arg2
= wxString_in_helper(obj1
);
17747 if (arg2
== NULL
) SWIG_fail
;
17751 arg3
= wxString_in_helper(obj2
);
17752 if (arg3
== NULL
) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17787 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17790 wxString
*arg2
= 0 ;
17791 bool arg3
= (bool) true ;
17793 bool temp2
= false ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 PyObject
* obj2
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17803 if (SWIG_arg_fail(1)) SWIG_fail
;
17805 arg2
= wxString_in_helper(obj1
);
17806 if (arg2
== NULL
) SWIG_fail
;
17811 arg3
= (bool)(SWIG_As_bool(obj2
));
17812 if (SWIG_arg_fail(3)) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17839 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17842 wxString
*arg2
= 0 ;
17844 bool temp2
= false ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self",(char *) "key", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17853 if (SWIG_arg_fail(1)) SWIG_fail
;
17855 arg2
= wxString_in_helper(obj1
);
17856 if (arg2
== NULL
) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17883 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17887 PyObject
* obj0
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
17893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17894 if (SWIG_arg_fail(1)) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= (bool)(arg1
)->DeleteAll();
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17911 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17914 bool arg2
= (bool) true ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "doIt", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
17922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17923 if (SWIG_arg_fail(1)) SWIG_fail
;
17926 arg2
= (bool)(SWIG_As_bool(obj1
));
17927 if (SWIG_arg_fail(2)) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 (arg1
)->SetExpandEnvVars(arg2
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 Py_INCREF(Py_None
); resultobj
= Py_None
;
17944 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
17954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17955 if (SWIG_arg_fail(1)) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17972 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17975 bool arg2
= (bool) true ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "doIt", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17984 if (SWIG_arg_fail(1)) SWIG_fail
;
17987 arg2
= (bool)(SWIG_As_bool(obj1
));
17988 if (SWIG_arg_fail(2)) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 (arg1
)->SetRecordDefaults(arg2
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 Py_INCREF(Py_None
); resultobj
= Py_None
;
18005 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18016 if (SWIG_arg_fail(1)) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18033 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18036 wxString
*arg2
= 0 ;
18038 bool temp2
= false ;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self",(char *) "str", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18047 if (SWIG_arg_fail(1)) SWIG_fail
;
18049 arg2
= wxString_in_helper(obj1
);
18050 if (arg2
== NULL
) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18081 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18092 if (SWIG_arg_fail(1)) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18113 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18124 if (SWIG_arg_fail(1)) SWIG_fail
;
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18145 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18148 wxString
*arg2
= 0 ;
18149 bool temp2
= false ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "appName", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 arg2
= wxString_in_helper(obj1
);
18161 if (arg2
== NULL
) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->SetAppName((wxString
const &)*arg2
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18186 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18189 wxString
*arg2
= 0 ;
18190 bool temp2
= false ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self",(char *) "vendorName", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18199 if (SWIG_arg_fail(1)) SWIG_fail
;
18201 arg2
= wxString_in_helper(obj1
);
18202 if (arg2
== NULL
) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 Py_INCREF(Py_None
); resultobj
= Py_None
;
18227 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self",(char *) "style", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 arg2
= (long)(SWIG_As_long(obj1
));
18242 if (SWIG_arg_fail(2)) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetStyle(arg2
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18269 if (SWIG_arg_fail(1)) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_From_long((long)(result
));
18286 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18289 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18291 return Py_BuildValue((char *)"");
18293 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18296 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18297 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18298 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18299 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18300 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18301 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18302 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18303 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18305 bool temp1
= false ;
18306 bool temp2
= false ;
18307 bool temp3
= false ;
18308 bool temp4
= false ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 PyObject
* obj2
= 0 ;
18312 PyObject
* obj3
= 0 ;
18313 PyObject
* obj4
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18321 arg1
= wxString_in_helper(obj0
);
18322 if (arg1
== NULL
) SWIG_fail
;
18328 arg2
= wxString_in_helper(obj1
);
18329 if (arg2
== NULL
) SWIG_fail
;
18335 arg3
= wxString_in_helper(obj2
);
18336 if (arg3
== NULL
) SWIG_fail
;
18342 arg4
= wxString_in_helper(obj3
);
18343 if (arg4
== NULL
) SWIG_fail
;
18349 arg5
= (long)(SWIG_As_long(obj4
));
18350 if (SWIG_arg_fail(5)) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18399 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxConfig
*arg1
= (wxConfig
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18409 if (SWIG_arg_fail(1)) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 Py_INCREF(Py_None
); resultobj
= Py_None
;
18424 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18427 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18429 return Py_BuildValue((char *)"");
18431 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18434 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18435 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18436 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18437 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18438 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18439 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18440 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18441 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18442 wxFileConfig
*result
;
18443 bool temp1
= false ;
18444 bool temp2
= false ;
18445 bool temp3
= false ;
18446 bool temp4
= false ;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj1
= 0 ;
18449 PyObject
* obj2
= 0 ;
18450 PyObject
* obj3
= 0 ;
18451 PyObject
* obj4
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18459 arg1
= wxString_in_helper(obj0
);
18460 if (arg1
== NULL
) SWIG_fail
;
18466 arg2
= wxString_in_helper(obj1
);
18467 if (arg2
== NULL
) SWIG_fail
;
18473 arg3
= wxString_in_helper(obj2
);
18474 if (arg3
== NULL
) SWIG_fail
;
18480 arg4
= wxString_in_helper(obj3
);
18481 if (arg4
== NULL
) SWIG_fail
;
18487 arg5
= (long)(SWIG_As_long(obj4
));
18488 if (SWIG_arg_fail(5)) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18537 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 Py_INCREF(Py_None
); resultobj
= Py_None
;
18562 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18565 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18567 return Py_BuildValue((char *)"");
18569 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18572 wxString
*arg2
= 0 ;
18573 wxConfigPathChanger
*result
;
18574 bool temp2
= false ;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "config",(char *) "entry", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail
;
18585 arg2
= wxString_in_helper(obj1
);
18586 if (arg2
== NULL
) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18611 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18621 if (SWIG_arg_fail(1)) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 Py_INCREF(Py_None
); resultobj
= Py_None
;
18636 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18640 PyObject
* obj0
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18647 if (SWIG_arg_fail(1)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18652 result
= (wxString
*) &_result_ref
;
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18671 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18674 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18676 return Py_BuildValue((char *)"");
18678 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxString
*arg1
= 0 ;
18682 bool temp1
= false ;
18683 PyObject
* obj0
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "sz", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18690 arg1
= wxString_in_helper(obj0
);
18691 if (arg1
== NULL
) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18722 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18723 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18728 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18733 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18735 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18742 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18743 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18748 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18753 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18755 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18762 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxDateTime::Country arg1
;
18765 PyObject
* obj0
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "country", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18772 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18773 if (SWIG_arg_fail(1)) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 Py_INCREF(Py_None
); resultobj
= Py_None
;
18789 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxDateTime::Country result
;
18792 char *kwnames
[] = {
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= SWIG_From_int((result
));
18811 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "country", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18823 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18824 if (SWIG_arg_fail(1)) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18843 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "cal", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18855 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18856 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_From_int((int)(result
));
18875 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18879 PyObject
* obj0
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "year", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
18886 arg1
= (int)(SWIG_As_int(obj0
));
18887 if (SWIG_arg_fail(1)) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_From_int((int)(result
));
18905 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18908 wxDateTime::Month result
;
18909 PyObject
* obj0
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "cal", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
18917 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18918 if (SWIG_arg_fail(1)) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= SWIG_From_int((result
));
18935 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 int arg1
= (int) wxDateTime::Inv_Year
;
18938 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18940 PyObject
* obj0
= 0 ;
18941 PyObject
* obj1
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "year",(char *) "cal", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18949 arg1
= (int)(SWIG_As_int(obj0
));
18950 if (SWIG_arg_fail(1)) SWIG_fail
;
18955 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
18956 if (SWIG_arg_fail(2)) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18975 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 int arg1
= (int) wxDateTime::Inv_Year
;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "year", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
18987 arg1
= (int)(SWIG_As_int(obj0
));
18988 if (SWIG_arg_fail(1)) SWIG_fail
;
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 result
= (int)wxDateTime::GetCentury(arg1
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_From_int((int)(result
));
19007 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19010 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "year",(char *) "cal", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19020 arg1
= (int)(SWIG_As_int(obj0
));
19021 if (SWIG_arg_fail(1)) SWIG_fail
;
19025 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19026 if (SWIG_arg_fail(2)) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= SWIG_From_int((int)(result
));
19045 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxDateTime::Month arg1
;
19048 int arg2
= (int) wxDateTime::Inv_Year
;
19049 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 PyObject
* obj2
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "month",(char *) "year",(char *) "cal", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19060 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19061 if (SWIG_arg_fail(1)) SWIG_fail
;
19065 arg2
= (int)(SWIG_As_int(obj1
));
19066 if (SWIG_arg_fail(2)) SWIG_fail
;
19071 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19072 if (SWIG_arg_fail(3)) SWIG_fail
;
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_From_int((int)(result
));
19091 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxDateTime::Month arg1
;
19094 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "month",(char *) "flags", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19105 if (SWIG_arg_fail(1)) SWIG_fail
;
19109 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19110 if (SWIG_arg_fail(2)) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19133 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxDateTime::WeekDay arg1
;
19136 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "weekday",(char *) "flags", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19147 if (SWIG_arg_fail(1)) SWIG_fail
;
19151 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19152 if (SWIG_arg_fail(2)) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19175 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxString
*arg1
= (wxString
*) 0 ;
19178 wxString
*arg2
= (wxString
*) 0 ;
19179 bool temp1
= false ;
19180 bool temp2
= false ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "OUTPUT",(char *) "OUTPUT", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 arg1
= wxString_in_helper(obj0
);
19190 if (arg1
== NULL
) SWIG_fail
;
19194 arg2
= wxString_in_helper(obj1
);
19195 if (arg2
== NULL
) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 wxDateTime::GetAmPmStrings(arg1
,arg2
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 int arg1
= (int) wxDateTime::Inv_Year
;
19231 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "year",(char *) "country", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19242 arg1
= (int)(SWIG_As_int(obj0
));
19243 if (SWIG_arg_fail(1)) SWIG_fail
;
19248 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19249 if (SWIG_arg_fail(2)) SWIG_fail
;
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19268 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 int arg1
= (int) wxDateTime::Inv_Year
;
19271 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "year",(char *) "country", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19282 arg1
= (int)(SWIG_As_int(obj0
));
19283 if (SWIG_arg_fail(1)) SWIG_fail
;
19288 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19289 if (SWIG_arg_fail(2)) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19300 wxDateTime
* resultptr
;
19301 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19310 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 int arg1
= (int) wxDateTime::Inv_Year
;
19313 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "year",(char *) "country", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 arg1
= (int)(SWIG_As_int(obj0
));
19325 if (SWIG_arg_fail(1)) SWIG_fail
;
19330 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19331 if (SWIG_arg_fail(2)) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19342 wxDateTime
* resultptr
;
19343 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19352 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19355 char *kwnames
[] = {
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= wxDateTime::Now();
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19368 wxDateTime
* resultptr
;
19369 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19378 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19381 char *kwnames
[] = {
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= wxDateTime::UNow();
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 wxDateTime
* resultptr
;
19395 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19404 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19407 char *kwnames
[] = {
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= wxDateTime::Today();
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 wxDateTime
* resultptr
;
19421 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19430 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxDateTime
*result
;
19433 char *kwnames
[] = {
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (wxDateTime
*)new wxDateTime();
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19452 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19455 wxDateTime
*result
;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "timet", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19463 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19464 if (SWIG_arg_fail(1)) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 result
= (wxDateTime
*)new wxDateTime(arg1
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19480 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19483 wxDateTime
*result
;
19484 PyObject
* obj0
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "jdn", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19491 arg1
= (double)(SWIG_As_double(obj0
));
19492 if (SWIG_arg_fail(1)) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (wxDateTime
*)new wxDateTime(arg1
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19508 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19511 int arg2
= (int) 0 ;
19512 int arg3
= (int) 0 ;
19513 int arg4
= (int) 0 ;
19514 wxDateTime
*result
;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 PyObject
* obj2
= 0 ;
19518 PyObject
* obj3
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19525 arg1
= (int)(SWIG_As_int(obj0
));
19526 if (SWIG_arg_fail(1)) SWIG_fail
;
19530 arg2
= (int)(SWIG_As_int(obj1
));
19531 if (SWIG_arg_fail(2)) SWIG_fail
;
19536 arg3
= (int)(SWIG_As_int(obj2
));
19537 if (SWIG_arg_fail(3)) SWIG_fail
;
19542 arg4
= (int)(SWIG_As_int(obj3
));
19543 if (SWIG_arg_fail(4)) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19560 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19563 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19564 int arg3
= (int) wxDateTime::Inv_Year
;
19565 int arg4
= (int) 0 ;
19566 int arg5
= (int) 0 ;
19567 int arg6
= (int) 0 ;
19568 int arg7
= (int) 0 ;
19569 wxDateTime
*result
;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 PyObject
* obj2
= 0 ;
19573 PyObject
* obj3
= 0 ;
19574 PyObject
* obj4
= 0 ;
19575 PyObject
* obj5
= 0 ;
19576 PyObject
* obj6
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19583 arg1
= (int)(SWIG_As_int(obj0
));
19584 if (SWIG_arg_fail(1)) SWIG_fail
;
19588 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19589 if (SWIG_arg_fail(2)) SWIG_fail
;
19594 arg3
= (int)(SWIG_As_int(obj2
));
19595 if (SWIG_arg_fail(3)) SWIG_fail
;
19600 arg4
= (int)(SWIG_As_int(obj3
));
19601 if (SWIG_arg_fail(4)) SWIG_fail
;
19606 arg5
= (int)(SWIG_As_int(obj4
));
19607 if (SWIG_arg_fail(5)) SWIG_fail
;
19612 arg6
= (int)(SWIG_As_int(obj5
));
19613 if (SWIG_arg_fail(6)) SWIG_fail
;
19618 arg7
= (int)(SWIG_As_int(obj6
));
19619 if (SWIG_arg_fail(7)) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19636 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19639 PyObject
* obj0
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19646 if (SWIG_arg_fail(1)) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 Py_INCREF(Py_None
); resultobj
= Py_None
;
19661 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19664 wxDateTime
*result
;
19665 PyObject
* obj0
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19672 if (SWIG_arg_fail(1)) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19677 result
= (wxDateTime
*) &_result_ref
;
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19690 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19694 wxDateTime
*result
;
19695 PyObject
* obj0
= 0 ;
19696 PyObject
* obj1
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self",(char *) "timet", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19703 if (SWIG_arg_fail(1)) SWIG_fail
;
19705 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19706 if (SWIG_arg_fail(2)) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19712 result
= (wxDateTime
*) &_result_ref
;
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19725 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19729 wxDateTime
*result
;
19730 PyObject
* obj0
= 0 ;
19731 PyObject
* obj1
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "jdn", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19738 if (SWIG_arg_fail(1)) SWIG_fail
;
19740 arg2
= (double)(SWIG_As_double(obj1
));
19741 if (SWIG_arg_fail(2)) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19747 result
= (wxDateTime
*) &_result_ref
;
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19760 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19764 int arg3
= (int) 0 ;
19765 int arg4
= (int) 0 ;
19766 int arg5
= (int) 0 ;
19767 wxDateTime
*result
;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 PyObject
* obj2
= 0 ;
19771 PyObject
* obj3
= 0 ;
19772 PyObject
* obj4
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19779 if (SWIG_arg_fail(1)) SWIG_fail
;
19781 arg2
= (int)(SWIG_As_int(obj1
));
19782 if (SWIG_arg_fail(2)) SWIG_fail
;
19786 arg3
= (int)(SWIG_As_int(obj2
));
19787 if (SWIG_arg_fail(3)) SWIG_fail
;
19792 arg4
= (int)(SWIG_As_int(obj3
));
19793 if (SWIG_arg_fail(4)) SWIG_fail
;
19798 arg5
= (int)(SWIG_As_int(obj4
));
19799 if (SWIG_arg_fail(5)) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19806 result
= (wxDateTime
*) &_result_ref
;
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19819 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19823 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19824 int arg4
= (int) wxDateTime::Inv_Year
;
19825 int arg5
= (int) 0 ;
19826 int arg6
= (int) 0 ;
19827 int arg7
= (int) 0 ;
19828 int arg8
= (int) 0 ;
19829 wxDateTime
*result
;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 PyObject
* obj2
= 0 ;
19833 PyObject
* obj3
= 0 ;
19834 PyObject
* obj4
= 0 ;
19835 PyObject
* obj5
= 0 ;
19836 PyObject
* obj6
= 0 ;
19837 PyObject
* obj7
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19844 if (SWIG_arg_fail(1)) SWIG_fail
;
19846 arg2
= (int)(SWIG_As_int(obj1
));
19847 if (SWIG_arg_fail(2)) SWIG_fail
;
19851 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19852 if (SWIG_arg_fail(3)) SWIG_fail
;
19857 arg4
= (int)(SWIG_As_int(obj3
));
19858 if (SWIG_arg_fail(4)) SWIG_fail
;
19863 arg5
= (int)(SWIG_As_int(obj4
));
19864 if (SWIG_arg_fail(5)) SWIG_fail
;
19869 arg6
= (int)(SWIG_As_int(obj5
));
19870 if (SWIG_arg_fail(6)) SWIG_fail
;
19875 arg7
= (int)(SWIG_As_int(obj6
));
19876 if (SWIG_arg_fail(7)) SWIG_fail
;
19881 arg8
= (int)(SWIG_As_int(obj7
));
19882 if (SWIG_arg_fail(8)) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
19889 result
= (wxDateTime
*) &_result_ref
;
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19902 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19905 wxDateTime
*result
;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
19918 result
= (wxDateTime
*) &_result_ref
;
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19931 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19935 wxDateTime
*result
;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self",(char *) "year", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19944 if (SWIG_arg_fail(1)) SWIG_fail
;
19946 arg2
= (int)(SWIG_As_int(obj1
));
19947 if (SWIG_arg_fail(2)) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
19953 result
= (wxDateTime
*) &_result_ref
;
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19966 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19969 wxDateTime::Month arg2
;
19970 wxDateTime
*result
;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self",(char *) "month", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19979 if (SWIG_arg_fail(1)) SWIG_fail
;
19981 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19982 if (SWIG_arg_fail(2)) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
19988 result
= (wxDateTime
*) &_result_ref
;
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20001 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20005 wxDateTime
*result
;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "day", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20014 if (SWIG_arg_fail(1)) SWIG_fail
;
20016 arg2
= (int)(SWIG_As_int(obj1
));
20017 if (SWIG_arg_fail(2)) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20023 result
= (wxDateTime
*) &_result_ref
;
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20036 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20040 wxDateTime
*result
;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self",(char *) "hour", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail
;
20051 arg2
= (int)(SWIG_As_int(obj1
));
20052 if (SWIG_arg_fail(2)) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20058 result
= (wxDateTime
*) &_result_ref
;
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20071 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20075 wxDateTime
*result
;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self",(char *) "minute", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20084 if (SWIG_arg_fail(1)) SWIG_fail
;
20086 arg2
= (int)(SWIG_As_int(obj1
));
20087 if (SWIG_arg_fail(2)) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20093 result
= (wxDateTime
*) &_result_ref
;
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20106 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20110 wxDateTime
*result
;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self",(char *) "second", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20119 if (SWIG_arg_fail(1)) SWIG_fail
;
20121 arg2
= (int)(SWIG_As_int(obj1
));
20122 if (SWIG_arg_fail(2)) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
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_SetMillisecond(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 *) "millisecond", NULL
20152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",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
)->SetMillisecond(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_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20179 wxDateTime::WeekDay arg2
;
20180 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20181 wxDateTime
*result
;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 PyObject
* obj2
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20191 if (SWIG_arg_fail(1)) SWIG_fail
;
20193 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20194 if (SWIG_arg_fail(2)) SWIG_fail
;
20198 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20199 if (SWIG_arg_fail(3)) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20206 result
= (wxDateTime
*) &_result_ref
;
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20219 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20222 wxDateTime::WeekDay arg2
;
20223 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 PyObject
* obj2
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20234 if (SWIG_arg_fail(1)) SWIG_fail
;
20236 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20237 if (SWIG_arg_fail(2)) SWIG_fail
;
20241 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20242 if (SWIG_arg_fail(3)) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20253 wxDateTime
* resultptr
;
20254 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20263 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20266 wxDateTime::WeekDay arg2
;
20267 wxDateTime
*result
;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self",(char *) "weekday", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20276 if (SWIG_arg_fail(1)) SWIG_fail
;
20278 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20279 if (SWIG_arg_fail(2)) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20285 result
= (wxDateTime
*) &_result_ref
;
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20298 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20301 wxDateTime::WeekDay arg2
;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self",(char *) "weekday", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20311 if (SWIG_arg_fail(1)) SWIG_fail
;
20313 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20314 if (SWIG_arg_fail(2)) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20324 wxDateTime
* resultptr
;
20325 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20334 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20337 wxDateTime::WeekDay arg2
;
20338 wxDateTime
*result
;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self",(char *) "weekday", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail
;
20349 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20350 if (SWIG_arg_fail(2)) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20356 result
= (wxDateTime
*) &_result_ref
;
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20369 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20372 wxDateTime::WeekDay arg2
;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self",(char *) "weekday", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20382 if (SWIG_arg_fail(1)) SWIG_fail
;
20384 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20385 if (SWIG_arg_fail(2)) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20395 wxDateTime
* resultptr
;
20396 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20405 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20408 wxDateTime::WeekDay arg2
;
20409 int arg3
= (int) 1 ;
20410 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20411 int arg5
= (int) wxDateTime::Inv_Year
;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 PyObject
* obj2
= 0 ;
20416 PyObject
* obj3
= 0 ;
20417 PyObject
* obj4
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail
;
20426 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20427 if (SWIG_arg_fail(2)) SWIG_fail
;
20431 arg3
= (int)(SWIG_As_int(obj2
));
20432 if (SWIG_arg_fail(3)) SWIG_fail
;
20437 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20438 if (SWIG_arg_fail(4)) SWIG_fail
;
20443 arg5
= (int)(SWIG_As_int(obj4
));
20444 if (SWIG_arg_fail(5)) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20463 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20466 wxDateTime::WeekDay arg2
;
20467 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20468 int arg4
= (int) wxDateTime::Inv_Year
;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 PyObject
* obj2
= 0 ;
20473 PyObject
* obj3
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail
;
20482 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20483 if (SWIG_arg_fail(2)) SWIG_fail
;
20487 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20488 if (SWIG_arg_fail(3)) SWIG_fail
;
20493 arg4
= (int)(SWIG_As_int(obj3
));
20494 if (SWIG_arg_fail(4)) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20513 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20516 wxDateTime::WeekDay arg2
;
20517 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20518 int arg4
= (int) wxDateTime::Inv_Year
;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 PyObject
* obj2
= 0 ;
20523 PyObject
* obj3
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20533 if (SWIG_arg_fail(2)) SWIG_fail
;
20537 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20538 if (SWIG_arg_fail(3)) SWIG_fail
;
20543 arg4
= (int)(SWIG_As_int(obj3
));
20544 if (SWIG_arg_fail(4)) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20555 wxDateTime
* resultptr
;
20556 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20565 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20569 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20570 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 PyObject
* obj2
= 0 ;
20575 PyObject
* obj3
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail
;
20584 arg2
= (int)(SWIG_As_int(obj1
));
20585 if (SWIG_arg_fail(2)) SWIG_fail
;
20589 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20590 if (SWIG_arg_fail(3)) SWIG_fail
;
20595 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20596 if (SWIG_arg_fail(4)) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20615 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20619 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20620 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 PyObject
* obj2
= 0 ;
20625 PyObject
* obj3
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20632 if (SWIG_arg_fail(1)) SWIG_fail
;
20634 arg2
= (int)(SWIG_As_int(obj1
));
20635 if (SWIG_arg_fail(2)) SWIG_fail
;
20639 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20640 if (SWIG_arg_fail(3)) SWIG_fail
;
20645 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20646 if (SWIG_arg_fail(4)) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 wxDateTime
* resultptr
;
20658 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20667 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20671 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20673 PyObject
* obj0
= 0 ;
20674 PyObject
* obj1
= 0 ;
20675 PyObject
* obj2
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20682 arg1
= (int)(SWIG_As_int(obj0
));
20683 if (SWIG_arg_fail(1)) SWIG_fail
;
20686 arg2
= (int)(SWIG_As_int(obj1
));
20687 if (SWIG_arg_fail(2)) SWIG_fail
;
20691 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20692 if (SWIG_arg_fail(3)) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20703 wxDateTime
* resultptr
;
20704 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20713 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20716 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20717 int arg3
= (int) wxDateTime::Inv_Year
;
20718 wxDateTime
*result
;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj1
= 0 ;
20721 PyObject
* obj2
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self",(char *) "month",(char *) "year", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20728 if (SWIG_arg_fail(1)) SWIG_fail
;
20731 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20732 if (SWIG_arg_fail(2)) SWIG_fail
;
20737 arg3
= (int)(SWIG_As_int(obj2
));
20738 if (SWIG_arg_fail(3)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20745 result
= (wxDateTime
*) &_result_ref
;
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20758 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20761 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20762 int arg3
= (int) wxDateTime::Inv_Year
;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 PyObject
* obj2
= 0 ;
20767 char *kwnames
[] = {
20768 (char *) "self",(char *) "month",(char *) "year", NULL
20771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20773 if (SWIG_arg_fail(1)) SWIG_fail
;
20776 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20777 if (SWIG_arg_fail(2)) SWIG_fail
;
20782 arg3
= (int)(SWIG_As_int(obj2
));
20783 if (SWIG_arg_fail(3)) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20794 wxDateTime
* resultptr
;
20795 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20804 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20808 wxDateTime
*result
;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self",(char *) "yday", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20817 if (SWIG_arg_fail(1)) SWIG_fail
;
20819 arg2
= (int)(SWIG_As_int(obj1
));
20820 if (SWIG_arg_fail(2)) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20826 result
= (wxDateTime
*) &_result_ref
;
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20839 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 PyObject
* obj1
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self",(char *) "yday", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20852 if (SWIG_arg_fail(1)) SWIG_fail
;
20854 arg2
= (int)(SWIG_As_int(obj1
));
20855 if (SWIG_arg_fail(2)) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (arg1
)->GetYearDay(arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 wxDateTime
* resultptr
;
20866 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20875 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20886 if (SWIG_arg_fail(1)) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (double)(arg1
)->GetJulianDayNumber();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_From_double((double)(result
));
20903 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
20913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20914 if (SWIG_arg_fail(1)) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (double)(arg1
)->GetJDN();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_From_double((double)(result
));
20931 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20942 if (SWIG_arg_fail(1)) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= SWIG_From_double((double)(result
));
20959 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
;
20961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20963 PyObject
* obj0
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "self", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
20969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20970 if (SWIG_arg_fail(1)) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 result
= (double)(arg1
)->GetMJD();
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_From_double((double)(result
));
20987 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20991 PyObject
* obj0
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "self", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
20997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20998 if (SWIG_arg_fail(1)) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 result
= (double)(arg1
)->GetRataDie();
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_From_double((double)(result
));
21015 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21018 wxDateTime::TimeZone
*arg2
= 0 ;
21019 bool arg3
= (bool) false ;
21021 bool temp2
= false ;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 PyObject
* obj2
= 0 ;
21025 char *kwnames
[] = {
21026 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21031 if (SWIG_arg_fail(1)) SWIG_fail
;
21033 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21038 arg3
= (bool)(SWIG_As_bool(obj2
));
21039 if (SWIG_arg_fail(3)) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21050 wxDateTime
* resultptr
;
21051 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21055 if (temp2
) delete arg2
;
21060 if (temp2
) delete arg2
;
21066 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21069 wxDateTime::TimeZone
*arg2
= 0 ;
21070 bool arg3
= (bool) false ;
21071 wxDateTime
*result
;
21072 bool temp2
= false ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 PyObject
* obj2
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21082 if (SWIG_arg_fail(1)) SWIG_fail
;
21084 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21089 arg3
= (bool)(SWIG_As_bool(obj2
));
21090 if (SWIG_arg_fail(3)) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21097 result
= (wxDateTime
*) &_result_ref
;
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21105 if (temp2
) delete arg2
;
21110 if (temp2
) delete arg2
;
21116 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21119 bool arg2
= (bool) false ;
21121 PyObject
* obj0
= 0 ;
21122 PyObject
* obj1
= 0 ;
21123 char *kwnames
[] = {
21124 (char *) "self",(char *) "noDST", NULL
21127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21129 if (SWIG_arg_fail(1)) SWIG_fail
;
21132 arg2
= (bool)(SWIG_As_bool(obj1
));
21133 if (SWIG_arg_fail(2)) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (arg1
)->ToGMT(arg2
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 wxDateTime
* resultptr
;
21145 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21154 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21157 bool arg2
= (bool) false ;
21158 wxDateTime
*result
;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "noDST", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21167 if (SWIG_arg_fail(1)) SWIG_fail
;
21170 arg2
= (bool)(SWIG_As_bool(obj1
));
21171 if (SWIG_arg_fail(2)) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21178 result
= (wxDateTime
*) &_result_ref
;
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21191 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21194 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "country", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail
;
21207 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21208 if (SWIG_arg_fail(2)) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_From_int((int)(result
));
21227 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21238 if (SWIG_arg_fail(1)) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21255 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21259 PyObject
* obj0
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "self", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21266 if (SWIG_arg_fail(1)) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21283 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21286 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21287 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21289 bool temp2
= false ;
21290 PyObject
* obj0
= 0 ;
21291 PyObject
* obj1
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self",(char *) "tz", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21298 if (SWIG_arg_fail(1)) SWIG_fail
;
21301 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= SWIG_From_int((int)(result
));
21316 if (temp2
) delete arg2
;
21321 if (temp2
) delete arg2
;
21327 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21330 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21331 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21332 wxDateTime::Month result
;
21333 bool temp2
= false ;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self",(char *) "tz", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21342 if (SWIG_arg_fail(1)) SWIG_fail
;
21345 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_From_int((result
));
21358 if (temp2
) delete arg2
;
21363 if (temp2
) delete arg2
;
21369 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21372 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21373 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21375 bool temp2
= false ;
21376 PyObject
* obj0
= 0 ;
21377 PyObject
* obj1
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self",(char *) "tz", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21384 if (SWIG_arg_fail(1)) SWIG_fail
;
21387 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= SWIG_From_int((int)(result
));
21402 if (temp2
) delete arg2
;
21407 if (temp2
) delete arg2
;
21413 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21416 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21417 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21418 wxDateTime::WeekDay result
;
21419 bool temp2
= false ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "tz", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail
;
21431 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 resultobj
= SWIG_From_int((result
));
21444 if (temp2
) delete arg2
;
21449 if (temp2
) delete arg2
;
21455 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21458 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21459 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21461 bool temp2
= false ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self",(char *) "tz", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21470 if (SWIG_arg_fail(1)) SWIG_fail
;
21473 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_From_int((int)(result
));
21488 if (temp2
) delete arg2
;
21493 if (temp2
) delete arg2
;
21499 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21502 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21503 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21505 bool temp2
= false ;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "self",(char *) "tz", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21514 if (SWIG_arg_fail(1)) SWIG_fail
;
21517 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= SWIG_From_int((int)(result
));
21532 if (temp2
) delete arg2
;
21537 if (temp2
) delete arg2
;
21543 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21546 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21547 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21549 bool temp2
= false ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self",(char *) "tz", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21558 if (SWIG_arg_fail(1)) SWIG_fail
;
21561 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_From_int((int)(result
));
21576 if (temp2
) delete arg2
;
21581 if (temp2
) delete arg2
;
21587 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21590 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21591 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21593 bool temp2
= false ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "tz", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail
;
21605 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= SWIG_From_int((int)(result
));
21620 if (temp2
) delete arg2
;
21625 if (temp2
) delete arg2
;
21631 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21634 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21635 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21637 bool temp2
= false ;
21638 PyObject
* obj0
= 0 ;
21639 PyObject
* obj1
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self",(char *) "tz", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21646 if (SWIG_arg_fail(1)) SWIG_fail
;
21649 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21661 resultobj
= SWIG_From_int((int)(result
));
21664 if (temp2
) delete arg2
;
21669 if (temp2
) delete arg2
;
21675 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21678 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21679 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21680 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21682 bool temp3
= false ;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 PyObject
* obj2
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "flags",(char *) "tz", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21692 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21696 if (SWIG_arg_fail(2)) SWIG_fail
;
21701 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_From_int((int)(result
));
21716 if (temp3
) delete arg3
;
21721 if (temp3
) delete arg3
;
21727 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21730 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21731 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21732 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21734 bool temp3
= false ;
21735 PyObject
* obj0
= 0 ;
21736 PyObject
* obj1
= 0 ;
21737 PyObject
* obj2
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self",(char *) "flags",(char *) "tz", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail
;
21747 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21748 if (SWIG_arg_fail(2)) SWIG_fail
;
21753 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= SWIG_From_int((int)(result
));
21768 if (temp3
) delete arg3
;
21773 if (temp3
) delete arg3
;
21779 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21782 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21784 PyObject
* obj0
= 0 ;
21785 PyObject
* obj1
= 0 ;
21786 char *kwnames
[] = {
21787 (char *) "self",(char *) "country", NULL
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21792 if (SWIG_arg_fail(1)) SWIG_fail
;
21795 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21796 if (SWIG_arg_fail(2)) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21815 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21818 wxDateTime
*arg2
= 0 ;
21820 PyObject
* obj0
= 0 ;
21821 PyObject
* obj1
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "datetime", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21828 if (SWIG_arg_fail(1)) SWIG_fail
;
21830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21831 if (SWIG_arg_fail(2)) SWIG_fail
;
21832 if (arg2
== NULL
) {
21833 SWIG_null_ref("wxDateTime");
21835 if (SWIG_arg_fail(2)) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21853 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21856 wxDateTime
*arg2
= 0 ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "datetime", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21866 if (SWIG_arg_fail(1)) SWIG_fail
;
21868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21869 if (SWIG_arg_fail(2)) SWIG_fail
;
21870 if (arg2
== NULL
) {
21871 SWIG_null_ref("wxDateTime");
21873 if (SWIG_arg_fail(2)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21891 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21894 wxDateTime
*arg2
= 0 ;
21896 PyObject
* obj0
= 0 ;
21897 PyObject
* obj1
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "datetime", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21904 if (SWIG_arg_fail(1)) SWIG_fail
;
21906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21907 if (SWIG_arg_fail(2)) SWIG_fail
;
21908 if (arg2
== NULL
) {
21909 SWIG_null_ref("wxDateTime");
21911 if (SWIG_arg_fail(2)) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21929 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21932 wxDateTime
*arg2
= 0 ;
21933 wxDateTime
*arg3
= 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 PyObject
* obj2
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "t1",(char *) "t2", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21944 if (SWIG_arg_fail(1)) SWIG_fail
;
21946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21947 if (SWIG_arg_fail(2)) SWIG_fail
;
21948 if (arg2
== NULL
) {
21949 SWIG_null_ref("wxDateTime");
21951 if (SWIG_arg_fail(2)) SWIG_fail
;
21954 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21955 if (SWIG_arg_fail(3)) SWIG_fail
;
21956 if (arg3
== NULL
) {
21957 SWIG_null_ref("wxDateTime");
21959 if (SWIG_arg_fail(3)) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21977 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21980 wxDateTime
*arg2
= 0 ;
21981 wxDateTime
*arg3
= 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self",(char *) "t1",(char *) "t2", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21992 if (SWIG_arg_fail(1)) SWIG_fail
;
21994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21995 if (SWIG_arg_fail(2)) SWIG_fail
;
21996 if (arg2
== NULL
) {
21997 SWIG_null_ref("wxDateTime");
21999 if (SWIG_arg_fail(2)) SWIG_fail
;
22002 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22003 if (SWIG_arg_fail(3)) SWIG_fail
;
22004 if (arg3
== NULL
) {
22005 SWIG_null_ref("wxDateTime");
22007 if (SWIG_arg_fail(3)) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 static PyObject
*_wrap_DateTime_IsSameDate(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 *) "dt", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",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
)->IsSameDate((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_IsSameTime(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 *) "dt", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",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
)->IsSameTime((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_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22104 wxDateTime
*arg2
= 0 ;
22105 wxTimeSpan
*arg3
= 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 PyObject
* obj2
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "dt",(char *) "ts", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22116 if (SWIG_arg_fail(1)) SWIG_fail
;
22118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22119 if (SWIG_arg_fail(2)) SWIG_fail
;
22120 if (arg2
== NULL
) {
22121 SWIG_null_ref("wxDateTime");
22123 if (SWIG_arg_fail(2)) SWIG_fail
;
22126 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22127 if (SWIG_arg_fail(3)) SWIG_fail
;
22128 if (arg3
== NULL
) {
22129 SWIG_null_ref("wxTimeSpan");
22131 if (SWIG_arg_fail(3)) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22149 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22152 wxTimeSpan
*arg2
= 0 ;
22153 wxDateTime
*result
;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self",(char *) "diff", NULL
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22162 if (SWIG_arg_fail(1)) SWIG_fail
;
22164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22165 if (SWIG_arg_fail(2)) SWIG_fail
;
22166 if (arg2
== NULL
) {
22167 SWIG_null_ref("wxTimeSpan");
22169 if (SWIG_arg_fail(2)) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22175 result
= (wxDateTime
*) &_result_ref
;
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22188 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22191 wxDateSpan
*arg2
= 0 ;
22192 wxDateTime
*result
;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self",(char *) "diff", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22201 if (SWIG_arg_fail(1)) SWIG_fail
;
22203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22204 if (SWIG_arg_fail(2)) SWIG_fail
;
22205 if (arg2
== NULL
) {
22206 SWIG_null_ref("wxDateSpan");
22208 if (SWIG_arg_fail(2)) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22214 result
= (wxDateTime
*) &_result_ref
;
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22227 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22230 wxTimeSpan
*arg2
= 0 ;
22231 wxDateTime
*result
;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self",(char *) "diff", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22243 if (SWIG_arg_fail(2)) SWIG_fail
;
22244 if (arg2
== NULL
) {
22245 SWIG_null_ref("wxTimeSpan");
22247 if (SWIG_arg_fail(2)) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22253 result
= (wxDateTime
*) &_result_ref
;
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22266 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22269 wxDateSpan
*arg2
= 0 ;
22270 wxDateTime
*result
;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "self",(char *) "diff", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22279 if (SWIG_arg_fail(1)) SWIG_fail
;
22281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22282 if (SWIG_arg_fail(2)) SWIG_fail
;
22283 if (arg2
== NULL
) {
22284 SWIG_null_ref("wxDateSpan");
22286 if (SWIG_arg_fail(2)) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22292 result
= (wxDateTime
*) &_result_ref
;
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22305 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22308 wxDateTime
*arg2
= 0 ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self",(char *) "dt", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail
;
22320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22321 if (SWIG_arg_fail(2)) SWIG_fail
;
22322 if (arg2
== NULL
) {
22323 SWIG_null_ref("wxDateTime");
22325 if (SWIG_arg_fail(2)) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 wxTimeSpan
* resultptr
;
22336 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22345 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22346 PyObject
*resultobj
;
22347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22348 wxTimeSpan
*arg2
= 0 ;
22349 wxDateTime
*result
;
22350 PyObject
* obj0
= 0 ;
22351 PyObject
* obj1
= 0 ;
22353 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22355 if (SWIG_arg_fail(1)) SWIG_fail
;
22357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22358 if (SWIG_arg_fail(2)) SWIG_fail
;
22359 if (arg2
== NULL
) {
22360 SWIG_null_ref("wxTimeSpan");
22362 if (SWIG_arg_fail(2)) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22368 result
= (wxDateTime
*) &_result_ref
;
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22381 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22382 PyObject
*resultobj
;
22383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22384 wxDateSpan
*arg2
= 0 ;
22385 wxDateTime
*result
;
22386 PyObject
* obj0
= 0 ;
22387 PyObject
* obj1
= 0 ;
22389 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22391 if (SWIG_arg_fail(1)) SWIG_fail
;
22393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22394 if (SWIG_arg_fail(2)) SWIG_fail
;
22395 if (arg2
== NULL
) {
22396 SWIG_null_ref("wxDateSpan");
22398 if (SWIG_arg_fail(2)) SWIG_fail
;
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22404 result
= (wxDateTime
*) &_result_ref
;
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22417 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22422 argc
= PyObject_Length(args
);
22423 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22424 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22430 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22440 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22448 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22456 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22466 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22474 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22479 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22484 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22485 PyObject
*resultobj
;
22486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22487 wxTimeSpan
*arg2
= 0 ;
22488 wxDateTime
*result
;
22489 PyObject
* obj0
= 0 ;
22490 PyObject
* obj1
= 0 ;
22492 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22494 if (SWIG_arg_fail(1)) SWIG_fail
;
22496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22497 if (SWIG_arg_fail(2)) SWIG_fail
;
22498 if (arg2
== NULL
) {
22499 SWIG_null_ref("wxTimeSpan");
22501 if (SWIG_arg_fail(2)) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22507 result
= (wxDateTime
*) &_result_ref
;
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22520 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22521 PyObject
*resultobj
;
22522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22523 wxDateSpan
*arg2
= 0 ;
22524 wxDateTime
*result
;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22528 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22530 if (SWIG_arg_fail(1)) SWIG_fail
;
22532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(2)) SWIG_fail
;
22534 if (arg2
== NULL
) {
22535 SWIG_null_ref("wxDateSpan");
22537 if (SWIG_arg_fail(2)) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22543 result
= (wxDateTime
*) &_result_ref
;
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22556 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22561 argc
= PyObject_Length(args
);
22562 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22563 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22569 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22579 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22587 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22595 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22605 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22613 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22618 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22623 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22624 PyObject
*resultobj
;
22625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22626 wxTimeSpan
*arg2
= 0 ;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22631 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail
;
22635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22636 if (SWIG_arg_fail(2)) SWIG_fail
;
22637 if (arg2
== NULL
) {
22638 SWIG_null_ref("wxTimeSpan");
22640 if (SWIG_arg_fail(2)) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 wxDateTime
* resultptr
;
22651 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22660 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22661 PyObject
*resultobj
;
22662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22663 wxDateSpan
*arg2
= 0 ;
22665 PyObject
* obj0
= 0 ;
22666 PyObject
* obj1
= 0 ;
22668 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22670 if (SWIG_arg_fail(1)) SWIG_fail
;
22672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22673 if (SWIG_arg_fail(2)) SWIG_fail
;
22674 if (arg2
== NULL
) {
22675 SWIG_null_ref("wxDateSpan");
22677 if (SWIG_arg_fail(2)) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22687 wxDateTime
* resultptr
;
22688 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22697 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22702 argc
= PyObject_Length(args
);
22703 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22704 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22710 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22720 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22728 return _wrap_DateTime___add____SWIG_0(self
,args
);
22736 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22746 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22754 return _wrap_DateTime___add____SWIG_1(self
,args
);
22759 Py_INCREF(Py_NotImplemented
);
22760 return Py_NotImplemented
;
22764 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22765 PyObject
*resultobj
;
22766 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22767 wxDateTime
*arg2
= 0 ;
22769 PyObject
* obj0
= 0 ;
22770 PyObject
* obj1
= 0 ;
22772 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail
;
22776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22777 if (SWIG_arg_fail(2)) SWIG_fail
;
22778 if (arg2
== NULL
) {
22779 SWIG_null_ref("wxDateTime");
22781 if (SWIG_arg_fail(2)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 wxTimeSpan
* resultptr
;
22792 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22801 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22802 PyObject
*resultobj
;
22803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22804 wxTimeSpan
*arg2
= 0 ;
22806 PyObject
* obj0
= 0 ;
22807 PyObject
* obj1
= 0 ;
22809 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail
;
22813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22814 if (SWIG_arg_fail(2)) SWIG_fail
;
22815 if (arg2
== NULL
) {
22816 SWIG_null_ref("wxTimeSpan");
22818 if (SWIG_arg_fail(2)) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 wxDateTime
* resultptr
;
22829 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22838 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22839 PyObject
*resultobj
;
22840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22841 wxDateSpan
*arg2
= 0 ;
22843 PyObject
* obj0
= 0 ;
22844 PyObject
* obj1
= 0 ;
22846 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22848 if (SWIG_arg_fail(1)) SWIG_fail
;
22850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22851 if (SWIG_arg_fail(2)) SWIG_fail
;
22852 if (arg2
== NULL
) {
22853 SWIG_null_ref("wxDateSpan");
22855 if (SWIG_arg_fail(2)) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22865 wxDateTime
* resultptr
;
22866 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22875 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
22880 argc
= PyObject_Length(args
);
22881 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22882 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22888 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22898 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22906 return _wrap_DateTime___sub____SWIG_0(self
,args
);
22914 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22924 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22932 return _wrap_DateTime___sub____SWIG_1(self
,args
);
22940 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22950 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22958 return _wrap_DateTime___sub____SWIG_2(self
,args
);
22963 Py_INCREF(Py_NotImplemented
);
22964 return Py_NotImplemented
;
22968 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22971 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22973 PyObject
* obj0
= 0 ;
22974 PyObject
* obj1
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self",(char *) "other", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail
;
22982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22983 if (SWIG_arg_fail(2)) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23000 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23003 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "other", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23013 if (SWIG_arg_fail(1)) SWIG_fail
;
23014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23015 if (SWIG_arg_fail(2)) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23032 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23035 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self",(char *) "other", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail
;
23046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23047 if (SWIG_arg_fail(2)) SWIG_fail
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23064 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23067 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 PyObject
* obj1
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self",(char *) "other", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23077 if (SWIG_arg_fail(1)) SWIG_fail
;
23078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23079 if (SWIG_arg_fail(2)) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23096 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23099 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "other", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23109 if (SWIG_arg_fail(1)) SWIG_fail
;
23110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23111 if (SWIG_arg_fail(2)) SWIG_fail
;
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23128 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23131 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 PyObject
* obj1
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self",(char *) "other", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23141 if (SWIG_arg_fail(1)) SWIG_fail
;
23142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23143 if (SWIG_arg_fail(2)) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23160 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23163 wxString
*arg2
= 0 ;
23165 bool temp2
= false ;
23166 PyObject
* obj0
= 0 ;
23167 PyObject
* obj1
= 0 ;
23168 char *kwnames
[] = {
23169 (char *) "self",(char *) "date", NULL
23172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23174 if (SWIG_arg_fail(1)) SWIG_fail
;
23176 arg2
= wxString_in_helper(obj1
);
23177 if (arg2
== NULL
) SWIG_fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_From_int((int)(result
));
23204 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23207 wxString
*arg2
= 0 ;
23208 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23209 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23210 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23211 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23213 bool temp2
= false ;
23214 bool temp3
= false ;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 PyObject
* obj2
= 0 ;
23218 PyObject
* obj3
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23227 arg2
= wxString_in_helper(obj1
);
23228 if (arg2
== NULL
) SWIG_fail
;
23233 arg3
= wxString_in_helper(obj2
);
23234 if (arg3
== NULL
) SWIG_fail
;
23240 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23241 if (SWIG_arg_fail(4)) SWIG_fail
;
23242 if (arg4
== NULL
) {
23243 SWIG_null_ref("wxDateTime");
23245 if (SWIG_arg_fail(4)) SWIG_fail
;
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_From_int((int)(result
));
23280 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23283 wxString
*arg2
= 0 ;
23285 bool temp2
= false ;
23286 PyObject
* obj0
= 0 ;
23287 PyObject
* obj1
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self",(char *) "datetime", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail
;
23296 arg2
= wxString_in_helper(obj1
);
23297 if (arg2
== NULL
) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23308 resultobj
= SWIG_From_int((int)(result
));
23324 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23327 wxString
*arg2
= 0 ;
23329 bool temp2
= false ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self",(char *) "date", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23338 if (SWIG_arg_fail(1)) SWIG_fail
;
23340 arg2
= wxString_in_helper(obj1
);
23341 if (arg2
== NULL
) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_From_int((int)(result
));
23368 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23371 wxString
*arg2
= 0 ;
23373 bool temp2
= false ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self",(char *) "time", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23382 if (SWIG_arg_fail(1)) SWIG_fail
;
23384 arg2
= wxString_in_helper(obj1
);
23385 if (arg2
== NULL
) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_From_int((int)(result
));
23412 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23415 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23416 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23417 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23418 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23420 bool temp2
= false ;
23421 bool temp3
= false ;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 PyObject
* obj2
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self",(char *) "format",(char *) "tz", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23431 if (SWIG_arg_fail(1)) SWIG_fail
;
23434 arg2
= wxString_in_helper(obj1
);
23435 if (arg2
== NULL
) SWIG_fail
;
23441 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23464 if (temp3
) delete arg3
;
23473 if (temp3
) delete arg3
;
23479 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23483 PyObject
* obj0
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23490 if (SWIG_arg_fail(1)) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23511 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23543 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23554 if (SWIG_arg_fail(1)) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23575 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23607 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23610 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23612 return Py_BuildValue((char *)"");
23614 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23618 PyObject
* obj0
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "sec", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23625 arg1
= (long)(SWIG_As_long(obj0
));
23626 if (SWIG_arg_fail(1)) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= wxTimeSpan::Seconds(arg1
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 wxTimeSpan
* resultptr
;
23637 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23646 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
;
23649 char *kwnames
[] = {
23653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= wxTimeSpan::Second();
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23662 wxTimeSpan
* resultptr
;
23663 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23672 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23676 PyObject
* obj0
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "min", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23683 arg1
= (long)(SWIG_As_long(obj0
));
23684 if (SWIG_arg_fail(1)) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= wxTimeSpan::Minutes(arg1
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23694 wxTimeSpan
* resultptr
;
23695 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23704 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23707 char *kwnames
[] = {
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= wxTimeSpan::Minute();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23720 wxTimeSpan
* resultptr
;
23721 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23730 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23734 PyObject
* obj0
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "hours", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23741 arg1
= (long)(SWIG_As_long(obj0
));
23742 if (SWIG_arg_fail(1)) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= wxTimeSpan::Hours(arg1
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23752 wxTimeSpan
* resultptr
;
23753 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23762 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23765 char *kwnames
[] = {
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= wxTimeSpan::Hour();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23778 wxTimeSpan
* resultptr
;
23779 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23788 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23792 PyObject
* obj0
= 0 ;
23793 char *kwnames
[] = {
23794 (char *) "days", NULL
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23799 arg1
= (long)(SWIG_As_long(obj0
));
23800 if (SWIG_arg_fail(1)) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= wxTimeSpan::Days(arg1
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23810 wxTimeSpan
* resultptr
;
23811 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23820 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23823 char *kwnames
[] = {
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= wxTimeSpan::Day();
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23836 wxTimeSpan
* resultptr
;
23837 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23846 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
;
23850 PyObject
* obj0
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "days", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23857 arg1
= (long)(SWIG_As_long(obj0
));
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= wxTimeSpan::Weeks(arg1
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23868 wxTimeSpan
* resultptr
;
23869 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23878 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23881 char *kwnames
[] = {
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 result
= wxTimeSpan::Week();
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23894 wxTimeSpan
* resultptr
;
23895 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23904 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
;
23906 long arg1
= (long) 0 ;
23907 long arg2
= (long) 0 ;
23908 long arg3
= (long) 0 ;
23909 long arg4
= (long) 0 ;
23910 wxTimeSpan
*result
;
23911 PyObject
* obj0
= 0 ;
23912 PyObject
* obj1
= 0 ;
23913 PyObject
* obj2
= 0 ;
23914 PyObject
* obj3
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23922 arg1
= (long)(SWIG_As_long(obj0
));
23923 if (SWIG_arg_fail(1)) SWIG_fail
;
23928 arg2
= (long)(SWIG_As_long(obj1
));
23929 if (SWIG_arg_fail(2)) SWIG_fail
;
23934 arg3
= (long)(SWIG_As_long(obj2
));
23935 if (SWIG_arg_fail(3)) SWIG_fail
;
23940 arg4
= (long)(SWIG_As_long(obj3
));
23941 if (SWIG_arg_fail(4)) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23958 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23961 PyObject
* obj0
= 0 ;
23962 char *kwnames
[] = {
23963 (char *) "self", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
23967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23968 if (SWIG_arg_fail(1)) SWIG_fail
;
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 Py_INCREF(Py_None
); resultobj
= Py_None
;
23983 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23984 PyObject
*resultobj
;
23985 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23986 wxTimeSpan
*arg2
= 0 ;
23987 wxTimeSpan
*result
;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 char *kwnames
[] = {
23991 (char *) "self",(char *) "diff", NULL
23994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23996 if (SWIG_arg_fail(1)) SWIG_fail
;
23998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23999 if (SWIG_arg_fail(2)) SWIG_fail
;
24000 if (arg2
== NULL
) {
24001 SWIG_null_ref("wxTimeSpan");
24003 if (SWIG_arg_fail(2)) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24009 result
= (wxTimeSpan
*) &_result_ref
;
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24022 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24025 wxTimeSpan
*arg2
= 0 ;
24026 wxTimeSpan
*result
;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self",(char *) "diff", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24035 if (SWIG_arg_fail(1)) SWIG_fail
;
24037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24038 if (SWIG_arg_fail(2)) SWIG_fail
;
24039 if (arg2
== NULL
) {
24040 SWIG_null_ref("wxTimeSpan");
24042 if (SWIG_arg_fail(2)) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24048 result
= (wxTimeSpan
*) &_result_ref
;
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24061 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
;
24063 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24065 wxTimeSpan
*result
;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self",(char *) "n", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail
;
24076 arg2
= (int)(SWIG_As_int(obj1
));
24077 if (SWIG_arg_fail(2)) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24083 result
= (wxTimeSpan
*) &_result_ref
;
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24096 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24099 wxTimeSpan
*result
;
24100 PyObject
* obj0
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24107 if (SWIG_arg_fail(1)) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24112 result
= (wxTimeSpan
*) &_result_ref
;
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24125 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24145 wxTimeSpan
* resultptr
;
24146 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24155 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24158 wxTimeSpan
*arg2
= 0 ;
24159 wxTimeSpan
*result
;
24160 PyObject
* obj0
= 0 ;
24161 PyObject
* obj1
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self",(char *) "diff", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24168 if (SWIG_arg_fail(1)) SWIG_fail
;
24170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24171 if (SWIG_arg_fail(2)) SWIG_fail
;
24172 if (arg2
== NULL
) {
24173 SWIG_null_ref("wxTimeSpan");
24175 if (SWIG_arg_fail(2)) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24181 result
= (wxTimeSpan
*) &_result_ref
;
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24194 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24197 wxTimeSpan
*arg2
= 0 ;
24198 wxTimeSpan
*result
;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self",(char *) "diff", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24207 if (SWIG_arg_fail(1)) SWIG_fail
;
24209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24210 if (SWIG_arg_fail(2)) SWIG_fail
;
24211 if (arg2
== NULL
) {
24212 SWIG_null_ref("wxTimeSpan");
24214 if (SWIG_arg_fail(2)) SWIG_fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24220 result
= (wxTimeSpan
*) &_result_ref
;
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24233 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24237 wxTimeSpan
*result
;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "n", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24248 arg2
= (int)(SWIG_As_int(obj1
));
24249 if (SWIG_arg_fail(2)) SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24255 result
= (wxTimeSpan
*) &_result_ref
;
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24268 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24271 wxTimeSpan
*result
;
24272 PyObject
* obj0
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24279 if (SWIG_arg_fail(1)) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24284 result
= (wxTimeSpan
*) &_result_ref
;
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24297 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24299 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24300 wxTimeSpan
*arg2
= 0 ;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24304 char *kwnames
[] = {
24305 (char *) "self",(char *) "other", NULL
24308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24310 if (SWIG_arg_fail(1)) SWIG_fail
;
24312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24313 if (SWIG_arg_fail(2)) SWIG_fail
;
24314 if (arg2
== NULL
) {
24315 SWIG_null_ref("wxTimeSpan");
24317 if (SWIG_arg_fail(2)) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24327 wxTimeSpan
* resultptr
;
24328 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24337 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24340 wxTimeSpan
*arg2
= 0 ;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24344 char *kwnames
[] = {
24345 (char *) "self",(char *) "other", NULL
24348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24350 if (SWIG_arg_fail(1)) SWIG_fail
;
24352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24353 if (SWIG_arg_fail(2)) SWIG_fail
;
24354 if (arg2
== NULL
) {
24355 SWIG_null_ref("wxTimeSpan");
24357 if (SWIG_arg_fail(2)) SWIG_fail
;
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24367 wxTimeSpan
* resultptr
;
24368 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24377 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
;
24379 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self",(char *) "n", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24390 if (SWIG_arg_fail(1)) SWIG_fail
;
24392 arg2
= (int)(SWIG_As_int(obj1
));
24393 if (SWIG_arg_fail(2)) SWIG_fail
;
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= wxTimeSpan___mul__(arg1
,arg2
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24403 wxTimeSpan
* resultptr
;
24404 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24413 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
;
24415 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self",(char *) "n", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail
;
24428 arg2
= (int)(SWIG_As_int(obj1
));
24429 if (SWIG_arg_fail(2)) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24439 wxTimeSpan
* resultptr
;
24440 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24449 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24452 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self",(char *) "other", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24462 if (SWIG_arg_fail(1)) SWIG_fail
;
24463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24464 if (SWIG_arg_fail(2)) SWIG_fail
;
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24481 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24484 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 char *kwnames
[] = {
24489 (char *) "self",(char *) "other", NULL
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24494 if (SWIG_arg_fail(1)) SWIG_fail
;
24495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24496 if (SWIG_arg_fail(2)) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24513 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24516 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self",(char *) "other", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24526 if (SWIG_arg_fail(1)) SWIG_fail
;
24527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24528 if (SWIG_arg_fail(2)) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24545 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24547 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24548 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self",(char *) "other", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24558 if (SWIG_arg_fail(1)) SWIG_fail
;
24559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24560 if (SWIG_arg_fail(2)) SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24577 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
;
24579 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24580 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self",(char *) "other", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24590 if (SWIG_arg_fail(1)) SWIG_fail
;
24591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(2)) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24609 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24612 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self",(char *) "other", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24622 if (SWIG_arg_fail(1)) SWIG_fail
;
24623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24624 if (SWIG_arg_fail(2)) SWIG_fail
;
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24641 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24669 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24680 if (SWIG_arg_fail(1)) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24697 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24708 if (SWIG_arg_fail(1)) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24725 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24728 wxTimeSpan
*arg2
= 0 ;
24730 PyObject
* obj0
= 0 ;
24731 PyObject
* obj1
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self",(char *) "ts", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24738 if (SWIG_arg_fail(1)) SWIG_fail
;
24740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24741 if (SWIG_arg_fail(2)) SWIG_fail
;
24742 if (arg2
== NULL
) {
24743 SWIG_null_ref("wxTimeSpan");
24745 if (SWIG_arg_fail(2)) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24763 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24766 wxTimeSpan
*arg2
= 0 ;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "self",(char *) "ts", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24776 if (SWIG_arg_fail(1)) SWIG_fail
;
24778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24779 if (SWIG_arg_fail(2)) SWIG_fail
;
24780 if (arg2
== NULL
) {
24781 SWIG_null_ref("wxTimeSpan");
24783 if (SWIG_arg_fail(2)) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24801 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24804 wxTimeSpan
*arg2
= 0 ;
24806 PyObject
* obj0
= 0 ;
24807 PyObject
* obj1
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self",(char *) "t", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24814 if (SWIG_arg_fail(1)) SWIG_fail
;
24816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24817 if (SWIG_arg_fail(2)) SWIG_fail
;
24818 if (arg2
== NULL
) {
24819 SWIG_null_ref("wxTimeSpan");
24821 if (SWIG_arg_fail(2)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24839 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
24849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24850 if (SWIG_arg_fail(1)) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= SWIG_From_int((int)(result
));
24867 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
24877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24878 if (SWIG_arg_fail(1)) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= SWIG_From_int((int)(result
));
24895 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
24905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24906 if (SWIG_arg_fail(1)) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= SWIG_From_int((int)(result
));
24923 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
24933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24934 if (SWIG_arg_fail(1)) SWIG_fail
;
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_From_int((int)(result
));
24951 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
24961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24972 hi
= PyLong_FromLong( (&result
)->GetHi() );
24973 lo
= PyLong_FromLong( (&result
)->GetLo() );
24974 shifter
= PyLong_FromLong(32);
24975 shifted
= PyNumber_Lshift(hi
, shifter
);
24976 resultobj
= PyNumber_Or(shifted
, lo
);
24979 Py_DECREF(shifter
);
24980 Py_DECREF(shifted
);
24988 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "self", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
24998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24999 if (SWIG_arg_fail(1)) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25008 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25009 hi
= PyLong_FromLong( (&result
)->GetHi() );
25010 lo
= PyLong_FromLong( (&result
)->GetLo() );
25011 shifter
= PyLong_FromLong(32);
25012 shifted
= PyNumber_Lshift(hi
, shifter
);
25013 resultobj
= PyNumber_Or(shifted
, lo
);
25016 Py_DECREF(shifter
);
25017 Py_DECREF(shifted
);
25025 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25028 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25029 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25031 bool temp2
= false ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self",(char *) "format", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25040 if (SWIG_arg_fail(1)) SWIG_fail
;
25043 arg2
= wxString_in_helper(obj1
);
25044 if (arg2
== NULL
) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25076 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25079 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25081 return Py_BuildValue((char *)"");
25083 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 int arg1
= (int) 0 ;
25086 int arg2
= (int) 0 ;
25087 int arg3
= (int) 0 ;
25088 int arg4
= (int) 0 ;
25089 wxDateSpan
*result
;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 PyObject
* obj2
= 0 ;
25093 PyObject
* obj3
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25101 arg1
= (int)(SWIG_As_int(obj0
));
25102 if (SWIG_arg_fail(1)) SWIG_fail
;
25107 arg2
= (int)(SWIG_As_int(obj1
));
25108 if (SWIG_arg_fail(2)) SWIG_fail
;
25113 arg3
= (int)(SWIG_As_int(obj2
));
25114 if (SWIG_arg_fail(3)) SWIG_fail
;
25119 arg4
= (int)(SWIG_As_int(obj3
));
25120 if (SWIG_arg_fail(4)) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25137 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25140 PyObject
* obj0
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "self", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25147 if (SWIG_arg_fail(1)) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 Py_INCREF(Py_None
); resultobj
= Py_None
;
25162 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25166 PyObject
* obj0
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "days", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25173 arg1
= (int)(SWIG_As_int(obj0
));
25174 if (SWIG_arg_fail(1)) SWIG_fail
;
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 result
= wxDateSpan::Days(arg1
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25184 wxDateSpan
* resultptr
;
25185 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25194 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
;
25197 char *kwnames
[] = {
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= wxDateSpan::Day();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25210 wxDateSpan
* resultptr
;
25211 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25220 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25224 PyObject
* obj0
= 0 ;
25225 char *kwnames
[] = {
25226 (char *) "weeks", NULL
25229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25231 arg1
= (int)(SWIG_As_int(obj0
));
25232 if (SWIG_arg_fail(1)) SWIG_fail
;
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= wxDateSpan::Weeks(arg1
);
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25242 wxDateSpan
* resultptr
;
25243 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25252 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25255 char *kwnames
[] = {
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25262 result
= wxDateSpan::Week();
25264 wxPyEndAllowThreads(__tstate
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25268 wxDateSpan
* resultptr
;
25269 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25278 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25282 PyObject
* obj0
= 0 ;
25283 char *kwnames
[] = {
25284 (char *) "mon", NULL
25287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25289 arg1
= (int)(SWIG_As_int(obj0
));
25290 if (SWIG_arg_fail(1)) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= wxDateSpan::Months(arg1
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 wxDateSpan
* resultptr
;
25301 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25310 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25313 char *kwnames
[] = {
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= wxDateSpan::Month();
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25326 wxDateSpan
* resultptr
;
25327 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25336 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25340 PyObject
* obj0
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "years", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25347 arg1
= (int)(SWIG_As_int(obj0
));
25348 if (SWIG_arg_fail(1)) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= wxDateSpan::Years(arg1
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 wxDateSpan
* resultptr
;
25359 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25368 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25371 char *kwnames
[] = {
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= wxDateSpan::Year();
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25384 wxDateSpan
* resultptr
;
25385 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25394 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25398 wxDateSpan
*result
;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self",(char *) "n", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25407 if (SWIG_arg_fail(1)) SWIG_fail
;
25409 arg2
= (int)(SWIG_As_int(obj1
));
25410 if (SWIG_arg_fail(2)) SWIG_fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25416 result
= (wxDateSpan
*) &_result_ref
;
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25429 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25433 wxDateSpan
*result
;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self",(char *) "n", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25442 if (SWIG_arg_fail(1)) SWIG_fail
;
25444 arg2
= (int)(SWIG_As_int(obj1
));
25445 if (SWIG_arg_fail(2)) SWIG_fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25451 result
= (wxDateSpan
*) &_result_ref
;
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25464 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25468 wxDateSpan
*result
;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self",(char *) "n", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail
;
25479 arg2
= (int)(SWIG_As_int(obj1
));
25480 if (SWIG_arg_fail(2)) SWIG_fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25486 result
= (wxDateSpan
*) &_result_ref
;
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25499 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25503 wxDateSpan
*result
;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "n", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25512 if (SWIG_arg_fail(1)) SWIG_fail
;
25514 arg2
= (int)(SWIG_As_int(obj1
));
25515 if (SWIG_arg_fail(2)) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25521 result
= (wxDateSpan
*) &_result_ref
;
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25534 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_From_int((int)(result
));
25562 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
;
25564 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25566 PyObject
* obj0
= 0 ;
25567 char *kwnames
[] = {
25568 (char *) "self", NULL
25571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25573 if (SWIG_arg_fail(1)) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_From_int((int)(result
));
25590 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25594 PyObject
* obj0
= 0 ;
25595 char *kwnames
[] = {
25596 (char *) "self", NULL
25599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25601 if (SWIG_arg_fail(1)) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_From_int((int)(result
));
25618 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
;
25620 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25622 PyObject
* obj0
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25629 if (SWIG_arg_fail(1)) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= SWIG_From_int((int)(result
));
25646 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25657 if (SWIG_arg_fail(1)) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_From_int((int)(result
));
25674 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25677 wxDateSpan
*arg2
= 0 ;
25678 wxDateSpan
*result
;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 char *kwnames
[] = {
25682 (char *) "self",(char *) "other", NULL
25685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25690 if (SWIG_arg_fail(2)) SWIG_fail
;
25691 if (arg2
== NULL
) {
25692 SWIG_null_ref("wxDateSpan");
25694 if (SWIG_arg_fail(2)) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25700 result
= (wxDateSpan
*) &_result_ref
;
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25713 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25714 PyObject
*resultobj
;
25715 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25716 wxDateSpan
*arg2
= 0 ;
25717 wxDateSpan
*result
;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 char *kwnames
[] = {
25721 (char *) "self",(char *) "other", NULL
25724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25726 if (SWIG_arg_fail(1)) SWIG_fail
;
25728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25729 if (SWIG_arg_fail(2)) SWIG_fail
;
25730 if (arg2
== NULL
) {
25731 SWIG_null_ref("wxDateSpan");
25733 if (SWIG_arg_fail(2)) SWIG_fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25739 result
= (wxDateSpan
*) &_result_ref
;
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25752 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25755 wxDateSpan
*result
;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25768 result
= (wxDateSpan
*) &_result_ref
;
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25781 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25785 wxDateSpan
*result
;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self",(char *) "factor", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25794 if (SWIG_arg_fail(1)) SWIG_fail
;
25796 arg2
= (int)(SWIG_As_int(obj1
));
25797 if (SWIG_arg_fail(2)) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25803 result
= (wxDateSpan
*) &_result_ref
;
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25816 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25819 wxDateSpan
*arg2
= 0 ;
25820 wxDateSpan
*result
;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self",(char *) "other", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25829 if (SWIG_arg_fail(1)) SWIG_fail
;
25831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(2)) SWIG_fail
;
25833 if (arg2
== NULL
) {
25834 SWIG_null_ref("wxDateSpan");
25836 if (SWIG_arg_fail(2)) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25842 result
= (wxDateSpan
*) &_result_ref
;
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25855 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25858 wxDateSpan
*arg2
= 0 ;
25859 wxDateSpan
*result
;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "other", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25868 if (SWIG_arg_fail(1)) SWIG_fail
;
25870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25871 if (SWIG_arg_fail(2)) SWIG_fail
;
25872 if (arg2
== NULL
) {
25873 SWIG_null_ref("wxDateSpan");
25875 if (SWIG_arg_fail(2)) SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
25881 result
= (wxDateSpan
*) &_result_ref
;
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25894 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25897 wxDateSpan
*result
;
25898 PyObject
* obj0
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
25904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25905 if (SWIG_arg_fail(1)) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 wxDateSpan
&_result_ref
= (arg1
)->operator -();
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___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
;
25925 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25927 wxDateSpan
*result
;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self",(char *) "factor", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25936 if (SWIG_arg_fail(1)) SWIG_fail
;
25938 arg2
= (int)(SWIG_As_int(obj1
));
25939 if (SWIG_arg_fail(2)) SWIG_fail
;
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25945 result
= (wxDateSpan
*) &_result_ref
;
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25958 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
;
25960 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25961 wxDateSpan
*arg2
= 0 ;
25963 PyObject
* obj0
= 0 ;
25964 PyObject
* obj1
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self",(char *) "other", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25971 if (SWIG_arg_fail(1)) SWIG_fail
;
25973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25974 if (SWIG_arg_fail(2)) SWIG_fail
;
25975 if (arg2
== NULL
) {
25976 SWIG_null_ref("wxDateSpan");
25978 if (SWIG_arg_fail(2)) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25988 wxDateSpan
* resultptr
;
25989 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25998 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26001 wxDateSpan
*arg2
= 0 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj1
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "other", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26011 if (SWIG_arg_fail(1)) SWIG_fail
;
26013 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26014 if (SWIG_arg_fail(2)) SWIG_fail
;
26015 if (arg2
== NULL
) {
26016 SWIG_null_ref("wxDateSpan");
26018 if (SWIG_arg_fail(2)) SWIG_fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26028 wxDateSpan
* resultptr
;
26029 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26038 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26043 PyObject
* obj0
= 0 ;
26044 PyObject
* obj1
= 0 ;
26045 char *kwnames
[] = {
26046 (char *) "self",(char *) "n", NULL
26049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26051 if (SWIG_arg_fail(1)) SWIG_fail
;
26053 arg2
= (int)(SWIG_As_int(obj1
));
26054 if (SWIG_arg_fail(2)) SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 result
= wxDateSpan___mul__(arg1
,arg2
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26064 wxDateSpan
* resultptr
;
26065 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26074 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26079 PyObject
* obj0
= 0 ;
26080 PyObject
* obj1
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "self",(char *) "n", NULL
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26087 if (SWIG_arg_fail(1)) SWIG_fail
;
26089 arg2
= (int)(SWIG_As_int(obj1
));
26090 if (SWIG_arg_fail(2)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= wxDateSpan___rmul__(arg1
,arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26100 wxDateSpan
* resultptr
;
26101 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26110 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26113 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26115 PyObject
* obj0
= 0 ;
26116 PyObject
* obj1
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self",(char *) "other", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26123 if (SWIG_arg_fail(1)) SWIG_fail
;
26124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26125 if (SWIG_arg_fail(2)) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26142 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26145 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26147 PyObject
* obj0
= 0 ;
26148 PyObject
* obj1
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "other", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail
;
26156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26157 if (SWIG_arg_fail(2)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26174 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26177 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26179 return Py_BuildValue((char *)"");
26181 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26184 char *kwnames
[] = {
26188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 result
= (long)wxGetLocalTime();
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_From_long((long)(result
));
26205 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26208 char *kwnames
[] = {
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (long)wxGetUTCTime();
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= SWIG_From_long((long)(result
));
26229 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26232 char *kwnames
[] = {
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 result
= (long)wxGetCurrentTime();
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_From_long((long)(result
));
26253 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
;
26256 char *kwnames
[] = {
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 result
= wxGetLocalTimeMillis();
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26269 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26270 hi
= PyLong_FromLong( (&result
)->GetHi() );
26271 lo
= PyLong_FromLong( (&result
)->GetLo() );
26272 shifter
= PyLong_FromLong(32);
26273 shifted
= PyNumber_Lshift(hi
, shifter
);
26274 resultobj
= PyNumber_Or(shifted
, lo
);
26277 Py_DECREF(shifter
);
26278 Py_DECREF(shifted
);
26286 static int _wrap_DefaultDateTime_set(PyObject
*) {
26287 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26292 static PyObject
*_wrap_DefaultDateTime_get(void) {
26295 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26300 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
;
26302 wxDataFormatId arg1
;
26303 wxDataFormat
*result
;
26304 PyObject
* obj0
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "type", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26311 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26312 if (SWIG_arg_fail(1)) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26328 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxString
*arg1
= 0 ;
26331 wxDataFormat
*result
;
26332 bool temp1
= false ;
26333 PyObject
* obj0
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "format", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26340 arg1
= wxString_in_helper(obj0
);
26341 if (arg1
== NULL
) SWIG_fail
;
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26366 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 Py_INCREF(Py_None
); resultobj
= Py_None
;
26391 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26392 PyObject
*resultobj
;
26393 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26394 wxDataFormatId arg2
;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26399 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail
;
26403 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26404 if (SWIG_arg_fail(2)) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26422 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26423 PyObject
*resultobj
;
26424 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26425 wxDataFormatId arg2
;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26430 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail
;
26434 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26435 if (SWIG_arg_fail(2)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26453 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26454 PyObject
*resultobj
;
26455 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26456 wxDataFormat
*arg2
= 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26461 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail
;
26465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26466 if (SWIG_arg_fail(2)) SWIG_fail
;
26467 if (arg2
== NULL
) {
26468 SWIG_null_ref("wxDataFormat");
26470 if (SWIG_arg_fail(2)) SWIG_fail
;
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26488 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26493 argc
= PyObject_Length(args
);
26494 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26495 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26501 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26511 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26519 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26527 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26535 _v
= SWIG_Check_int(argv
[1]);
26537 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26542 Py_INCREF(Py_NotImplemented
);
26543 return Py_NotImplemented
;
26547 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26548 PyObject
*resultobj
;
26549 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26550 wxDataFormat
*arg2
= 0 ;
26552 PyObject
* obj0
= 0 ;
26553 PyObject
* obj1
= 0 ;
26555 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26557 if (SWIG_arg_fail(1)) SWIG_fail
;
26559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26560 if (SWIG_arg_fail(2)) SWIG_fail
;
26561 if (arg2
== NULL
) {
26562 SWIG_null_ref("wxDataFormat");
26564 if (SWIG_arg_fail(2)) SWIG_fail
;
26567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26568 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26570 wxPyEndAllowThreads(__tstate
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26582 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26587 argc
= PyObject_Length(args
);
26588 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26589 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26595 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26605 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26613 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26621 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26629 _v
= SWIG_Check_int(argv
[1]);
26631 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26636 Py_INCREF(Py_NotImplemented
);
26637 return Py_NotImplemented
;
26641 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26644 wxDataFormatId arg2
;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 char *kwnames
[] = {
26648 (char *) "self",(char *) "format", NULL
26651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26653 if (SWIG_arg_fail(1)) SWIG_fail
;
26655 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26656 if (SWIG_arg_fail(2)) SWIG_fail
;
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->SetType((wxDataFormatId
)arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 Py_INCREF(Py_None
); resultobj
= Py_None
;
26672 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26673 PyObject
*resultobj
;
26674 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26675 wxDataFormatId result
;
26676 PyObject
* obj0
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26683 if (SWIG_arg_fail(1)) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_From_int((result
));
26698 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26702 PyObject
* obj0
= 0 ;
26703 char *kwnames
[] = {
26704 (char *) "self", NULL
26707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26709 if (SWIG_arg_fail(1)) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= ((wxDataFormat
const *)arg1
)->GetId();
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26730 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26731 PyObject
*resultobj
;
26732 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26733 wxString
*arg2
= 0 ;
26734 bool temp2
= false ;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 char *kwnames
[] = {
26738 (char *) "self",(char *) "format", NULL
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26743 if (SWIG_arg_fail(1)) SWIG_fail
;
26745 arg2
= wxString_in_helper(obj1
);
26746 if (arg2
== NULL
) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 (arg1
)->SetId((wxString
const &)*arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 Py_INCREF(Py_None
); resultobj
= Py_None
;
26771 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26774 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26776 return Py_BuildValue((char *)"");
26778 static int _wrap_FormatInvalid_set(PyObject
*) {
26779 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26784 static PyObject
*_wrap_FormatInvalid_get(void) {
26787 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26792 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26802 if (SWIG_arg_fail(1)) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 Py_INCREF(Py_None
); resultobj
= Py_None
;
26817 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26820 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26821 SwigValueWrapper
<wxDataFormat
> result
;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 char *kwnames
[] = {
26825 (char *) "self",(char *) "dir", NULL
26828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26830 if (SWIG_arg_fail(1)) SWIG_fail
;
26833 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26834 if (SWIG_arg_fail(2)) SWIG_fail
;
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26839 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26845 wxDataFormat
* resultptr
;
26846 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26855 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26858 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char *kwnames
[] = {
26863 (char *) "self",(char *) "dir", NULL
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26868 if (SWIG_arg_fail(1)) SWIG_fail
;
26871 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26872 if (SWIG_arg_fail(2)) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26891 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
;
26893 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26894 wxDataFormat
*arg2
= 0 ;
26895 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 PyObject
* obj2
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self",(char *) "format",(char *) "dir", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26906 if (SWIG_arg_fail(1)) SWIG_fail
;
26908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26909 if (SWIG_arg_fail(2)) SWIG_fail
;
26910 if (arg2
== NULL
) {
26911 SWIG_null_ref("wxDataFormat");
26913 if (SWIG_arg_fail(2)) SWIG_fail
;
26917 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
26918 if (SWIG_arg_fail(3)) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26937 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26940 wxDataFormat
*arg2
= 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "format", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26950 if (SWIG_arg_fail(1)) SWIG_fail
;
26952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26953 if (SWIG_arg_fail(2)) SWIG_fail
;
26954 if (arg2
== NULL
) {
26955 SWIG_null_ref("wxDataFormat");
26957 if (SWIG_arg_fail(2)) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26975 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26978 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self",(char *) "dir", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
26987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26988 if (SWIG_arg_fail(1)) SWIG_fail
;
26991 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26992 if (SWIG_arg_fail(2)) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= result
;
27009 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27012 wxDataFormat
*arg2
= 0 ;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj1
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self",(char *) "format", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27022 if (SWIG_arg_fail(1)) SWIG_fail
;
27024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27025 if (SWIG_arg_fail(2)) SWIG_fail
;
27026 if (arg2
== NULL
) {
27027 SWIG_null_ref("wxDataFormat");
27029 if (SWIG_arg_fail(2)) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 resultobj
= result
;
27045 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27048 wxDataFormat
*arg2
= 0 ;
27049 PyObject
*arg3
= (PyObject
*) 0 ;
27051 PyObject
* obj0
= 0 ;
27052 PyObject
* obj1
= 0 ;
27053 PyObject
* obj2
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self",(char *) "format",(char *) "data", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail
;
27062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27063 if (SWIG_arg_fail(2)) SWIG_fail
;
27064 if (arg2
== NULL
) {
27065 SWIG_null_ref("wxDataFormat");
27067 if (SWIG_arg_fail(2)) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27086 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27089 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27091 return Py_BuildValue((char *)"");
27093 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
;
27095 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27096 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27097 wxDataObjectSimple
*result
;
27098 PyObject
* obj0
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "format", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27108 if (arg1
== NULL
) {
27109 SWIG_null_ref("wxDataFormat");
27111 if (SWIG_arg_fail(1)) SWIG_fail
;
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27128 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27131 wxDataFormat
*result
;
27132 PyObject
* obj0
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27144 result
= (wxDataFormat
*) &_result_ref
;
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27157 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
;
27159 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27160 wxDataFormat
*arg2
= 0 ;
27161 PyObject
* obj0
= 0 ;
27162 PyObject
* obj1
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self",(char *) "format", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27169 if (SWIG_arg_fail(1)) SWIG_fail
;
27171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27172 if (SWIG_arg_fail(2)) SWIG_fail
;
27173 if (arg2
== NULL
) {
27174 SWIG_null_ref("wxDataFormat");
27176 if (SWIG_arg_fail(2)) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 Py_INCREF(Py_None
); resultobj
= Py_None
;
27192 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
;
27194 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27203 if (SWIG_arg_fail(1)) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27220 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
;
27222 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27224 PyObject
* obj0
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27231 if (SWIG_arg_fail(1)) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= result
;
27246 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27249 PyObject
*arg2
= (PyObject
*) 0 ;
27251 PyObject
* obj0
= 0 ;
27252 PyObject
* obj1
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "self",(char *) "data", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27259 if (SWIG_arg_fail(1)) SWIG_fail
;
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27277 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27280 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27282 return Py_BuildValue((char *)"");
27284 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27287 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27288 wxPyDataObjectSimple
*result
;
27289 PyObject
* obj0
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "format", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail
;
27299 if (arg1
== NULL
) {
27300 SWIG_null_ref("wxDataFormat");
27302 if (SWIG_arg_fail(1)) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27319 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27322 PyObject
*arg2
= (PyObject
*) 0 ;
27323 PyObject
*arg3
= (PyObject
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 PyObject
* obj1
= 0 ;
27326 PyObject
* obj2
= 0 ;
27327 char *kwnames
[] = {
27328 (char *) "self",(char *) "self",(char *) "_class", NULL
27331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27333 if (SWIG_arg_fail(1)) SWIG_fail
;
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 Py_INCREF(Py_None
); resultobj
= Py_None
;
27350 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27353 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27355 return Py_BuildValue((char *)"");
27357 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxDataObjectComposite
*result
;
27360 char *kwnames
[] = {
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27379 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27382 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27383 bool arg3
= (bool) false ;
27384 PyObject
* obj0
= 0 ;
27385 PyObject
* obj1
= 0 ;
27386 PyObject
* obj2
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail
;
27394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27395 if (SWIG_arg_fail(2)) SWIG_fail
;
27398 arg3
= (bool)(SWIG_As_bool(obj2
));
27399 if (SWIG_arg_fail(3)) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 (arg1
)->Add(arg2
,arg3
);
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27409 Py_INCREF(Py_None
); resultobj
= Py_None
;
27416 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27419 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27421 return Py_BuildValue((char *)"");
27423 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27426 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27427 wxTextDataObject
*result
;
27428 bool temp1
= false ;
27429 PyObject
* obj0
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "text", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27437 arg1
= wxString_in_helper(obj0
);
27438 if (arg1
== NULL
) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27464 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self", NULL
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27475 if (SWIG_arg_fail(1)) SWIG_fail
;
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= (size_t)(arg1
)->GetTextLength();
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27492 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27496 PyObject
* obj0
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= (arg1
)->GetText();
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27524 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27525 PyObject
*resultobj
;
27526 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27527 wxString
*arg2
= 0 ;
27528 bool temp2
= false ;
27529 PyObject
* obj0
= 0 ;
27530 PyObject
* obj1
= 0 ;
27531 char *kwnames
[] = {
27532 (char *) "self",(char *) "text", NULL
27535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27537 if (SWIG_arg_fail(1)) SWIG_fail
;
27539 arg2
= wxString_in_helper(obj1
);
27540 if (arg2
== NULL
) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 (arg1
)->SetText((wxString
const &)*arg2
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27568 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27570 return Py_BuildValue((char *)"");
27572 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27575 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27576 wxPyTextDataObject
*result
;
27577 bool temp1
= false ;
27578 PyObject
* obj0
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "text", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27586 arg1
= wxString_in_helper(obj0
);
27587 if (arg1
== NULL
) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27613 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27616 PyObject
*arg2
= (PyObject
*) 0 ;
27617 PyObject
*arg3
= (PyObject
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 PyObject
* obj2
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self",(char *) "self",(char *) "_class", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27627 if (SWIG_arg_fail(1)) SWIG_fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 Py_INCREF(Py_None
); resultobj
= Py_None
;
27644 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27647 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27649 return Py_BuildValue((char *)"");
27651 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27654 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27655 wxBitmapDataObject
*result
;
27656 PyObject
* obj0
= 0 ;
27657 char *kwnames
[] = {
27658 (char *) "bitmap", NULL
27661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27665 if (SWIG_arg_fail(1)) SWIG_fail
;
27666 if (arg1
== NULL
) {
27667 SWIG_null_ref("wxBitmap");
27669 if (SWIG_arg_fail(1)) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27686 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
;
27688 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27690 PyObject
* obj0
= 0 ;
27691 char *kwnames
[] = {
27692 (char *) "self", NULL
27695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27697 if (SWIG_arg_fail(1)) SWIG_fail
;
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 wxBitmap
* resultptr
;
27707 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27716 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27719 wxBitmap
*arg2
= 0 ;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self",(char *) "bitmap", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27728 if (SWIG_arg_fail(1)) SWIG_fail
;
27730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27731 if (SWIG_arg_fail(2)) SWIG_fail
;
27732 if (arg2
== NULL
) {
27733 SWIG_null_ref("wxBitmap");
27735 if (SWIG_arg_fail(2)) SWIG_fail
;
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 Py_INCREF(Py_None
); resultobj
= Py_None
;
27751 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27754 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27756 return Py_BuildValue((char *)"");
27758 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27761 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27762 wxPyBitmapDataObject
*result
;
27763 PyObject
* obj0
= 0 ;
27764 char *kwnames
[] = {
27765 (char *) "bitmap", NULL
27768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27772 if (SWIG_arg_fail(1)) SWIG_fail
;
27773 if (arg1
== NULL
) {
27774 SWIG_null_ref("wxBitmap");
27776 if (SWIG_arg_fail(1)) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27793 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27796 PyObject
*arg2
= (PyObject
*) 0 ;
27797 PyObject
*arg3
= (PyObject
*) 0 ;
27798 PyObject
* obj0
= 0 ;
27799 PyObject
* obj1
= 0 ;
27800 PyObject
* obj2
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "self",(char *) "_class", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27807 if (SWIG_arg_fail(1)) SWIG_fail
;
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 Py_INCREF(Py_None
); resultobj
= Py_None
;
27824 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27827 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27829 return Py_BuildValue((char *)"");
27831 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxFileDataObject
*result
;
27834 char *kwnames
[] = {
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (wxFileDataObject
*)new wxFileDataObject();
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27853 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
;
27855 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27856 wxArrayString
*result
;
27857 PyObject
* obj0
= 0 ;
27858 char *kwnames
[] = {
27859 (char *) "self", NULL
27862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27864 if (SWIG_arg_fail(1)) SWIG_fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
27869 result
= (wxArrayString
*) &_result_ref
;
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= wxArrayString2PyList_helper(*result
);
27884 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
;
27886 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27887 wxString
*arg2
= 0 ;
27888 bool temp2
= false ;
27889 PyObject
* obj0
= 0 ;
27890 PyObject
* obj1
= 0 ;
27891 char *kwnames
[] = {
27892 (char *) "self",(char *) "filename", NULL
27895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
27896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27897 if (SWIG_arg_fail(1)) SWIG_fail
;
27899 arg2
= wxString_in_helper(obj1
);
27900 if (arg2
== NULL
) SWIG_fail
;
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 (arg1
)->AddFile((wxString
const &)*arg2
);
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27910 Py_INCREF(Py_None
); resultobj
= Py_None
;
27925 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
27927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27928 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
27930 return Py_BuildValue((char *)"");
27932 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
27933 PyObject
*resultobj
;
27934 wxDataFormat
*arg1
= 0 ;
27935 wxCustomDataObject
*result
;
27936 PyObject
* obj0
= 0 ;
27938 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
27940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27941 if (SWIG_arg_fail(1)) SWIG_fail
;
27942 if (arg1
== NULL
) {
27943 SWIG_null_ref("wxDataFormat");
27945 if (SWIG_arg_fail(1)) SWIG_fail
;
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27961 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
27962 PyObject
*resultobj
;
27963 wxString
*arg1
= 0 ;
27964 wxCustomDataObject
*result
;
27965 bool temp1
= false ;
27966 PyObject
* obj0
= 0 ;
27968 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
27970 arg1
= wxString_in_helper(obj0
);
27971 if (arg1
== NULL
) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27996 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
27997 PyObject
*resultobj
;
27998 wxCustomDataObject
*result
;
28000 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28015 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28020 argc
= PyObject_Length(args
);
28021 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28022 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28025 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28030 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28033 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28048 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28052 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28057 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28060 PyObject
*arg2
= (PyObject
*) 0 ;
28062 PyObject
* obj0
= 0 ;
28063 PyObject
* obj1
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self",(char *) "data", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28070 if (SWIG_arg_fail(1)) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28088 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28099 if (SWIG_arg_fail(1)) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 result
= (size_t)(arg1
)->GetSize();
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28116 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28117 PyObject
*resultobj
;
28118 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28120 PyObject
* obj0
= 0 ;
28121 char *kwnames
[] = {
28122 (char *) "self", NULL
28125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28127 if (SWIG_arg_fail(1)) SWIG_fail
;
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28135 resultobj
= result
;
28142 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28145 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28147 return Py_BuildValue((char *)"");
28149 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxURLDataObject
*result
;
28152 char *kwnames
[] = {
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 result
= (wxURLDataObject
*)new wxURLDataObject();
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28171 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
;
28173 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28175 PyObject
* obj0
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self", NULL
28180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28182 if (SWIG_arg_fail(1)) SWIG_fail
;
28184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28185 result
= (arg1
)->GetURL();
28187 wxPyEndAllowThreads(__tstate
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28203 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28206 wxString
*arg2
= 0 ;
28207 bool temp2
= false ;
28208 PyObject
* obj0
= 0 ;
28209 PyObject
* obj1
= 0 ;
28210 char *kwnames
[] = {
28211 (char *) "self",(char *) "url", NULL
28214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28216 if (SWIG_arg_fail(1)) SWIG_fail
;
28218 arg2
= wxString_in_helper(obj1
);
28219 if (arg2
== NULL
) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 (arg1
)->SetURL((wxString
const &)*arg2
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 Py_INCREF(Py_None
); resultobj
= Py_None
;
28244 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28247 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28249 return Py_BuildValue((char *)"");
28251 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxMetafileDataObject
*result
;
28254 char *kwnames
[] = {
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28273 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28276 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28278 return Py_BuildValue((char *)"");
28280 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxDragResult arg1
;
28284 PyObject
* obj0
= 0 ;
28285 char *kwnames
[] = {
28286 (char *) "res", NULL
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28291 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28292 if (SWIG_arg_fail(1)) SWIG_fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28310 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxWindow
*arg1
= (wxWindow
*) 0 ;
28313 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28314 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28315 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28316 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28317 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28318 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28319 wxPyDropSource
*result
;
28320 PyObject
* obj0
= 0 ;
28321 PyObject
* obj1
= 0 ;
28322 PyObject
* obj2
= 0 ;
28323 PyObject
* obj3
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28330 if (SWIG_arg_fail(1)) SWIG_fail
;
28333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28334 if (SWIG_arg_fail(2)) SWIG_fail
;
28335 if (arg2
== NULL
) {
28336 SWIG_null_ref("wxIcon");
28338 if (SWIG_arg_fail(2)) SWIG_fail
;
28343 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(3)) SWIG_fail
;
28345 if (arg3
== NULL
) {
28346 SWIG_null_ref("wxIcon");
28348 if (SWIG_arg_fail(3)) SWIG_fail
;
28353 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28354 if (SWIG_arg_fail(4)) SWIG_fail
;
28355 if (arg4
== NULL
) {
28356 SWIG_null_ref("wxIcon");
28358 if (SWIG_arg_fail(4)) SWIG_fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28375 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
;
28377 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28378 PyObject
*arg2
= (PyObject
*) 0 ;
28379 PyObject
*arg3
= (PyObject
*) 0 ;
28381 PyObject
* obj0
= 0 ;
28382 PyObject
* obj1
= 0 ;
28383 PyObject
* obj2
= 0 ;
28384 PyObject
* obj3
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28391 if (SWIG_arg_fail(1)) SWIG_fail
;
28395 arg4
= (int)(SWIG_As_int(obj3
));
28396 if (SWIG_arg_fail(4)) SWIG_fail
;
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28402 wxPyEndAllowThreads(__tstate
);
28403 if (PyErr_Occurred()) SWIG_fail
;
28405 Py_INCREF(Py_None
); resultobj
= Py_None
;
28412 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28415 PyObject
* obj0
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28422 if (SWIG_arg_fail(1)) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 Py_INCREF(Py_None
); resultobj
= Py_None
;
28437 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28440 wxDataObject
*arg2
= 0 ;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self",(char *) "data", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail
;
28451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28452 if (SWIG_arg_fail(2)) SWIG_fail
;
28453 if (arg2
== NULL
) {
28454 SWIG_null_ref("wxDataObject");
28456 if (SWIG_arg_fail(2)) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 (arg1
)->SetData(*arg2
);
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 Py_INCREF(Py_None
); resultobj
= Py_None
;
28472 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
;
28474 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28475 wxDataObject
*result
;
28476 PyObject
* obj0
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28483 if (SWIG_arg_fail(1)) SWIG_fail
;
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28498 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28499 PyObject
*resultobj
;
28500 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28501 wxDragResult arg2
;
28502 wxCursor
*arg3
= 0 ;
28503 PyObject
* obj0
= 0 ;
28504 PyObject
* obj1
= 0 ;
28505 PyObject
* obj2
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self",(char *) "res",(char *) "cursor", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28512 if (SWIG_arg_fail(1)) SWIG_fail
;
28514 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28515 if (SWIG_arg_fail(2)) SWIG_fail
;
28518 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(3)) SWIG_fail
;
28520 if (arg3
== NULL
) {
28521 SWIG_null_ref("wxCursor");
28523 if (SWIG_arg_fail(3)) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 Py_INCREF(Py_None
); resultobj
= Py_None
;
28539 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28542 int arg2
= (int) wxDrag_CopyOnly
;
28543 wxDragResult result
;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self",(char *) "flags", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28552 if (SWIG_arg_fail(1)) SWIG_fail
;
28555 arg2
= (int)(SWIG_As_int(obj1
));
28556 if (SWIG_arg_fail(2)) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= SWIG_From_int((result
));
28573 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
;
28575 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28576 wxDragResult arg2
;
28578 PyObject
* obj0
= 0 ;
28579 PyObject
* obj1
= 0 ;
28580 char *kwnames
[] = {
28581 (char *) "self",(char *) "effect", NULL
28584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28586 if (SWIG_arg_fail(1)) SWIG_fail
;
28588 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28589 if (SWIG_arg_fail(2)) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28607 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28610 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28612 return Py_BuildValue((char *)"");
28614 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
;
28616 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28617 wxPyDropTarget
*result
;
28618 PyObject
* obj0
= 0 ;
28619 char *kwnames
[] = {
28620 (char *) "dataObject", NULL
28623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28626 if (SWIG_arg_fail(1)) SWIG_fail
;
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28642 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28645 PyObject
*arg2
= (PyObject
*) 0 ;
28646 PyObject
*arg3
= (PyObject
*) 0 ;
28647 PyObject
* obj0
= 0 ;
28648 PyObject
* obj1
= 0 ;
28649 PyObject
* obj2
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self",(char *) "self",(char *) "_class", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28656 if (SWIG_arg_fail(1)) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 Py_INCREF(Py_None
); resultobj
= Py_None
;
28673 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28676 PyObject
* obj0
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28683 if (SWIG_arg_fail(1)) SWIG_fail
;
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28691 Py_INCREF(Py_None
); resultobj
= Py_None
;
28698 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28701 wxDataObject
*result
;
28702 PyObject
* obj0
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28724 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28727 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "dataObject", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28736 if (SWIG_arg_fail(1)) SWIG_fail
;
28737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28738 if (SWIG_arg_fail(2)) SWIG_fail
;
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 (arg1
)->SetDataObject(arg2
);
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28746 Py_INCREF(Py_None
); resultobj
= Py_None
;
28753 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28754 PyObject
*resultobj
;
28755 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28758 wxDragResult arg4
;
28759 wxDragResult result
;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 PyObject
* obj2
= 0 ;
28763 PyObject
* obj3
= 0 ;
28764 char *kwnames
[] = {
28765 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28770 if (SWIG_arg_fail(1)) SWIG_fail
;
28772 arg2
= (int)(SWIG_As_int(obj1
));
28773 if (SWIG_arg_fail(2)) SWIG_fail
;
28776 arg3
= (int)(SWIG_As_int(obj2
));
28777 if (SWIG_arg_fail(3)) SWIG_fail
;
28780 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28781 if (SWIG_arg_fail(4)) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= SWIG_From_int((result
));
28797 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
;
28799 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28802 wxDragResult arg4
;
28803 wxDragResult result
;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 PyObject
* obj2
= 0 ;
28807 PyObject
* obj3
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28814 if (SWIG_arg_fail(1)) SWIG_fail
;
28816 arg2
= (int)(SWIG_As_int(obj1
));
28817 if (SWIG_arg_fail(2)) SWIG_fail
;
28820 arg3
= (int)(SWIG_As_int(obj2
));
28821 if (SWIG_arg_fail(3)) SWIG_fail
;
28824 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28825 if (SWIG_arg_fail(4)) SWIG_fail
;
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= SWIG_From_int((result
));
28841 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
;
28843 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28844 PyObject
* obj0
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "self", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28851 if (SWIG_arg_fail(1)) SWIG_fail
;
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 (arg1
)->base_OnLeave();
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 Py_INCREF(Py_None
); resultobj
= Py_None
;
28866 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28867 PyObject
*resultobj
;
28868 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 PyObject
* obj2
= 0 ;
28875 char *kwnames
[] = {
28876 (char *) "self",(char *) "x",(char *) "y", NULL
28879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28881 if (SWIG_arg_fail(1)) SWIG_fail
;
28883 arg2
= (int)(SWIG_As_int(obj1
));
28884 if (SWIG_arg_fail(2)) SWIG_fail
;
28887 arg3
= (int)(SWIG_As_int(obj2
));
28888 if (SWIG_arg_fail(3)) SWIG_fail
;
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28906 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
28916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28917 if (SWIG_arg_fail(1)) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (bool)(arg1
)->GetData();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28934 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
28936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28937 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
28939 return Py_BuildValue((char *)"");
28941 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxPyTextDropTarget
*result
;
28944 char *kwnames
[] = {
28948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
28963 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28966 PyObject
*arg2
= (PyObject
*) 0 ;
28967 PyObject
*arg3
= (PyObject
*) 0 ;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 PyObject
* obj2
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self",(char *) "self",(char *) "_class", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28977 if (SWIG_arg_fail(1)) SWIG_fail
;
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28987 Py_INCREF(Py_None
); resultobj
= Py_None
;
28994 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28995 PyObject
*resultobj
;
28996 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28999 wxDragResult arg4
;
29000 wxDragResult result
;
29001 PyObject
* obj0
= 0 ;
29002 PyObject
* obj1
= 0 ;
29003 PyObject
* obj2
= 0 ;
29004 PyObject
* obj3
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29011 if (SWIG_arg_fail(1)) SWIG_fail
;
29013 arg2
= (int)(SWIG_As_int(obj1
));
29014 if (SWIG_arg_fail(2)) SWIG_fail
;
29017 arg3
= (int)(SWIG_As_int(obj2
));
29018 if (SWIG_arg_fail(3)) SWIG_fail
;
29021 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29022 if (SWIG_arg_fail(4)) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 resultobj
= SWIG_From_int((result
));
29038 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29043 wxDragResult arg4
;
29044 wxDragResult result
;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 PyObject
* obj2
= 0 ;
29048 PyObject
* obj3
= 0 ;
29049 char *kwnames
[] = {
29050 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29055 if (SWIG_arg_fail(1)) SWIG_fail
;
29057 arg2
= (int)(SWIG_As_int(obj1
));
29058 if (SWIG_arg_fail(2)) SWIG_fail
;
29061 arg3
= (int)(SWIG_As_int(obj2
));
29062 if (SWIG_arg_fail(3)) SWIG_fail
;
29065 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29066 if (SWIG_arg_fail(4)) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= SWIG_From_int((result
));
29082 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29085 PyObject
* obj0
= 0 ;
29086 char *kwnames
[] = {
29087 (char *) "self", NULL
29090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29092 if (SWIG_arg_fail(1)) SWIG_fail
;
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 (arg1
)->base_OnLeave();
29097 wxPyEndAllowThreads(__tstate
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29100 Py_INCREF(Py_None
); resultobj
= Py_None
;
29107 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29108 PyObject
*resultobj
;
29109 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 PyObject
* obj2
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self",(char *) "x",(char *) "y", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29122 if (SWIG_arg_fail(1)) SWIG_fail
;
29124 arg2
= (int)(SWIG_As_int(obj1
));
29125 if (SWIG_arg_fail(2)) SWIG_fail
;
29128 arg3
= (int)(SWIG_As_int(obj2
));
29129 if (SWIG_arg_fail(3)) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29147 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29152 wxDragResult arg4
;
29153 wxDragResult result
;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 PyObject
* obj2
= 0 ;
29157 PyObject
* obj3
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29164 if (SWIG_arg_fail(1)) SWIG_fail
;
29166 arg2
= (int)(SWIG_As_int(obj1
));
29167 if (SWIG_arg_fail(2)) SWIG_fail
;
29170 arg3
= (int)(SWIG_As_int(obj2
));
29171 if (SWIG_arg_fail(3)) SWIG_fail
;
29174 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29175 if (SWIG_arg_fail(4)) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_From_int((result
));
29191 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29194 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29196 return Py_BuildValue((char *)"");
29198 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29200 wxPyFileDropTarget
*result
;
29201 char *kwnames
[] = {
29205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29220 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29221 PyObject
*resultobj
;
29222 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29223 PyObject
*arg2
= (PyObject
*) 0 ;
29224 PyObject
*arg3
= (PyObject
*) 0 ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 PyObject
* obj2
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "self",(char *) "self",(char *) "_class", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29234 if (SWIG_arg_fail(1)) SWIG_fail
;
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 Py_INCREF(Py_None
); resultobj
= Py_None
;
29251 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
;
29253 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29256 wxDragResult arg4
;
29257 wxDragResult result
;
29258 PyObject
* obj0
= 0 ;
29259 PyObject
* obj1
= 0 ;
29260 PyObject
* obj2
= 0 ;
29261 PyObject
* obj3
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29268 if (SWIG_arg_fail(1)) SWIG_fail
;
29270 arg2
= (int)(SWIG_As_int(obj1
));
29271 if (SWIG_arg_fail(2)) SWIG_fail
;
29274 arg3
= (int)(SWIG_As_int(obj2
));
29275 if (SWIG_arg_fail(3)) SWIG_fail
;
29278 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29279 if (SWIG_arg_fail(4)) SWIG_fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_From_int((result
));
29295 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
;
29297 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29300 wxDragResult arg4
;
29301 wxDragResult result
;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 PyObject
* obj2
= 0 ;
29305 PyObject
* obj3
= 0 ;
29306 char *kwnames
[] = {
29307 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29312 if (SWIG_arg_fail(1)) SWIG_fail
;
29314 arg2
= (int)(SWIG_As_int(obj1
));
29315 if (SWIG_arg_fail(2)) SWIG_fail
;
29318 arg3
= (int)(SWIG_As_int(obj2
));
29319 if (SWIG_arg_fail(3)) SWIG_fail
;
29322 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29323 if (SWIG_arg_fail(4)) SWIG_fail
;
29326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29327 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29329 wxPyEndAllowThreads(__tstate
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29332 resultobj
= SWIG_From_int((result
));
29339 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29340 PyObject
*resultobj
;
29341 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29342 PyObject
* obj0
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "self", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29349 if (SWIG_arg_fail(1)) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 (arg1
)->base_OnLeave();
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 Py_INCREF(Py_None
); resultobj
= Py_None
;
29364 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
;
29366 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29370 PyObject
* obj0
= 0 ;
29371 PyObject
* obj1
= 0 ;
29372 PyObject
* obj2
= 0 ;
29373 char *kwnames
[] = {
29374 (char *) "self",(char *) "x",(char *) "y", NULL
29377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29379 if (SWIG_arg_fail(1)) SWIG_fail
;
29381 arg2
= (int)(SWIG_As_int(obj1
));
29382 if (SWIG_arg_fail(2)) SWIG_fail
;
29385 arg3
= (int)(SWIG_As_int(obj2
));
29386 if (SWIG_arg_fail(3)) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29404 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29405 PyObject
*resultobj
;
29406 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29409 wxDragResult arg4
;
29410 wxDragResult result
;
29411 PyObject
* obj0
= 0 ;
29412 PyObject
* obj1
= 0 ;
29413 PyObject
* obj2
= 0 ;
29414 PyObject
* obj3
= 0 ;
29415 char *kwnames
[] = {
29416 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29421 if (SWIG_arg_fail(1)) SWIG_fail
;
29423 arg2
= (int)(SWIG_As_int(obj1
));
29424 if (SWIG_arg_fail(2)) SWIG_fail
;
29427 arg3
= (int)(SWIG_As_int(obj2
));
29428 if (SWIG_arg_fail(3)) SWIG_fail
;
29431 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29432 if (SWIG_arg_fail(4)) SWIG_fail
;
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= SWIG_From_int((result
));
29448 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29451 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29453 return Py_BuildValue((char *)"");
29455 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
;
29457 wxClipboard
*result
;
29458 char *kwnames
[] = {
29462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (wxClipboard
*)new wxClipboard();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29477 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29480 PyObject
* obj0
= 0 ;
29481 char *kwnames
[] = {
29482 (char *) "self", NULL
29485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29487 if (SWIG_arg_fail(1)) SWIG_fail
;
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 Py_INCREF(Py_None
); resultobj
= Py_None
;
29502 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
;
29504 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29506 PyObject
* obj0
= 0 ;
29507 char *kwnames
[] = {
29508 (char *) "self", NULL
29511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29513 if (SWIG_arg_fail(1)) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (bool)(arg1
)->Open();
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29530 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29531 PyObject
*resultobj
;
29532 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29533 PyObject
* obj0
= 0 ;
29534 char *kwnames
[] = {
29535 (char *) "self", NULL
29538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29540 if (SWIG_arg_fail(1)) SWIG_fail
;
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 Py_INCREF(Py_None
); resultobj
= Py_None
;
29555 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29559 PyObject
* obj0
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29566 if (SWIG_arg_fail(1)) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29583 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
;
29585 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29586 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self",(char *) "data", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail
;
29597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29598 if (SWIG_arg_fail(2)) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (bool)(arg1
)->AddData(arg2
);
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29615 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
;
29617 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29618 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29620 PyObject
* obj0
= 0 ;
29621 PyObject
* obj1
= 0 ;
29622 char *kwnames
[] = {
29623 (char *) "self",(char *) "data", NULL
29626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29628 if (SWIG_arg_fail(1)) SWIG_fail
;
29629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29630 if (SWIG_arg_fail(2)) SWIG_fail
;
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (bool)(arg1
)->SetData(arg2
);
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29647 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29650 wxDataFormat
*arg2
= 0 ;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 char *kwnames
[] = {
29655 (char *) "self",(char *) "format", NULL
29658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29660 if (SWIG_arg_fail(1)) SWIG_fail
;
29662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29663 if (SWIG_arg_fail(2)) SWIG_fail
;
29664 if (arg2
== NULL
) {
29665 SWIG_null_ref("wxDataFormat");
29667 if (SWIG_arg_fail(2)) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29685 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
;
29687 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29688 wxDataObject
*arg2
= 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "self",(char *) "data", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29698 if (SWIG_arg_fail(1)) SWIG_fail
;
29700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29701 if (SWIG_arg_fail(2)) SWIG_fail
;
29702 if (arg2
== NULL
) {
29703 SWIG_null_ref("wxDataObject");
29705 if (SWIG_arg_fail(2)) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= (bool)(arg1
)->GetData(*arg2
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29723 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
;
29725 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29726 PyObject
* obj0
= 0 ;
29727 char *kwnames
[] = {
29728 (char *) "self", NULL
29731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29733 if (SWIG_arg_fail(1)) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 Py_INCREF(Py_None
); resultobj
= Py_None
;
29748 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29752 PyObject
* obj0
= 0 ;
29753 char *kwnames
[] = {
29754 (char *) "self", NULL
29757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29759 if (SWIG_arg_fail(1)) SWIG_fail
;
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (bool)(arg1
)->Flush();
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29776 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29777 PyObject
*resultobj
;
29778 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29779 bool arg2
= (bool) true ;
29780 PyObject
* obj0
= 0 ;
29781 PyObject
* obj1
= 0 ;
29782 char *kwnames
[] = {
29783 (char *) "self",(char *) "primary", NULL
29786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29788 if (SWIG_arg_fail(1)) SWIG_fail
;
29791 arg2
= (bool)(SWIG_As_bool(obj1
));
29792 if (SWIG_arg_fail(2)) SWIG_fail
;
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 (arg1
)->UsePrimarySelection(arg2
);
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29802 Py_INCREF(Py_None
); resultobj
= Py_None
;
29809 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29810 PyObject
*resultobj
;
29811 wxClipboard
*result
;
29812 char *kwnames
[] = {
29816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 result
= (wxClipboard
*)wxClipboard::Get();
29821 wxPyEndAllowThreads(__tstate
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
29831 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
29833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29834 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
29836 return Py_BuildValue((char *)"");
29838 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
29841 wxClipboardLocker
*result
;
29842 PyObject
* obj0
= 0 ;
29843 char *kwnames
[] = {
29844 (char *) "clipboard", NULL
29847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29850 if (SWIG_arg_fail(1)) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
29866 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29869 PyObject
* obj0
= 0 ;
29870 char *kwnames
[] = {
29871 (char *) "self", NULL
29874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29876 if (SWIG_arg_fail(1)) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 Py_INCREF(Py_None
); resultobj
= Py_None
;
29891 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29895 PyObject
* obj0
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
29901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29902 if (SWIG_arg_fail(1)) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29919 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
29921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29922 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
29924 return Py_BuildValue((char *)"");
29926 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
;
29928 int arg1
= (int) 0 ;
29929 int arg2
= (int) 0 ;
29930 int arg3
= (int) 0 ;
29931 int arg4
= (int) 0 ;
29932 wxVideoMode
*result
;
29933 PyObject
* obj0
= 0 ;
29934 PyObject
* obj1
= 0 ;
29935 PyObject
* obj2
= 0 ;
29936 PyObject
* obj3
= 0 ;
29937 char *kwnames
[] = {
29938 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
29941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29944 arg1
= (int)(SWIG_As_int(obj0
));
29945 if (SWIG_arg_fail(1)) SWIG_fail
;
29950 arg2
= (int)(SWIG_As_int(obj1
));
29951 if (SWIG_arg_fail(2)) SWIG_fail
;
29956 arg3
= (int)(SWIG_As_int(obj2
));
29957 if (SWIG_arg_fail(3)) SWIG_fail
;
29962 arg4
= (int)(SWIG_As_int(obj3
));
29963 if (SWIG_arg_fail(4)) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
29980 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29983 PyObject
* obj0
= 0 ;
29984 char *kwnames
[] = {
29985 (char *) "self", NULL
29988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
29989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29990 if (SWIG_arg_fail(1)) SWIG_fail
;
29992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29998 Py_INCREF(Py_None
); resultobj
= Py_None
;
30005 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
;
30007 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30008 wxVideoMode
*arg2
= 0 ;
30010 PyObject
* obj0
= 0 ;
30011 PyObject
* obj1
= 0 ;
30012 char *kwnames
[] = {
30013 (char *) "self",(char *) "other", NULL
30016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30018 if (SWIG_arg_fail(1)) SWIG_fail
;
30020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30021 if (SWIG_arg_fail(2)) SWIG_fail
;
30022 if (arg2
== NULL
) {
30023 SWIG_null_ref("wxVideoMode");
30025 if (SWIG_arg_fail(2)) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30043 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
;
30045 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30047 PyObject
* obj0
= 0 ;
30048 char *kwnames
[] = {
30049 (char *) "self", NULL
30052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30054 if (SWIG_arg_fail(1)) SWIG_fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= SWIG_From_int((int)(result
));
30071 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30072 PyObject
*resultobj
;
30073 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30075 PyObject
* obj0
= 0 ;
30076 char *kwnames
[] = {
30077 (char *) "self", NULL
30080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30082 if (SWIG_arg_fail(1)) SWIG_fail
;
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= SWIG_From_int((int)(result
));
30099 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30100 PyObject
*resultobj
;
30101 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30103 PyObject
* obj0
= 0 ;
30104 char *kwnames
[] = {
30105 (char *) "self", NULL
30108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30110 if (SWIG_arg_fail(1)) SWIG_fail
;
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_From_int((int)(result
));
30127 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30128 PyObject
*resultobj
;
30129 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30131 PyObject
* obj0
= 0 ;
30132 char *kwnames
[] = {
30133 (char *) "self", NULL
30136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30138 if (SWIG_arg_fail(1)) SWIG_fail
;
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30155 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
;
30157 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30158 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 char *kwnames
[] = {
30163 (char *) "self",(char *) "other", NULL
30166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30168 if (SWIG_arg_fail(1)) SWIG_fail
;
30169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30170 if (SWIG_arg_fail(2)) SWIG_fail
;
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30175 wxPyEndAllowThreads(__tstate
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30187 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30188 PyObject
*resultobj
;
30189 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30190 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30192 PyObject
* obj0
= 0 ;
30193 PyObject
* obj1
= 0 ;
30194 char *kwnames
[] = {
30195 (char *) "self",(char *) "other", NULL
30198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30200 if (SWIG_arg_fail(1)) SWIG_fail
;
30201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30202 if (SWIG_arg_fail(2)) SWIG_fail
;
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30219 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
;
30221 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30223 PyObject
* obj0
= 0 ;
30224 PyObject
* obj1
= 0 ;
30225 char *kwnames
[] = {
30226 (char *) "self",(char *) "w", NULL
30229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30231 if (SWIG_arg_fail(1)) SWIG_fail
;
30233 arg2
= (int)(SWIG_As_int(obj1
));
30234 if (SWIG_arg_fail(2)) SWIG_fail
;
30236 if (arg1
) (arg1
)->w
= arg2
;
30238 Py_INCREF(Py_None
); resultobj
= Py_None
;
30245 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
;
30247 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 char *kwnames
[] = {
30251 (char *) "self", NULL
30254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30256 if (SWIG_arg_fail(1)) SWIG_fail
;
30257 result
= (int) ((arg1
)->w
);
30260 resultobj
= SWIG_From_int((int)(result
));
30268 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30269 PyObject
*resultobj
;
30270 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30272 PyObject
* obj0
= 0 ;
30273 PyObject
* obj1
= 0 ;
30274 char *kwnames
[] = {
30275 (char *) "self",(char *) "h", NULL
30278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30280 if (SWIG_arg_fail(1)) SWIG_fail
;
30282 arg2
= (int)(SWIG_As_int(obj1
));
30283 if (SWIG_arg_fail(2)) SWIG_fail
;
30285 if (arg1
) (arg1
)->h
= arg2
;
30287 Py_INCREF(Py_None
); resultobj
= Py_None
;
30294 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
;
30296 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30305 if (SWIG_arg_fail(1)) SWIG_fail
;
30306 result
= (int) ((arg1
)->h
);
30309 resultobj
= SWIG_From_int((int)(result
));
30317 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 char *kwnames
[] = {
30324 (char *) "self",(char *) "bpp", NULL
30327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30329 if (SWIG_arg_fail(1)) SWIG_fail
;
30331 arg2
= (int)(SWIG_As_int(obj1
));
30332 if (SWIG_arg_fail(2)) SWIG_fail
;
30334 if (arg1
) (arg1
)->bpp
= arg2
;
30336 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30347 PyObject
* obj0
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "self", NULL
30352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30354 if (SWIG_arg_fail(1)) SWIG_fail
;
30355 result
= (int) ((arg1
)->bpp
);
30358 resultobj
= SWIG_From_int((int)(result
));
30366 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
;
30368 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 char *kwnames
[] = {
30373 (char *) "self",(char *) "refresh", NULL
30376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30378 if (SWIG_arg_fail(1)) SWIG_fail
;
30380 arg2
= (int)(SWIG_As_int(obj1
));
30381 if (SWIG_arg_fail(2)) SWIG_fail
;
30383 if (arg1
) (arg1
)->refresh
= arg2
;
30385 Py_INCREF(Py_None
); resultobj
= Py_None
;
30392 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30393 PyObject
*resultobj
;
30394 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30396 PyObject
* obj0
= 0 ;
30397 char *kwnames
[] = {
30398 (char *) "self", NULL
30401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30403 if (SWIG_arg_fail(1)) SWIG_fail
;
30404 result
= (int) ((arg1
)->refresh
);
30407 resultobj
= SWIG_From_int((int)(result
));
30415 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30418 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30420 return Py_BuildValue((char *)"");
30422 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30423 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30428 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30431 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30436 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
;
30438 size_t arg1
= (size_t) 0 ;
30440 PyObject
* obj0
= 0 ;
30441 char *kwnames
[] = {
30442 (char *) "index", NULL
30445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30448 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30449 if (SWIG_arg_fail(1)) SWIG_fail
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 result
= (wxDisplay
*)new wxDisplay(arg1
);
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30466 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30467 PyObject
*resultobj
;
30468 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30469 PyObject
* obj0
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30476 if (SWIG_arg_fail(1)) SWIG_fail
;
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 Py_INCREF(Py_None
); resultobj
= Py_None
;
30491 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30492 PyObject
*resultobj
;
30494 char *kwnames
[] = {
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 result
= (size_t)wxDisplay::GetCount();
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30507 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30515 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxPoint
*arg1
= 0 ;
30520 PyObject
* obj0
= 0 ;
30521 char *kwnames
[] = {
30522 (char *) "pt", NULL
30525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30528 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30532 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30538 resultobj
= SWIG_From_int((int)(result
));
30546 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxWindow
*arg1
= (wxWindow
*) 0 ;
30550 PyObject
* obj0
= 0 ;
30551 char *kwnames
[] = {
30552 (char *) "window", NULL
30555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30557 if (SWIG_arg_fail(1)) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 result
= (int)Display_GetFromWindow(arg1
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= SWIG_From_int((int)(result
));
30574 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
;
30576 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30578 PyObject
* obj0
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30585 if (SWIG_arg_fail(1)) SWIG_fail
;
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30602 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30606 PyObject
* obj0
= 0 ;
30607 char *kwnames
[] = {
30608 (char *) "self", NULL
30611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30613 if (SWIG_arg_fail(1)) SWIG_fail
;
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30622 wxRect
* resultptr
;
30623 resultptr
= new wxRect((wxRect
&)(result
));
30624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30632 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 char *kwnames
[] = {
30638 (char *) "self", NULL
30641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30643 if (SWIG_arg_fail(1)) SWIG_fail
;
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30646 result
= ((wxDisplay
const *)arg1
)->GetName();
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30664 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
;
30666 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30668 PyObject
* obj0
= 0 ;
30669 char *kwnames
[] = {
30670 (char *) "self", NULL
30673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30675 if (SWIG_arg_fail(1)) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30692 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
;
30694 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30695 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30696 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 char *kwnames
[] = {
30701 (char *) "self",(char *) "mode", NULL
30704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30706 if (SWIG_arg_fail(1)) SWIG_fail
;
30709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30710 if (SWIG_arg_fail(2)) SWIG_fail
;
30711 if (arg2
== NULL
) {
30712 SWIG_null_ref("wxVideoMode");
30714 if (SWIG_arg_fail(2)) SWIG_fail
;
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30719 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30721 wxPyEndAllowThreads(__tstate
);
30722 if (PyErr_Occurred()) SWIG_fail
;
30724 resultobj
= result
;
30731 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30734 wxVideoMode result
;
30735 PyObject
* obj0
= 0 ;
30736 char *kwnames
[] = {
30737 (char *) "self", NULL
30740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30742 if (SWIG_arg_fail(1)) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30751 wxVideoMode
* resultptr
;
30752 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30761 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
;
30763 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30764 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30765 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 char *kwnames
[] = {
30770 (char *) "self",(char *) "mode", NULL
30773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30775 if (SWIG_arg_fail(1)) SWIG_fail
;
30778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30779 if (SWIG_arg_fail(2)) SWIG_fail
;
30780 if (arg2
== NULL
) {
30781 SWIG_null_ref("wxVideoMode");
30783 if (SWIG_arg_fail(2)) SWIG_fail
;
30787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30788 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30802 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
;
30804 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30805 PyObject
* obj0
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "self", NULL
30810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30812 if (SWIG_arg_fail(1)) SWIG_fail
;
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 (arg1
)->ResetMode();
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30820 Py_INCREF(Py_None
); resultobj
= Py_None
;
30827 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
30829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30830 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
30832 return Py_BuildValue((char *)"");
30834 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30835 PyObject
*resultobj
;
30836 wxStandardPaths
*result
;
30837 char *kwnames
[] = {
30841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 result
= (wxStandardPaths
*)StandardPaths_Get();
30846 wxPyEndAllowThreads(__tstate
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
30856 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30857 PyObject
*resultobj
;
30858 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30860 PyObject
* obj0
= 0 ;
30861 char *kwnames
[] = {
30862 (char *) "self", NULL
30865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
30866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30867 if (SWIG_arg_fail(1)) SWIG_fail
;
30869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30870 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
30872 wxPyEndAllowThreads(__tstate
);
30873 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30888 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
;
30890 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30892 PyObject
* obj0
= 0 ;
30893 char *kwnames
[] = {
30894 (char *) "self", NULL
30897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
30898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30899 if (SWIG_arg_fail(1)) SWIG_fail
;
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
30904 wxPyEndAllowThreads(__tstate
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30920 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
;
30922 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30924 PyObject
* obj0
= 0 ;
30925 char *kwnames
[] = {
30926 (char *) "self", NULL
30929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
30930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30931 if (SWIG_arg_fail(1)) SWIG_fail
;
30933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30952 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
;
30954 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 char *kwnames
[] = {
30958 (char *) "self", NULL
30961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
30962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30963 if (SWIG_arg_fail(1)) SWIG_fail
;
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
30968 wxPyEndAllowThreads(__tstate
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30984 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30988 PyObject
* obj0
= 0 ;
30989 char *kwnames
[] = {
30990 (char *) "self", NULL
30993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
30994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30995 if (SWIG_arg_fail(1)) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31016 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31020 PyObject
* obj0
= 0 ;
31021 char *kwnames
[] = {
31022 (char *) "self", NULL
31025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31027 if (SWIG_arg_fail(1)) SWIG_fail
;
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31048 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
;
31050 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31052 PyObject
* obj0
= 0 ;
31053 char *kwnames
[] = {
31054 (char *) "self", NULL
31057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31059 if (SWIG_arg_fail(1)) SWIG_fail
;
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31080 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
;
31082 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31083 wxString
*arg2
= 0 ;
31084 bool temp2
= false ;
31085 PyObject
* obj0
= 0 ;
31086 PyObject
* obj1
= 0 ;
31087 char *kwnames
[] = {
31088 (char *) "self",(char *) "prefix", NULL
31091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31093 if (SWIG_arg_fail(1)) SWIG_fail
;
31095 arg2
= wxString_in_helper(obj1
);
31096 if (arg2
== NULL
) SWIG_fail
;
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31106 Py_INCREF(Py_None
); resultobj
= Py_None
;
31121 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
;
31123 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31125 PyObject
* obj0
= 0 ;
31126 char *kwnames
[] = {
31127 (char *) "self", NULL
31130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31132 if (SWIG_arg_fail(1)) SWIG_fail
;
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31153 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31156 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31158 return Py_BuildValue((char *)"");
31160 static PyMethodDef SwigMethods
[] = {
31161 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31168 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31175 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31239 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31247 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31265 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31268 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31271 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31274 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31280 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31294 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31300 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31305 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31308 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31322 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31325 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31326 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31329 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31356 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31358 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31360 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31362 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31369 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31375 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31389 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31393 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31396 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31413 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31421 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31468 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31486 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31496 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31512 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31528 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31542 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31551 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31594 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31597 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31600 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31604 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31697 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31698 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31699 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31700 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31717 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31762 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31796 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31804 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31805 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31810 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31819 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31826 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31829 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
31832 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
31837 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
31840 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31844 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31847 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
31851 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
31852 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
31856 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
31860 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
31862 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
31872 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
31883 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
31891 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
31899 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
31913 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
31917 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
31935 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
31949 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
31960 { NULL
, NULL
, 0, NULL
}
31964 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31966 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31967 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31969 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31970 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31972 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31973 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31975 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31976 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31978 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31979 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31981 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31982 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31984 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
31985 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
31987 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31988 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31990 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31991 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31993 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31994 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31996 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31997 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31999 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32000 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32002 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32003 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32005 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32006 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32008 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32009 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32011 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32012 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32014 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32015 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32017 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32018 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32020 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32021 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32023 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32024 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32026 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32027 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32029 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32030 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32032 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32033 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32035 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32036 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32038 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32039 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32041 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32042 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32044 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32045 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32047 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32048 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32050 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32051 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32053 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32054 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32056 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32057 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32059 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32060 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32062 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32063 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32065 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32066 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32068 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32071 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32074 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32075 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32077 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32078 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32080 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32081 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32083 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32084 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32086 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32087 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32089 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32090 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32092 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32093 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32095 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32096 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32098 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32099 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32101 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32102 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32104 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32105 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32107 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32108 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32110 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32111 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32113 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32114 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32116 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32117 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32119 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32120 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32122 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32123 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32125 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32126 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32128 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32129 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32131 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32132 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32134 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32135 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32137 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32138 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32140 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32141 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32143 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32144 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32146 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32147 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32149 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32150 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32152 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32153 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32155 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32156 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32158 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32159 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32161 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32164 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32165 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32167 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32168 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32170 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32171 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32173 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32174 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32176 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32177 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32179 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32180 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32182 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32183 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32185 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32186 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32188 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32189 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32191 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32192 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32194 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32197 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32200 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32203 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32206 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32209 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) ((wxSizer
*) x
));
32212 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32215 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32218 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32221 static void *_p_wxEventTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) ((wxEvent
*) x
));
32224 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32227 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32230 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32233 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32236 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32239 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32242 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32245 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32248 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32251 static void *_p_wxControlTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32254 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32257 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32260 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32263 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32266 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32269 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32272 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32275 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32278 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32281 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32284 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32287 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32290 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32293 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32296 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32299 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32302 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32305 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32308 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32311 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32314 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32317 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32320 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32323 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32326 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32329 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32332 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32335 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32338 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32341 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32344 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32347 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32350 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32353 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32356 static void *_p_wxImageTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) ((wxImage
*) x
));
32359 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32362 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32365 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32368 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32371 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32374 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32377 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32380 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32383 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32386 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32389 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32392 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32395 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32398 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32401 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32404 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32407 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32410 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32413 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32416 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32419 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32422 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32425 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32428 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32431 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32434 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32437 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32440 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32443 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32444 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32446 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32447 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32449 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32450 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32452 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32453 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32455 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32456 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32458 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32459 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32461 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32462 return (void *)((wxWindow
*) ((wxControl
*) x
));
32464 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32465 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32467 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32468 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32470 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32471 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32473 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32474 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32476 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}};
32477 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}};
32478 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}};
32479 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}};
32480 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}};
32481 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}};
32482 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}};
32483 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}};
32484 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}};
32485 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}};
32486 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}};
32487 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}};
32488 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}};
32489 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}};
32490 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}};
32491 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}};
32492 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}};
32493 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}};
32494 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}};
32495 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}};
32496 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}};
32497 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}};
32498 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}};
32499 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}};
32500 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}};
32501 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}};
32502 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}};
32503 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}};
32504 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}};
32505 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}};
32506 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}};
32507 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}};
32508 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}};
32509 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}};
32510 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}};
32511 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}};
32512 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}};
32513 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}};
32514 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}};
32515 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}};
32516 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}};
32517 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}};
32518 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}};
32519 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}};
32520 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}};
32521 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}};
32522 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}};
32523 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}};
32524 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}};
32525 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}};
32526 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}};
32527 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}};
32528 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}};
32529 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}};
32530 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}};
32531 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}};
32532 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}};
32533 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}};
32534 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}};
32535 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}};
32536 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}};
32537 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}};
32538 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}};
32539 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}};
32540 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}};
32541 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}};
32542 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}};
32543 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}};
32544 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}};
32545 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}};
32546 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}};
32547 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}};
32548 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}};
32549 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}};
32550 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}};
32551 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}};
32552 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}};
32553 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}};
32554 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}};
32555 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}};
32556 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}};
32557 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}};
32558 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}};
32559 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}};
32560 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}};
32561 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}};
32562 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}};
32563 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}};
32564 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}};
32565 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}};
32566 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}};
32567 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}};
32568 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}};
32569 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}};
32570 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}};
32572 static swig_type_info
*swig_types_initial
[] = {
32573 _swigt__p_wxLogChain
,
32574 _swigt__p_wxMutexGuiLocker
,
32575 _swigt__p_wxFileHistory
,
32579 _swigt__p_wxDateTime__TimeZone
,
32580 _swigt__p_wxConfigBase
,
32581 _swigt__p_wxDisplay
,
32582 _swigt__p_wxFileType
,
32583 _swigt__p_wxLogGui
,
32585 _swigt__p_wxDataFormat
,
32586 _swigt__p_wxTimerEvent
,
32589 _swigt__std__ptrdiff_t
,
32592 _swigt__p_wxClipboard
,
32593 _swigt__p_wxStopWatch
,
32594 _swigt__p_wxClipboardLocker
,
32596 _swigt__p_wxLogStderr
,
32597 _swigt__p_wxLogTextCtrl
,
32598 _swigt__p_wxTextCtrl
,
32599 _swigt__p_wxBusyCursor
,
32600 _swigt__p_wxBitmapDataObject
,
32601 _swigt__p_wxTextDataObject
,
32602 _swigt__p_wxDataObject
,
32603 _swigt__p_wxPyTextDataObject
,
32604 _swigt__p_wxPyBitmapDataObject
,
32605 _swigt__p_wxFileDataObject
,
32606 _swigt__p_wxCustomDataObject
,
32607 _swigt__p_wxURLDataObject
,
32608 _swigt__p_wxMetafileDataObject
,
32610 _swigt__p_wxTimerRunner
,
32611 _swigt__p_wxLogWindow
,
32612 _swigt__p_wxTimeSpan
,
32613 _swigt__p_wxArrayString
,
32614 _swigt__p_wxWindowDisabler
,
32615 _swigt__p_form_ops_t
,
32616 _swigt__p_wxToolTip
,
32617 _swigt__p_wxDataObjectComposite
,
32618 _swigt__p_wxFileConfig
,
32619 _swigt__p_wxSystemSettings
,
32620 _swigt__p_wxVideoMode
,
32621 _swigt__p_wxDataObjectSimple
,
32622 _swigt__p_wxPyDataObjectSimple
,
32623 _swigt__p_wxDuplexMode
,
32624 _swigt__p_wxEvtHandler
,
32627 _swigt__p_wxSingleInstanceChecker
,
32628 _swigt__p_wxStandardPaths
,
32629 _swigt__p_wxFileTypeInfo
,
32632 _swigt__p_wxPaperSize
,
32633 _swigt__p_wxMimeTypesManager
,
32634 _swigt__p_wxPyArtProvider
,
32635 _swigt__p_wxPyTipProvider
,
32636 _swigt__p_wxTipProvider
,
32637 _swigt__p_wxJoystick
,
32638 _swigt__p_wxSystemOptions
,
32640 _swigt__p_wxJoystickEvent
,
32641 _swigt__p_wxCursor
,
32642 _swigt__p_wxObject
,
32643 _swigt__p_wxOutputStream
,
32644 _swigt__p_wxDateTime
,
32645 _swigt__p_wxPyDropSource
,
32646 _swigt__p_unsigned_long
,
32647 _swigt__p_wxKillError
,
32648 _swigt__p_wxWindow
,
32649 _swigt__p_wxString
,
32650 _swigt__p_wxPyProcess
,
32651 _swigt__p_wxBitmap
,
32652 _swigt__p_wxConfig
,
32653 _swigt__unsigned_int
,
32654 _swigt__p_unsigned_int
,
32655 _swigt__p_unsigned_char
,
32657 _swigt__p_wxBusyInfo
,
32658 _swigt__p_wxPyDropTarget
,
32659 _swigt__p_wxPyTextDropTarget
,
32660 _swigt__p_wxPyFileDropTarget
,
32661 _swigt__p_wxProcessEvent
,
32663 _swigt__p_wxLogNull
,
32664 _swigt__p_wxColour
,
32665 _swigt__p_wxPyTimer
,
32666 _swigt__p_wxConfigPathChanger
,
32667 _swigt__p_wxDateSpan
,
32672 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32674 static swig_const_info swig_const_table
[] = {
32675 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32676 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32677 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32678 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32679 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32680 {0, 0, 0, 0.0, 0, 0}};
32691 /* Python-specific SWIG API */
32692 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32693 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32694 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32696 /* -----------------------------------------------------------------------------
32697 * global variable support code.
32698 * ----------------------------------------------------------------------------- */
32700 typedef struct swig_globalvar
{
32701 char *name
; /* Name of global variable */
32702 PyObject
*(*get_attr
)(); /* Return the current value */
32703 int (*set_attr
)(PyObject
*); /* Set the value */
32704 struct swig_globalvar
*next
;
32707 typedef struct swig_varlinkobject
{
32709 swig_globalvar
*vars
;
32710 } swig_varlinkobject
;
32713 swig_varlink_repr(swig_varlinkobject
*v
) {
32715 return PyString_FromString("<Swig global variables>");
32719 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32720 swig_globalvar
*var
;
32722 fprintf(fp
,"Swig global variables { ");
32723 for (var
= v
->vars
; var
; var
=var
->next
) {
32724 fprintf(fp
,"%s", var
->name
);
32725 if (var
->next
) fprintf(fp
,", ");
32727 fprintf(fp
," }\n");
32732 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32733 swig_globalvar
*var
= v
->vars
;
32735 if (strcmp(var
->name
,n
) == 0) {
32736 return (*var
->get_attr
)();
32740 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32745 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32746 swig_globalvar
*var
= v
->vars
;
32748 if (strcmp(var
->name
,n
) == 0) {
32749 return (*var
->set_attr
)(p
);
32753 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32757 static PyTypeObject varlinktype
= {
32758 PyObject_HEAD_INIT(0)
32759 0, /* Number of items in variable part (ob_size) */
32760 (char *)"swigvarlink", /* Type name (tp_name) */
32761 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32762 0, /* Itemsize (tp_itemsize) */
32763 0, /* Deallocator (tp_dealloc) */
32764 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32765 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32766 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32767 0, /* tp_compare */
32768 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32769 0, /* tp_as_number */
32770 0, /* tp_as_sequence */
32771 0, /* tp_as_mapping */
32775 0, /* tp_getattro */
32776 0, /* tp_setattro */
32777 0, /* tp_as_buffer */
32780 #if PY_VERSION_HEX >= 0x02000000
32781 0, /* tp_traverse */
32784 #if PY_VERSION_HEX >= 0x02010000
32785 0, /* tp_richcompare */
32786 0, /* tp_weaklistoffset */
32788 #if PY_VERSION_HEX >= 0x02020000
32789 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32791 #if PY_VERSION_HEX >= 0x02030000
32794 #ifdef COUNT_ALLOCS
32795 0,0,0,0 /* tp_alloc -> tp_next */
32799 /* Create a variable linking object for use later */
32801 SWIG_Python_newvarlink(void) {
32802 swig_varlinkobject
*result
= 0;
32803 result
= PyMem_NEW(swig_varlinkobject
,1);
32804 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32805 result
->ob_type
= &varlinktype
;
32807 result
->ob_refcnt
= 0;
32808 Py_XINCREF((PyObject
*) result
);
32809 return ((PyObject
*) result
);
32813 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32814 swig_varlinkobject
*v
;
32815 swig_globalvar
*gv
;
32816 v
= (swig_varlinkobject
*) p
;
32817 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32818 gv
->name
= (char *) malloc(strlen(name
)+1);
32819 strcpy(gv
->name
,name
);
32820 gv
->get_attr
= get_attr
;
32821 gv
->set_attr
= set_attr
;
32822 gv
->next
= v
->vars
;
32826 /* -----------------------------------------------------------------------------
32827 * constants/methods manipulation
32828 * ----------------------------------------------------------------------------- */
32830 /* Install Constants */
32832 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32835 for (i
= 0; constants
[i
].type
; i
++) {
32836 switch(constants
[i
].type
) {
32838 obj
= PyInt_FromLong(constants
[i
].lvalue
);
32840 case SWIG_PY_FLOAT
:
32841 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
32843 case SWIG_PY_STRING
:
32844 if (constants
[i
].pvalue
) {
32845 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
32847 Py_INCREF(Py_None
);
32851 case SWIG_PY_POINTER
:
32852 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32854 case SWIG_PY_BINARY
:
32855 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32862 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
32868 /* -----------------------------------------------------------------------------*/
32869 /* Fix SwigMethods to carry the callback ptrs when needed */
32870 /* -----------------------------------------------------------------------------*/
32873 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32874 swig_const_info
*const_table
,
32875 swig_type_info
**types
,
32876 swig_type_info
**types_initial
) {
32878 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32879 char *c
= methods
[i
].ml_doc
;
32880 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32882 swig_const_info
*ci
= 0;
32883 char *name
= c
+ 10;
32884 for (j
= 0; const_table
[j
].type
; j
++) {
32885 if (strncmp(const_table
[j
].name
, name
,
32886 strlen(const_table
[j
].name
)) == 0) {
32887 ci
= &(const_table
[j
]);
32892 size_t shift
= (ci
->ptype
) - types
;
32893 swig_type_info
*ty
= types_initial
[shift
];
32894 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32895 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32896 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32898 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
32899 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32901 strncpy(buff
, "swig_ptr: ", 10);
32903 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32904 methods
[i
].ml_doc
= ndoc
;
32910 /* -----------------------------------------------------------------------------*
32911 * Initialize type list
32912 * -----------------------------------------------------------------------------*/
32914 #if PY_MAJOR_VERSION < 2
32915 /* PyModule_AddObject function was introduced in Python 2.0. The following function
32916 is copied out of Python/modsupport.c in python version 2.3.4 */
32918 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
32921 if (!PyModule_Check(m
)) {
32922 PyErr_SetString(PyExc_TypeError
,
32923 "PyModule_AddObject() needs module as first arg");
32927 PyErr_SetString(PyExc_TypeError
,
32928 "PyModule_AddObject() needs non-NULL value");
32932 dict
= PyModule_GetDict(m
);
32933 if (dict
== NULL
) {
32934 /* Internal error -- modules must have a dict! */
32935 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
32936 PyModule_GetName(m
));
32939 if (PyDict_SetItemString(dict
, name
, o
))
32946 static swig_type_info
**
32947 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
32948 static PyMethodDef swig_empty_runtime_method_table
[] = {
32950 NULL
, NULL
, 0, NULL
32954 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
32955 swig_empty_runtime_method_table
);
32956 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
32957 if (pointer
&& module) {
32958 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
32960 return type_list_handle
;
32963 static swig_type_info
**
32964 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
32965 swig_type_info
**type_pointer
;
32967 /* first check if module already created */
32968 type_pointer
= SWIG_Python_GetTypeListHandle();
32969 if (type_pointer
) {
32970 return type_pointer
;
32972 /* create a new module and variable */
32973 return SWIG_Python_SetTypeListHandle(type_list_handle
);
32981 /* -----------------------------------------------------------------------------*
32982 * Partial Init method
32983 * -----------------------------------------------------------------------------*/
32985 #ifdef SWIG_LINK_RUNTIME
32989 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
32995 SWIGEXPORT(void) SWIG_init(void) {
32996 static PyObject
*SWIG_globals
= 0;
32997 static int typeinit
= 0;
33000 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33002 /* Fix SwigMethods to carry the callback ptrs when needed */
33003 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33005 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33006 d
= PyModule_GetDict(m
);
33009 #ifdef SWIG_LINK_RUNTIME
33010 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33012 # ifndef SWIG_STATIC_RUNTIME
33013 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33016 for (i
= 0; swig_types_initial
[i
]; i
++) {
33017 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33021 SWIG_InstallConstants(d
,swig_const_table
);
33024 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33027 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33030 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33033 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33036 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33039 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33042 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33045 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33048 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33051 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33054 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33057 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33060 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33063 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33066 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33069 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33072 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33075 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33078 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33081 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33084 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33087 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33090 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33093 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33096 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33099 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33102 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33105 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33108 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33111 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33114 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33117 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33120 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33123 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33126 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33129 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33132 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33135 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33138 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33141 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33144 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33147 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33150 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33153 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33156 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33159 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33162 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33165 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33168 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33171 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33174 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33177 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33180 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33183 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33186 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33189 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33192 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33195 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33198 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33201 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33204 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33207 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33210 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33213 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33216 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33219 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33222 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33225 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33228 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33231 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33234 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33237 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33240 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33243 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33246 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33249 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33252 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33255 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33258 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33261 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33264 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33267 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33270 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33273 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33276 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33279 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33282 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33285 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33288 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33291 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33294 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33296 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33297 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33298 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33299 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33300 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33302 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33305 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33308 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33311 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33313 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33315 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33318 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33321 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33324 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33327 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33330 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33333 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33336 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33339 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33342 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33345 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33348 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33350 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33351 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33352 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33353 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33354 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33356 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33359 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33362 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33365 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33368 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33371 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33374 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33377 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33380 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33383 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33386 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33389 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33392 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33395 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33398 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33401 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33404 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33407 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33410 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33413 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33416 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33419 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33422 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33425 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33428 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33431 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33434 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33437 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33440 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33443 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33446 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33448 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33450 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33453 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33456 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33459 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33462 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33465 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33468 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33471 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33474 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33477 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33480 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33483 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33486 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33488 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33489 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33490 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33491 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33493 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33496 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33499 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33502 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33505 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33508 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33511 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33514 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33516 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33517 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33518 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33519 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33520 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33521 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33522 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33523 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33524 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33525 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33526 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33527 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33528 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33529 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33530 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33531 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33532 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33533 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33534 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33535 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33536 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33537 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33538 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33539 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33540 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33541 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33542 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33543 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33544 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33545 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33546 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33547 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33548 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33549 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33550 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33551 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33552 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33553 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33554 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33555 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33556 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33557 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33558 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33559 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33560 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33561 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33562 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33563 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33564 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33565 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33566 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33567 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33568 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33569 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33570 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33571 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33573 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33576 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33579 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33582 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33585 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33588 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33591 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33594 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33597 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33600 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33602 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33603 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33605 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33608 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33611 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33614 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33617 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33620 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33623 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33626 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33629 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33632 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33635 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33638 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33641 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33644 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33647 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33650 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33653 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33656 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33659 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33662 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33665 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33668 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33671 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33674 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33677 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33680 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33683 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33686 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33689 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33692 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33695 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33698 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33701 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33704 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33707 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33710 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33713 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33716 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33719 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33722 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33725 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33728 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33731 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33734 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33737 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33740 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33743 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33746 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33749 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33752 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33755 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33758 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33761 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33764 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33767 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33770 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33773 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33776 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33779 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33782 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33785 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33788 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33791 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33794 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33797 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33800 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33803 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33806 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33809 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33812 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33815 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33818 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33821 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
33824 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
33827 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
33830 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
33833 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
33836 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
33839 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
33842 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
33845 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
33848 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
33851 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
33854 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
33857 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
33860 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
33863 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
33866 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
33869 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
33872 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
33875 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
33878 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
33881 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
33884 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
33887 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
33890 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
33893 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
33896 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
33899 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
33902 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
33905 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
33908 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
33911 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
33914 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
33917 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
33920 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
33923 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
33926 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
33929 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
33932 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
33935 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
33938 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
33941 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
33944 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
33947 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
33950 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
33953 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
33956 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
33959 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
33962 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
33965 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
33968 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
33971 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
33974 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
33977 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
33980 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
33983 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
33986 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
33989 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
33992 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
33995 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
33998 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34001 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34004 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34007 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34010 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34013 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34016 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34019 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34022 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34025 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34028 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34031 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34034 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34037 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34040 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34043 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34046 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34049 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34052 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34055 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34058 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34061 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34064 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34067 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34069 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34071 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34074 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34077 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34080 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34083 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34086 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34089 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34092 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34095 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34098 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34101 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34104 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34107 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34110 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34113 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34116 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34119 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34122 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34125 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34128 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34130 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34132 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34135 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34138 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34141 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34144 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34147 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34150 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34153 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34156 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34159 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34162 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34165 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34168 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34169 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34170 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34171 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34173 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);